Skip to content
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

Enable JeOS-for-kvm-and-xen-sdboot flavor #20804

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

rbmarliere
Copy link
Contributor

@rbmarliere rbmarliere commented Dec 13, 2024

Copy link

Great PR! Please pay attention to the following items before merging:

Files matching lib/**.pm:

  • Consider adding or extending unit tests in t/

This is an automatically generated QA checklist based on modified files.

@rbmarliere rbmarliere changed the title 169354 Enable JeOS-for-kvm-and-xen-sdboot flavor Dec 13, 2024
@rbmarliere rbmarliere marked this pull request as ready for review December 13, 2024 12:13
Copy link
Contributor

@linguini-dev linguini-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -93,7 +93,7 @@ sub verify_norepos {
sub verify_bsc {
if (is_qemu && is_x86_64 && script_run("rpm -q qemu-guest-agent") != 0) {
# Included in SLE-15-SP2+, TW and Leap
die("bsc#1207135 - Missing qemu-guest-agent from virtual images") unless is_sle('<15-SP2');
die("bsc#1207135 - Missing qemu-guest-agent from virtual images") unless is_sle('<15-SP2') || is_bootloader_sdboot;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this related to systemd boot? If the package is in other TW images, aren't we covering a bug?

Copy link
Contributor Author

@rbmarliere rbmarliere Dec 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing that out. I wasn't sure about this one, but the fact is that qemu-guest-agent does not come installed in the JeOS-for-kvm-and-xen-sdboot image. The sub verify_bsc is only ran if is_jeos, so I thought adding that unless wouldn't be harmful. Please advise :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would go for a bug report as the qemu-ga is recommended to be used in any qemu VM.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do! As for this PR, I removed the change in fa5412f

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tests scheduled for JeOS don't make sense to have under the new sdboot
(systemd-boot) flavor JeOS-for-kvm-and-xen-sdboot.

Signed-off-by: Ricardo B. Marliere <[email protected]>
The new flavor JeOS-for-kvm-and-xen-sdboot (systemd-boot) should simply
match the bootloader screen and return.

Signed-off-by: Ricardo B. Marliere <[email protected]>
@rbmarliere rbmarliere merged commit db3abb3 into os-autoinst:master Dec 16, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants