Build: builds.flonkings.com/job/Lucene-trunk-Linux-Java7-64-test-only/18816/

1 tests failed.
REGRESSION:  org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock

Error Message:
Captured an uncaught exception in thread: Thread[id=43, name=Thread-13, 
state=RUNNABLE, group=TGRP-TestIndexWriter]

Stack Trace:
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught 
exception in thread: Thread[id=43, name=Thread-13, state=RUNNABLE, 
group=TGRP-TestIndexWriter]
Caused by: java.lang.RuntimeException: MockDirectoryWrapper: cannot close: 
there are still open files: {_3o_Lucene40_0.tim=1, _3n_Lucene40_0.frq=1, 
_3f_Lucene40_0.prx=1, _3o.fdt=1, _3n_Lucene40_0.tim=1, _3o.fdx=1, 
_3o_nrm.cfs=2, _3n_nrm.cfs=2, _3f_Lucene40_0.frq=1, _3o_Lucene40_0.frq=1, 
_3o_Lucene40_0.prx=1, _3n.fdt=1, _3f_nrm.cfs=2, _3n.fdx=1, 
_3n_Lucene40_0.prx=1, _3f_Lucene40_0.tim=1, _3f.fdx=1, _3f.fdt=1}
        at __randomizedtesting.SeedInfo.seed([F3467D34E535D34C]:0)
        at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:580)
        at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1128)
Caused by: java.lang.RuntimeException: unclosed IndexInput: _3f_Lucene40_0.tim
        at 
org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:471)
        at 
org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:513)
        at 
org.apache.lucene.codecs.BlockTreeTermsReader.<init>(BlockTreeTermsReader.java:121)
        at 
org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat.fieldsProducer(Lucene40PostingsFormat.java:255)
        at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:194)
        at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:233)
        at 
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:107)
        at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:57)
        at 
org.apache.lucene.index.ReadersAndLiveDocs.getReader(ReadersAndLiveDocs.java:121)
        at 
org.apache.lucene.index.ReadersAndLiveDocs.getReadOnlyClone(ReadersAndLiveDocs.java:218)
        at 
org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:96)
        at org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:366)
        at 
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
        at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1047)




