apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.63k stars 1.02k forks source link

TestEarlyTerminatingSortingCollector.testTerminatedEarly failure [LUCENE-6735] #7793

Closed asfimport closed 9 years ago

asfimport commented 9 years ago

The seed below (from http://jenkins.sarowe.net/job/Lucene-Solr-tests-5.3-Java8/16/ ) reproduces 100% (on OS X) only on lucene_solr_5_3 for me, with both Java7 and Java8. Passes on both branch_5x and trunk:

  [junit4] Suite: org.apache.lucene.search.TestEarlyTerminatingSortingCollector
  [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestEarlyTerminatingSortingCollector -Dtests.method=testTerminatedEarly -Dtests.seed=E7DD88A4FFA03DF6 -Dtests.slow=true -Dtests.locale=es_VE -Dtests.timezone=BET -Dtests.asserts=true -Dtests.file.encoding=UTF-8
  [junit4] FAILURE 0.75s J8 | TestEarlyTerminatingSortingCollector.testTerminatedEarly <<<
  [junit4]    > Throwable #1: java.lang.AssertionError: should have terminated early (searcher.reader=ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_11(5.3.0):c1))))
  [junit4]    >     at __randomizedtesting.SeedInfo.seed([E7DD88A4FFA03DF6:C64632165E9A7371]:0)
  [junit4]    >     at org.apache.lucene.search.TestEarlyTerminatingSortingCollector.testTerminatedEarly(TestEarlyTerminatingSortingCollector.java:298)
  [junit4]    >     at java.lang.Thread.run(Thread.java:745)
  [junit4]   2> NOTE: test params are: codec=Asserting(Lucene53): {s=BlockTreeOrds(blocksize=128)}, docValues:{ndv2=DocValuesFormat(name=Direct), ndv1=DocValuesFormat(name=Asserting)}, sim=DefaultSimilarity, locale=es_VE, timezone=BET
  [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_45 (64-bit)/cpus=16,threads=1,free=432339984,total=514850816
  [junit4]   2> NOTE: All tests run in this JVM: [TestEarlyTerminatingSortingCollector]
  [junit4] Completed [22/25] on J8 in 9.77s, 4 tests, 1 failure <<< FAILURES!

Migrated from LUCENE-6735 by Steven Rowe (@sarowe), resolved Aug 14 2015

asfimport commented 9 years ago

Steven Rowe (@sarowe) (migrated from JIRA)

Another failing seed, again repros only on the lucene_solr_5_3 for me, from http://jenkins.sarowe.net/job/Lucene-Solr-tests-5.3-Java7/19/:

   [junit4] Suite: org.apache.lucene.search.TestEarlyTerminatingSortingCollector
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestEarlyTerminatingSortingCollector -Dtests.method=testTerminatedEarly -Dtests.seed=8A9040095F2BAF45 -Dtests.slow=true -Dtests.locale=el -Dtests.timezone=Pacific/Yap -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   [junit4] FAILURE 2.53s J0 | TestEarlyTerminatingSortingCollector.testTerminatedEarly <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: should have terminated early (searcher.reader=ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_u(5.3.0):C1))))
   [junit4]    >    at __randomizedtesting.SeedInfo.seed([8A9040095F2BAF45:AB0BFABBFE11E1C2]:0)
   [junit4]    >    at org.apache.lucene.search.TestEarlyTerminatingSortingCollector.testTerminatedEarly(TestEarlyTerminatingSortingCollector.java:298)
   [junit4]    >    at java.lang.Thread.run(Thread.java:745)
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene53): {s=PostingsFormat(name=Direct)}, docValues:{ndv2=DocValuesFormat(name=Lucene50), ndv1=DocValuesFormat(name=Lucene50)}, sim=RandomSimilarityProvider(queryNorm=true,coord=no): {s=DFR GB2}, locale=el, timezone=Pacific/Yap
   [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.7.0_79 (64-bit)/cpus=16,threads=1,free=376558792,total=495976448
   [junit4]   2> NOTE: All tests run in this JVM: [TestBlockJoinSorter, TestFSTsMisc, TestEarlyTerminatingSortingCollector]
   [junit4] Completed [24/25] on J0 in 4.78s, 4 tests, 1 failure <<< FAILURES!
   [junit4] 
asfimport commented 9 years ago

Steven Rowe (@sarowe) (migrated from JIRA)

CC'ing @cpoerschke and @jpountz, who were the most recent committers to this test.

asfimport commented 9 years ago

Christine Poerschke (@cpoerschke) (migrated from JIRA)

Oops, sorry, http://svn.apache.org/r1694742 i had merged to branch_5x only. lucene_solr_5_3 merge to follow.

asfimport commented 9 years ago

ASF subversion and git services (migrated from JIRA)

Commit 1695933 from @cpoerschke in branch 'dev/branches/lucene_solr_5_3' https://svn.apache.org/r1695933

LUCENE-6735: fix TestEarlyTerminatingSortingCollector.testTerminatedEarly failure (merge in revision 1694742 from trunk, 1694743 from branch_5x)

asfimport commented 9 years ago

Shalin Shekhar Mangar (@shalinmangar) (migrated from JIRA)

Bulk close for 5.3.0 release