I opened LUCENE3251 for this. Seems like a bug in Directory#copy

simon

On Mon, Jun 27, 2011 at 11:38 PM, Apache Jenkins Server
<jenk...@builds.apache.org> wrote:
> Build: https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/9126/
>
> 1 tests failed.
> REGRESSION:  org.apache.lucene.index.TestAddIndexes.testAddIndexesWithRollback
>
> Error Message:
> MockDirectoryWrapper: cannot close: there are still open files: {_co.cfs=1}
>
> Stack Trace:
> java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there are 
> still open files: {_co.cfs=1}
>        at 
> org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:483)
>        at 
> org.apache.lucene.index.TestAddIndexes$RunAddIndexesThreads.closeDir(TestAddIndexes.java:693)
>        at 
> org.apache.lucene.index.TestAddIndexes.testAddIndexesWithRollback(TestAddIndexes.java:924)
>        at 
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1277)
>        at 
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1195)
> Caused by: java.lang.RuntimeException: unclosed IndexOutput: _co.cfs
>        at 
> org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:410)
>        at 
> org.apache.lucene.store.MockCompoundFileDirectoryWrapper.<init>(MockCompoundFileDirectoryWrapper.java:39)
>        at 
> org.apache.lucene.store.MockDirectoryWrapper.createCompoundOutput(MockDirectoryWrapper.java:439)
>        at 
> org.apache.lucene.index.SegmentMerger.createCompoundFile(SegmentMerger.java:128)
>        at 
> org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:3101)
>        at 
> org.apache.lucene.index.TestAddIndexes$CommitAndAddIndexes3.doBody(TestAddIndexes.java:839)
>        at 
> org.apache.lucene.index.TestAddIndexes$RunAddIndexesThreads$1.run(TestAddIndexes.java:667)
>
>
>
>
> Build Log (for compile errors):
> [...truncated 6497 lines...]
>
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to