Skip to content

[BUG] testFullRollingRestart_withNoRecoveryPayloadAndSource is flaky #21745

@AjayRajNelapudi

Description

@AjayRajNelapudi

Describe the bug


FullRollingRestartIT > testFullRollingRestart_withNoRecoveryPayloadAndSource > testFullRollingRestart_withNoRecoveryPayloadAndSource {p0={"cluster.indices.replication.strategy":"SEGMENT"}} FAILED
    java.lang.AssertionError: replica shards haven't caught up with primary expected:<16> but was:<13>
        at __randomizedtesting.SeedInfo.seed([145F79DA98E9A6DA:2716139A31A4C782]: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.opensearch.test.OpenSearchIntegTestCase.lambda$waitForReplication$1(OpenSearchIntegTestCase.java:2570)
        at org.opensearch.test.OpenSearchTestCase.assertBusy(OpenSearchTestCase.java:1193)
        at org.opensearch.test.OpenSearchIntegTestCase.waitForReplication(OpenSearchIntegTestCase.java:2557)
        at org.opensearch.test.OpenSearchIntegTestCase.refreshAndWaitForReplication(OpenSearchIntegTestCase.java:2532)
        at org.opensearch.recovery.FullRollingRestartIT.testFullRollingRestart_withNoRecoveryPayloadAndSource(FullRollingRestartIT.java:341)


Suite: Test suite 'testFullRollingRestart_withNoRecoveryPayloadAndSource'

Related component

No response

To Reproduce

./gradlew ':server:internalClusterTest' --tests 'org.opensearch.recovery.FullRollingRestartIT' -Dtests.method='testFullRollingRestart_withNoRecoveryPayloadAndSource {p0={"cluster.indices.replication.strategy":"SEGMENT"}}' -Dtests.seed=145F79DA98E9A6DA -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ru-KZ -Dtests.timezone=Europe/Tiraspol -Druntime.java=25

Expected behavior

Succeed or fail consistently

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions