lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject 3.0 and 2.9 branch test failures
Date Fri, 04 Jun 2010 13:30:22 GMT
During building the release artifacts for 2.9.3 and 3.0.2, I found out that
the following test fails with Java 1.4.2 (2.9x only) and Java 1.5.0_22 on my
sun solaris platform:

Lucene 2.9 with Java 1.5:
    [junit] Testsuite: org.apache.lucene.index.TestIndexWriterReader
    [junit] Tests run: 15, Failures: 1, Errors: 0, Time elapsed: 18.01 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] Exception in thread "Lucene Merge Thread #2"
org.apache.lucene.index.MergePolicy$MergeException:
java.io.FileNotFoundException: _3.fdt
    [junit]     at
org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(Concur
rentMergeScheduler.java:351)
    [junit]     at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentM
ergeScheduler.java:315)
    [junit] Caused by: java.io.FileNotFoundException: _3.fdt
    [junit]     at
org.apache.lucene.store.MockRAMDirectory.openInput(MockRAMDirectory.java:235
)
    [junit]     at
org.apache.lucene.store.Directory.openInput(Directory.java:124)
    [junit]     at
org.apache.lucene.index.FieldsReader.<init>(FieldsReader.java:104)
    [junit]     at
org.apache.lucene.index.SegmentReader$CoreReaders.openDocStores(SegmentReade
r.java:291)
    [junit]     at
org.apache.lucene.index.SegmentReader.get(SegmentReader.java:654)
    [junit]     at
org.apache.lucene.index.SegmentReader.get(SegmentReader.java:622)
    [junit]     at
org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:698)
    [junit]     at
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5130)
    [junit]     at
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4693)
    [junit]     at
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeSche
duler.java:235)
    [junit]     at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentM
ergeScheduler.java:291)
    [junit] ------------- ---------------- ---------------
    [junit] Testcase:
testMergeWarmer(org.apache.lucene.index.TestIndexWriterReader):   FAILED
    [junit] ConcurrentMergeScheduler hit unhandled exceptions
    [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler
hit unhandled exceptions
    [junit]     at
org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:110)
    [junit]     at
org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:221)
    [junit] 
    [junit] 
    [junit] Test org.apache.lucene.index.TestIndexWriterReader FAILED


Lucene 3.0 with Java 1.5:
    [junit] Testsuite: org.apache.lucene.index.TestIndexWriterReader
    [junit] Tests run: 15, Failures: 1, Errors: 0, Time elapsed: 18.476 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] Exception in thread "Lucene Merge Thread #2"
org.apache.lucene.index.MergePolicy$MergeException:
java.io.FileNotFoundException: _3.fdt
    [junit]     at
org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(Concur
rentMergeScheduler.java:347)
    [junit]     at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentM
ergeScheduler.java:312)
    [junit] Caused by: java.io.FileNotFoundException: _3.fdt
    [junit]     at
org.apache.lucene.store.MockRAMDirectory.openInput(MockRAMDirectory.java:229
)
    [junit]     at
org.apache.lucene.store.Directory.openInput(Directory.java:99)
    [junit]     at
org.apache.lucene.index.FieldsReader.<init>(FieldsReader.java:108)
    [junit]     at
org.apache.lucene.index.SegmentReader$CoreReaders.openDocStores(SegmentReade
r.java:291)
    [junit]     at
org.apache.lucene.index.SegmentReader.get(SegmentReader.java:592)
    [junit]     at
org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:616)
    [junit]     at
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4377)
    [junit]     at
org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3983)
    [junit]     at
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeSche
duler.java:231)
    [junit]     at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentM
ergeScheduler.java:288)
    [junit] ------------- ---------------- ---------------
    [junit] Testcase:
testMergeWarmer(org.apache.lucene.index.TestIndexWriterReader):   FAILED
    [junit] ConcurrentMergeScheduler hit unhandled exceptions
    [junit] junit.framework.AssertionFailedError: ConcurrentMergeScheduler
hit unhandled exceptions
    [junit]     at
org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:106)
    [junit]     at
org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:216)
    [junit] 
    [junit] 
    [junit] Test org.apache.lucene.index.TestIndexWriterReader FAILED

Both fail with exactly same file name!

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de



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


Mime
View raw message