Skip to content

Commit 0456336

Browse files
ci: Skip composefs tests on CentOS 9
On CentOS 9, composefs installation fails with EUCLEAN. Skipping the tests until we figure it out Avoid accessing status.booted.composefs.bootloader outside the composefs path in `test-install-outside-container` Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
1 parent b5f2873 commit 0456336

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ jobs:
166166
# centos-9 UKI is experimental/broken (https://github.com/bootc-dev/bootc/issues/1812)
167167
- test_os: centos-9
168168
variant: composefs-sealeduki-sdboot
169+
# centos-9 fails with EUCLEAN (https://github.com/bootc-dev/bootc/issues/1812)
170+
# See: https://github.com/bootc-dev/bcvk/pull/204
171+
- test_os: centos-9
172+
variant: composefs-sdboot
173+
- test_os: centos-9
174+
variant: composefs-grub
169175

170176
runs-on: ubuntu-24.04
171177

tmt/tests/booted/test-install-outside-container.nu

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ umount /var/mnt
3131
# And using systemd-run here breaks our install_t so we disable SELinux enforcement
3232
setenforce 0
3333

34-
let st = bootc status --json | from json
35-
let bootloader = ($st.status.booted.composefs.bootloader | str downcase)
36-
3734
let install_cmd = if (tap is_composefs) {
35+
let st = bootc status --json | from json
36+
let bootloader = ($st.status.booted.composefs.bootloader | str downcase)
3837
$"bootc install to-disk --disable-selinux --via-loopback --composefs-backend --bootloader=($bootloader) --filesystem ext4 --source-imgref ($target_image) ./disk.img"
3938
} else {
4039
$"bootc install to-disk --disable-selinux --via-loopback --filesystem xfs --source-imgref ($target_image) ./disk.img"

0 commit comments

Comments
 (0)