Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SnapshotResiliencyTests.testSnapshotWithNodeDisconnects test failure #54459

Closed
benwtrent opened this issue Mar 30, 2020 · 3 comments
Closed

SnapshotResiliencyTests.testSnapshotWithNodeDisconnects test failure #54459

benwtrent opened this issue Mar 30, 2020 · 3 comments
Assignees
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test-failure Triaged test failures from CI

Comments

@benwtrent
Copy link
Member

benwtrent commented Mar 30, 2020

Test failure in 7.6 branch.

Build: https://gradle-enterprise.elastic.co/s/5qjrfa3ztjwis

org.elasticsearch.snapshots.SnapshotResiliencyTests > testSnapshotWithNodeDisconnects FAILED
    java.lang.AssertionError: java.lang.AssertionError: expected:<0> but was:<1>
        at __randomizedtesting.SeedInfo.seed([2023C78D75EE4499:2EEC68456F287F59]:0)
        at org.elasticsearch.repositories.blobstore.BlobStoreTestUtil.assertConsistency(BlobStoreTestUtil.java:147)
        at org.elasticsearch.snapshots.SnapshotResiliencyTests.verifyReposThenStopServices(SnapshotResiliencyTests.java:262)

        Caused by:
        java.lang.AssertionError: expected:<0> but was:<1>
            at org.junit.Assert.fail(Assert.java:88)
            at org.junit.Assert.failNotEquals(Assert.java:834)
            at org.junit.Assert.assertEquals(Assert.java:645)
            at org.junit.Assert.assertEquals(Assert.java:631)
            at org.elasticsearch.repositories.blobstore.BlobStoreTestUtil.assertIndexGenerations(BlobStoreTestUtil.java:155)
            at org.elasticsearch.repositories.blobstore.BlobStoreTestUtil.lambda$assertConsistency$0(BlobStoreTestUtil.java:130)
            at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58)
            at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73)
            at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
            at org.elasticsearch.repositories.blobstore.BlobStoreTestUtil.assertConsistency(BlobStoreTestUtil.java:121)
            ... 1 more

Reproduce line:

./gradlew ':server:test' --tests "org.elasticsearch.snapshots.SnapshotResiliencyTests.testSnapshotWithNodeDisconnects" -Dtests.seed=2023C78D75EE4499 -Dtests.security.manager=true -Dtests.locale=fr-FR -Dtests.timezone=America/Punta_Arenas -Dcompiler.java=13

Reproduced reliably on the 7.6 branch.

@benwtrent benwtrent added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test-failure Triaged test failures from CI labels Mar 30, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@original-brownbear
Copy link
Member

This is just a missing back-port of a test fix from a while back. I'll deal with this tomorrow, it's a test only issue :)

benwtrent added a commit that referenced this issue Mar 30, 2020
@original-brownbear
Copy link
Member

#54480 will fix this, closing here :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

3 participants