You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Apache Hudson Server <hu...@hudson.apache.org> on 2010/12/14 10:59:06 UTC
Lucene-Solr-tests-only-trunk - Build # 2528 - Failure
Build: https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/2528/
1 tests failed.
REGRESSION: org.apache.lucene.index.TestIndexWriterOnJRECrash.testNRTThreads
Error Message:
CheckIndex failed
Stack Trace:
java.lang.RuntimeException: CheckIndex failed
at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:87)
at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:73)
at org.apache.lucene.index.TestIndexWriterOnJRECrash.checkIndexes(TestIndexWriterOnJRECrash.java:131)
at org.apache.lucene.index.TestIndexWriterOnJRECrash.checkIndexes(TestIndexWriterOnJRECrash.java:137)
at org.apache.lucene.index.TestIndexWriterOnJRECrash.testNRTThreads(TestIndexWriterOnJRECrash.java:61)
at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
Build Log (for compile errors):
[...truncated 3229 lines...]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: Lucene-Solr-tests-only-trunk - Build # 2528 - Failure
Posted by Robert Muir <rc...@gmail.com>.
On Tue, Dec 14, 2010 at 8:41 AM, Michael McCandless
<lu...@mikemccandless.com> wrote:
> Also, can we fix LuceneTestCase to print the temp dirs created by the
> test? This way I could know which temp dir to go digging on... seems
> like to do this we need _TestUtil.getTempDir to notify LuceneTestCase
> when it returns a new dir? Or, maybe we move getTempDir into
> LuceneTestCase?
For this specific test, in VERBOSE mode it prints the name of any
index it finds before it runs CheckIndex... but we arent running our
tests in hudson with VERBOSE output.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: Lucene-Solr-tests-only-trunk - Build # 2528 - Failure
Posted by Michael McCandless <lu...@mikemccandless.com>.
+1 this would be awesome!
I'm very curious how the crash-the-JRE-test produced an index that
causes CheckIndex to OOME!
Mike
On Tue, Dec 14, 2010 at 9:30 AM, Robert Muir <rc...@gmail.com> wrote:
> On Tue, Dec 14, 2010 at 9:21 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
>
>> At least we could add something like an error handler in the shell script
>> that does a "snapshpot" of the build/ directory, tars it and places it
>> somewhere with the build number. It could be put to the artifact folder,
>> that would also save it. Can look into this at weekend, I am busy now.
>>
>
> This would be really cool, even if we have to hack it (like create a
> build/test "artifact" but we rm -rf after running tests so it will be
> empty if the tests pass)
>
> ---------------------------------------------------------------------
> 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
Re: Lucene-Solr-tests-only-trunk - Build # 2528 - Failure
Posted by Robert Muir <rc...@gmail.com>.
On Tue, Dec 14, 2010 at 9:21 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> At least we could add something like an error handler in the shell script
> that does a "snapshpot" of the build/ directory, tars it and places it
> somewhere with the build number. It could be put to the artifact folder,
> that would also save it. Can look into this at weekend, I am busy now.
>
This would be really cool, even if we have to hack it (like create a
build/test "artifact" but we rm -rf after running tests so it will be
empty if the tests pass)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: Lucene-Solr-tests-only-trunk - Build # 2528 - Failure
Posted by Uwe Schindler <uw...@thetaphi.de>.
Normally if the tests fail, the builds stop and the index should be kept
alive. If you are fast enough after the failed tests you should be able to
fetch the failed data. But the next Hudson run will delete it. The problem
is that Apache does not save the workspace of each run (as its about 2 GB!)
At least we could add something like an error handler in the shell script
that does a "snapshpot" of the build/ directory, tars it and places it
somewhere with the build number. It could be put to the artifact folder,
that would also save it. Can look into this at weekend, I am busy now.
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Tuesday, December 14, 2010 2:41 PM
> To: dev@lucene.apache.org
> Subject: Re: Lucene-Solr-tests-only-trunk - Build # 2528 - Failure
>
> This failure is interesting.
>
> It's the new awesome JRE-crash test, which crashes the JRE while
> TestNRTThreads is running. Somehow CheckIndex on the resulting index hit
> an OOME.
>
> I was very curious to pull down that index and run CheckIndex myself,
but...
> our hudson jobs do an "ant clean" on each run, so the index is gone.
>
> How hard would it be to save away the world if any tests fail? We could
> delete them after a few days...
>
> Also, can we fix LuceneTestCase to print the temp dirs created by the
test?
> This way I could know which temp dir to go digging on... seems like to do
this
> we need _TestUtil.getTempDir to notify LuceneTestCase when it returns a
> new dir? Or, maybe we move getTempDir into LuceneTestCase?
>
> Mike
>
> On Tue, Dec 14, 2010 at 4:59 AM, Apache Hudson Server
> <hu...@hudson.apache.org> wrote:
> > Build:
> > https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-
> trunk/2528
> > /
> >
> > 1 tests failed.
> > REGRESSION:
> > org.apache.lucene.index.TestIndexWriterOnJRECrash.testNRTThreads
> >
> > Error Message:
> > CheckIndex failed
> >
> > Stack Trace:
> > java.lang.RuntimeException: CheckIndex failed
> > at
> > org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:87)
> > at
> > org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:73)
> > at
> >
> org.apache.lucene.index.TestIndexWriterOnJRECrash.checkIndexes(TestInd
> > exWriterOnJRECrash.java:131)
> > at
> >
> org.apache.lucene.index.TestIndexWriterOnJRECrash.checkIndexes(TestInd
> > exWriterOnJRECrash.java:137)
> > at
> >
> org.apache.lucene.index.TestIndexWriterOnJRECrash.testNRTThreads(TestI
> > ndexWriterOnJRECrash.java:61)
> > at
> >
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Lu
> > ceneTestCase.java:1043)
> > at
> >
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Lu
> > ceneTestCase.java:981)
> >
> >
> >
> >
> > Build Log (for compile errors):
> > [...truncated 3229 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
Re: Lucene-Solr-tests-only-trunk - Build # 2528 - Failure
Posted by Michael McCandless <lu...@mikemccandless.com>.
This failure is interesting.
It's the new awesome JRE-crash test, which crashes the JRE while
TestNRTThreads is running. Somehow CheckIndex on the resulting index
hit an OOME.
I was very curious to pull down that index and run CheckIndex myself,
but... our hudson jobs do an "ant clean" on each run, so the index is
gone.
How hard would it be to save away the world if any tests fail? We
could delete them after a few days...
Also, can we fix LuceneTestCase to print the temp dirs created by the
test? This way I could know which temp dir to go digging on... seems
like to do this we need _TestUtil.getTempDir to notify LuceneTestCase
when it returns a new dir? Or, maybe we move getTempDir into
LuceneTestCase?
Mike
On Tue, Dec 14, 2010 at 4:59 AM, Apache Hudson Server
<hu...@hudson.apache.org> wrote:
> Build: https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/2528/
>
> 1 tests failed.
> REGRESSION: org.apache.lucene.index.TestIndexWriterOnJRECrash.testNRTThreads
>
> Error Message:
> CheckIndex failed
>
> Stack Trace:
> java.lang.RuntimeException: CheckIndex failed
> at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:87)
> at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:73)
> at org.apache.lucene.index.TestIndexWriterOnJRECrash.checkIndexes(TestIndexWriterOnJRECrash.java:131)
> at org.apache.lucene.index.TestIndexWriterOnJRECrash.checkIndexes(TestIndexWriterOnJRECrash.java:137)
> at org.apache.lucene.index.TestIndexWriterOnJRECrash.testNRTThreads(TestIndexWriterOnJRECrash.java:61)
> at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
> at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
>
>
>
>
> Build Log (for compile errors):
> [...truncated 3229 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