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

guest_os_booting: Skip templateFormat when comparing os xml #6093

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

Yingshun
Copy link
Contributor

The 'templateFormat' is automatically added in os xml and causes the xml comparison to fail.

Before the fix:
(1/1) type_specific.io-github-autotest-libvirt.guest_os_booting.ovmf_backed_nvram.file: FAIL: Configured os xml value {'template': '/usr/share/edk2/aarch64/vars-template-pflash.qcow2', 'type': 'file', 'format': 'qcow2'} doesn't match the entry {'template': '/usr/share/edk2/aarch64/vars-template-pflash.qcow2', 'templateFormat': 'qcow2', 'type': 'fi... (36.60 s)

After the fix:
(1/1) type_specific.io-github-autotest-libvirt.guest_os_booting.ovmf_backed_nvram.file: PASS (36.69 s)

The 'templateFormat' is automatically added in os xml and
causes the xml comparison to fail.

Signed-off-by: Yingshun Cui <[email protected]>
Copy link
Contributor

@cliping cliping left a comment

Choose a reason for hiding this comment

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

LGTM

@Yingshun Yingshun requested a review from chloerh January 2, 2025 01:33
@chloerh chloerh merged commit 8e439f0 into autotest:master Jan 2, 2025
5 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.

3 participants