Skip to content

Commit 5f75807

Browse files
committed
tmt: Skip unsupported sealed UKI upgrades on CentOS 9
The C9 guest-local UKI builder cannot sign a sealed upgrade, and C9 lacks the shared-storage path for the host-built image. Record that coverage limitation explicitly instead of adding a separate image-transfer path. Keep installation and readonly coverage, other C9 upgrade variants, and sealed upgrade coverage on newer systems. Generated-by: AI Signed-off-by: Colin Walters <walters@verbum.org>
1 parent 3cfb823 commit 5f75807

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎tmt/plans/integration.fmf‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ execute:
9494
how: fmf
9595
test:
9696
- /tmt/tests/tests/test-24-image-upgrade-reboot
97+
adjust:
98+
- when: distro == centos-9 and boot_type == uki and seal_state == sealed
99+
enabled: false
100+
because: CentOS 9 cannot consume the signed host upgrade because shared storage is unavailable and its guest-local UKI builder produces unsigned images
97101
extra-try_bind_storage: true
98102

99103
/plan-25-soft-reboot:

‎tmt/tests/booted/test-image-upgrade-reboot.nu‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
# tmt:
55
# summary: Execute local upgrade tests
66
# duration: 30m
7+
# adjust:
8+
# - when: distro == centos-9 and boot_type == uki and seal_state == sealed
9+
# enabled: false
10+
# because: CentOS 9 cannot consume the signed host upgrade because shared storage is unavailable and its guest-local UKI builder produces unsigned images
711
#
812
# This test does:
913
# bootc image copy-to-storage

‎tmt/tests/tests.fmf‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ check:
4141
/test-24-image-upgrade-reboot:
4242
summary: Execute local upgrade tests
4343
duration: 30m
44+
adjust:
45+
- when: distro == centos-9 and boot_type == uki and seal_state == sealed
46+
enabled: false
47+
because: CentOS 9 cannot consume the signed host upgrade because shared storage is unavailable and its guest-local UKI builder produces unsigned images
4448
test: nu booted/test-image-upgrade-reboot.nu
4549

4650
/test-25-soft-reboot:

0 commit comments

Comments
 (0)