Description
From http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/13910/, reproduces about 10% of the time for me with beasting on Linux, on both branch_5x/Java7 and trunk/Java8:
[junit4] ERROR 3.32s J1 | TestIndexWriterExceptions.testNoLostDeletesOrUpdates <<< [junit4] > Throwable #1: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed [junit4] > at __randomizedtesting.SeedInfo.seed([1CDE4CD4545E2EA2:75A54E5FA2F0E4E2]:0) [junit4] > at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:719) [junit4] > at org.apache.lucene.index.IndexWriter.getConfig(IndexWriter.java:1046) [junit4] > at org.apache.lucene.index.RandomIndexWriter.commit(RandomIndexWriter.java:283) [junit4] > at org.apache.lucene.index.TestIndexWriterExceptions.testNoLostDeletesOrUpdates(TestIndexWriterExceptions.java:2072) [junit4] > at java.lang.Thread.run(Thread.java:745) [junit4] > Caused by: org.apache.lucene.store.MockDirectoryWrapper$FakeIOException [junit4] > at org.apache.lucene.index.TestIndexWriterExceptions$11.eval(TestIndexWriterExceptions.java:1923) [junit4] > at org.apache.lucene.store.MockDirectoryWrapper.maybeThrowDeterministicException(MockDirectoryWrapper.java:958) [junit4] > at org.apache.lucene.store.MockIndexOutputWrapper.writeBytes(MockIndexOutputWrapper.java:145) [junit4] > at org.apache.lucene.store.MockIndexOutputWrapper.writeByte(MockIndexOutputWrapper.java:127) [junit4] > at org.apache.lucene.store.DataOutput.writeVInt(DataOutput.java:191) [junit4] > at org.apache.lucene.codecs.lucene50.Lucene50DocValuesConsumer.addNumericField(Lucene50DocValuesConsumer.java:163) [junit4] > at org.apache.lucene.codecs.lucene50.Lucene50DocValuesConsumer.addNumericField(Lucene50DocValuesConsumer.java:80) [junit4] > at org.apache.lucene.codecs.asserting.AssertingDocValuesFormat$AssertingDocValuesConsumer.addNumericField(AssertingDocValuesFormat.java:89) [junit4] > at org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.addNumericField(PerFieldDocValuesFormat.java:111) [junit4] > at org.apache.lucene.index.ReadersAndUpdates.handleNumericDVUpdates(ReadersAndUpdates.java:328) [junit4] > at org.apache.lucene.index.ReadersAndUpdates.writeFieldUpdates(ReadersAndUpdates.java:521) [junit4] > at org.apache.lucene.index.IndexWriter.commitMergedDeletesAndUpdates(IndexWriter.java:3417) [junit4] > at org.apache.lucene.index.IndexWriter.commitMerge(IndexWriter.java:3485) [junit4] > at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4212) [junit4] > at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3644) [junit4] > at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:588) [junit4] > at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:626) [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.TestIndexWriterExceptions_1CDE4CD4545E2EA2-001 [junit4] 2> NOTE: test params are: codec=Asserting(Lucene53): {content7=Lucene50(blocksize=128), contents=Lucene50(blocksize=128), crash=BlockTreeOrds(blocksize=128), foo=Lucene50(blocksize=128), id=BlockTreeOrds(blocksize=128), content=Lucene50(blocksize=128), content2=BlockTreeOrds(blocksize=128), content5=PostingsFormat(name=LuceneVarGapFixedInterval), field=Lucene50(blocksize=128), content6=BlockTreeOrds(blocksize=128), content1=PostingsFormat(name=LuceneVarGapFixedInterval), subid=BlockTreeOrds(blocksize=128), field2=PostingsFormat(name=LuceneVarGapFixedInterval), field1=Lucene50(blocksize=128), content4=Lucene50(blocksize=128)}, docValues:{f=DocValuesFormat(name=Lucene50), bcf=DocValuesFormat(name=Memory), sortednumericdv=DocValuesFormat(name=Lucene50), numericdv=DocValuesFormat(name=Asserting), bf=DocValuesFormat(name=Lucene50), binarydv=DocValuesFormat(name=Asserting), sortedsetdv=DocValuesFormat(name=Asserting), cf=DocValuesFormat(name=Asserting), sorteddv=DocValuesFormat(name=Asserting)}, sim=RandomSimilarityProvider(queryNorm=false,coord=crazy): {contents=DFR I(ne)L3(800.0), id=IB SPL-L2, content=DFR I(ne)B2, content2=DFR I(n)B1, field=DFR I(n)3(800.0), content6=LM Jelinek-Mercer(0.100000), content1=DFR I(ne)Z(0.3), content4=DFR GB1}, locale=zh_TW, timezone=America/Mexico_City [junit4] 2> NOTE: Linux 3.19.0-26-generic i386/Oracle Corporation 1.7.0_80 (32-bit)/cpus=12,threads=1,free=164600216,total=306622464