Build Log:
[...truncated 493 lines...]
[junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriter
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.closeWhileHandlingException(IOUtils.java:81)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.BlockTreeTermsWriter.close(BlockTreeTermsWriter.java:1079)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsConsumerAndSuffix.close(PerFieldPostingsFormat.java:85)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:174)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsWriter.close(PerFieldPostingsFormat.java:153)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:102)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TermsHash.flush(TermsHash.java:116)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocInverter.flush(DocInverter.java:53)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:559)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:354)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1047)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 17 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.closeWhileHandlingException(IOUtils.java:81)
[junit4:junit4]   1>    at 
org.apache.lucene.store.CompoundFileWriter.close(CompoundFileWriter.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.store.CompoundFileDirectory.close(CompoundFileDirectory.java:171)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40DocValuesConsumer.close(Lucene40DocValuesConsumer.java:65)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.index.NormsConsumer.flush(NormsConsumer.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocInverter.flush(DocInverter.java:54)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:316)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:389)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1464)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1139)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1120)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1041)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 17 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.closeWhileHandlingException(IOUtils.java:81)
[junit4:junit4]   1>    at 
org.apache.lucene.store.CompoundFileWriter.close(CompoundFileWriter.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.store.CompoundFileDirectory.close(CompoundFileDirectory.java:171)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40DocValuesConsumer.close(Lucene40DocValuesConsumer.java:65)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.index.NormsConsumer.flush(NormsConsumer.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocInverter.flush(DocInverter.java:54)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:316)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:389)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1464)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1436)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1039)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 16 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowClosingMockIndexInputWrapper.close(SlowClosingMockIndexInputWrapper.java:42)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader.read(Lucene40SegmentInfoReader.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:301)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:172)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:684)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1027)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowClosingMockIndexInputWrapper.close(SlowClosingMockIndexInputWrapper.java:40)
[junit4:junit4]   1>    ... 5 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowClosingMockIndexInputWrapper.close(SlowClosingMockIndexInputWrapper.java:42)
[junit4:junit4]   1>    at 
org.apache.lucene.store.ChecksumIndexInput.close(ChecksumIndexInput.java:60)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:326)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:340)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:668)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:515)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:336)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:653)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1027)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowClosingMockIndexInputWrapper.close(SlowClosingMockIndexInputWrapper.java:40)
[junit4:junit4]   1>    ... 8 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowOpeningMockIndexInputWrapper.<init>(SlowOpeningMockIndexInputWrapper.java:39)
[junit4:junit4]   1>    at 
org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:509)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsReader.<init>(Lucene40StoredFieldsReader.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsFormat.fieldsReader(Lucene40StoredFieldsFormat.java:91)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:115)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:57)
[junit4:junit4]   1>    at 
org.apache.lucene.index.ReadersAndLiveDocs.getReader(ReadersAndLiveDocs.java:121)
[junit4:junit4]   1>    at 
org.apache.lucene.index.BufferedDeletesStream.applyDeletes(BufferedDeletesStream.java:267)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.applyAllDeletes(IndexWriter.java:2905)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.maybeApplyDeletes(IndexWriter.java:2896)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:365)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1047)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowOpeningMockIndexInputWrapper.<init>(SlowOpeningMockIndexInputWrapper.java:34)
[junit4:junit4]   1>    ... 12 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowOpeningMockIndexInputWrapper.<init>(SlowOpeningMockIndexInputWrapper.java:39)
[junit4:junit4]   1>    at 
org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:509)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40FieldInfosReader.read(Lucene40FieldInfosReader.java:52)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:101)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:57)
[junit4:junit4]   1>    at 
org.apache.lucene.index.ReadersAndLiveDocs.getReader(ReadersAndLiveDocs.java:121)
[junit4:junit4]   1>    at 
org.apache.lucene.index.BufferedDeletesStream.applyDeletes(BufferedDeletesStream.java:267)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.applyAllDeletes(IndexWriter.java:2905)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.maybeApplyDeletes(IndexWriter.java:2896)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:2869)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:2838)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:919)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.close(IndexWriter.java:874)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.close(IndexWriter.java:836)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1022)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowOpeningMockIndexInputWrapper.<init>(SlowOpeningMockIndexInputWrapper.java:34)
[junit4:junit4]   1>    ... 14 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter.close(Lucene40PostingsWriter.java:361)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.closeWhileHandlingException(IOUtils.java:81)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.BlockTreeTermsWriter.close(BlockTreeTermsWriter.java:1079)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsConsumerAndSuffix.close(PerFieldPostingsFormat.java:85)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:174)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsWriter.close(PerFieldPostingsFormat.java:153)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:102)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TermsHash.flush(TermsHash.java:116)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocInverter.flush(DocInverter.java:53)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:559)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2627)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2771)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2751)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1058)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 19 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter.close(Lucene40StoredFieldsWriter.java:125)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:249)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:102)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3641)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3247)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeScheduler.java:40)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:1838)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1648)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1601)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1061)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 12 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.BitVector.write(BitVector.java:242)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40LiveDocsFormat.writeLiveDocs(Lucene40LiveDocsFormat.java:103)
[junit4:junit4]   1>    at 
org.apache.lucene.index.ReadersAndLiveDocs.writeLiveDocs(ReadersAndLiveDocs.java:298)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter$ReaderPool.commit(IndexWriter.java:493)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2638)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2771)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:972)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.close(IndexWriter.java:874)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.close(IndexWriter.java:836)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1022)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 12 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter.close(Lucene40StoredFieldsWriter.java:125)
[junit4:junit4]   1>    at 
org.apache.lucene.index.StoredFieldsConsumer.flush(StoredFieldsConsumer.java:75)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:316)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:389)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1464)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1436)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1039)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 12 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.closeWhileHandlingException(IOUtils.java:81)
[junit4:junit4]   1>    at 
org.apache.lucene.store.CompoundFileWriter.close(CompoundFileWriter.java:154)
[junit4:junit4]   1>    at 
org.apache.lucene.store.CompoundFileDirectory.close(CompoundFileDirectory.java:171)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40DocValuesConsumer.close(Lucene40DocValuesConsumer.java:65)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.index.NormsConsumer.flush(NormsConsumer.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocInverter.flush(DocInverter.java:54)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:82)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:316)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:389)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1464)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1436)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1039)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 16 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowOpeningMockIndexInputWrapper.<init>(SlowOpeningMockIndexInputWrapper.java:39)
[junit4:junit4]   1>    at 
org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:509)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.BlockTreeTermsReader.<init>(BlockTreeTermsReader.java:130)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat.fieldsProducer(Lucene40PostingsFormat.java:255)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:194)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:233)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:107)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:57)
[junit4:junit4]   1>    at 
org.apache.lucene.index.ReadersAndLiveDocs.getReader(ReadersAndLiveDocs.java:121)
[junit4:junit4]   1>    at 
org.apache.lucene.index.ReadersAndLiveDocs.getReadOnlyClone(ReadersAndLiveDocs.java:218)
[junit4:junit4]   1>    at 
org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:96)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:366)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1047)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowOpeningMockIndexInputWrapper.<init>(SlowOpeningMockIndexInputWrapper.java:34)
[junit4:junit4]   1>    ... 13 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter.close(Lucene40StoredFieldsWriter.java:125)
[junit4:junit4]   1>    at 
org.apache.lucene.index.StoredFieldsConsumer.flush(StoredFieldsConsumer.java:75)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:559)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:354)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1047)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 11 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter.close(Lucene40StoredFieldsWriter.java:125)
[junit4:junit4]   1>    at 
org.apache.lucene.index.StoredFieldsConsumer.flush(StoredFieldsConsumer.java:75)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:559)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:354)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1047)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 11 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40FieldInfosWriter.write(Lucene40FieldInfosWriter.java:100)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:96)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:316)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:389)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1464)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1139)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1120)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1041)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 11 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:133)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.close(ThrottledIndexOutput.java:80)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter.close(Lucene40StoredFieldsWriter.java:125)
[junit4:junit4]   1>    at 
org.apache.lucene.index.StoredFieldsConsumer.flush(StoredFieldsConsumer.java:75)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
[junit4:junit4]   2> Jan 03, 2013 7:48:22 QN 
com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
 uncaughtException
