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

   _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:** `KafkaClusterMetricsTest` 
(`test_ingest10kRows_ofSelfClusterMetrics_andVerifyValues`, 
`test_ingestClusterMetrics_withConcurrentCompactionSupervisor_andKillUnusedSegments`)
 (embedded-tests, `unit tests / unit tests(main) (25, K*,U*,Z*,Y*,X*)`)
   **Failures:** 1 · **First seen:** 2026-10-14 · **Last seen:** 2026-10-14
   
   ### Root cause
   
   Both tests timed out after the 60 s 
`useDefaultTimeoutForLatchableEmitter(60)`: one waiting for 10 
`ingest/handoff/count` events (line 181), the other (MSQ compaction variant) 
waiting for the first `task/success/count` (line 229). The tests ingest the 
cluster's own metrics through the Kafka emitter, so their progress depends on 
the metric emission rate and on task scheduling on a busy runner. In the same 
job, the preceding `KinesisFaultToleranceTest` also failed on slow publishing. 
The commit (#20577) only bumps GitHub Actions versions, the re-run attempt 
passed this class in 68 s, and the next master commit was green.
   
   ### Suggested fix
   
   Give these waits an explicit, larger timeout (for example 120 s, matching 
the method `@Timeout(120)`) instead of the 60 s cluster default. Also lower 
`expectedSegmentsHandedOff` or `maxRowsPerSegment` so the test needs fewer 
emitted metrics.
   
   ### 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-14 | afe71f5381 (#20577) | `unit tests / unit tests(main) (25, 
K*,U*,Z*,Y*,X*) / test-jdk25-[K*,U*,Z*,Y*,X*]` | [job 
115925729106](https://github.com/apache/druid/actions/runs/38585343856/job/115925729106)
 | both tests: `ISE: Timed out waiting for event after [60,000]ms` (lines 181 
and 229, MSQ variant `[2]`); 1/1 attempt; run attempt 1 | |
   


-- 
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