-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /hardening/*/uefi
tests
#276
Conversation
Signed-off-by: Jiri Jaburek <[email protected]>
conf/waivers/20-long-term
Outdated
# https://github.com/ComplianceAsCode/content/issues/12508 | ||
/hardening/ansible/uefi/anssi_bp28_(enhanced|high) | ||
status == 'error' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not relevant anymore? ComplianceAsCode/content#12514
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep anaconda
tc consistent with others, what about adding uefi.fmf
there as well but disabled with reasoning pointing to Content issue regarding kickstart not compatible with uefi?
I think that would make sense on the profile level, but probably not on the test type / variant level. Ie. we already do not have disabled |
/hardening/anaconda is not included because the upstream kickstarts are not UEFI compatible, ie. Failed to find a suitable stage1 device: EFI System Partition cannot be of type xfs.; EFI System Partition must be mounted on one of /boot/efi.; EFI System Partition cannot be of type lvmpv. Signed-off-by: Jiri Jaburek <[email protected]>
I'll launch a full daily run on this, to make sure it didn't break anything. edit: all green |
This fixes #19 .
These tests are especially important for RHEL-10 (which might be UEFI-by-default), but they seem to work well on others, so I left them without a
distro
limitation. ComplianceAsCode/content#12510 and ComplianceAsCode/content#12508 were already found using them (on non-RHEL-10).Yes, they increase the testing matrix a bit, but I would argue these are just as useful as
with-gui
variants, if not more.Regarding missing
/hardening/anaconda
, the commit message explains it:I'd like to merge these as
broken
for now (not run in any automation), because while they do work, it's usually only on the 3rd retry on RHEL-9.5, something is causing the VM to fail to start and/or get DHCP, with about 70% reproducibility rate.Having these tests merged would help long-term debugging of the issue (so I didn't want to just delete my work), and I'll create a GH issue to make sure we don't forget, but I also feel uncomfortable adding more broken-ish tests to our regular pipelines, we already have
image-builder
for that .. 😁