This is an odd failure: it looks like the LineFileDocs was closed while threads were still running, but I can see in the test that we clearly .join() to the threads...
Mike McCandless http://blog.mikemccandless.com On Wed, Mar 25, 2015 at 9:12 PM, Policeman Jenkins Server <jenk...@thetaphi.de> wrote: > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11925/ > Java: 64bit/jdk1.9.0-ea-b54 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC > > 1 tests failed. > FAILED: org.apache.lucene.index.TestNRTThreads.testNRTThreads > > Error Message: > Captured an uncaught exception in thread: Thread[id=1036, name=Thread-865, > state=RUNNABLE, group=TGRP-TestNRTThreads] > > Stack Trace: > com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an > uncaught exception in thread: Thread[id=1036, name=Thread-865, > state=RUNNABLE, group=TGRP-TestNRTThreads] > Caused by: java.lang.RuntimeException: java.lang.NullPointerException > at __randomizedtesting.SeedInfo.seed([3274B57CC2BBC4CD]:0) > at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:302) > Caused by: java.lang.NullPointerException > at > org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:78) > at org.apache.lucene.util.LineFileDocs.nextDoc(LineFileDocs.java:224) > at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:151) > > > > > Build Log: > [...truncated 836 lines...] > [junit4] Suite: org.apache.lucene.index.TestNRTThreads > [junit4] 1> Thread-865: hit exc > [junit4] 1> Thread-864: hit exc > [junit4] 1> Thread-863: hit exc > [junit4] 2> java.lang.NullPointerException > [junit4] 2> at > org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:78) > [junit4] 2> at > org.apache.lucene.util.LineFileDocs.nextDoc(LineFileDocs.java:224) > [junit4] 2> at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:151) > [junit4] 2> java.lang.NullPointerException > [junit4] 2> at > org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:78) > [junit4] 2> at > org.apache.lucene.util.LineFileDocs.nextDoc(LineFileDocs.java:224) > [junit4] 2> at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:151) > [junit4] 2> java.lang.NullPointerException > [junit4] 2> at > org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:78) > [junit4] 2> at > org.apache.lucene.util.LineFileDocs.nextDoc(LineFileDocs.java:224) > [junit4] 2> at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:151) > [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestNRTThreads > -Dtests.method=testNRTThreads -Dtests.seed=3274B57CC2BBC4CD > -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=fr_FR > -Dtests.timezone=America/Costa_Rica -Dtests.asserts=true > -Dtests.file.encoding=UTF-8 > [junit4] ERROR 14.9s J1 | TestNRTThreads.testNRTThreads <<< > [junit4] > Throwable #1: java.lang.AssertionError > [junit4] > at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase.runTest(ThreadedIndexingAndSearchingTestCase.java:551) > [junit4] > at > org.apache.lucene.index.TestNRTThreads.testNRTThreads(TestNRTThreads.java:149) > [junit4] > at java.lang.Thread.run(Thread.java:745)Throwable #2: > com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an > uncaught exception in thread: Thread[id=1036, name=Thread-865, > state=RUNNABLE, group=TGRP-TestNRTThreads] > [junit4] > Caused by: java.lang.RuntimeException: > java.lang.NullPointerException > [junit4] > at > __randomizedtesting.SeedInfo.seed([3274B57CC2BBC4CD]:0) > [junit4] > at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:302) > [junit4] > Caused by: java.lang.NullPointerException > [junit4] > at > org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:78) > [junit4] > at > org.apache.lucene.util.LineFileDocs.nextDoc(LineFileDocs.java:224) > [junit4] > at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:151)Throwable > #3: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an > uncaught exception in thread: Thread[id=1034, name=Thread-863, > state=RUNNABLE, group=TGRP-TestNRTThreads] > [junit4] > Caused by: java.lang.RuntimeException: > java.lang.NullPointerException > [junit4] > at > __randomizedtesting.SeedInfo.seed([3274B57CC2BBC4CD]:0) > [junit4] > at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:302) > [junit4] > Caused by: java.lang.NullPointerException > [junit4] > at > org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:78) > [junit4] > at > org.apache.lucene.util.LineFileDocs.nextDoc(LineFileDocs.java:224) > [junit4] > at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:151)Throwable > #4: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an > uncaught exception in thread: Thread[id=1035, name=Thread-864, > state=RUNNABLE, group=TGRP-TestNRTThreads] > [junit4] > Caused by: java.lang.RuntimeException: > java.lang.NullPointerException > [junit4] > at > __randomizedtesting.SeedInfo.seed([3274B57CC2BBC4CD]:0) > [junit4] > at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:302) > [junit4] > Caused by: java.lang.NullPointerException > [junit4] > at > org.apache.lucene.util.CloseableThreadLocal.get(CloseableThreadLocal.java:78) > [junit4] > at > org.apache.lucene.util.LineFileDocs.nextDoc(LineFileDocs.java:224) > [junit4] > at > org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:151) > [junit4] 2> NOTE: leaving temporary files on disk at: > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/core/test/J1/temp/lucene.index.TestNRTThreads > 3274B57CC2BBC4CD-001 > [junit4] 2> NOTE: test params are: codec=Asserting(Lucene50): > {date=FSTOrd50, extra35=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra13=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra14=PostingsFormat(name=MockRandom), > extra36=PostingsFormat(name=MockRandom), > docid_int=PostingsFormat(name=MockRandom), extra8=FSTOrd50, extra33=FSTOrd50, > extra11=FSTOrd50, extra34=Lucene50(blocksize=128), > extra12=Lucene50(blocksize=128), extra9=Lucene50(blocksize=128), > extra17=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra39=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra18=PostingsFormat(name=MockRandom), extra15=FSTOrd50, extra37=FSTOrd50, > extra16=Lucene50(blocksize=128), extra38=Lucene50(blocksize=128), > extra2=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra3=PostingsFormat(name=MockRandom), > titleTokenized=Lucene50(blocksize=128), extra0=FSTOrd50, extra19=FSTOrd50, > extra1=Lucene50(blocksize=128), body=FSTOrd50, > title=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra6=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra7=PostingsFormat(name=MockRandom), extra4=FSTOrd50, > extra5=Lucene50(blocksize=128), packID=FSTOrd50, > extra31=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra32=PostingsFormat(name=MockRandom), > extra10=PostingsFormat(name=MockRandom), extra30=Lucene50(blocksize=128), > extra24=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra25=PostingsFormat(name=MockRandom), extra22=FSTOrd50, > extra23=Lucene50(blocksize=128), > extra28=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra29=PostingsFormat(name=MockRandom), > docid=PostingsFormat(name=MockRandom), extra26=FSTOrd50, > extra27=Lucene50(blocksize=128), > extra20=PostingsFormat(name=LuceneVarGapDocFreqInterval), > extra21=PostingsFormat(name=MockRandom)}, > docValues:{docid_intDV=DocValuesFormat(name=Asserting), > titleDV=DocValuesFormat(name=Lucene50)}, > sim=RandomSimilarityProvider(queryNorm=false,coord=crazy): {extra35=DFR > I(F)LZ(0.3), extra13=DFR I(n)L2, extra14=DFR I(F)L3(800.0), extra36=DFR > I(n)LZ(0.3), extra8=DFR GL3(800.0), extra33=DFR I(F)1, extra11=DFR GB2, > extra34=IB LL-L2, extra12=DFR I(ne)B1, extra9=DFR G1, extra17=IB LL-D1, > extra39=DFR I(n)L2, extra18=IB SPL-D3(800.0), extra15=LM > Jelinek-Mercer(0.100000), extra37=DFR GB2, extra16=DFR I(n)1, extra38=DFR > I(ne)B1, extra2=IB SPL-LZ(0.3), extra3=DefaultSimilarity, titleTokenized=DFR > I(n)2, extra0=DFR I(F)B2, extra19=BM25(k1=1.2,b=0.75), extra1=IB > LL-L3(800.0), body=IB SPL-D1, extra6=DFR I(n)B2, extra7=DFR I(ne)L1, > extra4=DFR G3(800.0), extra5=DFR I(n)L3(800.0), extra31=DFR GLZ(0.3), > extra32=DFR I(F)2, extra10=DFR I(n)LZ(0.3), extra30=DFR I(F)B1, extra24=IB > LL-DZ(0.3), extra25=DFR I(F)Z(0.3), extra22=DFR I(F)L1, extra23=DFR I(ne)B2, > extra28=IB SPL-LZ(0.3), extra29=DefaultSimilarity, extra26=DFR I(F)B2, > extra27=IB LL-L3(800.0), extra20=DFR I(ne)Z(0.3), extra21=DFR GB3(800.0)}, > locale=fr_FR, timezone=America/Costa_Rica > [junit4] 2> NOTE: Linux 3.13.0-46-generic amd64/Oracle Corporation > 1.9.0-ea (64-bit)/cpus=12,threads=1,free=262858032,total=508887040 > [junit4] 2> NOTE: All tests run in this JVM: [TestQueryBuilder, > TestDemo, TestIsCurrent, TestRoaringDocIdSet, TestLiveFieldValues, > TestWorstCaseTestBehavior, TestQueryWrapperFilter, TestConjunctionDISI, > TestStressNRT, TestDeterminism, TestArrayUtil, TestCustomNorms, Test2BTerms, > TestIndexWriterConfig, TestSmallFloat, ThrowInUncaught, > TestIndexWriterMerging, TestSortedSetSortField, TestSpanFirstQuery, > TestBagOfPostings, TestOperations, TestBitUtil, TestNoMergeScheduler, > TestTopFieldCollector, MultiCollectorTest, TestDocInverterPerFieldErrorInfo, > TestMultiTermQueryRewrites, TestRecyclingByteBlockAllocator, TestPrefixQuery, > TestConcurrentMergeScheduler, TestSnapshotDeletionPolicy, TestUTF32ToUTF8, > TestConsistentFieldNumbers, TestSloppyMath, TestMockCharFilter, > TestRateLimiter, TestAddIndexes, TestMinimize, TestCachingWrapperQuery, > TestIntroSorter, TestSimilarity, TestBytesStore, TestMergeSchedulerExternal, > TestPerFieldPostingsFormat2, TestCollectionUtil, TestCompiledAutomaton, > TestMaxTermFrequency, TestIndexWriterOutOfFileDescriptors, > TestTopDocsCollector, TestCharTermAttributeImpl, TestDateTools, > TestPayloadSpans, TestElevationComparator, TestSentinelIntSet, TestBasics, > TestFieldValueFilter, TestTransactions, TestSpans, TestRegexpRandom2, > TestLucene50FieldInfoFormat, TestMultiDocValues, TestFieldReuse, > TestSpansAdvanced2, NestedSetupChain, NestedTeardownChain, > TestIndexReaderClose, TestSimilarityProvider, TestReusableStringReader, > TestSearchForDuplicates, TestAssertingTermVectorsFormat, > TestPerFieldDocValuesFormat, TestIndexWriterExceptions, TestDeletionPolicy, > TestNRTThreads] > [junit4] Completed on J1 in 14.88s, 1 test, 1 error <<< FAILURES! > > [...truncated 841 lines...] > BUILD FAILED > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39: The > following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:49: The > following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:1370: > The following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:976: > There were test failures: 421 suites, 3375 tests, 1 error, 71 ignored (61 > assumptions) > > Total time: 6 minutes 17 seconds > Build step 'Invoke Ant' marked build as failure > [description-setter] Description set: Java: 64bit/jdk1.9.0-ea-b54 > -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC > Archiving artifacts > Recording test results > Email was triggered for: Failure - Any > Sending email for trigger: Failure - Any > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org