Flaky: owner.test.ts mesh lifetime hits EADDRINUSE on CI #138

Closed
opened 2026-10-23 04:53:30 +00:00 by chrnx · 0 comments
Owner

test/router-parity/owner.test.ts → "the mesh HTTP route table across a peer lifetime equals the frozen capture" (line 255) failed once on CI with listen EADDRINUSE :::39083 from meshLifetimes (line 106, app.listen at src/app/index.ts:360), then timed out at 30 s. A rerun of the same commit passed.

Seen on core PR #135, run 489, job 1341 (2026-10-23).

Likely cause: the test picks or reuses a fixed or previously-freed port (e.g. restarting a teapot on the same port) and races with another listener on the shared runner. Fix direction: bind port 0 and read the assigned port, or retry the bind for the restart case.

`test/router-parity/owner.test.ts` → "the mesh HTTP route table across a peer lifetime equals the frozen capture" (line 255) failed once on CI with `listen EADDRINUSE :::39083` from `meshLifetimes` (line 106, `app.listen` at `src/app/index.ts:360`), then timed out at 30 s. A rerun of the same commit passed. Seen on core PR #135, run 489, job 1341 (2026-10-23). Likely cause: the test picks or reuses a fixed or previously-freed port (e.g. restarting a teapot on the same port) and races with another listener on the shared runner. Fix direction: bind port 0 and read the assigned port, or retry the bind for the restart case.
chrnx closed this issue 2026-10-24 19:17:17 +00:00
Sign in to join this conversation.