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

[BUG] org.opensearch.recovery.RelocationIT.testRelocateWhileWaitingForRefresh is flaky #11113

Closed
reta opened this issue Nov 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Storage Issues and PRs relating to data and metadata storage

Comments

@reta
Copy link
Collaborator

reta commented Nov 6, 2023

Describe the bug
The test case org.opensearch.recovery.RelocationIT.testRelocateWhileWaitingForRefresh is flaky:

org.opensearch.recovery.RelocationIT.testRelocateWhileWaitingForRefresh

java.lang.AssertionError: Unexpected ShardFailures: [shard [[-RiKDuSXScO6_bS1kOrA9w][test][0]], reason [NodeDisconnectedException[[node_t1][127.0.0.1:44623][indices:data/read/search[phase/fetch/id]] disconnected]], cause [NodeDisconnectedException[[node_t1][127.0.0.1:44623][indices:data/read/search[phase/fetch/id]] disconnected]
]]
Expected: <0>
     but: was <1>
	at __randomizedtesting.SeedInfo.seed([6D8F777A72F32A76]:0)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
	at org.opensearch.test.hamcrest.OpenSearchAssertions.assertNoFailures(OpenSearchAssertions.java:339)
	at org.opensearch.recovery.RelocationIT.lambda$testIndexSearchAndRelocateConcurrently$8(RelocationIT.java:550)
	at java.base/java.lang.Thread.run(Thread.java:833)

To Reproduce

./gradlew ':server:internalClusterTest' --tests "org.opensearch.recovery.RelocationIT.testIndexSearchAndRelocateConcurrently" -Dtests.seed=6D8F777A72F32A76

Expected behavior
A clear and concise description of what you expected to happen.

Plugins
Standard

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

Host/Environment (please complete the following information):

  • CI

Additional context

@reta
Copy link
Collaborator Author

reta commented Jun 19, 2024

Closing in favour of #14309

@reta reta closed this as completed Jun 19, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Storage Project Board Jun 19, 2024
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 Storage Issues and PRs relating to data and metadata storage
Projects
Status: ✅ Done
Development

No branches or pull requests

5 participants