From e32e58e59e84ca03653bf01b016c2fb7003c3ee4 Mon Sep 17 00:00:00 2001 From: Alejandro Gullon Date: Thu, 14 May 2026 16:42:04 +0200 Subject: [PATCH] USHIFT-6978: remove initramfs FIPS module check from bootc validation The lsinitrd FIPS module presence check fails on RHEL 9 bootc images because the dracut-fips package is not installed. Rather than adding the package, remove the check entirely as the remaining validations (crypto flag and crypto policies) are sufficient to verify FIPS mode. Co-Authored-By: Claude Opus 4.6 (1M context) pre-commit.check-secrets: ENABLED --- test/suites/fips/validate-fips.robot | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/suites/fips/validate-fips.robot b/test/suites/fips/validate-fips.robot index b90e24e65d..227f976805 100644 --- a/test/suites/fips/validate-fips.robot +++ b/test/suites/fips/validate-fips.robot @@ -132,12 +132,6 @@ Fips Should Be Enabled Bootc Should Be Equal As Integers 0 ${rc} Should Be Equal As Strings ${stdout.strip()} FIPS - # Verify initramfs FIPS module presence - ${stdout} ${stderr} ${rc}= Execute Command - ... bash -c 'lsinitrd -m 2>/dev/null | grep -Fxq fips' - ... sudo=False return_rc=True return_stdout=True return_stderr=True - Should Be Equal As Integers 0 ${rc} - Get Images From Release File [Documentation] Obtains list of Images from Release. ${stdout} ${stderr} ${rc}= Execute Command