Skip to content

[AUTOCUT] Gradle Check Flaky Test Report for SearchRestCancellationIT #14311

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

Open
opensearch-ci-bot opened this issue Jun 13, 2024 · 5 comments
Assignees
Labels
autocut flaky-test Random test failure that succeeds on second run Search Search query, autocomplete ...etc >test-failure Test failure from CI, local build, etc.

Comments

@opensearch-ci-bot
Copy link
Collaborator

opensearch-ci-bot commented Jun 13, 2024

Flaky Test Report for SearchRestCancellationIT

Noticed the SearchRestCancellationIT has some flaky, failing tests that failed during post-merge actions.

Details

Git Reference Merged Pull Request Build Details Test Name
2224d48 15511 45976 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase

org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
b24c72b 17238 54843 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase

org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
0e31c02 14787 42592 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
13f04d9 14206 42143 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
23458a4 14226 40826 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
3a7d8fa 17976 56634 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
4b284c5 16501 50271 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
4ed2b98 14494 41516 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
5121409 13304 39858 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
6152afe 15394 45185 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
7c7d868 17132 53112 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
928a168 17733 55421 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringQueryPhase
931c1aa 17080 52544 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
a04cf24 14687 42157 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringQueryPhase
a64bfdb 17729 55335 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
abb1041 15352 45021 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
b3b743d 14738 42645 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
b3d5874 15497 45753 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringQueryPhase
b769292 13835 40513 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
bcd09ab 15509 46325 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
ceb60d0 14273 42944 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
d6e4db1 18216 57748 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
e885aa9 14993 49006 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase

The other pull requests, besides those involved in post-merge actions, that contain failing tests with the SearchRestCancellationIT class are:

For more details on the failed tests refer to OpenSearch Gradle Check Metrics dashboard.

@getsaurabh02
Copy link
Member

Untriaged as part of the Search Community Meeting. @jainankitk volunteered to take a stab or find a new owner who could

@sandeshkr419
Copy link
Contributor

@jainankitk Were you able to get some traction on this?

@jainankitk
Copy link
Contributor

@KishoreKicha14 - Are you able to take a stab at this issue? You can get help from @ansjcy if stuck

@jainankitk jainankitk removed their assignment Feb 19, 2025
@KishoreKicha14
Copy link

@KishoreKicha14 - Are you able to take a stab at this issue? You can get help from @ansjcy if stuck

Sure

@KishoreKicha14
Copy link

I was not able to reproduce the bug. From analyzing the log, it looks like the search task isn't getting canceled as expected. One possible solution is to retry the onSuccess method multiple times before proceeding with the cancellation logic.

suggested fix: Modify the code so that the onSuccess logic runs 5 times successfully before proceeding with the cancellation and verification steps. @jainankitk @getsaurabh02 @sandeshkr419 any suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut flaky-test Random test failure that succeeds on second run Search Search query, autocomplete ...etc >test-failure Test failure from CI, local build, etc.
Projects
Status: Later (6 months plus)
Development

No branches or pull requests

7 participants