Skip to content

Commit a174746

Browse files
kalyazinbchalios
authored andcommitted
test(popular-containers): build AL image first
We observed intermittent issues where subsequent tar operation complained about the ext4 file being changed under the hood, presumably due to residual processes going on after systemd-nspawn exits: tar: amazonlinux\:2023.ext4: file changed as we read it Hoist building the AL image build on top to mitigate the issue. Signed-off-by: Nikita Kalyazin <[email protected]>
1 parent 62abb81 commit a174746

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/test-popular-containers/build_rootfs.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,13 @@ passwd -d root
7373
EOF
7474
}
7575

76+
# FIXME: The AL image build procedure is known for keeping changing the ext4 file
77+
# even after the systemd-nspawn command exits, for unknown reason, causing
78+
# the subsequent tar command to fail. Placing it first as a mitigation gives it
79+
# more time to converge to a stable state.
80+
make_rootfs amazonlinux:2023
7681
make_rootfs alpine:latest
7782
make_rootfs ubuntu:22.04
7883
make_rootfs ubuntu:24.04
7984
make_rootfs ubuntu:25.04
8085
make_rootfs ubuntu:latest
81-
make_rootfs amazonlinux:2023

0 commit comments

Comments
 (0)