[GH-ISSUE #461] [tools] light harness uses a fixed port (25671): fails when two parity runs share a machine #131

Closed
opened 2026-11-02 15:36:38 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/461

The light parity harness starts its vanilla server on a fixed port 25671. With several parity runs on the Mac mini (CI runners plus agent worktrees), it fails with FAILED TO BIND TO PORT ... Address already in use and then passes when rerun alone. Seen tonight on CI for #422 (run 38844147851) and locally in bugs-trial-2b's run. Pick a free port per run, as the other server harnesses do (or check how they choose theirs).

Originally created by @ludovic111 on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/461 The `light` parity harness starts its vanilla server on a fixed port 25671. With several parity runs on the Mac mini (CI runners plus agent worktrees), it fails with `FAILED TO BIND TO PORT ... Address already in use` and then passes when rerun alone. Seen tonight on CI for #422 (run 38844147851) and locally in bugs-trial-2b's run. Pick a free port per run, as the other server harnesses do (or check how they choose theirs).
bsakaguchi 2026-11-02 15:36:38 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ludovic111 commented on GitHub (Oct 16, 2026):

Fix in #468: vanilla_world_check.py (used by light) now picks a free port per run; the pid/random-derived ports in the save round trip, datafix and upgrade_world tools do too. Two light runs at once both pass.

<!-- gh-comment-id:6210213144 --> @ludovic111 commented on GitHub (Oct 16, 2026): Fix in #468: `vanilla_world_check.py` (used by `light`) now picks a free port per run; the pid/random-derived ports in the save round trip, datafix and upgrade_world tools do too. Two `light` runs at once both pass.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#131
No description provided.