[
https://issues.apache.org/jira/browse/SOLR-10710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017605#comment-16017605
]
ASF GitHub Bot commented on SOLR-10710:
---------------------------------------
GitHub user diegoceccarelli opened a pull request:
https://github.com/apache/lucene-solr/pull/204
SOLR-10710: Fix LTR contrib failures
This patch fixes the tests failing in LTR. There will be more work to do on
the tests because some rely on absolute scores from solr, so change in the
index / scoring function could break them (in this case it was LUCENE-7730. I
would merge this to fix the problems with the test failing, and then open a new
item to enhance the tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bloomberg/lucene-solr SOLR-10710
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/204.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #204
----
commit 74d9aea661667d87fbb991bd8194174af88f9c5a
Author: Diego Ceccarelli <[email protected]>
Date: 2017-05-19T16:09:54Z
SOLR-10710: Fix LTR contrib failures
----
> LTR contrib failures
> --------------------
>
> Key: SOLR-10710
> URL: https://issues.apache.org/jira/browse/SOLR-10710
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: contrib - LTR
> Reporter: Steve Rowe
>
> Reproducing failures
> [https://jenkins.thetaphi.de/job/Lucene-Solr-master-Solaris/1304/] - {{git
> bisect}} says {{06a6034d9}}, the commit on LUCENE-7730, is where the
> {{TestFieldLengthFeature.testRanking()}} failure started:
> {noformat}
> [junit4] 2> NOTE: reproduce with: ant test
> -Dtestcase=TestFieldLengthFeature -Dtests.method=testRanking
> -Dtests.seed=740EF58DAA5926DA -Dtests.slow=true -Dtests.locale=ja-JP
> -Dtests.timezone=America/Port_of_Spain -Dtests.asserts=true
> -Dtests.file.encoding=UTF-8
> [junit4] ERROR 0.06s J1 | TestFieldLengthFeature.testRanking <<<
> [junit4] > Throwable #1: java.lang.RuntimeException: mismatch: '8'!='1'
> @ response/docs/[0]/id
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([740EF58DAA5926DA:EB385C1332233915]:0)
> [junit4] > at
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:248)
> [junit4] > at
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:192)
> [junit4] > at
> org.apache.solr.ltr.feature.TestFieldLengthFeature.testRanking(TestFieldLengthFeature.java:117)
> {noformat}
> {noformat}
> [junit4] 2> NOTE: reproduce with: ant test
> -Dtestcase=TestParallelWeightCreation
> -Dtests.method=testLTRScoringQueryParallelWeightCreationResultOrder
> -Dtests.seed=740EF58DAA5926DA -Dtests.slow=true -Dtests.locale=ar-SD
> -Dtests.timezone=Europe/Skopje -Dtests.asserts=true
> -Dtests.file.encoding=UTF-8
> [junit4] ERROR 1.59s J1 |
> TestParallelWeightCreation.testLTRScoringQueryParallelWeightCreationResultOrder
> <<<
> [junit4] > Throwable #1: java.lang.RuntimeException: mismatch: '3'!='4'
> @ response/docs/[0]/id
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([740EF58DAA5926DA:1142D5ED603B4132]:0)
> [junit4] > at
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:248)
> [junit4] > at
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:192)
> [junit4] > at
> org.apache.solr.ltr.TestParallelWeightCreation.testLTRScoringQueryParallelWeightCreationResultOrder(TestParallelWeightCreation.java:45)
> {noformat}
> {noformat}
> [junit4] 2> NOTE: reproduce with: ant test
> -Dtestcase=TestSelectiveWeightCreation
> -Dtests.method=testSelectiveWeightsRequestFeaturesFromDifferentStore
> -Dtests.seed=740EF58DAA5926DA -Dtests.slow=true -Dtests.locale=hr-HR
> -Dtests.timezone=Australia/Victoria -Dtests.asserts=true
> -Dtests.file.encoding=UTF-8
> [junit4] ERROR 0.03s J1 |
> TestSelectiveWeightCreation.testSelectiveWeightsRequestFeaturesFromDifferentStore
> <<<
> [junit4] > Throwable #1: java.lang.RuntimeException: mismatch: '3'!='4'
> @ response/docs/[0]/id
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([740EF58DAA5926DA:293FE248276551B1]:0)
> [junit4] > at
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:248)
> [junit4] > at
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:192)
> [junit4] > at
> org.apache.solr.ltr.TestSelectiveWeightCreation.testSelectiveWeightsRequestFeaturesFromDifferentStore(TestSelectiveWeightCreation.java:230)
> {noformat}
> {noformat}
> [junit4] 2> NOTE: reproduce with: ant test
> -Dtestcase=TestLTRQParserPlugin -Dtests.method=ltrMoreResultsThanReRankedTest
> -Dtests.seed=740EF58DAA5926DA -Dtests.slow=true -Dtests.locale=es-NI
> -Dtests.timezone=Africa/Mogadishu -Dtests.asserts=true
> -Dtests.file.encoding=UTF-8
> [junit4] ERROR 0.03s J1 |
> TestLTRQParserPlugin.ltrMoreResultsThanReRankedTest <<<
> [junit4] > Throwable #1: java.lang.RuntimeException: mismatch:
> '0.09271725'!='0.105360515' @ response/docs/[3]/score
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([740EF58DAA5926DA:BD7644EA7596711B]:0)
> [junit4] > at
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:248)
> [junit4] > at
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:192)
> [junit4] > at
> org.apache.solr.ltr.TestLTRQParserPlugin.ltrMoreResultsThanReRankedTest(TestLTRQParserPlugin.java:94)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]