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.common.util.concurrent.AbstractAsyncTaskTests.testAutoRepeat is flaky #13169

Closed
reta opened this issue Apr 11, 2024 · 2 comments
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Other

Comments

@reta
Copy link
Collaborator

reta commented Apr 11, 2024

Describe the bug

The test case org.opensearch.common.util.concurrent.AbstractAsyncTaskTests.testAutoRepeat is flaky:

java.lang.AssertionError: interrupted
	at __randomizedtesting.SeedInfo.seed([DD4EBA07C4C6FEE9]:0)
	at org.junit.Assert.fail(Assert.java:89)
	at org.opensearch.common.util.concurrent.AbstractAsyncTaskTests$1.runInternal(AbstractAsyncTaskTests.java:85)
	at org.opensearch.common.util.concurrent.AbstractAsyncTask.run(AbstractAsyncTask.java:159)
	at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:854)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Related component

Other

To Reproduce

./gradlew ':server:test' --tests "org.opensearch.common.util.concurrent.AbstractAsyncTaskTests.testAutoRepeat" -Dtests.seed=DD4EBA07C4C6FEE9

Expected behavior

The test must always pass

Additional Details

Plugins
Standard

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

Host/Environment (please complete the following information):

  • CI

Additional context

@peternied
Copy link
Member

[Triage - attendees 1 2 3 4 5 6 7 8]
@reta Thanks for creating this issue.

@reta
Copy link
Collaborator Author

reta commented Jun 19, 2024

Closing in favour of #14316

@reta reta closed this as completed 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 Other
Projects
None yet
Development

No branches or pull requests

2 participants