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.indices.stats.IndexStatsIT.testFilterCacheStats is flaky #12610

Open
ankitkala opened this issue Mar 12, 2024 · 1 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

Comments

@ankitkala
Copy link
Member

ankitkala commented Mar 12, 2024

Describe the bug

Gradle check failure: https://build.ci.opensearch.org/job/gradle-check/34668/consoleFull

REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.indices.stats.IndexStatsIT" -Dtests.method="testFilterCacheStats {p0={"cluster.indices.replication.strategy":"SEGMENT"}}" -Dtests.seed=DD7603082E5D7F87 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-SA -Dtests.timezone=Pacific/Guam -Druntime.java=21
  2> java.lang.AssertionError: 
    Expected: <5L>
         but: was <-1L>
        at __randomizedtesting.SeedInfo.seed([DD7603082E5D7F87:B849FE4D9E5578FE]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.junit.Assert.assertThat(Assert.java:964)
        at org.junit.Assert.assertThat(Assert.java:930)
        at org.opensearch.indices.stats.IndexStatsIT.persistGlobalCheckpoint(IndexStatsIT.java:1508)
        at org.opensearch.indices.stats.IndexStatsIT.testFilterCacheStats(IndexStatsIT.java:1254)

Related component

Indexing:Replication

To Reproduce

Not able to reproduce.

Expected behavior

Test should always succeed

Additional Details

Plugins
Please list all plugins currently enabled.

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

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@ankitkala ankitkala added bug Something isn't working untriaged flaky-test Random test failure that succeeds on second run labels Mar 12, 2024
@github-actions github-actions bot added the Indexing:Replication Issues and PRs related to core replication framework eg segrep label Mar 12, 2024
@andrross
Copy link
Member

[Triage - attendees 1 2 3]
@ankitkala Thanks for filing this issue.

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
Projects
None yet
Development

No branches or pull requests

2 participants