From fc05eff39e3b73d0e65e0df8ff83b17001203a37 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Mon, 4 Mar 2024 15:23:44 -0500 Subject: [PATCH] Revert "run-integration-tests-in-lxd: ignore error returned by cloud-init status" This reverts commit 06ab061297c89222e6ba8ca114f0c264ee3cc0ec. Signed-off-by: Simon Deziel --- integration/run-integration-tests-in-lxd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/integration/run-integration-tests-in-lxd b/integration/run-integration-tests-in-lxd index e36f93a7..aee425b3 100755 --- a/integration/run-integration-tests-in-lxd +++ b/integration/run-integration-tests-in-lxd @@ -29,8 +29,7 @@ function run_tests { lxc exec "$container_name" -- mkdir -p /opt/pylxd { cd "$DIR/.." && git archive --format=tar HEAD; } | lxc exec "$container_name" -- tar -xf - -C /opt/pylxd - # Workaround https://github.com/canonical/cloud-init/pull/4970 - lxc exec "$container_name" -- cloud-init status --long --wait || true + lxc exec "$container_name" -- cloud-init status --long --wait lxc exec "$container_name" --cwd /opt/pylxd -- integration/run-integration-tests lxc delete --force "$container_name" }