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] DecommissionControllerTests.testTimesOut flaky #5198

Closed
dblock opened this issue Nov 10, 2022 · 4 comments
Closed

[BUG] DecommissionControllerTests.testTimesOut flaky #5198

dblock opened this issue Nov 10, 2022 · 4 comments
Assignees
Labels
bug Something isn't working Cluster Manager flaky-test Random test failure that succeeds on second run

Comments

@dblock
Copy link
Member

dblock commented Nov 10, 2022

Describe the bug

#5191
https://build.ci.opensearch.org/job/gradle-check/6747/

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.cluster.decommission.DecommissionControllerTests.testTimesOut" -Dtests.seed=AF2F88C09A211CBA -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=en-ZA -Dtests.timezone=Asia/Ashgabat -Druntime.java=17

org.opensearch.cluster.decommission.DecommissionControllerTests > testTimesOut FAILED
    java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:87)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at org.junit.Assert.assertTrue(Assert.java:53)
        at org.opensearch.cluster.decommission.DecommissionControllerTests.testTimesOut(DecommissionControllerTests.java:234)
@dblock dblock added bug Something isn't working untriaged flaky-test Random test failure that succeeds on second run labels Nov 10, 2022
@andrross
Copy link
Member

This was fixed but not backported: #4683

I'll do the backport now.

@peternied
Copy link
Member

java.lang.AssertionError: Expected onFailure to be called
Expected: not null
     but: was null
	at __randomizedtesting.SeedInfo.seed([95FCFD6AF5DCEFB:6FAB526F364153D7]:0)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
	at org.opensearch.cluster.decommission.DecommissionControllerTests.testTimesOut(DecommissionControllerTests.java:196)
...

Repro instruction

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.cluster.decommission.DecommissionControllerTests.testTimesOut" -Dtests.seed=95FCFD6AF5DCEFB -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-SA -Dtests.timezone=America/Puerto_Rico -Druntime.java=21

@Pranshu-S
Copy link
Contributor

Taking a look.

@sandeshkr419
Copy link
Contributor

Duplicate: #15833

@github-project-automation github-project-automation bot moved this from Now(This Quarter) to ✅ Done in Cluster Manager Project Board Nov 27, 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 Cluster Manager flaky-test Random test failure that succeeds on second run
Projects
Status: ✅ Done
Development

No branches or pull requests

5 participants