From 3a522897a1243a3b2b7316c150b6a2b52ff22446 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 1 Aug 2025 14:37:35 +0200 Subject: [PATCH] tmt: Enable extra storage tests on image mode Skip `TestStorageLvm2.testDegradation` on CentOS 10, see comment. This needs more involved investigation, but let's enable all the other tests for now. Final bit of https://issues.redhat.com/browse/COCKPIT-1214 --- plans/all.fmf | 4 ---- test/browser/main.fmf | 1 + test/browser/run-test.sh | 7 +++++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/plans/all.fmf b/plans/all.fmf index 149177c52c..031501fb6b 100644 --- a/plans/all.fmf +++ b/plans/all.fmf @@ -23,9 +23,5 @@ environment: /storage-extra: summary: More expensive storage tests (LVM, LUKS, Anaconda) - # FIXME: tests need a lot of work to pass in image mode - adjust+: - when: distro ~ .*image-mode - enabled: false discover+: test: /test/browser/storage-extra diff --git a/test/browser/main.fmf b/test/browser/main.fmf index 4b6b344cdf..01e741b461 100644 --- a/test/browser/main.fmf +++ b/test/browser/main.fmf @@ -100,6 +100,7 @@ - firewalld - lvm2 - nfs-utils + - parted - rpm-build - stratis-cli - stratisd diff --git a/test/browser/run-test.sh b/test/browser/run-test.sh index 0a3dbd4f43..a1c6147f61 100644 --- a/test/browser/run-test.sh +++ b/test/browser/run-test.sh @@ -215,6 +215,13 @@ if [ "$PLAN" = "storage-extra" ]; then TestStorageMountingLUKS.testDuplicateMountPoints TestStorageMountingLUKS.testNeverAuto " + + if [ "$TEST_OS" = "centos-10-bootc" ]; then + # FIXME: targetcli fails with code 255 and no error message; needs investigation + EXCLUDES="$EXCLUDES + TestStorageLvm2.testDegradation + " + fi fi exclude_options=""