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 Jenkins Server <je...@builds.apache.org> on 2012/01/26 06:27:11 UTC
[JENKINS] Lucene-trunk - Build # 1810 - Failure
Build: https://builds.apache.org/job/Lucene-trunk/1810/
1 tests failed.
REGRESSION: org.apache.lucene.index.TestIndexWriterOnDiskFull.testAddIndexOnDiskFull
Error Message:
max free Directory space required exceeded 1X the total input index sizes during addIndexes(Directory[]) + forceMerge(1): max temp usage = 32229 bytes vs limit=29274; starting disk usage = 3577 bytes; input index disk usage = 11060 bytes
Stack Trace:
junit.framework.AssertionFailedError: max free Directory space required exceeded 1X the total input index sizes during addIndexes(Directory[]) + forceMerge(1): max temp usage = 32229 bytes vs limit=29274; starting disk usage = 3577 bytes; input index disk usage = 11060 bytes
at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165)
at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57)
at org.apache.lucene.index.TestIndexWriterOnDiskFull.__CLR2_6_3gfbvu329wn(TestIndexWriterOnDiskFull.java:415)
at org.apache.lucene.index.TestIndexWriterOnDiskFull.testAddIndexOnDiskFull(TestIndexWriterOnDiskFull.java:149)
at org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:529)
Build Log (for compile errors):
[...truncated 17750 lines...]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene-trunk - Build # 1810 - Failure
Posted by Michael McCandless <lu...@mikemccandless.com>.
I committed a fix -- this was a real (trunk-only) bug, where IW was
trying to remove files for the merged segments before closing the
merge readers, so the delete failed and transient disk usage was too
high!
Thank you crazy test,
Mike McCandless
http://blog.mikemccandless.com
On Thu, Jan 26, 2012 at 1:39 PM, Michael McCandless
<lu...@mikemccandless.com> wrote:
> On Thu, Jan 26, 2012 at 1:35 PM, Robert Muir <rc...@gmail.com> wrote:
>> I think its possible MockRandom got some ridiculous settings? I think
>> the last time i saw this fail it was content=SimpleText
>>
>> What is the free space assertion all about? is it just ensuring that
>> MockDirectoryWrapper's disk full stuff actually works?
>> If thats all it is maybe we should tone it back or remove it, and
>> separately test that in another test that uses a certain codec always?
>
> First, it tests that disk full at random times doesn't cause index corruption.
>
> But then once it finds a disk-free size that completes successfully,
> it runs that assert to confirm IndexWriter's peak transient disk space
> required when adding indices is < X, where it computes X as a function
> of the size of the indexes being added... since MockRandom can wildly
> vary how much space segment will take even when indexing the same
> docs... it can easily cause the assert to trip...
>
> Mike McCandless
>
> http://blog.mikemccandless.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene-trunk - Build # 1810 - Failure
Posted by Michael McCandless <lu...@mikemccandless.com>.
On Thu, Jan 26, 2012 at 1:35 PM, Robert Muir <rc...@gmail.com> wrote:
> I think its possible MockRandom got some ridiculous settings? I think
> the last time i saw this fail it was content=SimpleText
>
> What is the free space assertion all about? is it just ensuring that
> MockDirectoryWrapper's disk full stuff actually works?
> If thats all it is maybe we should tone it back or remove it, and
> separately test that in another test that uses a certain codec always?
First, it tests that disk full at random times doesn't cause index corruption.
But then once it finds a disk-free size that completes successfully,
it runs that assert to confirm IndexWriter's peak transient disk space
required when adding indices is < X, where it computes X as a function
of the size of the indexes being added... since MockRandom can wildly
vary how much space segment will take even when indexing the same
docs... it can easily cause the assert to trip...
Mike McCandless
http://blog.mikemccandless.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene-trunk - Build # 1810 - Failure
Posted by Robert Muir <rc...@gmail.com>.
I think its possible MockRandom got some ridiculous settings? I think
the last time i saw this fail it was content=SimpleText
What is the free space assertion all about? is it just ensuring that
MockDirectoryWrapper's disk full stuff actually works?
If thats all it is maybe we should tone it back or remove it, and
separately test that in another test that uses a certain codec always?
On Thu, Jan 26, 2012 at 12:27 AM, Apache Jenkins Server
<je...@builds.apache.org> wrote:
> Build: https://builds.apache.org/job/Lucene-trunk/1810/
>
> 1 tests failed.
> REGRESSION: org.apache.lucene.index.TestIndexWriterOnDiskFull.testAddIndexOnDiskFull
>
> Error Message:
> max free Directory space required exceeded 1X the total input index sizes during addIndexes(Directory[]) + forceMerge(1): max temp usage = 32229 bytes vs limit=29274; starting disk usage = 3577 bytes; input index disk usage = 11060 bytes
>
> Stack Trace:
> junit.framework.AssertionFailedError: max free Directory space required exceeded 1X the total input index sizes during addIndexes(Directory[]) + forceMerge(1): max temp usage = 32229 bytes vs limit=29274; starting disk usage = 3577 bytes; input index disk usage = 11060 bytes
> at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165)
> at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57)
> at org.apache.lucene.index.TestIndexWriterOnDiskFull.__CLR2_6_3gfbvu329wn(TestIndexWriterOnDiskFull.java:415)
> at org.apache.lucene.index.TestIndexWriterOnDiskFull.testAddIndexOnDiskFull(TestIndexWriterOnDiskFull.java:149)
> at org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:529)
>
>
>
>
> Build Log (for compile errors):
> [...truncated 17750 lines...]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
--
lucidimagination.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org