-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingflaky-testRandom test failure that succeeds on second runRandom test failure that succeeds on second run
Description
Describe the bug
The org.opensearch.repositories.azure.AzureBlobStoreRepositoryTests.testRequestStats is flaky
java.lang.AssertionError: Only index blobs should remain in repository but found [/container/tests-1Gw9amxARjeifC0te8CG_A/master.dat]
Expected: a collection with size <0>
but: collection size was <1>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.junit.Assert.assertThat(Assert.java:964)
at org.opensearch.repositories.blobstore.OpenSearchMockAPIBasedRepositoryIntegTestCase.tearDownHttpServer(OpenSearchMockAPIBasedRepositoryIntegTestCase.java:145)
at java.****/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.****/java.lang.reflect.Method.invoke(Method.java:578)
at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750)
at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:996)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
To Reproduce
./gradlew ':plugins:repository-azure:internalClusterTest' --tests "org.opensearch.repositories.azure.AzureBlobStoreRepositoryTests.testRequestStats" -Dtests.seed=D1E7629061A3A0D2 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-OM -Dtests.timezone=Europe/Guernsey -Druntime.java=20
Expected behavior
Test must always pass
Plugins
Standard
Host/Environment (please complete the following information):
- OS: [e.g. iOS]
- Version [e.g. 22]
Additional context
https://build.ci.opensearch.org/job/gradle-check/24788/testReport/org.opensearch.repositories.azure/AzureBlobStoreRepositoryTests/testRequestStats/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingflaky-testRandom test failure that succeeds on second runRandom test failure that succeeds on second run