Skip to content

Commit

Permalink
test-image: Ignore networkd-wait-online (IPv6-only test environment)
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Feb 18, 2024
1 parent 0ad5e4e commit 5feb103
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/test-image
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ for url in $(incus query "/1.0/instances" | jq -r .[] | grep "${TEST_IMAGE}"); d

# Systemd cleanliness
if incus exec "${name}" -- sh -c "type systemctl" >/dev/null 2>&1; then
incus exec "${name}" -- systemctl reset-failed systemd-networkd-wait-online.service >/dev/null 2>&1 || true
if incus exec "${name}" -- systemctl --failed 2>&1 | grep -q '\sfailed\s'; then
echo "===> FAIL: systemd clean: ${name}"

Expand Down

0 comments on commit 5feb103

Please sign in to comment.