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] RestStatusTests.testStatusReturnsFailureStatusWhenFailuresExist fails with reproducible seed #15008

Closed
mch2 opened this issue Jul 29, 2024 · 0 comments · Fixed by #15011
Assignees
Labels
bug Something isn't working :test Adding or fixing a test >test-failure Test failure from CI, local build, etc. untriaged

Comments

@mch2
Copy link
Member

mch2 commented Jul 29, 2024

Describe the bug

From https://build.ci.opensearch.org/job/gradle-check/43589/testReport/junit/org.opensearch.core/RestStatusTests/testStatusReturnsFailureStatusWhenFailuresExist/

java.lang.AssertionError: expected:<SWITCHING_PROTOCOLS> but was:<OK>
	at __randomizedtesting.SeedInfo.seed([E0A5DC35D18A91EC:2A6372850FE648F9]:0)
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.opensearch.core.RestStatusTests.testStatusReturnsFailureStatusWhenFailuresExist(RestStatusTests.java:58)

seed -Dtests.seed=E0A5DC35D18A91EC

Related component

Clients

To Reproduce

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.core.RestStatusTests.testStatusReturnsFailureStatusWhenFailuresExist" -Dtests.seed=E0A5DC35D18A91EC -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=lo -Dtests.timezone=Africa/Blantyre -Druntime.java=21

Expected behavior

test to pass

Additional Details

N/A

@mch2 mch2 added bug Something isn't working untriaged labels Jul 29, 2024
@github-actions github-actions bot added the Clients Clients within the Core repository such as High level Rest client and low level client label Jul 29, 2024
@mch2 mch2 added :test Adding or fixing a test >test-failure Test failure from CI, local build, etc. and removed Clients Clients within the Core repository such as High level Rest client and low level client labels Jul 29, 2024
@mch2 mch2 self-assigned this Jul 29, 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 :test Adding or fixing a test >test-failure Test failure from CI, local build, etc. untriaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant