Repository navigation
Description
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: Resolved by #20825
Subject: EmbeddedDartQueryCancellationTest.test_cancelDartQuery_cancelsWorkOrderRetries (embedded-tests, unit tests / unit tests(main) (25, E*,G*,F*))
Failures: 5 · First seen: 2026-10-21 · Last seen: 2026-11-03
Root cause
The test's HistoricalBlackhole stops the Historical's Jetty connector, binds a plain ServerSocket on the same fixed port (8083) to swallow /workOrder requests, and in close() closes that socket and calls connector.start() to rebind 8083. The rebind failed with BindException: Address already in use (line 190, via line 103): the port is released and re-acquired with no retry, and close() calls executor.shutdownNow() without waiting for the accept thread, so anything still holding 0.0.0.0:8083 at that instant fails the test. None of the failing commits touches this code (#20648 changes OpenTelemetry emitter packaging, #20675 bumps Vert.x, #20771 bumps fastutil, #20822 changes EmptyCursorHolder#canVectorize), and the same job passed on the neighbouring master commits.
Suggested fix
#20825 (merged 2026-11-05) removed EmbeddedDartQueryCancellationTest and its HistoricalBlackhole port swap, so this failure mode no longer exists on master. If a replacement test blackholes the Historical, use a Jetty handler or servlet filter instead of rebinding the connector port.
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-21 | 96431fe (#20648) | unit tests / unit tests(main) (25, E*,G*,F*) / test-jdk25-[E*,G*,F*] |
job 119289424393 | IOException: Failed to bind to 0.0.0.0/0.0.0.0:8083 (BindException: Address already in use) when HistoricalBlackhole.close() restarts the connector; 1/1 attempt |
|
| 2026-10-24 | d79e41b (#20675) | unit tests / unit tests(main) (25, E*,G*,F*) / test-jdk25-[E*,G*,F*] |
job 120744720175 | Same IOException: Failed to bind to 0.0.0.0/0.0.0.0:8083 (BindException: Address already in use) in HistoricalBlackhole.close() (line 190, via line 103); 1/1 attempt |
|
| 2026-10-30 | d2c0150 (#20771) | unit tests / unit tests(main) (25, E*,G*,F*) / test-jdk25-[E*,G*,F*] |
job 123898798197 | Same IOException: Failed to bind to 0.0.0.0/0.0.0.0:8083 (BindException: Address already in use) in HistoricalBlackhole.close() (line 190, via line 103); 1/1 attempt |
|
| 2026-11-01 | 83f76f2 (#20729) | unit tests / unit tests(main) (25, E*,G*,F*) / test-jdk25-[E*,G*,F*] |
job 124730457096 | Same IOException: Failed to bind to 0.0.0.0/0.0.0.0:8083 (BindException: Address already in use) in HistoricalBlackhole.close() (line 190, via line 103); 1/1 attempt |
|
| 2026-11-03 | df71642 (#20822) | unit tests / unit tests(main) (25, E*,G*,F*) / test-jdk25-[E*,G*,F*] |
job 125749531362 | Same IOException: Failed to bind to 0.0.0.0/0.0.0.0:8083 (BindException: Address already in use) in HistoricalBlackhole.close() (line 190, via line 103); 1/1 attempt |
Activity
FrankChen021 commentedon Oct 25, 2026
Failed again on 2026-10-24: d79e41b (#20675) job 120744720175, same
BindExceptionon port 8083 whenHistoricalBlackhole.close()restarts the connector.Nimish2098 commentedon Oct 26, 2026
Hi! I recently worked on a similar test and lifecycle fix in PR . Would it be alright if I take a look at this issue and try to put up a fix?
FrankChen021 commentedon Oct 27, 2026
@Nimish2098 sure. I assigned this one to you. Thank you.
FrankChen021 commentedon Oct 31, 2026
Failed again on 2026-10-30: d2c0150 (#20771) job 123898798197, same
BindExceptionon port 8083 whenHistoricalBlackhole.close()restarts the connector (1/1 attempt).FrankChen021 commentedon Nov 2, 2026
Failed again on 2026-11-01: 83f76f2 (#20729) job 124730457096, same
BindException: Address already in useon port 8083 inHistoricalBlackhole.close().FrankChen021 commentedon Nov 4, 2026
Failed again on 2026-11-03: df71642 (#20822) job 125749531362, same
BindException: Address already in useon port 8083 inHistoricalBlackhole.close()(1/1 attempt).Nimish2098 commentedon Nov 11, 2026
Hey, it looks like this test/code was removed in #20825 . Should we close this flaky test issue as obsolete?
FrankChen021 commentedon Nov 12, 2026
Resolved by #20825; no failures on master since 2026-11-05. (#20825 removed the test and its
HistoricalBlackholehelper.)