Skip to content

fix(e2e): avoid gateway health port collisions - #3601

Closed
drew wants to merge 1 commit into
codex/fix-kubernetes-ha-e2e-serializationfrom
codex/fix-e2e-gateway-port-collision
Closed

drew wants to merge 1 commit into
codex/fix-kubernetes-ha-e2e-serializationfrom
codex/fix-e2e-gateway-port-collision

Conversation

@drew

@drew drew commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Prevent E2E gateways from selecting the same ephemeral port for their API and health listeners. An expanded Linux run failed before managed Podman tests started when both probes returned port 37641.

Related Issue

Part of the #3583 stability campaign. This is a localized E2E harness race found by the expanded diagnostic run.

Changes

  • Add a shared port picker that rejects previously selected ports.
  • Use it for Docker and Podman gateway health listeners and Kubernetes health port forwarding.
  • Document the harness port-selection constraint.

Testing

  • Shell syntax checks for all changed scripts.
  • Deterministic duplicate-then-distinct port picker check.
  • mise run pre-commit.
  • mise run ci.
  • Expanded GitHub Actions diagnostic on this PR's stack tip.

Checklist

  • Conventional Commit with DCO sign-off.
  • Stacked with gh stack.

Signed-off-by: Drew Newberry <anewberry@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Sep 23, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@drew
drew added this pull request to stack #3585 September 23, 2026 10:41
@drew drew added the automated-flake-find PRs produced by the automated E2E flake-finding campaign label Sep 23, 2026
@drew drew changed the title codex/fix e2e gateway port collision fix(e2e): avoid gateway health port collisions Sep 23, 2026
@drew

drew commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator Author

Closing to narrow the automated flake investigation to the four selected fixes (#3583/#3588, #3598, #3604, #3608). The findings remain available here for later follow-up.

@drew drew closed this Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-flake-find PRs produced by the automated E2E flake-finding campaign

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant