You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Simon Willnauer <si...@googlemail.com> on 2011/01/10 11:37:05 UTC

Intermitted Failure on TestFST

I just ran into this while working on LUCENE-2694. I can not reproduce
this so far but I don't think this is related to my changes though.

[junit] Testsuite: org.apache.lucene.util.automaton.fst.TestFSTs
    [junit] Testcase:
testRealTerms(org.apache.lucene.util.automaton.fst.TestFSTs):	FAILED
    [junit] expected:<59507> but was:<16982>
    [junit] junit.framework.AssertionFailedError: expected:<59507> but
was:<16982>
    [junit] 	at
org.apache.lucene.util.automaton.fst.TestFSTs.assertSame(TestFSTs.java:1058)
    [junit] 	at
org.apache.lucene.util.automaton.fst.TestFSTs.testRealTerms(TestFSTs.java:1018)
    [junit] 	at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1111)
    [junit] 	at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1049)
    [junit]
    [junit]
    [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 13.364 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: Ignoring nightly-only test method 'testBigSet'
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestFSTs
-Dtestmethod=testRealTerms -Dtests.seed=6383451564727439626:0
    [junit] NOTE: test params are: codec=RandomCodecProvider:
{id=MockSep, body=MockRandom, title=MockRandom,
titleTokenized=Standard, date=MockSep}, locale=ar,
timezone=America/Argentina/Tucuman
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestToken, TestAddIndexes, TestCrash, TestFlex,
TestIndexWriter, TestIndexWriterOnJRECrash, TestMultiReader,
TestOmitTf, TestPersistentSnapshotDeletionPolicy,
TestSnapshotDeletionPolicy, TestTransactionRollback,
TestBooleanScorer, TestDateSort, TestFieldCacheTermsFilter,
TestMultiTermQueryRewrites, TestPositionIncrement, TestRegexpQuery,
TestSimpleExplanations, TestTermScorer, TestDocValues,
TestFieldMaskingSpanQuery, TestSpansAdvanced, TestBufferedIndexInput,
TestRAMDirectory, TestArrayUtil, TestFieldCacheSanityChecker,
TestSmallFloat, TestFSTs]

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


Re: Intermitted Failure on TestFST

Posted by Michael McCandless <lu...@mikemccandless.com>.
OK turns out this is an issue w/ the patch on LUCENE-2694.

I ran TestFSTs for 5 hrs under while(1) tester yesterday, on clean
trunk, and it didn't fail...

Mike

