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] ClusterManagerTaskThrottlingIT.testTimeoutWhileThrottling is flaky #5083

Closed
andrross opened this issue Nov 4, 2022 · 4 comments · Fixed by #5152
Closed

[BUG] ClusterManagerTaskThrottlingIT.testTimeoutWhileThrottling is flaky #5083

andrross opened this issue Nov 4, 2022 · 4 comments · Fixed by #5152
Assignees
Labels
bug Something isn't working distributed framework flaky-test Random test failure that succeeds on second run

Comments

@andrross
Copy link
Member

andrross commented Nov 4, 2022

Observed a couple times such as: https://build.ci.opensearch.org/job/gradle-check/6359/

Can usually be reproduced with the following:

./gradlew ':server:internalClusterTest' -Dtests.iters=30 --tests "org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT"

Example failure:

REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT.testTimeoutWhileThrottling {seed=[F40BF37A733FFE89:6AF0FE6F91F21DCC]}" -Dtests.seed=F40BF37A733FFE89 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=fr-BE -Dtests.timezone=Asia/Tel_Aviv -Druntime.java=17

org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT > testTimeoutWhileThrottling {seed=[F40BF37A733FFE89:6AF0FE6F91F21DCC]} FAILED
    java.lang.AssertionError: expected:<1> but was:<0>
        at __randomizedtesting.SeedInfo.seed([F40BF37A733FFE89:6AF0FE6F91F21DCC]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:647)
        at org.junit.Assert.assertEquals(Assert.java:633)
        at org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT.testTimeoutWhileThrottling(ClusterManagerTaskThrottlingIT.java:175)
@andrross andrross added bug Something isn't working untriaged labels Nov 4, 2022
@andrross
Copy link
Member Author

andrross commented Nov 4, 2022

@dhwanilpatel Care to take a look since this is a newly introduced test?

@andrross andrross added flaky-test Random test failure that succeeds on second run distributed framework labels Nov 4, 2022
@dblock
Copy link
Member

dblock commented Nov 8, 2022

#5142

@dblock
Copy link
Member

dblock commented Nov 8, 2022

#5144

@dblock
Copy link
Member

dblock commented Nov 8, 2022

@Bukhtawar @shwetathareja @dhwanilpatel can someone please take this? This one failed 3 times for me in 4 PRs this AM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distributed framework flaky-test Random test failure that succeeds on second run
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants