Skip to content

[BUG] org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString is flaky #8030

Open
@reta

Description

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/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Search:ResiliencybugSomething isn't workingflaky-testRandom test failure that succeeds on second run

Type

No type

Projects

  • Status

    Later (6 months plus)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions