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.upgrades.IndexingIT.testIndexingWithSegRep flaky #12336

Closed
peternied opened this issue Feb 15, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Indexing:Replication Issues and PRs related to core replication framework eg segrep Indexing Indexing, Bulk Indexing and anything related to indexing

Comments

@peternied
Copy link
Member

peternied commented Feb 15, 2024

Describe the bug

org.opensearch.upgrades.IndexingIT.testIndexingWithSegRep is flaky, jenkins logs.

Assertion is from this codeblock:

// 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

@peternied peternied added bug Something isn't working untriaged flaky-test Random test failure that succeeds on second run labels Feb 15, 2024
@github-actions github-actions bot added the Indexing Indexing, Bulk Indexing and anything related to indexing label Feb 15, 2024
@peternied
Copy link
Member Author

@andrross @dreamer-89 @sarthakaggarwal97 @mch2 Adding you folks in since you seem to have context on the previous fix - this issue might be from a different source since the callstack don't seem to align with #7679

@peternied
Copy link
Member Author

[Triage - attendees 1 2 3 4 5]
@peternied thanks for filing, consider a pull request to resolve

@reta
Copy link
Collaborator

reta commented Jun 19, 2024

Closing in favour of #14302

@reta reta closed this as completed Jun 19, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Storage Project Board Jun 19, 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 flaky-test Random test failure that succeeds on second run Indexing:Replication Issues and PRs related to core replication framework eg segrep Indexing Indexing, Bulk Indexing and anything related to indexing
Projects
Status: ✅ Done
Development

No branches or pull requests

4 participants