On Mon, Jan 10, 2011 at 6:24 AM, Michael McCandless
<lu...@mikemccandless.com> wrote:
> I too cannot repro with this seed (separately: not good!).  I started
> up a while(1) on beast but so far no failure... hmmmm.
>
> Mike
>
> On Mon, Jan 10, 2011 at 5:37 AM, Simon Willnauer
> <si...@googlemail.com> wrote:
>> I just ran into this while working on LUCENE-2694. I can not reproduce
>> this so far but I don't think this is related to my changes though.
>>
>> [junit] Testsuite: org.apache.lucene.util.automaton.fst.TestFSTs
>>    [junit] Testcase:
>> testRealTerms(org.apache.lucene.util.automaton.fst.TestFSTs):   FAILED
>>    [junit] expected:<59507> but was:<16982>
>>    [junit] junit.framework.AssertionFailedError: expected:<59507> but
>> was:<16982>
>>    [junit]     at
>> org.apache.lucene.util.automaton.fst.TestFSTs.assertSame(TestFSTs.java:1058)
>>    [junit]     at
>> org.apache.lucene.util.automaton.fst.TestFSTs.testRealTerms(TestFSTs.java:1018)
>>    [junit]     at
>> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1111)
>>    [junit]     at
>> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1049)
>>    [junit]
>>    [junit]
>>    [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 13.364 sec
>>    [junit]
>>    [junit] ------------- Standard Error -----------------
>>    [junit] NOTE: Ignoring nightly-only test method 'testBigSet'
>>    [junit] NOTE: reproduce with: ant test -Dtestcase=TestFSTs
>> -Dtestmethod=testRealTerms -Dtests.seed=6383451564727439626:0
>>    [junit] NOTE: test params are: codec=RandomCodecProvider:
>> {id=MockSep, body=MockRandom, title=MockRandom,
>> titleTokenized=Standard, date=MockSep}, locale=ar,
>> timezone=America/Argentina/Tucuman
>>    [junit] NOTE: all tests run in this JVM:
>>    [junit] [TestToken, TestAddIndexes, TestCrash, TestFlex,
>> TestIndexWriter, TestIndexWriterOnJRECrash, TestMultiReader,
>> TestOmitTf, TestPersistentSnapshotDeletionPolicy,
>> TestSnapshotDeletionPolicy, TestTransactionRollback,
>> TestBooleanScorer, TestDateSort, TestFieldCacheTermsFilter,
>> TestMultiTermQueryRewrites, TestPositionIncrement, TestRegexpQuery,
>> TestSimpleExplanations, TestTermScorer, TestDocValues,
>> TestFieldMaskingSpanQuery, TestSpansAdvanced, TestBufferedIndexInput,
>> TestRAMDirectory, TestArrayUtil, TestFieldCacheSanityChecker,
>> TestSmallFloat, TestFSTs]
>>
>> ---------------------------------------------------------------------
>> 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: Intermitted Failure on TestFST

Posted by Michael McCandless <lu...@mikemccandless.com>.
I too cannot repro with this seed (separately: not good!).  I started
up a while(1) on beast but so far no failure... hmmmm.

Mike

On Mon, Jan 10, 2011 at 5:37 AM, Simon Willnauer
<si...@googlemail.com> wrote:
> I just ran into this while working on LUCENE-2694. I can not reproduce
> this so far but I don't think this is related to my changes though.
>
> [junit] Testsuite: org.apache.lucene.util.automaton.fst.TestFSTs
>    [junit] Testcase:
> testRealTerms(org.apache.lucene.util.automaton.fst.TestFSTs):   FAILED
>    [junit] expected:<59507> but was:<16982>
>    [junit] junit.framework.AssertionFailedError: expected:<59507> but
> was:<16982>
>    [junit]     at
> org.apache.lucene.util.automaton.fst.TestFSTs.assertSame(TestFSTs.java:1058)
>    [junit]     at
> org.apache.lucene.util.automaton.fst.TestFSTs.testRealTerms(TestFSTs.java:1018)
>    [junit]     at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1111)
>    [junit]     at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1049)
>    [junit]
>    [junit]
>    [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 13.364 sec
>    [junit]
>    [junit] ------------- Standard Error -----------------
>    [junit] NOTE: Ignoring nightly-only test method 'testBigSet'
>    [junit] NOTE: reproduce with: ant test -Dtestcase=TestFSTs
> -Dtestmethod=testRealTerms -Dtests.seed=6383451564727439626:0
>    [junit] NOTE: test params are: codec=RandomCodecProvider:
> {id=MockSep, body=MockRandom, title=MockRandom,
> titleTokenized=Standard, date=MockSep}, locale=ar,
> timezone=America/Argentina/Tucuman
>    [junit] NOTE: all tests run in this JVM:
>    [junit] [TestToken, TestAddIndexes, TestCrash, TestFlex,
> TestIndexWriter, TestIndexWriterOnJRECrash, TestMultiReader,
> TestOmitTf, TestPersistentSnapshotDeletionPolicy,
> TestSnapshotDeletionPolicy, TestTransactionRollback,
> TestBooleanScorer, TestDateSort, TestFieldCacheTermsFilter,
> TestMultiTermQueryRewrites, TestPositionIncrement, TestRegexpQuery,
> TestSimpleExplanations, TestTermScorer, TestDocValues,
> TestFieldMaskingSpanQuery, TestSpansAdvanced, TestBufferedIndexInput,
> TestRAMDirectory, TestArrayUtil, TestFieldCacheSanityChecker,
> TestSmallFloat, TestFSTs]
>
> ---------------------------------------------------------------------
> 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