OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

[AUTOCUT] Gradle Check Flaky Test Report for SearchRestCancellationIT

Open opensearch-ci-bot opened this issue 1 year ago • 5 comments

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
2224d486758b3f15d876de37b2ca0ca20d66d9f1 15511 45976 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase

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

org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
0e31c02585059db726ebaa71b57dd8dbad7f6007 14787 42592 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
13f04d97e3438b0389d1e851dfd08678ab644361 14206 42143 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
23458a436b09f288743a5d6d874dc3a07d5e7328 14226 40826 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
3a7d8fa465641bb1f5f5c58075ffbc9fefc8aceb 17976 56634 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
4b284c542707037b4fcc8163db2ab7b14abe8263 16501 50271 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
4ed2b988233a264b1bca756d0d0ad71a31899ff6 14494 41516 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
51214092ca532b557b6775ff8620025a51f92fcc 13304 39858 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
6152afeef3ceb3fe4f18f6be2d55ac60256bc2db 15394 45185 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
6dd6f03f08e9b913cc199ec04a980802fff81b52 18254 58363 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
7c7d868c456e207232b2712746557b35e98e48fb 17132 53112 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
928a168685edf30ecb56741291d01627ee32a937 17733 55421 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringQueryPhase
931c1aadaed0d8eccee0839d74d706fb47dbd4be 17080 52544 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
9bca961b799625438d024491320323b310dc531f 17617 58523 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
a04cf24923e7379d94314ae4f03e2bddfddf1765 14687 42157 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringQueryPhase
a64bfdbefd48deccabf1354ad293b5579840c69e 17729 55335 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
abb1041c10c81964c7e0a93ddbaa714a2643bff2 15352 45021 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
b3b743d69cc4fc10dbd43f90df9731e51b63991b 14738 42645 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringFetchPhase
b3d58745a8c299f3937729c9fde9a0ee8c67e707 15497 45753 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationMultiSearchDuringQueryPhase
b769292fe98725d7178b2614a216c1c85f171ad0 13835 40513 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
bcd09ab65de2099152dd140668860491ca2c993c 15509 46325 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
ceb60d0720c55433dd3135314618129fc595c57a 14273 42944 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase
d6e4db1f9860469043d15b441e37db200831b58b 18216 57748 org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhase
e885aa93279342c9ab219ecf612d887ff8de8af6 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.

opensearch-ci-bot avatar Jun 13 '24 21:06 opensearch-ci-bot

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

getsaurabh02 avatar Jun 19 '24 17:06 getsaurabh02

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

sandeshkr419 avatar Dec 11 '24 17:12 sandeshkr419

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

jainankitk avatar Feb 19 '25 20:02 jainankitk

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

Sure

KishoreKicha14 avatar Feb 20 '25 23:02 KishoreKicha14

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

KishoreKicha14 avatar Mar 10 '25 19:03 KishoreKicha14