lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: 3.0 and 2.9 branch test failures
Date Fri, 04 Jun 2010 16:02:40 GMT
nevermind, 2.9 doesnt even have parallel tests (sorry). it just happened to
work 3 times when i used this option, and failed everytime without it...
sorry

On Fri, Jun 4, 2010 at 11:46 AM, Robert Muir <rcmuir@gmail.com> wrote:

> if you run this test with -Dsequential-tests=1, it will pass every time.
>
> so I suspect temp file handling
>
>
> On Fri, Jun 4, 2010 at 10:27 AM, Michael McCandless <
> lucene@mikemccandless.com> wrote:
>
>> I'm digging...
>>
>> Mike
>>
>> On Fri, Jun 4, 2010 at 9:38 AM, Uwe Schindler <uwe@thetaphi.de> wrote:
>> > Backwards in 3.0 (tests 2.9) also fails (of course). 2.9 backwards pass
>> (no
>> > IndexWriterReader test in 2.4).
>> >
>> > -----
>> > Uwe Schindler
>> > H.-H.-Meier-Allee 63, D-28213 Bremen
>> > http://www.thetaphi.de
>> > eMail: uwe@thetaphi.de
>> >
>> >
>> >> -----Original Message-----
>> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> >> Sent: Friday, June 04, 2010 3:30 PM
>> >> To: dev@lucene.apache.org
>> >> Subject: 3.0 and 2.9 branch test failures
>> >>
>> >> 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.handleMergeExceptio
>> >> n(Concur
>> >> rentMergeScheduler.java:351)
>> >>     [junit]     at
>> >> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Co
>> >> ncurrentM
>> >> 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(Seg
>> >> mentReade
>> >> 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(Concurrent
>> >> MergeSche
>> >> duler.java:235)
>> >>     [junit]     at
>> >> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Co
>> >> ncurrentM
>> >> 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.handleMergeExceptio
>> >> n(Concur
>> >> rentMergeScheduler.java:347)
>> >>     [junit]     at
>> >> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Co
>> >> ncurrentM
>> >> 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(Seg
>> >> mentReade
>> >> 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(Concurrent
>> >> MergeSche
>> >> duler.java:231)
>> >>     [junit]     at
>> >> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(Co
>> >> ncurrentM
>> >> 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
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: dev-help@lucene.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>>
>
>
> --
> Robert Muir
> rcmuir@gmail.com
>



-- 
Robert Muir
rcmuir@gmail.com

Mime
View raw message