-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
IndexingIndexing, Bulk Indexing and anything related to indexingIndexing, Bulk Indexing and anything related to indexingIndexing:ReplicationIssues and PRs related to core replication framework eg segrepIssues and PRs related to core replication framework eg segrepbugSomething 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
org.opensearch.upgrades.IndexingIT.testIndexingWithSegRep is flaky, jenkins logs.
Assertion is from this codeblock:
OpenSearch/qa/rolling-upgrade/src/test/java/org/opensearch/upgrades/IndexingIT.java
Lines 119 to 121 in f73c82a
| // Ensure there is result for replica copies before processing the result. This results in retry when there | |
| // are not enough number of rows vs failing with IndexOutOfBoundsException | |
| assertEquals(0, filteredList.size() % (replicaCount + 1)); |
Suppressed: java.lang.AssertionError: expected:<0> but was:<1>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:633)
at org.opensearch.upgrades.IndexingIT.lambda$waitForSearchableDocs$0(IndexingIT.java:121)
at org.opensearch.test.OpenSearchTestCase.assertBusy(OpenSearchTestCase.java:1106)
... 40 more
Related component
Indexing
To Reproduce
REPRODUCE WITH: ./gradlew ':qa:rolling-upgrade:v2.13.0#upgradedClusterTest' --tests "org.opensearch.upgrades.IndexingIT.testIndexingWithSegRep" -Dtests.seed=326EEB751FF1EA22 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ru-RU -Dtests.timezone=Africa/Timbuktu -Druntime.java=21
Expected behavior
Test pass consistently
Additional Details
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
IndexingIndexing, Bulk Indexing and anything related to indexingIndexing, Bulk Indexing and anything related to indexingIndexing:ReplicationIssues and PRs related to core replication framework eg segrepIssues and PRs related to core replication framework eg segrepbugSomething isn't workingSomething isn't workingflaky-testRandom test failure that succeeds on second runRandom test failure that succeeds on second run
Type
Projects
Status
✅ Done