You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@lucene.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2021/06/05 18:33:25 UTC

[JENKINS] Lucene » Lucene-Solr-Tests-8.x - Build # 2605 - Unstable!

Build: https://ci-builds.apache.org/job/Lucene/job/Lucene-Solr-Tests-8.x/2605/

1 tests failed.
FAILED:  org.apache.lucene.index.TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce

Error Message:
MockDirectoryWrapper: cannot close: there are still 25 open files: {_f_Lucene85FieldsIndex-doc_ids_1k.tmp=1, _2.cfs=1, _e_Lucene85TermVectorsIndexfile_pointers_1o.tmp=1, _f.tvd=1, _1.cfs=1, _e.tvd=1, _f_Lucene85TermVectorsIndex-doc_ids_1m.tmp=1, _e_Lucene85FieldsIndexfile_pointers_1j.tmp=1, _f_Lucene85FieldsIndexfile_pointers_1l.tmp=1, _e.tvm=1, _0.cfs=1, _e.fdm=1, _f_Lucene85TermVectorsIndexfile_pointers_1p.tmp=1, _8.cfe=1, _e.fdt=1, _a.cfs=1, _e_Lucene85TermVectorsIndex-doc_ids_1n.tmp=1, _b.cfs=1, _f.tvm=1, _3.cfs=1, _f.fdm=1, _e_Lucene85FieldsIndex-doc_ids_1i.tmp=1, _8.cfs=1, _8.tvm=1, _f.fdt=1}

Stack Trace:
java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there are still 25 open files: {_f_Lucene85FieldsIndex-doc_ids_1k.tmp=1, _2.cfs=1, _e_Lucene85TermVectorsIndexfile_pointers_1o.tmp=1, _f.tvd=1, _1.cfs=1, _e.tvd=1, _f_Lucene85TermVectorsIndex-doc_ids_1m.tmp=1, _e_Lucene85FieldsIndexfile_pointers_1j.tmp=1, _f_Lucene85FieldsIndexfile_pointers_1l.tmp=1, _e.tvm=1, _0.cfs=1, _e.fdm=1, _f_Lucene85TermVectorsIndexfile_pointers_1p.tmp=1, _8.cfe=1, _e.fdt=1, _a.cfs=1, _e_Lucene85TermVectorsIndex-doc_ids_1n.tmp=1, _b.cfs=1, _f.tvm=1, _3.cfs=1, _f.fdm=1, _e_Lucene85FieldsIndex-doc_ids_1i.tmp=1, _8.cfs=1, _8.tvm=1, _f.fdt=1}
	at __randomizedtesting.SeedInfo.seed([35853650F590E71E:79EEB7963330C4FB]:0)
	at org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:843)
	at org.apache.lucene.index.TestIndexWriterWithThreads._testMultipleThreadsFailure(TestIndexWriterWithThreads.java:340)
	at org.apache.lucene.index.TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce(TestIndexWriterWithThreads.java:484)
	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:498)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:938)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:974)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:988)
	at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
	at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
	at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:947)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:832)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:883)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:894)
	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
	at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
	at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
	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:53)
	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
	at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
	at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: unclosed IndexOutput: _f_Lucene85FieldsIndexfile_pointers_1l.tmp
	at org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:735)
	at org.apache.lucene.store.MockDirectoryWrapper.createTempOutput(MockDirectoryWrapper.java:716)
	at org.apache.lucene.store.FilterDirectory.createTempOutput(FilterDirectory.java:79)
	at org.apache.lucene.store.TrackingDirectoryWrapper.createTempOutput(TrackingDirectoryWrapper.java:51)
	at org.apache.lucene.codecs.compressing.FieldsIndexWriter.<init>(FieldsIndexWriter.java:80)
	at org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.<init>(CompressingStoredFieldsWriter.java:129)
	at org.apache.lucene.codecs.compressing.CompressingStoredFieldsFormat.fieldsWriter(CompressingStoredFieldsFormat.java:130)
	at org.apache.lucene.codecs.lucene87.Lucene87StoredFieldsFormat.fieldsWriter(Lucene87StoredFieldsFormat.java:141)
	at org.apache.lucene.codecs.asserting.AssertingStoredFieldsFormat.fieldsWriter(AssertingStoredFieldsFormat.java:48)
	at org.apache.lucene.index.StoredFieldsConsumer.initStoredFieldsWriter(StoredFieldsConsumer.java:48)
	at org.apache.lucene.index.StoredFieldsConsumer.startDocument(StoredFieldsConsumer.java:55)
	at org.apache.lucene.index.DefaultIndexingChain.startStoredFields(DefaultIndexingChain.java:449)
	at org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:485)
	at org.apache.lucene.index.DocumentsWriterPerThread.updateDocuments(DocumentsWriterPerThread.java:208)
	at org.apache.lucene.index.DocumentsWriter.updateDocuments(DocumentsWriter.java:415)
	at org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1471)
	at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1757)
	at org.apache.lucene.index.TestIndexWriterWithThreads$IndexerThread.run(TestIndexWriterWithThreads.java:95)




