The assert is a consequence of a missed update to upto. I don't think there's any sensible way to guard against that -- we could try to rewrite the code in a way that doesn't trigger this bug but it'll going to show up somewhere else I'm sure.
Dawid On Wed, Sep 18, 2013 at 8:26 AM, Robert Muir <[email protected]> wrote: > Scary that sometimes it doesnt trip the assert and instead broken > stuff makes it to the postingswriter: > > [junit4] Suite: org.apache.lucene.index.TestNorms > [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestNorms > -Dtests.method=testMaxByteNorms -Dtests.seed=2B65838ED85E2427 > -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=zh_SG > -Dtests.timezone=Australia/Lindeman -Dtests.file.encoding=ISO-8859-1 > [junit4] ERROR 0.64s J1 | TestNorms.testMaxByteNorms <<< > [junit4] > Throwable #1: > org.apache.lucene.index.CorruptIndexException: docs out of order (58 > <= 58 ) (docOut: > MockIndexOutputWrapper(org.apache.lucene.store.FSDirectory$FSIndexOutput@ba8419)) > [junit4] > at > __randomizedtesting.SeedInfo.seed([2B65838ED85E2427:9F9A16B0F21250F1]:0) > [junit4] > at > org.apache.lucene.codecs.lucene41.Lucene41PostingsWriter.startDoc(Lucene41PostingsWriter.java:297) > [junit4] > at > org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:470) > [junit4] > at > org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85) > [junit4] > at > org.apache.lucene.index.TermsHash.flush(TermsHash.java:116) > [junit4] > at > org.apache.lucene.index.DocInverter.flush(DocInverter.java:53) > [junit4] > at > org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81) > [junit4] > at > org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:466) > [junit4] > at > org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:508) > [junit4] > at > org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:618) > [junit4] > at > org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2769) > [junit4] > at > org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2919) > [junit4] > at > org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2894) > [junit4] > at > org.apache.lucene.index.RandomIndexWriter.commit(RandomIndexWriter.java:233) > [junit4] > at > org.apache.lucene.index.TestNorms.buildIndex(TestNorms.java:144) > [junit4] > at > org.apache.lucene.index.TestNorms.testMaxByteNorms(TestNorms.java:111) > [junit4] > at java.lang.Thread.run(Thread.java:724) > > > On Wed, Sep 18, 2013 at 2:22 AM, Dawid Weiss > <[email protected]> wrote: >> Yes, it looks like LUCENE-5168 (G1GC, 32-bit). >> >> Dawid >> >> On Wed, Sep 18, 2013 at 3:04 AM, Robert Muir <[email protected]> wrote: >>> I think its "dawid's" jvm bug: >>> >>> [junit4] ERROR 1.61s J1 | TestDuelingCodecs.testEquals <<< >>> [junit4] > Throwable #1: java.lang.AssertionError >>> [junit4] > at org.apache.lucene.index. >>> ByteSliceReader.readByte(ByteSliceReader.java:73) >>> [junit4] > at >>> org.apache.lucene.store.DataInput.readVInt(DataInput.java:108) >>> [junit4] > at >>> org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:500) >>> >>> On Tue, Sep 17, 2013 at 5:59 PM, Policeman Jenkins Server >>> <[email protected]> wrote: >>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/7511/ >>>> Java: 32bit/jdk1.8.0-ea-b106 -server -XX:+UseG1GC >>>> >>>> 3 tests failed. >>>> REGRESSION: org.apache.lucene.index.TestDuelingCodecs.testEquals >>>> >>>> Error Message: >>>> MockDirectoryWrapper: cannot close: there are still open locks: >>>> [write.lock] >>>> >>>> Stack Trace: >>>> java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there are >>>> still open locks: [write.lock] >>>> at >>>> org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:626) >>>> at >>>> org.apache.lucene.index.TestDuelingCodecs.tearDown(TestDuelingCodecs.java:111) >>>> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> at java.lang.reflect.Method.invoke(Method.java:491) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:795) >>>> at >>>> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) >>>> at >>>> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51) >>>> at >>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>>> at >>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >>>> at >>>> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) >>>> at >>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) >>>> 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:358) >>>> at >>>> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782) >>>> at >>>> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693) >>>> at >>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>>> at >>>> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) >>>> at >>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >>>> 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 >>>> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) >>>> at >>>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) >>>> at >>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) >>>> 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:358) >>>> at java.lang.Thread.run(Thread.java:724) >>>> >>>> >>>> REGRESSION: org.apache.lucene.index.TestNorms.testMaxByteNorms >>>> >>>> Error Message: >>>> docs out of order (58 <= 58 ) (docOut: >>>> MockIndexOutputWrapper(org.apache.lucene.store.FSDirectory$FSIndexOutput@ba8419)) >>>> >>>> Stack Trace: >>>> org.apache.lucene.index.CorruptIndexException: docs out of order (58 <= 58 >>>> ) (docOut: >>>> MockIndexOutputWrapper(org.apache.lucene.store.FSDirectory$FSIndexOutput@ba8419)) >>>> at >>>> __randomizedtesting.SeedInfo.seed([2B65838ED85E2427:9F9A16B0F21250F1]:0) >>>> at >>>> org.apache.lucene.codecs.lucene41.Lucene41PostingsWriter.startDoc(Lucene41PostingsWriter.java:297) >>>> at >>>> org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:470) >>>> at >>>> org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85) >>>> at org.apache.lucene.index.TermsHash.flush(TermsHash.java:116) >>>> at org.apache.lucene.index.DocInverter.flush(DocInverter.java:53) >>>> at >>>> org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81) >>>> at >>>> org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:466) >>>> at >>>> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:508) >>>> at >>>> org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:618) >>>> at >>>> org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2769) >>>> at >>>> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2919) >>>> at >>>> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2894) >>>> at >>>> org.apache.lucene.index.RandomIndexWriter.commit(RandomIndexWriter.java:233) >>>> at org.apache.lucene.index.TestNorms.buildIndex(TestNorms.java:144) >>>> at >>>> org.apache.lucene.index.TestNorms.testMaxByteNorms(TestNorms.java:111) >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> at java.lang.reflect.Method.invoke(Method.java:491) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:737) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:773) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:787) >>>> at >>>> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) >>>> at >>>> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51) >>>> at >>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>>> at >>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >>>> at >>>> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) >>>> at >>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) >>>> 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:358) >>>> at >>>> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782) >>>> at >>>> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693) >>>> at >>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>>> at >>>> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) >>>> at >>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >>>> 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 >>>> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) >>>> at >>>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) >>>> at >>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) >>>> 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:358) >>>> at java.lang.Thread.run(Thread.java:724) >>>> >>>> >>>> REGRESSION: >>>> org.apache.lucene.search.spans.TestNearSpansOrdered.testNearSpansSkipToLikeNext >>>> >>>> Error Message: >>>> >>>> >>>> Stack Trace: >>>> java.lang.NullPointerException >>>> at >>>> org.apache.lucene.search.spans.TestNearSpansOrdered.tearDown(TestNearSpansOrdered.java:45) >>>> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> at java.lang.reflect.Method.invoke(Method.java:491) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:795) >>>> at >>>> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) >>>> at >>>> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51) >>>> at >>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>>> at >>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >>>> at >>>> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) >>>> at >>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) >>>> 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:358) >>>> at >>>> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782) >>>> at >>>> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682) >>>> at >>>> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693) >>>> at >>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>>> at >>>> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) >>>> at >>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >>>> 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 >>>> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) >>>> at >>>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) >>>> at >>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) >>>> 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:358) >>>> at java.lang.Thread.run(Thread.java:724) >>>> >>>> >>>> >>>> >>>> Build Log: >>>> [...truncated 503 lines...] >>>> [junit4] Suite: org.apache.lucene.search.spans.TestNearSpansOrdered >>>> [junit4] 2> NOTE: reproduce with: ant test >>>> -Dtestcase=TestNearSpansOrdered -Dtests.method=testNearSpansSkipToLikeNext >>>> -Dtests.seed=2B65838ED85E2427 -Dtests.multiplier=3 -Dtests.slow=true >>>> -Dtests.locale=ro -Dtests.timezone=Pacific/Nauru >>>> -Dtests.file.encoding=ISO-8859-1 >>>> [junit4] ERROR 0.03s J1 | >>>> TestNearSpansOrdered.testNearSpansSkipToLikeNext <<< >>>> [junit4] > Throwable #1: java.lang.AssertionError >>>> [junit4] > at >>>> org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:452) >>>> [junit4] > at >>>> org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85) >>>> [junit4] > at >>>> org.apache.lucene.index.TermsHash.flush(TermsHash.java:116) >>>> [junit4] > at >>>> org.apache.lucene.index.DocInverter.flush(DocInverter.java:53) >>>> [junit4] > at >>>> org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81) >>>> [junit4] > at >>>> org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:466) >>>> [junit4] > at >>>> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:508) >>>> [junit4] > at >>>> org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:618) >>>> [junit4] > at >>>> org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2769) >>>> [junit4] > at >>>> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2919) >>>> [junit4] > at >>>> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2894) >>>> [junit4] > at >>>> org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:309) >>>> [junit4] > at >>>> org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:249) >>>> [junit4] > at >>>> org.apache.lucene.search.spans.TestNearSpansOrdered.setUp(TestNearSpansOrdered.java:60) >>>> [junit4] > at java.lang.Thread.run(Thread.java:724)Throwable >>>> #2: java.lang.NullPointerException >>>> [junit4] > at >>>> org.apache.lucene.search.spans.TestNearSpansOrdered.tearDown(TestNearSpansOrdered.java:45) >>>> [junit4] > at java.lang.Thread.run(Thread.java:724) >>>> [junit4] 2> NOTE: test params are: codec=Lucene45: >>>> {field=PostingsFormat(name=TestBloomFilteredLucene41Postings)}, >>>> docValues:{}, sim=DefaultSimilarity, locale=ro, timezone=Pacific/Nauru >>>> [junit4] 2> NOTE: Linux 3.2.0-53-generic i386/Oracle Corporation >>>> 1.8.0-ea (32-bit)/cpus=8,threads=1,free=199515136,total=306184192 >>>> [junit4] 2> NOTE: All tests run in this JVM: [TestTimSorter, >>>> TestPerFieldPostingsFormat, TestBooleanScorer, Nested1, TestCodecs, >>>> TestLucene40TermVectorsFormat, TestPForDeltaDocIdSet, >>>> TestSearchWithThreads, TestFSTs, TestOmitNorms, >>>> TestControlledRealTimeReopenThread, TestNGramPhraseQuery, TestVersion, >>>> TestIndexWriterOnJRECrash, TestNumericUtils, TestBlockPostingsFormat, >>>> TestSpanSearchEquivalence, TestStoredFieldsFormat, TestIndexInput, >>>> TestParallelCompositeReader, TestDirectory, TestMultiMMap, TestNot, >>>> TestNearSpansOrdered] >>>> [junit4] Completed on J1 in 0.35s, 10 tests, 1 error <<< FAILURES! >>>> >>>> [...truncated 315 lines...] >>>> [junit4] Suite: org.apache.lucene.index.TestNorms >>>> [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestNorms >>>> -Dtests.method=testMaxByteNorms -Dtests.seed=2B65838ED85E2427 >>>> -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=zh_SG >>>> -Dtests.timezone=Australia/Lindeman -Dtests.file.encoding=ISO-8859-1 >>>> [junit4] ERROR 0.64s J1 | TestNorms.testMaxByteNorms <<< >>>> [junit4] > Throwable #1: >>>> org.apache.lucene.index.CorruptIndexException: docs out of order (58 <= 58 >>>> ) (docOut: >>>> MockIndexOutputWrapper(org.apache.lucene.store.FSDirectory$FSIndexOutput@ba8419)) >>>> [junit4] > at >>>> __randomizedtesting.SeedInfo.seed([2B65838ED85E2427:9F9A16B0F21250F1]:0) >>>> [junit4] > at >>>> org.apache.lucene.codecs.lucene41.Lucene41PostingsWriter.startDoc(Lucene41PostingsWriter.java:297) >>>> [junit4] > at >>>> org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:470) >>>> [junit4] > at >>>> org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85) >>>> [junit4] > at >>>> org.apache.lucene.index.TermsHash.flush(TermsHash.java:116) >>>> [junit4] > at >>>> org.apache.lucene.index.DocInverter.flush(DocInverter.java:53) >>>> [junit4] > at >>>> org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81) >>>> [junit4] > at >>>> org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:466) >>>> [junit4] > at >>>> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:508) >>>> [junit4] > at >>>> org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:618) >>>> [junit4] > at >>>> org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2769) >>>> [junit4] > at >>>> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2919) >>>> [junit4] > at >>>> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2894) >>>> [junit4] > at >>>> org.apache.lucene.index.RandomIndexWriter.commit(RandomIndexWriter.java:233) >>>> [junit4] > at >>>> org.apache.lucene.index.TestNorms.buildIndex(TestNorms.java:144) >>>> [junit4] > at >>>> org.apache.lucene.index.TestNorms.testMaxByteNorms(TestNorms.java:111) >>>> [junit4] > at java.lang.Thread.run(Thread.java:724) >>>> [junit4] 2> NOTE: test params are: >>>> codec=DummyCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=DUMMY, >>>> chunkSize=307), >>>> termVectorsFormat=CompressingTermVectorsFormat(compressionMode=DUMMY, >>>> chunkSize=307)), sim=DefaultSimilarity, locale=zh_SG, >>>> timezone=Australia/Lindeman >>>> [junit4] 2> NOTE: Linux 3.2.0-53-generic i386/Oracle Corporation >>>> 1.8.0-ea (32-bit)/cpus=8,threads=1,free=225155640,total=319815680 >>>> [junit4] 2> NOTE: All tests run in this JVM: [TestTimSorter, >>>> TestPerFieldPostingsFormat, TestBooleanScorer, Nested1, TestCodecs, >>>> TestLucene40TermVectorsFormat, TestPForDeltaDocIdSet, >>>> TestSearchWithThreads, TestFSTs, TestOmitNorms, >>>> TestControlledRealTimeReopenThread, TestNGramPhraseQuery, TestVersion, >>>> TestIndexWriterOnJRECrash, TestNumericUtils, TestBlockPostingsFormat, >>>> TestSpanSearchEquivalence, TestStoredFieldsFormat, TestIndexInput, >>>> TestParallelCompositeReader, TestDirectory, TestMultiMMap, TestNot, >>>> TestNearSpansOrdered, TestRollingBuffer, TestAtomicUpdate, TestFieldCache, >>>> TestRateLimiter, Before3, Before3, TestRegexpRandom2, TestIdentityHashSet, >>>> TestDateFilter, TestNumericTokenStream, TestWorstCaseTestBehavior, >>>> TestIndexFileDeleter, TestSameTokenSamePosition, TestPackedInts, >>>> TestLevenshteinAutomata, TestDocValuesIndexing, TestDocument, >>>> TestBitVector, TestBackwardsCompatibility, TestBagOfPostings, >>>> TestMultiTermConstantScore, TestBufferedIndexInput, TestOmitPositions, >>>> TestIndexWriterDelete, TestMatchAllDocsQuery, TestBooleanOr, >>>> TestCheckIndex, TestBlockPostingsFormat2, TestBinaryDocument, >>>> TestPerFieldDocValuesFormat, TestSimilarityBase, TestAutomatonQuery, >>>> TestDateSort, TestMixedCodecs, TestNeverDelete, NestedSetupChain, >>>> NestedTeardownChain, TestSizeBoundedForceMerge, >>>> TestSimpleSearchEquivalence, TestConsistentFieldNumbers, TestTransactions, >>>> TestIntroSorter, TestFilterAtomicReader, TestSpans, >>>> TestThreadedForceMerge, TestBoolean2, TestTermVectors, >>>> TestTieredMergePolicy, Nested, TestNamedSPILoader, Nested, TestSumDocFreq, >>>> TestDirectoryReaderReopen, TestMockDirectoryWrapper, TestNorms] >>>> [junit4] Completed on J1 in 0.70s, 2 tests, 1 error <<< FAILURES! >>>> >>>> [...truncated 193 lines...] >>>> [junit4] Suite: org.apache.lucene.index.TestDuelingCodecs >>>> [junit4] 2> NOTE: reproduce with: ant test >>>> -Dtestcase=TestDuelingCodecs -Dtests.method=testEquals >>>> -Dtests.seed=2B65838ED85E2427 -Dtests.multiplier=3 -Dtests.slow=true >>>> -Dtests.locale=es_PE -Dtests.timezone=America/Moncton >>>> -Dtests.file.encoding=ISO-8859-1 >>>> [junit4] ERROR 1.61s J1 | TestDuelingCodecs.testEquals <<< >>>> [junit4] > Throwable #1: java.lang.AssertionError >>>> [junit4] > at >>>> org.apache.lucene.index.ByteSliceReader.readByte(ByteSliceReader.java:73) >>>> [junit4] > at >>>> org.apache.lucene.store.DataInput.readVInt(DataInput.java:108) >>>> [junit4] > at >>>> org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:500) >>>> [junit4] > at >>>> org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85) >>>> [junit4] > at >>>> org.apache.lucene.index.TermsHash.flush(TermsHash.java:116) >>>> [junit4] > at >>>> org.apache.lucene.index.DocInverter.flush(DocInverter.java:53) >>>> [junit4] > at >>>> org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81) >>>> [junit4] > at >>>> org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:466) >>>> [junit4] > at >>>> org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:508) >>>> [junit4] > at >>>> org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:618) >>>> [junit4] > at >>>> org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2769) >>>> [junit4] > at >>>> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2919) >>>> [junit4] > at >>>> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2894) >>>> [junit4] > at >>>> org.apache.lucene.index.RandomIndexWriter.maybeCommit(RandomIndexWriter.java:157) >>>> [junit4] > at >>>> org.apache.lucene.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:149) >>>> [junit4] > at >>>> org.apache.lucene.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:108) >>>> [junit4] > at >>>> org.apache.lucene.index.TestDuelingCodecs.createRandomIndex(TestDuelingCodecs.java:143) >>>> [junit4] > at >>>> org.apache.lucene.index.TestDuelingCodecs.setUp(TestDuelingCodecs.java:86) >>>> [junit4] > at java.lang.Thread.run(Thread.java:724)Throwable >>>> #2: java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there >>>> are still open locks: [write.lock] >>>> [junit4] > at >>>> org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:626) >>>> [junit4] > at >>>> org.apache.lucene.index.TestDuelingCodecs.tearDown(TestDuelingCodecs.java:111) >>>> [junit4] > at java.lang.Thread.run(Thread.java:724) >>>> [junit4] 2> NOTE: test params are: codec=Lucene45: {}, docValues:{}, >>>> sim=DefaultSimilarity, locale=es_PE, timezone=America/Moncton >>>> [junit4] 2> NOTE: Linux 3.2.0-53-generic i386/Oracle Corporation >>>> 1.8.0-ea (32-bit)/cpus=8,threads=1,free=275387752,total=483393536 >>>> [junit4] 2> NOTE: All tests run in this JVM: [TestTimSorter, >>>> TestPerFieldPostingsFormat, TestBooleanScorer, Nested1, TestCodecs, >>>> TestLucene40TermVectorsFormat, TestPForDeltaDocIdSet, >>>> TestSearchWithThreads, TestFSTs, TestOmitNorms, >>>> TestControlledRealTimeReopenThread, TestNGramPhraseQuery, TestVersion, >>>> TestIndexWriterOnJRECrash, TestNumericUtils, TestBlockPostingsFormat, >>>> TestSpanSearchEquivalence, TestStoredFieldsFormat, TestIndexInput, >>>> TestParallelCompositeReader, TestDirectory, TestMultiMMap, TestNot, >>>> TestNearSpansOrdered, TestRollingBuffer, TestAtomicUpdate, TestFieldCache, >>>> TestRateLimiter, Before3, Before3, TestRegexpRandom2, TestIdentityHashSet, >>>> TestDateFilter, TestNumericTokenStream, TestWorstCaseTestBehavior, >>>> TestIndexFileDeleter, TestSameTokenSamePosition, TestPackedInts, >>>> TestLevenshteinAutomata, TestDocValuesIndexing, TestDocument, >>>> TestBitVector, TestBackwardsCompatibility, TestBagOfPostings, >>>> TestMultiTermConstantScore, TestBufferedIndexInput, TestOmitPositions, >>>> TestIndexWriterDelete, TestMatchAllDocsQuery, TestBooleanOr, >>>> TestCheckIndex, TestBlockPostingsFormat2, TestBinaryDocument, >>>> TestPerFieldDocValuesFormat, TestSimilarityBase, TestAutomatonQuery, >>>> TestDateSort, TestMixedCodecs, TestNeverDelete, NestedSetupChain, >>>> NestedTeardownChain, TestSizeBoundedForceMerge, >>>> TestSimpleSearchEquivalence, TestConsistentFieldNumbers, TestTransactions, >>>> TestIntroSorter, TestFilterAtomicReader, TestSpans, >>>> TestThreadedForceMerge, TestBoolean2, TestTermVectors, >>>> TestTieredMergePolicy, Nested, TestNamedSPILoader, Nested, TestSumDocFreq, >>>> TestDirectoryReaderReopen, TestMockDirectoryWrapper, TestNorms, >>>> TestPrefixCodedTerms, TestFieldMaskingSpanQuery, TestConjunctions, >>>> TestGraphTokenizers, TestCachingTokenFilter, TestPrefixQuery, >>>> TestAssertions, TestTermScorer, TestByteArrayDataInput, >>>> TestHighCompressionMode, TestMinimize, TestIndexWriterNRTIsCurrent, >>>> Test4GBStoredFields, TestFlex, TestIndexWriter, TestTermVectorsFormat, >>>> TestBytesStore, TestLucene42DocValuesFormat, TestAddIndexes, >>>> TestIndexWriterExceptions, TestBasics, TestDuelingCodecs] >>>> [junit4] Completed on J1 in 1.61s, 1 test, 1 error <<< FAILURES! >>>> >>>> [...truncated 542 lines...] >>>> BUILD FAILED >>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:396: The >>>> following error occurred while executing this line: >>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:376: The >>>> following error occurred while executing this line: >>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:39: The >>>> following error occurred while executing this line: >>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build.xml:49: >>>> The following error occurred while executing this line: >>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:1230: >>>> The following error occurred while executing this line: >>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:873: >>>> There were test failures: 368 suites, 2600 tests, 3 errors, 97 ignored >>>> (84 assumptions) >>>> >>>> Total time: 12 minutes 36 seconds >>>> Build step 'Invoke Ant' marked build as failure >>>> Description set: Java: 32bit/jdk1.8.0-ea-b106 -server -XX:+UseG1GC >>>> Archiving artifacts >>>> Recording test results >>>> Email was triggered for: Failure >>>> Sending email for trigger: Failure >>>> >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
