Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/test-popular-containers/build_rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,13 @@ passwd -d root
EOF
}

# FIXME: The AL image build procedure is known for keeping changing the ext4 file
# even after the systemd-nspawn command exits, for unknown reason, causing
# the subsequent tar command to fail. Placing it first as a mitigation gives it
# more time to converge to a stable state.
make_rootfs amazonlinux:2023
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does this fix it? Can't the same issue happen in make_rootfs ubuntu:latest?

Copy link
Contributor Author

@kalyazin kalyazin Oct 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in my testing it was only happening with AL. The root cause is still unknown. The change is a mitigation to restore the test run execution. If it starts happening with other OSes, maybe we'll have more data to fix it properly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall we add a comment to reflect that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

make_rootfs alpine:latest
make_rootfs ubuntu:22.04
make_rootfs ubuntu:24.04
make_rootfs ubuntu:25.04
make_rootfs ubuntu:latest
make_rootfs amazonlinux:2023