You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2016/11/13 13:49:58 UTC

[jira] [Resolved] (SOLR-9752) Reliable test failure in TestFieldCacheSort (Solr copy)

     [ https://issues.apache.org/jira/browse/SOLR-9752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Rowe resolved SOLR-9752.
------------------------------
    Resolution: Duplicate
      Assignee: Steve Rowe

This is a duplicate of LUCENE-7555; the seed reported here no longer reproduces for me after the fix committed there.

This test, like several others (see LUCENE-7554, LUCENE-7556, LUCENE-7557, LUCENE-7558), makes assumptions about scoring that depends on the (randomized) similarity - this issue was exposed by the introduction of BooleanSimilarity a few days ago (LUCENE-5867).  See [~mikemccand]'s [comment on LUCENE-7557|https://issues.apache.org/jira/browse/LUCENE-7557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15659833#comment-15659833] for more details.


> Reliable test failure in TestFieldCacheSort (Solr copy)
> -------------------------------------------------------
>
>                 Key: SOLR-9752
>                 URL: https://issues.apache.org/jira/browse/SOLR-9752
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>         Environment: OS X, Sierra
>            Reporter: Erick Erickson
>            Assignee: Steve Rowe
>
> I found this to reliably fail on 6x, see the whole dump below. At
> least the 4 times I tried it. I hit this running the full test suite
> for SOLR-9166, but then reproduced it on a fresh 6x checkout. 
> It did NOT repro on trunk the one time I tried it there.
> OS X, Sierra
> Here's the test that failed, I didn't try other variants.
> ant test  -Dtestcase=TestFieldCacheSort
> -Dtests.method=testFieldScoreReverse -Dtests.seed=8A982858396AE681
> -Dtests.slow=true -Dtests.locale=es-VE -Dtests.timezone=Asia/Baku
> -Dtests.asserts=true -Dtests.file.encoding=UTF-8
> [junit4:pickseed] Seed property 'tests.seed' already defined: 8A982858396AE681
>    [junit4] <JUnit4> says ciao! Master seed: 8A982858396AE681
>    [junit4] Executing 1 suite with 1 JVM.
>    [junit4]
>    [junit4] Started J0 PID(19306@Ericks-MacBook-Pro.local).
>    [junit4] Suite: org.apache.solr.uninverting.TestFieldCacheSort
>    [junit4]   2> NOTE: reproduce with: ant test
> -Dtestcase=TestFieldCacheSort -Dtests.method=testFieldScoreReverse
> -Dtests.seed=8A982858396AE681 -Dtests.slow=true -Dtests.locale=es-VE
> -Dtests.timezone=Asia/Baku -Dtests.asserts=true
> -Dtests.file.encoding=UTF-8
>    [junit4] FAILURE 3.18s | TestFieldCacheSort.testFieldScoreReverse <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<0>
> but was:<1>
>    [junit4]    > at
> __randomizedtesting.SeedInfo.seed([8A982858396AE681:F15FD36FC8A76C02]:0)
>    [junit4]    > at
> org.apache.solr.uninverting.TestFieldCacheSort.testFieldScoreReverse(TestFieldCacheSort.java:445)
>    [junit4]    > at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene62):
> {value=FSTOrd50}, docValues:{}, maxPointsInLeafNode=1095,
> maxMBSortInHeap=5.032597879580006,
> sim=RandomSimilarity(queryNorm=false,coord=crazy):
> {value=org.apache.lucene.search.similarities.BooleanSimilarity@5077995e},
> locale=es-VE, timezone=Asia/Baku
>    [junit4]   2> NOTE: Mac OS X 10.12 x86_64/Oracle Corporation
> 1.8.0_45 (64-bit)/cpus=8,threads=1,free=243860576,total=257425408
>    [junit4]   2> NOTE: All tests run in this JVM: [TestFieldCacheSort]
>    [junit4] Completed [1/1 (1!)] in 6.14s, 1 test, 1 failure <<< FAILURES!
>    [junit4] Tests with failures [seed: 8A982858396AE681]:
>    [junit4]   -
> org.apache.solr.uninverting.TestFieldCacheSort.testFieldScoreReverse
>    [junit4] JVM J0:     0.57 ..     8.10 =     7.53s
>    [junit4] Execution time total: 8.10 sec.
>    [junit4] Tests summary: 1 suite, 1 test, 1 failure



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org