Skip to content

fix: add iputils-ping to CI container for verify_port_forwarding#557

Closed
claude-claude[bot] wants to merge 1 commit intofix-pasta-restore-probefrom
claude/fix-22655308909
Closed

fix: add iputils-ping to CI container for verify_port_forwarding#557
claude-claude[bot] wants to merge 1 commit intofix-pasta-restore-probefrom
claude/fix-22655308909

Conversation

@claude-claude
Copy link
Contributor

@claude-claude claude-claude bot commented Mar 4, 2026

CI Fix

Fixes CI #22654795098

Problem

The verify_port_forwarding() method was changed (in commit 139f095) from using ip neigh show to using ping to actively trigger ARP resolution after snapshot restore. However, iputils-ping was only added to Containerfile.nested (commit 874f891), not to the main Containerfile used for Container-x64 and Container-arm64 CI tests.

The rust:1.83-bookworm base image does not include ping. Without it, nsenter ... ping fails with a non-zero exit code on every attempt, causing verify_port_forwarding to always time out after 5s with:

ARP for guest 10.0.2.100 not resolved within 5s on br0

This caused both test_clone_port_forward_stress_rootless and test_clone_port_forward_rootless to fail consistently in container CI environments (x64 and arm64).

Solution

Add iputils-ping to the main Containerfile package list, matching what was already done for Containerfile.nested.

Note on Host-Root stress test failures

The Host-Root-arm64 test_clone_port_forward_stress_rootless failures ("Connection reset by peer") are a separate issue — the underlying pasta connection poisoning bug that this PR branch is investigating. On host tests, ping is available and ARP resolves fine, but the actual port forwarding still fails under concurrent clone stress. This is the pre-existing bug, not a regression from this change.


Generated by Claude | Fix Run

The verify_port_forwarding() method was changed from using `ip neigh show`
to using `ping` to actively trigger ARP resolution after snapshot restore.
However, `iputils-ping` was only added to Containerfile.nested, not to the
main Containerfile used for Container-x64 and Container-arm64 CI tests.

Without `ping` available, nsenter fails with a non-zero exit code on every
attempt, causing verify_port_forwarding to always time out after 5s with:
"ARP for guest 10.0.2.100 not resolved within 5s on br0"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ejc3
Copy link
Owner

ejc3 commented Mar 4, 2026

Closing: fix already incorporated in PR #555.

@ejc3 ejc3 closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant