lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Busch <busch...@gmail.com>
Subject Re: [HUDSON] Lucene-trunk - Build # 1475 - Failure
Date Wed, 23 Feb 2011 21:08:12 GMT
I was also able to reproduce this failure locally.

So the problem only happens for segments that had document(s) with term 
vectors, but which all hit non-aborting exceptions.  In that case the 
corresponding FieldInfo(s) will have term vectors enabled, but no TV 
files will have been written due to the non-aborting exception.

I committed a fix which clears the TV bits in FieldInfos in case 
SegmentWriteState.hasVectors is false on segment flush.  This fixes the 
problem.  I will probably keep looking if there's a more elegant way to 
fix this, but for now the build should be fixed.

  Michael

On 2/23/11 2:24 AM, Simon Willnauer wrote:
> Michael did you try with the reproduce commandline?
> ant test-core -Dtestcase=TestIndexWriterExceptions
> -Dtestmethod=testDocumentsWriterExceptions
> -Dtests.seed=5748357769164696038:5339220614554941881
>
> that one fails all the time on my machine
>
> simon
>
> On Wed, Feb 23, 2011 at 8:38 AM, Michael Busch<buschmic@gmail.com>  wrote:
>> I just ran this test locally ~15 times and no failure.  Weird...   I'll keep
>> looking
>>
>> On 2/22/11 11:29 PM, Simon Willnauer wrote:
>>> hmm maybe this was caused by LUCENE-2881 but I am not sure. I try to
>>> dig this afternoon...
>>>
>>> simon
>>>
>>> On Wed, Feb 23, 2011 at 4:11 AM, Apache Hudson Server
>>> <hudson@hudson.apache.org>    wrote:
>>>> Build: https://hudson.apache.org/hudson/job/Lucene-trunk/1475/
>>>>
>>>> 1 tests failed.
>>>> REGRESSION:
>>>>   org.apache.lucene.index.TestIndexWriterExceptions.testDocumentsWriterExceptions
>>>>
>>>> Error Message:
>>>> file _1.tvx does not exist
>>>>
>>>> Stack Trace:
>>>> junit.framework.AssertionFailedError: file _1.tvx does not exist
>>>>         at
>>>> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1213)
>>>>         at
>>>> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1145)
>>>>         at
>>>> org.apache.lucene.index.IndexWriter.filesExist(IndexWriter.java:3413)
>>>>         at
>>>> org.apache.lucene.index.IndexWriter.startCommit(IndexWriter.java:3467)
>>>>         at
>>>> org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:2375)
>>>>         at
>>>> org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2446)
>>>>         at
>>>> org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1098)
>>>>         at
>>>> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1041)
>>>>         at
>>>> org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1005)
>>>>         at
>>>> org.apache.lucene.index.TestIndexWriterExceptions.__CLR2_6_3n67xuk1m6p(TestIndexWriterExceptions.java:565)
>>>>         at
>>>> org.apache.lucene.index.TestIndexWriterExceptions.testDocumentsWriterExceptions(TestIndexWriterExceptions.java:518)
>>>>
>>>>
>>>>
>>>>
>>>> Build Log (for compile errors):
>>>> [...truncated 13598 lines...]
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>>


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


Mime
View raw message