[junit4:junit4]   2> WARNING: Uncaught exception in thread: 
Thread[Thread-13,5,TGRP-TestIndexWriter]
[junit4:junit4]   2> java.lang.RuntimeException: MockDirectoryWrapper: cannot 
close: there are still open files: {_3o_Lucene40_0.tim=1, _3n_Lucene40_0.frq=1, 
_3f_Lucene40_0.prx=1, _3o.fdt=1, _3n_Lucene40_0.tim=1, _3o.fdx=1, 
_3o_nrm.cfs=2, _3n_nrm.cfs=2, _3f_Lucene40_0.frq=1, _3o_Lucene40_0.frq=1, 
_3o_Lucene40_0.prx=1, _3n.fdt=1, _3f_nrm.cfs=2, _3n.fdx=1, 
_3n_Lucene40_0.prx=1, _3f_Lucene40_0.tim=1, _3f.fdx=1, _3f.fdt=1}
[junit4:junit4]   2>    at 
__randomizedtesting.SeedInfo.seed([F3467D34E535D34C]:0)
[junit4:junit4]   2>    at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:580)
[junit4:junit4]   2>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1128)
[junit4:junit4]   2> Caused by: java.lang.RuntimeException: unclosed 
IndexInput: _3f_Lucene40_0.tim
[junit4:junit4]   2>    at 
org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:471)
[junit4:junit4]   2>    at 
org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:513)
[junit4:junit4]   2>    at 
org.apache.lucene.codecs.BlockTreeTermsReader.<init>(BlockTreeTermsReader.java:121)
[junit4:junit4]   2>    at 
org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat.fieldsProducer(Lucene40PostingsFormat.java:255)
[junit4:junit4]   2>    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:194)
[junit4:junit4]   2>    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:233)
[junit4:junit4]   2>    at 
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:107)
[junit4:junit4]   2>    at 
org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:57)
[junit4:junit4]   2>    at 
org.apache.lucene.index.ReadersAndLiveDocs.getReader(ReadersAndLiveDocs.java:121)
[junit4:junit4]   2>    at 
org.apache.lucene.index.ReadersAndLiveDocs.getReadOnlyClone(ReadersAndLiveDocs.java:218)
[junit4:junit4]   2>    at 
org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:96)
[junit4:junit4]   2>    at 
org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:366)
[junit4:junit4]   2>    at 
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
[junit4:junit4]   2>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1047)
[junit4:junit4]   2> 
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:488)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:422)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:559)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:354)
[junit4:junit4]   1>    at 
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1047)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.util.ThrottledIndexOutput.sleep(ThrottledIndexOutput.java:131)
[junit4:junit4]   1>    ... 11 more
[junit4:junit4]   1> TEST: got interrupt
[junit4:junit4]   1> org.apache.lucene.util.ThreadInterruptedException: 
java.lang.InterruptedException: sleep interrupted
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowClosingMockIndexInputWrapper.close(SlowClosingMockIndexInputWrapper.java:42)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.lucene40.Lucene40PostingsReader.close(Lucene40PostingsReader.java:169)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.BlockTreeTermsReader.close(BlockTreeTermsReader.java:233)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:174)
[junit4:junit4]   1>    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.close(PerFieldPostingsFormat.java:226)
[junit4:junit4]   1>    at 
org.apache.lucene.util.IOUtils.close(IOUtils.java:146)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentCoreReaders.decRef(SegmentCoreReaders.java:144)
[junit4:junit4]   1>    at 
org.apache.lucene.index.SegmentReader.doClose(SegmentReader.java:114)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexReader.decRef(IndexReader.java:230)
[junit4:junit4]   1>    at 
org.apache.lucene.index.ReadersAndLiveDocs.dropReaders(ReadersAndLiveDocs.java:192)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter$ReaderPool.dropAll(IndexWriter.java:477)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.deleteAll(IndexWriter.java:2055)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1037)
[junit4:junit4]   1> Caused by: java.lang.InterruptedException: sleep 
interrupted
[junit4:junit4]   1>    at java.lang.Thread.sleep(Native Method)
[junit4:junit4]   1>    at 
org.apache.lucene.store.SlowClosingMockIndexInputWrapper.close(SlowClosingMockIndexInputWrapper.java:40)
[junit4:junit4]   1>    ... 13 more
[junit4:junit4]   1> FAILED; unexpected exception
[junit4:junit4]   1> java.lang.AssertionError: info=_3f(5.0):C2/1:delGen=1 
isn't live
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter$ReaderPool.infoIsLive(IndexWriter.java:415)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter$ReaderPool.dropAll(IndexWriter.java:461)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:981)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.close(IndexWriter.java:874)
[junit4:junit4]   1>    at 
org.apache.lucene.index.IndexWriter.close(IndexWriter.java:836)
[junit4:junit4]   1>    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1022)
[junit4:junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testThreadInterruptDeadlock -Dtests.seed=F3467D34E535D34C 
-Dtests.slow=true -Dtests.locale=mt -Dtests.timezone=Pacific/Honolulu 
-Dtests.file.encoding=UTF-8
[junit4:junit4] ERROR   4.21s J7 | TestIndexWriter.testThreadInterruptDeadlock 
<<<
[junit4:junit4]    > Throwable #1: java.lang.AssertionError
[junit4:junit4]    >    at org.junit.Assert.fail(Assert.java:92)
[junit4:junit4]    >    at org.junit.Assert.assertTrue(Assert.java:43)
[junit4:junit4]    >    at org.junit.Assert.assertFalse(Assert.java:68)
[junit4:junit4]    >    at org.junit.Assert.assertFalse(Assert.java:79)
[junit4:junit4]    >    at 
org.apache.lucene.index.TestIndexWriter.testThreadInterruptDeadlock(TestIndexWriter.java:1163)
[junit4:junit4]    >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
[junit4:junit4]    >    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[junit4:junit4]    >    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit4:junit4]    >    at java.lang.reflect.Method.invoke(Method.java:601)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:737)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:773)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:787)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
[junit4:junit4]    >    at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693)
[junit4:junit4]    >    at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
[junit4:junit4]    >    at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
[junit4:junit4]    >    at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
[junit4:junit4]    >    at java.lang.Thread.run(Thread.java:722)
[junit4:junit4]    > Throwable #2: 
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught 
exception in thread: Thread[id=43, name=Thread-13, state=RUNNABLE, 
group=TGRP-TestIndexWriter]
[junit4:junit4]    > Caused by: java.lang.RuntimeException: 
MockDirectoryWrapper: cannot close: there are still open files: 
{_3o_Lucene40_0.tim=1, _3n_Lucene40_0.frq=1, _3f_Lucene40_0.prx=1, _3o.fdt=1, 
_3n_Lucene40_0.tim=1, _3o.fdx=1, _3o_nrm.cfs=2, _3n_nrm.cfs=2, 
_3f_Lucene40_0.frq=1, _3o_Lucene40_0.frq=1, _3o_Lucene40_0.prx=1, _3n.fdt=1, 
_3f_nrm.cfs=2, _3n.fdx=1, _3n_Lucene40_0.prx=1, _3f_Lucene40_0.tim=1, 
_3f.fdx=1, _3f.fdt=1}
[junit4:junit4]    >    at 
__randomizedtesting.SeedInfo.seed([F3467D34E535D34C]:0)
[junit4:junit4]    >    at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:580)
[junit4:junit4]    >    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1128)
[junit4:junit4]    > Caused by: java.lang.RuntimeException: unclosed 
IndexInput: _3f_Lucene40_0.tim
[junit4:junit4]    >    at 
org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:471)
[junit4:junit4]    >    at 
org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:513)
[junit4:junit4]    >    at 
org.apache.lucene.codecs.BlockTreeTermsReader.<init>(BlockTreeTermsReader.java:121)
[junit4:junit4]    >    at 
org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat.fieldsProducer(Lucene40PostingsFormat.java:255)
[junit4:junit4]    >    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:194)
[junit4:junit4]    >    at 
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:233)
[junit4:junit4]    >    at 
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:107)
[junit4:junit4]    >    at 
org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:57)
[junit4:junit4]    >    at 
org.apache.lucene.index.ReadersAndLiveDocs.getReader(ReadersAndLiveDocs.java:121)
[junit4:junit4]    >    at 
org.apache.lucene.index.ReadersAndLiveDocs.getReadOnlyClone(ReadersAndLiveDocs.java:218)
[junit4:junit4]    >    at 
org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:96)
[junit4:junit4]    >    at 
org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:366)
[junit4:junit4]    >    at 
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
[junit4:junit4]    >    at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1047)
[junit4:junit4]   2> NOTE: test params are: codec=Lucene40, 
sim=DefaultSimilarity, locale=mt, timezone=Pacific/Honolulu
[junit4:junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle Corporation 
1.7.0_05 (64-bit)/cpus=8,threads=1,free=132412000,total=228589568
[junit4:junit4]   2> NOTE: All tests run in this JVM: [TestMaxTermFrequency, 
TestRamUsageEstimator, TestRamUsageEstimatorOnWildAnimals, TestBagOfPostings, 
TestDirectoryReader, TestFlex, TestScoreCachingWrappingScorer, 
TestBooleanQueryVisitSubscorers, Test2BPositions, TestShardSearching, 
TestIndexWriter]
[junit4:junit4] Completed on J7 in 44.86s, 54 tests, 1 error <<< FAILURES!

[...truncated 627 lines...]
BUILD FAILED
/var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/build.xml:50:
 The following error occurred while executing this line:
/var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:1176:
 The following error occurred while executing this line:
/var/lib/jenkins/workspace/Lucene-trunk-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:841:
 There were test failures: 323 suites, 1864 tests, 1 error, 25 ignored (13 
assumptions)

Total time: 3 minutes 43 seconds
Build step 'Invoke Ant' marked build as failure
Archiving artifacts
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to