-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[BUG] org.opensearch.indices.replication.SegmentReplicationTargetServiceTests.testShardAlreadyReplicating is flaky #8928
Comments
Tried with given seed, but test passes locally. Running test in repeat mode until failure. |
From failure stack trace , the test fails on Assertion here
There are no logs which can help debugging this failure.
|
On doing a closer look on the test, it assumes the first round of segment replication is active for the test to pass. This assumption may not hold everytime and it is possible that first round of segment replication completes before control goes to start another round. An easy way to reproduce this issue locally is to add a wait post first startReplication invocation. Test fails reliably after adding a 10ms wait time.
|
This test is still failing, reopening |
This test fails while expecting call to processLatestReceivedCheckpoint. From https://build.ci.opensearch.org/job/gradle-check/22784
|
Not able to reproduce the test failure. Tried running entire test suite class but still not able to reproduce. This flaky test might be fixed from some changes happened in last 2 months. I will unmute the test for now with PR #10660 (as we are not able to repro) and I am adding trace logging with test, so next time if we see this test failing we can get more info from logs. |
|
@dreamer-89 Are we still actively looking into this one? |
Describe the bug
To Reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: