Skip to content

ClusterDisruptionIT#testCannotJoinIfMasterLostDataFolder can fail with assertion error. #41047

@jtibshirani

Description

@jtibshirani

Unfortunately the failure doesn't reproduce for me locally. I wasn't able to find other instances of this failure in past CI runs.


Link to the build:

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-unix-compatibility/os=ubuntu-14.04&&immutable/324/console

Command to reproduce:

./gradlew :server:integTest --tests "org.elasticsearch.discovery.ClusterDisruptionIT.testCannotJoinIfMasterLostDataFolder" \
  -Dtests.seed=53F47615B7AB0A88 \
  -Dtests.security.manager=true \
  -Dtests.locale=en-ZA \
  -Dtests.timezone=Pacific/Pago_Pago \
  -Dcompiler.java=12 \
  -Druntime.java=11

Relevant excerpt from the logs:

  2> REPRODUCE WITH: ./gradlew :server:integTest --tests "org.elasticsearch.discovery.ClusterDisruptionIT.testCannotJoinIfMasterLostDataFolder" -Dtests.seed=53F47615B7AB0A88 -Dtests.security.manager=true -Dtests.locale=en-ZA -Dtests.timezone=Pacific/Pago_Pago -Dcompiler.java=12 -Druntime.java=11
  2> java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at org.elasticsearch.discovery.ClusterDisruptionIT.testCannotJoinIfMasterLostDataFolder(ClusterDisruptionIT.java:411)

    MasterNotDiscoveredException[null]

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed Coordination/Cluster CoordinationCluster formation and cluster state publication, including cluster membership and fault detection.>test-failureTriaged test failures from CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions