apache / apache/kyuubi

Flaky Test: BatchesResourceSuite - batch sessions recovery

Open
#2,838 0 comments 0 reactions 0 assignees View on GitHub
kind:bug kind:test priority:major
Dominant language
Scala
Stars
2.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

### Search before asking

- [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.

### Describe the flaky test

```
- batch sessions recovery *** FAILED *** The code passed to eventually never returned normally. Attempted 331 times over 5.014614411 seconds. Last failure message: FINISHED did not equal RUNNING. (BatchesResourceSuite.scala:452)
```

### Actions URL

https://github.com/apache/incubator-kyuubi/runs/6805784501?check_suite_focus=true

### Parent issue

#1733

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start with BatchesResourceSuite.scala at line 452 and reproduce the batch sessions recovery failure from the reported test or linked Actions run. Trace why the eventual assertion observes FINISHED instead of RUNNING, then verify that the recovery test passes reliably without introducing regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.