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.search.SearchTimeoutIT.testSimpleTimeout fails intermittently #9401

Closed
jed326 opened this issue Aug 16, 2023 · 4 comments
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Search:Performance

Comments

@jed326
Copy link
Collaborator

jed326 commented Aug 16, 2023

References
#9378 (comment)
#7357 (comment)
https://build.ci.opensearch.org/job/gradle-check/22854/testReport/junit/org.opensearch.search/SearchTimeoutIT/testSimpleTimeout__p0___search_concurrent_segment_search_enabled___true___/

To Reproduce
Not able to reproduce locally, however this is the reproduction seed provided by the jenkins job.

./gradlew ':server:internalClusterTest' --tests "org.opensearch.search.SearchTimeoutIT" -Dtests.method="testSimpleTimeout {p0={"search.concurrent_segment_search.enabled":"true"}}" -Dtests.seed=4A4EAA35C9A6ED23 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=id -Dtests.timezone=Africa/Algiers -Druntime.java=20

Additional Details
The assertion that is failing is asserting that there were no shard failures in the search request. This assertion failing means that for whatever reason one a shard encountered an exception executing the search request.

@jed326
Copy link
Collaborator Author

jed326 commented Nov 6, 2023

From: https://build.ci.opensearch.org/job/gradle-check/28492

This issue does not seem specific to concurrent search

@andrross
Copy link
Member

Another failure here:

REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.search.SearchTimeoutIT" -Dtests.method="testSimpleTimeout {p0={"search.concurrent_segment_search.enabled":"true"}}" -Dtests.seed=23BDB16F09456619 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ca -Dtests.timezone=America/Boise -Druntime.java=21

SearchTimeoutIT > testSimpleTimeout {p0={"search.concurrent_segment_search.enabled":"true"}} FAILED
    java.lang.AssertionError: expected:<0> but was:<1>
        at __randomizedtesting.SeedInfo.seed([23BDB16F09456619:60E758393F35311A]:0)
        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.search.SearchTimeoutIT.testSimpleTimeout(SearchTimeoutIT.java:98)

@rajiv-kv
Copy link
Contributor

Failure here

@getsaurabh02 getsaurabh02 moved this from 🆕 New to Later (6 months plus) in Search Project Board Aug 15, 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 Search:Performance
Projects
Status: Done
Development

No branches or pull requests

8 participants