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.query.SimpleQueryStringIT. testDocWithAllTypes is flaky #12574

Closed
kkewwei opened this issue Mar 10, 2024 · 1 comment · Fixed by #12575
Closed
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Search Search query, autocomplete ...etc

Comments

@kkewwei
Copy link
Contributor

kkewwei commented Mar 10, 2024

Describe the bug

org.opensearch.search.query.SimpleQueryStringIT.testDocWithAllTypes is flaky.

The following code can create too much TermQuery

resp = client().prepareSearch("test").setQuery(simpleQueryStringQuery("foo Bar 19 127.0.0.1").defaultOperator(Operator.AND)).get();

https://github.com/opensearch-project/OpenSearch/blob/main/server/src/internalClusterTest/java/org/opensearch/search/query/SimpleQueryStringIT.java#L591

To Reproduce

./gradlew ':server:internalClusterTest' --tests "org.opensearch.search.query.SimpleQueryStringIT" -Dtests.method="testDocWithAllTypes {p0={"search.concurrent_segment_search.enabled":"false"}}" -Dtests.seed=15CDBEEC78B94AB3 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ms -Dtests.timezone=Europe/Zurich -Druntime.java=21

Expected behavior

Test should pass

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

Jenkins build failure link - https://build.ci.opensearch.org/job/gradle-check/34541/

@kkewwei kkewwei added bug Something isn't working untriaged labels Mar 10, 2024
@github-actions github-actions bot added the Search Search query, autocomplete ...etc label Mar 10, 2024
@andrross
Copy link
Member

[Triage - attendees 1 2 3]
@kkewwei Thanks for filing this issue. Looking forward to seeing progress on the PR.

@andrross andrross added flaky-test Random test failure that succeeds on second run and removed untriaged labels Mar 13, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Search Project Board Mar 21, 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 Search query, autocomplete ...etc
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants