FrankChen021 opened a new issue, #20554:
URL: https://github.com/apache/druid/issues/20554

   _This issue was generated automatically by Claude Code (Anthropic's AI 
coding agent) running a scheduled CI-triage routine on behalf of @FrankChen021. 
Analysis and suggested fixes are AI-produced; please verify before acting on 
them._
   
   **Status:** Open: no fix PR
   **Subject:** 
`MSQWorkerFaultToleranceTest.test_cancelledWorker_isRetried_ifFaultToleranceIsEnabled`
 (embedded-tests, `unit tests (25, M*,A*,V*,W*)`)
   **Failures:** 1 · **First seen:** 2026-10-10 · **Last seen:** 2026-10-10
   
   ### Root cause
   
   The test cancels the MSQ worker on the faulty Indexer and then waits for the 
controller task to succeed with `waitForTaskToSucceed(taskId, 
overlord.latchableEmitter())` (line 141), which uses `LatchableEmitter`'s 
default 10 s timeout. In that window the controller has to detect the failed 
worker, relaunch it on the newly started functional Indexer (which must first 
be discovered and announce capacity), re-read the input and publish segments. 
On a busy runner this sequence took longer than 10 s, so the wait timed out 
even though the earlier steps finished in about 1.5 s. The failing commit 
(#20535) is a Dependabot bump of `async-http-client`, and the same job passed 
on the neighbouring master commits.
   
   ### Suggested fix
   
   Wait for the controller's `task/run/time` event with an explicit longer 
timeout, using the `LatchableEmitter.waitForEvent(Predicate<Event>, long 
timeoutMillis)` overload with about 60 s, then check the task status. 
Alternatively, first wait (with a longer timeout) for the relaunched worker's 
`task/run/time` SUCCESS event.
   
   ### Occurrences
   
   Failed push-triggered master jobs only. The daily triage routine adds one 
row per new failed job.
   
   | Date | Commit | Job | Failure log | Detail | Reported in |
   |---|---|---|---|---|---|
   | 2026-10-10 | 792196709e (#20535) | `unit tests / unit tests(main) (25, 
M*,A*,V*,W*) / test-jdk25-[M*,A*,V*,W*]` | [job 
114107083909](https://github.com/apache/druid/actions/runs/38016260341/job/114107083909)
 | `ISE: Timed out waiting for event after [10,000]ms` at line 141 (controller 
did not finish after worker relaunch); single attempt, no surefire retry | |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to