Build Log:
[...truncated 1700 lines...]
   [junit4] Suite: org.apache.lucene.index.TestIndexWriterWithThreads
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriterWithThreads -Dtests.method=testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce -Dtests.seed=35853650F590E71E -Dtests.multiplier=2 -Dtests.slow=true -Dtests.locale=ms-MY -Dtests.timezone=America/Mendoza -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.03s J1 | TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce <<<
   [junit4]    > Throwable #1: java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there are still 25 open files: {_f_Lucene85FieldsIndex-doc_ids_1k.tmp=1, _2.cfs=1, _e_Lucene85TermVectorsIndexfile_pointers_1o.tmp=1, _f.tvd=1, _1.cfs=1, _e.tvd=1, _f_Lucene85TermVectorsIndex-doc_ids_1m.tmp=1, _e_Lucene85FieldsIndexfile_pointers_1j.tmp=1, _f_Lucene85FieldsIndexfile_pointers_1l.tmp=1, _e.tvm=1, _0.cfs=1, _e.fdm=1, _f_Lucene85TermVectorsIndexfile_pointers_1p.tmp=1, _8.cfe=1, _e.fdt=1, _a.cfs=1, _e_Lucene85TermVectorsIndex-doc_ids_1n.tmp=1, _b.cfs=1, _f.tvm=1, _3.cfs=1, _f.fdm=1, _e_Lucene85FieldsIndex-doc_ids_1i.tmp=1, _8.cfs=1, _8.tvm=1, _f.fdt=1}
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([35853650F590E71E:79EEB7963330C4FB]:0)
   [junit4]    > 	at org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:843)
   [junit4]    > 	at org.apache.lucene.index.TestIndexWriterWithThreads._testMultipleThreadsFailure(TestIndexWriterWithThreads.java:340)
   [junit4]    > 	at org.apache.lucene.index.TestIndexWriterWithThreads.testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce(TestIndexWriterWithThreads.java:484)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
   [junit4]    > Caused by: java.lang.RuntimeException: unclosed IndexOutput: _f_Lucene85FieldsIndexfile_pointers_1l.tmp
   [junit4]    > 	at org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:735)
   [junit4]    > 	at org.apache.lucene.store.MockDirectoryWrapper.createTempOutput(MockDirectoryWrapper.java:716)
   [junit4]    > 	at org.apache.lucene.store.FilterDirectory.createTempOutput(FilterDirectory.java:79)
   [junit4]    > 	at org.apache.lucene.store.TrackingDirectoryWrapper.createTempOutput(TrackingDirectoryWrapper.java:51)
   [junit4]    > 	at org.apache.lucene.codecs.compressing.FieldsIndexWriter.<init>(FieldsIndexWriter.java:80)
   [junit4]    > 	at org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.<init>(CompressingStoredFieldsWriter.java:129)
   [junit4]    > 	at org.apache.lucene.codecs.compressing.CompressingStoredFieldsFormat.fieldsWriter(CompressingStoredFieldsFormat.java:130)
   [junit4]    > 	at org.apache.lucene.codecs.lucene87.Lucene87StoredFieldsFormat.fieldsWriter(Lucene87StoredFieldsFormat.java:141)
   [junit4]    > 	at org.apache.lucene.codecs.asserting.AssertingStoredFieldsFormat.fieldsWriter(AssertingStoredFieldsFormat.java:48)
   [junit4]    > 	at org.apache.lucene.index.StoredFieldsConsumer.initStoredFieldsWriter(StoredFieldsConsumer.java:48)
   [junit4]    > 	at org.apache.lucene.index.StoredFieldsConsumer.startDocument(StoredFieldsConsumer.java:55)
   [junit4]    > 	at org.apache.lucene.index.DefaultIndexingChain.startStoredFields(DefaultIndexingChain.java:449)
   [junit4]    > 	at org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:485)
   [junit4]    > 	at org.apache.lucene.index.DocumentsWriterPerThread.updateDocuments(DocumentsWriterPerThread.java:208)
   [junit4]    > 	at org.apache.lucene.index.DocumentsWriter.updateDocuments(DocumentsWriter.java:415)
   [junit4]    > 	at org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1471)
   [junit4]    > 	at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1757)
   [junit4]    > 	at org.apache.lucene.index.TestIndexWriterWithThreads$IndexerThread.run(TestIndexWriterWithThreads.java:95)
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene87): {date=FST50, field=FST50, docid=PostingsFormat(name=LuceneFixedGap), titleTokenized=Lucene84, id=PostingsFormat(name=LuceneFixedGap), body=FST50, title=PostingsFormat(name=LuceneVarGapDocFreqInterval)}, docValues:{dv=DocValuesFormat(name=Lucene80), docid_intDV=DocValuesFormat(name=Lucene80), ___soft_deletes=DocValuesFormat(name=Lucene80), titleDV=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=85, maxMBSortInHeap=5.15056719915131, sim=Asserting(RandomSimilarity(queryNorm=true): {field=org.apache.lucene.search.similarities.BooleanSimilarity@6790b565, titleTokenized=DFR I(F)L3(800.0), body=IB LL-D3(800.0)}), locale=ms-MY, timezone=America/Mendoza
   [junit4]   2> NOTE: Linux 5.4.0-45-generic amd64/Oracle Corporation 1.8.0_281 (64-bit)/cpus=4,threads=1,free=229630400,total=384303104
   [junit4]   2> NOTE: All tests run in this JVM: [TestBlockMaxConjunction, TestIndexedDISI, TestTermStates, TestSpanOrQuery, TestFieldInvertState, TestAllFilesHaveChecksumFooter, TestFieldMaskingSpanQuery, TestToken, TestXYLineShapeQueries, TestTopFieldCollector, TestSegmentCacheables, TestDocValuesIndexing, TestDocIDMerger, TestReaderPool, TestScorerPerf, TestLine2D, TestBitTableUtil, TestNormsFieldExistsQuery, TestBKDRadixSelector, TestFilterWeight, TestHighCompressionMode, TestOmitNorms, TestPerFieldDocValuesFormat, TestParallelTermEnum, TestIndexWriterMergePolicy, TestDuelingCodecsAtNight, TestLucene60FieldInfoFormat, TestIndexWriterThreadsToSegments, TestMultiPhraseEnum, TestSearchForDuplicates, Test2BSortedDocValuesFixedSorted, TestLatLonDocValuesPointPointQueries, TestPointQueries, TestFileSwitchDirectory, TestXYRectangle, TestMaxPosition, TestCharTermAttributeImpl, TestIntroSelector, TestIndexTooManyDocs, TestRangeFieldsDocValuesQuery, TestTransactionRollback, TestXYDocValuesQueries, TestSoftDeletesDirectoryReaderWrapper, TestSpansEnum, TestClassicSimilarity, TestAttributeSource, TestBasicModelIF, TestRegExp, TestSloppyPhraseQuery, TestLongValuesSource, TestUniqueTermCount, TestLucene86SegmentInfoFormat, TestTermScorer, TestFutureObjects, TestCustomNorms, TestIndexWriterDelete, TestIndexWriterForceMerge, TestXYCircle, TestTermdocPerf, TestVirtualMethod, TestDateTools, TestFixedBitSet, TestPostingsOffsets, TestCollectionUtil, TestOfflineSorter, TestApproximationSearchEquivalence, TestCircle, TestComplexExplanationsOfNonMatches, TestCharArraySet, TestSpanFirstQuery, TestIndexingSequenceNumbers, TestSimpleFSDirectory, TestSameTokenSamePosition, TestPForUtil, TestFeatureDoubleValues, TestFeatureField, TestFeatureSort, TestField, TestFieldType, TestFloatRange, TestLatLonDocValuesField, TestLatLonMultiPointShapeQueries, TestLatLonMultiPolygonShapeQueries, TestLatLonShape, TestLatLonShapeEncoding, TestLongDistanceFeatureQuery, TestXYMultiPointShapeQueries, TestXYPointShapeQueries, TestXYPolygonShapeQueries, TestPoint2D, TestPolygon, TestPolygon2D, TestBagOfPostings, TestCheckIndex, TestCodecs, TestDemoParallelLeafReader, TestDirectoryReaderReopen, TestDocumentsWriterDeleteQueue, TestExitableDirectoryReader, TestIndexWriterCommit, TestIndexWriterOnDiskFull, TestIndexWriterOnJRECrash, TestIndexWriterOnVMError, TestIndexWriterWithThreads]
   [junit4] Completed [373/579 (1!)] on J1 in 2.49s, 14 tests, 1 error <<< FAILURES!

[...truncated 67321 lines...]