Skip to content

[AUTOCUT] Gradle Check Flaky Test Report for WarmIndexSegmentReplicationIT #18157

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

Open
opensearch-ci-bot opened this issue Apr 30, 2025 · 2 comments
Labels
autocut disabled-test Issues that are used by an AwaitsFix annotation to temporarily disable a broken test flaky-test Random test failure that succeeds on second run Indexing Indexing, Bulk Indexing and anything related to indexing Storage Issues and PRs relating to data and metadata storage >test-failure Test failure from CI, local build, etc.

Comments

@opensearch-ci-bot
Copy link
Collaborator

opensearch-ci-bot commented Apr 30, 2025

Flaky Test Report for WarmIndexSegmentReplicationIT

Noticed the WarmIndexSegmentReplicationIT has some flaky, failing tests that failed during post-merge actions.

Details

Git Reference Merged Pull Request Build Details Test Name
0795bb2 18099 57396 org.opensearch.indices.replication.WarmIndexSegmentReplicationIT.testPrimaryStopped_ReplicaPromoted
cb30055 18060 57402 org.opensearch.indices.replication.WarmIndexSegmentReplicationIT.testPrimaryStopped_ReplicaPromoted

The other pull requests, besides those involved in post-merge actions, that contain failing tests with the WarmIndexSegmentReplicationIT class are:

For more details on the failed tests refer to OpenSearch Gradle Check Metrics dashboard.

@opensearch-ci-bot opensearch-ci-bot added >test-failure Test failure from CI, local build, etc. autocut flaky-test Random test failure that succeeds on second run untriaged labels Apr 30, 2025
@andrross
Copy link
Member

andrross commented May 1, 2025

FYI @skumawat2025

@andrross
Copy link
Member

andrross commented May 1, 2025

https://build.ci.opensearch.org/job/gradle-check/57471/consoleText:

REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.indices.replication.WarmIndexSegmentReplicationIT.testPrimaryReceivesDocsDuringReplicaRecovery" -Dtests.seed=C5CF2E73AD7D00AF -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=en-PR -Dtests.timezone=Europe/Busingen -Druntime.java=21

WarmIndexSegmentReplicationIT > testPrimaryReceivesDocsDuringReplicaRecovery FAILED
    java.lang.AssertionError: Expected search hits on node: node_t1 to be at least 2 but was: 1
        at __randomizedtesting.SeedInfo.seed([C5CF2E73AD7D00AF:68976B8B8CAA7ED1]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.opensearch.indices.replication.SegmentReplicationBaseIT.lambda$waitForSearchableDocs$0(SegmentReplicationBaseIT.java:122)
        at org.opensearch.test.OpenSearchTestCase.assertBusyWithFixedSleepTime(OpenSearchTestCase.java:1214)
        at org.opensearch.indices.replication.SegmentReplicationBaseIT.waitForSearchableDocs(SegmentReplicationBaseIT.java:117)
        at org.opensearch.indices.replication.SegmentReplicationBaseIT.waitForSearchableDocs(SegmentReplicationBaseIT.java:112)
        at org.opensearch.indices.replication.WarmIndexSegmentReplicationIT.testPrimaryReceivesDocsDuringReplicaRecovery(WarmIndexSegmentReplicationIT.java:1211)

https://build.ci.opensearch.org/job/gradle-check/57472/consoleText:

REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.indices.replication.WarmIndexSegmentReplicationIT.testDeleteOperations" -Dtests.seed=3D049AF853D4BA75 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=el-CY -Dtests.timezone=Antarctica/Troll -Druntime.java=21

WarmIndexSegmentReplicationIT > testDeleteOperations FAILED
    java.lang.AssertionError: 
    Expected: a value equal to or greater than <2L>
         but: <0L> was less than <2L>
        at __randomizedtesting.SeedInfo.seed([3D049AF853D4BA75:8E50F0725EFA66E3]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.junit.Assert.assertThat(Assert.java:964)
        at org.junit.Assert.assertThat(Assert.java:930)
        at org.opensearch.test.OpenSearchIntegTestCase.lambda$waitForDocs$3(OpenSearchIntegTestCase.java:1078)
        at org.opensearch.test.OpenSearchTestCase.assertBusy(OpenSearchTestCase.java:1182)
        at org.opensearch.test.OpenSearchIntegTestCase.waitForDocs(OpenSearchIntegTestCase.java:1045)
        at org.opensearch.indices.replication.WarmIndexSegmentReplicationIT.testDeleteOperations(WarmIndexSegmentReplicationIT.java:794)

@andrross andrross added the disabled-test Issues that are used by an AwaitsFix annotation to temporarily disable a broken test label May 2, 2025
@andrross andrross added Storage Issues and PRs relating to data and metadata storage and removed untriaged labels May 16, 2025
@andrross andrross added the Indexing Indexing, Bulk Indexing and anything related to indexing label May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut disabled-test Issues that are used by an AwaitsFix annotation to temporarily disable a broken test flaky-test Random test failure that succeeds on second run Indexing Indexing, Bulk Indexing and anything related to indexing Storage Issues and PRs relating to data and metadata storage >test-failure Test failure from CI, local build, etc.
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants