lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: TestUTF32ToUTF8.testRandomRegexes fails
Date Mon, 26 Jul 2010 12:26:38 GMT
On a more general note...

Any time any of you out there hit an "odd" test failure, please please
please do just what Shai did: take it to the dev list!

Think of Lucene's unit tests like SETI :)  We are desperately seeking
bugs, and you and your machine may just be lucky enough to find one...
go forth and buy expensive new power hungry computers just so you can
run the random tests over and over, seeking the bugs!

But be sure to include that random seed when you do hit a failure...

Mike

On Mon, Jul 26, 2010 at 8:23 AM, Robert Muir <rcmuir@gmail.com> wrote:
> I agree, Shai can you open a bug? I cannot reproduce, did you use an IBM JVM
> or another environment that might help us figure it out?
>
> On Mon, Jul 26, 2010 at 6:29 AM, Michael McCandless
> <lucene@mikemccandless.com> wrote:
>>
>> Hmmm this means a bug is lurking.  This is the power of random testing
>> (that every time we all run tests, we're testing different "paths"
>> through the code)....
>>
>> It seems exceptionally unlikely that LUCENE-2537's changes would cause
>> this!
>>
>> But, unfortunately, when I plug that seed in I don't see it fail,
>> which is odd.  I'll run a stress test to see if I can tickle the
>> bug... can you open a Jira issue so we don't lose track?
>>
>> Mike
>>
>> On Mon, Jul 26, 2010 at 2:57 AM, Shai Erera <serera@gmail.com> wrote:
>> > Hi
>> >
>> > I was running tests on trunk (after merging the changes from
>> > LUCENE-2537)
>> > and received this error message:
>> >
>> > expected:<true> but was:<false>
>> >
>> > junit.framework.AssertionFailedError: expected: but was:
>> > at
>> >
>> > org.apache.lucene.util.automaton.TestUTF32ToUTF8.assertAutomaton(TestUTF32ToUTF8.java:197)
>> > at
>> >
>> > org.apache.lucene.util.automaton.TestUTF32ToUTF8.testRandomRegexes(TestUTF32ToUTF8.java:170)
>> > at
>> > org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:285)
>> >
>> > NOTE: random seed of testcase 'testRandomRegexes' was:
>> > 3510820306304573866
>> >
>> > I'm sure it's related to my changes. Has anyone else seen this before?
>> >
>> > Shai
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>
>
>
> --
> Robert Muir
> rcmuir@gmail.com
>

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


Mime
View raw message