I committed a fix: I mistakenly removed a check that the "posMult" attribute is the same when reusing in LUCENE-6553. This bug is quite subtle to reproduce however: you need to reuse a postings enum across two different fields that have different index options yet both have positions indexed, pass flags=NONE or FREQS (not more) and the two terms need to be be rare (LowFreqTerm in DirectPostingsFormat). Maybe we should simplify the reuse logic.
On Fri, Jun 26, 2015 at 6:46 AM, Policeman Jenkins Server <[email protected]> wrote: > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13211/ > Java: 32bit/jdk1.9.0-ea-b60 -server -XX:+UseG1GC > > 1 tests failed. > FAILED: org.apache.lucene.index.TestStressIndexing2.testMultiConfig > > Error Message: > 4 > > Stack Trace: > java.lang.ArrayIndexOutOfBoundsException: 4 > at > __randomizedtesting.SeedInfo.seed([2692E639098F3933:EB0090E1A4D9267D]:0) > at > org.apache.lucene.codecs.memory.DirectPostingsFormat$LowFreqDocsEnum.nextDoc(DirectPostingsFormat.java:1683) > at > org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:546) > at > org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:270) > at > org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:113) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:502) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886) > at > org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) > at > org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:845) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) > at > org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) > at java.lang.Thread.run(Thread.java:745) > > > > > Build Log: > [...truncated 550 lines...] > [junit4] Suite: org.apache.lucene.index.TestStressIndexing2 > [junit4] 2> NOTE: reproduce with: ant test > -Dtestcase=TestStressIndexing2 -Dtests.method=testMultiConfig > -Dtests.seed=2692E639098F3933 -Dtests.multiplier=3 -Dtests.slow=true > -Dtests.locale=ko_KR -Dtests.timezone=Asia/Srednekolymsk -Dtests.asserts=true > -Dtests.file.encoding=UTF-8 > [junit4] ERROR 0.08s J0 | TestStressIndexing2.testMultiConfig <<< > [junit4] > Throwable #1: java.lang.ArrayIndexOutOfBoundsException: 4 > [junit4] > at > __randomizedtesting.SeedInfo.seed([2692E639098F3933:EB0090E1A4D9267D]:0) > [junit4] > at > org.apache.lucene.codecs.memory.DirectPostingsFormat$LowFreqDocsEnum.nextDoc(DirectPostingsFormat.java:1683) > [junit4] > at > org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:546) > [junit4] > at > org.apache.lucene.index.TestStressIndexing2.verifyEquals(TestStressIndexing2.java:270) > [junit4] > at > org.apache.lucene.index.TestStressIndexing2.testMultiConfig(TestStressIndexing2.java:113) > [junit4] > at java.lang.Thread.run(Thread.java:745) > [junit4] 2> NOTE: test params are: codec=Asserting(Lucene53): > {f72=PostingsFormat(name=Direct), f96=PostingsFormat(name=Memory doPackFST= > false), f30=PostingsFormat(name=Memory doPackFST= false), > f74=PostingsFormat(name=Memory doPackFST= false), > f51=PostingsFormat(name=LuceneVarGapFixedInterval), > f76=PostingsFormat(name=Direct), f32=PostingsFormat(name=Direct), > f31=PostingsFormat(name=Asserting), > f33=PostingsFormat(name=LuceneVarGapFixedInterval), > f11=PostingsFormat(name=LuceneVarGapFixedInterval), > f36=PostingsFormat(name=Direct), f13=PostingsFormat(name=Asserting), > f57=PostingsFormat(name=Asserting), f79=PostingsFormat(name=Asserting), > f16=PostingsFormat(name=Memory doPackFST= false), > f38=PostingsFormat(name=Memory doPackFST= false), > f59=PostingsFormat(name=LuceneVarGapFixedInterval), > f15=PostingsFormat(name=LuceneVarGapFixedInterval), > f1=PostingsFormat(name=Memory doPackFST= false), > f3=PostingsFormat(name=Direct), f5=PostingsFormat(name=Memory doPackFST= > false), f7=PostingsFormat(name=Direct), id=PostingsFormat(name=Memory > doPackFST= false), f80=PostingsFormat(name=LuceneVarGapFixedInterval), > f82=PostingsFormat(name=Asserting), > f62=PostingsFormat(name=LuceneVarGapFixedInterval), > f43=PostingsFormat(name=Direct), f86=PostingsFormat(name=Asserting), > f45=PostingsFormat(name=Memory doPackFST= false), > f89=PostingsFormat(name=Memory doPackFST= false), > f22=PostingsFormat(name=LuceneVarGapFixedInterval), > f47=PostingsFormat(name=Direct), f69=PostingsFormat(name=Direct), > f68=PostingsFormat(name=Asserting), > f26=PostingsFormat(name=LuceneVarGapFixedInterval)}, docValues:{}, > sim=RandomSimilarityProvider(queryNorm=false,coord=no): {f72=DFR GB2, f96=DFR > I(F)B2, f30=DFR I(ne)L3(800.0), f74=LM Jelinek-Mercer(0.100000), f51=DFR > I(ne)1, f76=DFR I(ne)B1, f32=DFR I(n)Z(0.3), f31=BM25(k1=1.2,b=0.75), f33=DFR > I(F)2, f11=DFR I(ne)LZ(0.3), f36=IB LL-D1, f13=BM25(k1=1.2,b=0.75), f16=DFR > I(F)L1, f38=DefaultSimilarity, f59=DFR I(n)L2, f15=DFR I(F)2, f3=DFR > I(F)Z(0.3), f7=DFR I(ne)B2, f80=DFR I(ne)1, f82=DFR I(ne)2, f62=IB > SPL-LZ(0.3), f86=DFR I(ne)Z(0.3), f45=DFR I(ne)L1, f89=DFR G1, f22=DFR > I(ne)3(800.0), f47=IB SPL-D1, f69=DFR I(F)L3(800.0), f68=DFR I(ne)Z(0.3), > f26=DFR I(F)1}, locale=ko_KR, timezone=Asia/Srednekolymsk > [junit4] 2> NOTE: Linux 3.13.0-54-generic i386/Oracle Corporation > 1.9.0-ea (32-bit)/cpus=12,threads=1,free=93621784,total=253755392 > [junit4] 2> NOTE: All tests run in this JVM: [TestConjunctions, > TestSumDocFreq, TestIndexWriterDelete, TestIndexWriterMergePolicy, > TestPayloadNearQuery, TestPersistentSnapshotDeletionPolicy, TestNot, > TestPriorityQueue, TestStressIndexing2] > [junit4] Completed [14/393] on J0 in 0.23s, 3 tests, 1 error <<< FAILURES! > > [...truncated 1243 lines...] > BUILD FAILED > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:526: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:474: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:61: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/extra-targets.xml:39: The > following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build.xml:50: The > following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:1426: > The following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:981: > There were test failures: 393 suites, 3172 tests, 1 error, 54 ignored (50 > assumptions) > > Total time: 6 minutes 35 seconds > Build step 'Invoke Ant' marked build as failure > Archiving artifacts > Recording test results > Email was triggered for: Failure - Any > Sending email for trigger: Failure - Any > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] -- Adrien --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
