Skip to content

Host routing tests

make test-hosts runs python -m lab.test_hosts - alpine host ping across all off-diagonal data-plane pairs on IPv4 and IPv6.

What is checked

Wait times: ping usually takes about 2 s per route, with a 30 s command timeout in both normal and verbose mode. Twelve routes run sequentially, for up to 360 s of command timeout budget. The suite does not wait for routing convergence; see Wait times.

Check Type Method
Host-to-host reachability [live] ping from each host1 / host2 / host3 container to every other host's data-plane address
Summary matrix [live] Combined IPv4/IPv6 ping matrix (each cell shows both families)

Six directed pairs per family (12 live checks total):

  • host1 ↔ host2, host1 ↔ host3, host2 ↔ host3 (both directions)

Pass criteria

  • All off-diagonal ping pairs succeed for IPv4 and IPv6
  • Summary line: HOSTS: ✓ - 12 passed (one count per live ping check; IPv4 + IPv6)

See Test suite overview - Suite summary line for the summary format used by all lab test targets.

Manual reproduction

make test-hosts

docker exec arista-quantum-safe-host1 ping -c3 10.0.2.1
docker exec arista-quantum-safe-host1 ping -6 -c3 2001:db8:2::1

<- Test suite overview