lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: [JENKINS] Lucene-Solr-tests-only-trunk - Build # 12492 - Failure
Date Wed, 22 Feb 2012 12:58:30 GMT
OK for the TestIndexWriterNRTisCurrent, it reproduces better if you
make your computer busy (run it with -Dtests.iter=100 or so at the
same time as running 'ant test' in another checkout)

improving the assert a bit:
    [junit] Caused by: java.lang.AssertionError: out of bounds:
docid=0,liveDocsLength=0
    [junit] 	at
org.apache.lucene.index.IndexWriter$ReadersAndLiveDocs.delete(IndexWriter.java:535)
    [junit] 	at
org.apache.lucene.index.IndexWriter.commitMergedDeletes(IndexWriter.java:3062)
    [junit] 	at
org.apache.lucene.index.IndexWriter.commitMerge(IndexWriter.java:3136)

seems bogus that we have a 0-length bitvector...

On Wed, Feb 22, 2012 at 6:15 AM, Robert Muir <rcmuir@gmail.com> wrote:
> There are actually 2 failures here... TestDeletionPolicy was a bug in
> LuceneTestCase.
> TestIndexWriterNRTIsCurrent is something else, and it doesnt reproduce
> easily yet
>
> On Wed, Feb 22, 2012 at 4:11 AM, Apache Jenkins Server
> <jenkins@builds.apache.org> wrote:
>> Build: https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/12492/
>>
>> 2 tests failed.
>> REGRESSION:  org.apache.lucene.index.TestDeletionPolicy.testKeepLastNDeletionPolicyWithCreates
>>
>> Error Message:
>> null
>>
>> Stack Trace:
>> java.lang.NullPointerException
>>        at org.apache.lucene.index.FilterAtomicReader$FilterFields.terms(FilterAtomicReader.java:53)
>>        at org.apache.lucene.util.TermContext.build(TermContext.java:94)
>>        at org.apache.lucene.search.TermQuery.createWeight(TermQuery.java:180)
>>        at org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:584)
>>        at org.apache.lucene.search.AssertingIndexSearcher.createNormalizedWeight(AssertingIndexSearcher.java:59)
>>        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:258)
>>        at org.apache.lucene.index.TestDeletionPolicy.testKeepLastNDeletionPolicyWithCreates(TestDeletionPolicy.java:701)
>>        at org.apache.lucene.util.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate(LuceneTestCase.java:707)
>>        at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:606)
>>        at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:511)
>>        at org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(LuceneTestCase.java:569)
>>        at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165)
>>        at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57)
>>
>>
>> REGRESSION:  org.apache.lucene.index.TestIndexWriterNRTIsCurrent.testIsCurrentWithThreads
>>
>> Error Message:
>> java.lang.AssertionError: Some threads threw uncaught exceptions!
>>
>> Stack Trace:
>> java.lang.RuntimeException: java.lang.AssertionError: Some threads threw uncaught
exceptions!
>>        at org.apache.lucene.util.LuceneTestCase.tearDownInternal(LuceneTestCase.java:780)
>>        at org.apache.lucene.util.LuceneTestCase.access$1000(LuceneTestCase.java:138)
>>        at org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate(LuceneTestCase.java:607)
>>        at org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate(LuceneTestCase.java:511)
>>        at org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(LuceneTestCase.java:569)
>>        at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165)
>>        at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57)
>>        at org.apache.lucene.util.LuceneTestCase.checkUncaughtExceptionsAfter(LuceneTestCase.java:808)
>>        at org.apache.lucene.util.LuceneTestCase.tearDownInternal(LuceneTestCase.java:752)
>>
>>
>>
>>
>> Build Log (for compile errors):
>> [...truncated 1547 lines...]
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
>
> --
> lucidimagination.com



-- 
lucidimagination.com

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


Mime
View raw message