[HUDSON] Lucene-trunk - Build # 1475 - Failure

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[HUDSON] Lucene-trunk - Build # 1475 - Failure

Apache Jenkins Server
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [HUDSON] Lucene-trunk - Build # 1475 - Failure

Simon Willnauer
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
<[hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [HUDSON] Lucene-trunk - Build # 1475 - Failure

Michael Busch
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
> <[hidden email]>  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: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [HUDSON] Lucene-trunk - Build # 1475 - Failure

Simon Willnauer
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 <[hidden email]> 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
>> <[hidden email]>  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: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [HUDSON] Lucene-trunk - Build # 1475 - Failure

Simon Willnauer
this seems indeed to be related to the changes in LUCENE-2881. This
test indexed a document with TV enabled adds a new FieldInfo which
sets hasVectors=true but then hits an exception before the tvx file
gets created. This is as far as have observed by looking at the code
and the place where it fails.

I need to run now - will look into this later again but it seems that
we should reopen LUCENE-2881 and see if we can somehow rollback in
such a situation or let the code which creates the file set the
property on FI.

simon

On Wed, Feb 23, 2011 at 11:24 AM, Simon Willnauer
<[hidden email]> 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 <[hidden email]> 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
>>> <[hidden email]>  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: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [HUDSON] Lucene-trunk - Build # 1475 - Failure

Michael Busch
In reply to this post by Simon Willnauer
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<[hidden email]>  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
>>> <[hidden email]>    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: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]