Mailing List Archive

TestCheckIndex failing seed
Seems to have started failing after LUCENE-9662?


11:21 $ PATH=/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/:$PATH
./gradlew test --tests=TestCheckIndex -Ptests.seed=9A1EDD2CC45CBE0A

> Task :randomizationInfo
Running tests with randomization seed: tests.seed=9A1EDD2CC45CBE0A

> Task :errorProneSkipped
WARNING: errorprone disabled (skipped on non-nightly runs)

> Task :lucene:core:test

org.apache.lucene.index.TestCheckIndex > testCheckIndexAllValid FAILED
java.lang.AssertionError: expected:<3> but was:<2>
at __randomizedtesting.SeedInfo.seed([9A1EDD2CC45CBE0A:37B39C62B309AEEE]:0)
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:633)
at org.apache.lucene.index.TestCheckIndex.testCheckIndexAllValid(TestCheckIndex.java:155)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: TestCheckIndex failing seed [ In reply to ]
Hi Michael,
Sorry about the test failure and thanks for providing the seed! This is a new test I added as part of changes for LUCENE-9662. I've created a PR for fixing it https://github.com/apache/lucene/pull/276.
Thanks,Zach
On Wednesday, September 1, 2021, 08:30:28 AM PDT, Michael Sokolov <msokolov@gmail.com> wrote:

Seems to have started failing after LUCENE-9662?


11:21 $ PATH=/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/:$PATH
./gradlew test --tests=TestCheckIndex -Ptests.seed=9A1EDD2CC45CBE0A

> Task :randomizationInfo
Running tests with randomization seed: tests.seed=9A1EDD2CC45CBE0A

> Task :errorProneSkipped
WARNING: errorprone disabled (skipped on non-nightly runs)

> Task :lucene:core:test

org.apache.lucene.index.TestCheckIndex > testCheckIndexAllValid FAILED
    java.lang.AssertionError: expected:<3> but was:<2>
        at __randomizedtesting.SeedInfo.seed([9A1EDD2CC45CBE0A:37B39C62B309AEEE]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:647)
        at org.junit.Assert.assertEquals(Assert.java:633)
        at org.apache.lucene.index.TestCheckIndex.testCheckIndexAllValid(TestCheckIndex.java:155)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: TestCheckIndex failing seed [ In reply to ]
Thanks for the quick fix, Zach

On Wed, Sep 1, 2021, 10:03 PM zacharymorn@yahoo.com.INVALID
<zacharymorn@yahoo.com.invalid> wrote:

> Hi Michael,
>
> Sorry about the test failure and thanks for providing the seed! This is a
> new test I added as part of changes for LUCENE-9662. I've created a PR for
> fixing it https://github.com/apache/lucene/pull/276.
>
> Thanks,
> Zach
>
> On Wednesday, September 1, 2021, 08:30:28 AM PDT, Michael Sokolov <
> msokolov@gmail.com> wrote:
>
>
> Seems to have started failing after LUCENE-9662?
>
>
> 11:21 $ PATH=/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/:$PATH
> ./gradlew test --tests=TestCheckIndex -Ptests.seed=9A1EDD2CC45CBE0A
>
> > Task :randomizationInfo
> Running tests with randomization seed: tests.seed=9A1EDD2CC45CBE0A
>
> > Task :errorProneSkipped
> WARNING: errorprone disabled (skipped on non-nightly runs)
>
> > Task :lucene:core:test
>
> org.apache.lucene.index.TestCheckIndex > testCheckIndexAllValid FAILED
> java.lang.AssertionError: expected:<3> but was:<2>
> at
> __randomizedtesting.SeedInfo.seed([9A1EDD2CC45CBE0A:37B39C62B309AEEE]:0)
> at org.junit.Assert.fail(Assert.java:89)
> at org.junit.Assert.failNotEquals(Assert.java:835)
> at org.junit.Assert.assertEquals(Assert.java:647)
> at org.junit.Assert.assertEquals(Assert.java:633)
> at
> org.apache.lucene.index.TestCheckIndex.testCheckIndexAllValid(TestCheckIndex.java:155)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>