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.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString is flaky #8030

Open
reta opened this issue Jun 12, 2023 · 2 comments
Assignees
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Search:Resiliency

Comments

@reta
Copy link
Collaborator

reta commented Jun 12, 2023

Describe the bug
The org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString is flaky:

ava.lang.AssertionError
	at __randomizedtesting.SeedInfo.seed([764966D9E696FCD0:23CE4B8EFD4B3BCC]:0)
	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.search.SearchWeightedRoutingIT.assertSearchInAZ(SearchWeightedRoutingIT.java:844)
	at org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString(SearchWeightedRoutingIT.java:1124)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)

To Reproduce

 ./gradlew ':server:internalClusterTest' --tests "org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString" -Dtests.seed=764966D9E696FCD0 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=es-EC -Dtests.timezone=America/Indiana/Knox -Druntime.java=17

Expected behavior
The test should always pass

Plugins
Standard

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

Host/Environment (please complete the following information):

  • CI

Additional context
https://build.ci.opensearch.org/job/gradle-check/17349/testReport/junit/org.opensearch.search/SearchWeightedRoutingIT/testStrictWeightedRoutingWithCustomString/

@reta reta added bug Something isn't working flaky-test Random test failure that succeeds on second run labels Jun 12, 2023
@ashking94
Copy link
Member

#8423

@dblock
Copy link
Member

dblock commented Jul 18, 2023

@anshu1106 anshu1106 self-assigned this Oct 25, 2023
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 Search:Resiliency
Projects
Status: Later (6 months plus)
Development

No branches or pull requests

6 participants