OpenSearch
OpenSearch copied to clipboard
[AUTOCUT] Gradle Check Flaky Test Report for SearchRestCancellationIT
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.testAutomaticCancellationDuringFetchPhaseorg.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringQueryPhase |
| b24c72b06bfd76d7d1d134a9ec9804965ad74352 | 17238 | 54843 | org.opensearch.http.SearchRestCancellationIT.testAutomaticCancellationDuringFetchPhaseorg.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:
- 16757
- 13788
- 14512
- 11573
- 13924
- 14853
- 15575
- 16678
- 18280
- 13131
- 14030
- 14345
- 14454
- 14533
- 14630
- 14912
- 14972
- 15037
- 15124
- 15145
- 15180
- 15256
- 15289
- 15416
- 15508
- 15533
- 15651
- 15723
- 15777
- 15915
- 15994
- 16213
- 16503
- 17295
- 17635
- 17682
- 18106
- 18281
- 13374
- 13529
- 13573
- 13620
- 13636
- 13748
- 13865
- 14261
- 14333
- 14378
- 14383
- 14399
- 14411
- 14464
- 14555
- 14641
- 14659
- 14681
- 14732
- 14774
- 14800
- 14809
- 14811
- 14938
- 15054
- 15077
- 15152
- 15187
- 15218
- 15270
- 15333
- 15360
- 15375
- 15377
- 15381
- 15404
- 15409
- 15432
- 15455
- 15462
- 15465
- 15471
- 15476
- 15494
- 15524
- 15568
- 15593
- 15602
- 15611
- 15621
- 15622
- 15664
- 15684
- 15764
- 15774
- 15925
- 15972
- 16233
- 16252
- 16284
- 16386
- 16445
- 16468
- 16474
- 16489
- 16494
- 16695
- 16732
- 16781
- 16788
- 16802
- 16881
- 16976
- 17135
- 17153
- 17299
- 17304
- 17342
- 17344
- 17491
- 17495
- 17507
- 17517
- 17538
- 17623
- 17638
- 17655
- 17663
- 17674
- 17730
- 17796
- 17815
- 17873
- 17922
- 17927
- 17939
- 17953
- 17954
- 17961
- 17989
- 18006
- 18036
- 18092
- 18124
- 18160
- 18189
- 18193
- 18194
- 18257
- 18268
- 18331
- 18457
- 18479
For more details on the failed tests refer to OpenSearch Gradle Check Metrics dashboard.
Untriaged as part of the Search Community Meeting. @jainankitk volunteered to take a stab or find a new owner who could
@jainankitk Were you able to get some traction on this?
@KishoreKicha14 - Are you able to take a stab at this issue? You can get help from @ansjcy if stuck
@KishoreKicha14 - Are you able to take a stab at this issue? You can get help from @ansjcy if stuck
Sure
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