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

[Meta] Segment Replication flaky test failures #5669

Closed
8 tasks done
Tracked by #5147
dreamer-89 opened this issue Dec 31, 2022 · 1 comment
Closed
8 tasks done
Tracked by #5147

[Meta] Segment Replication flaky test failures #5669

dreamer-89 opened this issue Dec 31, 2022 · 1 comment
Assignees
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Meta Meta issue, not directly linked to a PR

Comments

@dreamer-89
Copy link
Member

dreamer-89 commented Dec 31, 2022

Coming from #4959, which enables yml based feature flag settings; reveals flakyness in Segment replication tests.

  • testAddNewReplicaFailure
REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.indices.replication.SegmentReplicationIT.testAddNewReplicaFailure" -Dtests.seed=D3DBF1C239661FF6 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=it -Dtests.timezone=Brazil/West -Druntime.java=19

org.opensearch.indices.replication.SegmentReplicationIT > testAddNewReplicaFailure FAILED
    java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([D3DBF1C239661FF6:F35C3295F5C37311]:0)
        at org.junit.Assert.fail(Assert.java:87)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at org.junit.Assert.assertFalse(Assert.java:65)
        at org.junit.Assert.assertFalse(Assert.java:75)
        at org.opensearch.indices.replication.SegmentReplicationIT.testAddNewReplicaFailure(SegmentReplicationIT.java:267)
  • testSnapshotOnSegRep_RestoreOnSegRepDuringIngestion
REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.snapshots.SegmentReplicationSnapshotIT.testSnapshotOnSegRep_RestoreOnSegRepDuringIngestion" -Dtests.seed=857112ECE4907AD3 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=mk-MK -Dtests.timezone=Africa/Porto-Novo -Druntime.java=19

org.opensearch.snapshots.SegmentReplicationSnapshotIT > testSnapshotOnSegRep_RestoreOnSegRepDuringIngestion FAILED
    java.lang.AssertionError: timed out waiting for green state
        at __randomizedtesting.SeedInfo.seed([857112ECE4907AD3:AAFEB48B53C084CE]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.opensearch.test.OpenSearchIntegTestCase.ensureColor(OpenSearchIntegTestCase.java:1001)
        at org.opensearch.test.OpenSearchIntegTestCase.ensureGreen(OpenSearchIntegTestCase.java:932)
        at org.opensearch.test.OpenSearchIntegTestCase.ensureGreen(OpenSearchIntegTestCase.java:921)
        at org.opensearch.snapshots.SegmentReplicationSnapshotIT.testSnapshotOnSegRep_RestoreOnSegRepDuringIngestion(SegmentReplicationSnapshotIT.java:180)
  • testReplicationAfterPrimaryRefreshAndFlush
REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.indices.replication.SegmentReplicationIT.testReplicationAfterPrimaryRefreshAndFlush" -Dtests.seed=857112ECE4907AD3 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-SY -Dtests.timezone=Antarctica/McMurdo -Druntime.java=19

org.opensearch.indices.replication.SegmentReplicationIT > testReplicationAfterPrimaryRefreshAndFlush FAILED
    java.lang.AssertionError: Count is 0 hits but 73 was expected.  Total shards: 1 Successful shards: 1 & 0 shard failures:
        at __randomizedtesting.SeedInfo.seed([857112ECE4907AD3:6CAB602C42AF5D02]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.opensearch.test.hamcrest.OpenSearchAssertions.assertHitCount(OpenSearchAssertions.java:303)
        at org.opensearch.indices.replication.SegmentReplicationIT.testReplicationAfterPrimaryRefreshAndFlush(SegmentReplicationIT.java:296)

For tracking added to meta #1715

@dreamer-89 dreamer-89 added bug Something isn't working untriaged labels Dec 31, 2022
@Rishikesh1159 Rishikesh1159 added flaky-test Random test failure that succeeds on second run and removed untriaged labels Jan 3, 2023
@dreamer-89 dreamer-89 added the Meta Meta issue, not directly linked to a PR label Jan 4, 2023
@dreamer-89 dreamer-89 changed the title Flaky test failure SegmentReplicationIT.testAddNewReplicaFailure [Meta] Segment Replication flaky test failures Jan 4, 2023
@mch2 mch2 self-assigned this Jan 12, 2023
@mch2
Copy link
Member

mch2 commented Feb 21, 2023

All currently linked flaky tests are resolved - If there are any more SR related tests lets pls open separate issues for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Meta Meta issue, not directly linked to a PR
Projects
Status: Done
Development

No branches or pull requests

3 participants