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

Update the expectation for libvirt_guests #6065

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

yalzhang
Copy link
Contributor

If there is no "on_boot" setting in libvirt_guests.conf, the behavior will be the same with "on_boot=start" for running VM. Refer to libvirt.org: "By default, libvirt-guests will suspend running guests when the host shuts down, and restore them to their pre-shutdown state when the host reboots."

@yalzhang
Copy link
Contributor Author

after the fix

 (1/3) type_specific.io-github-autotest-libvirt.managedsave.libvirt_guests.positive_test.no_parallel_shutdown.shutdown_on_shutdown.none_on_boot.without_transient_vm: PASS (65.34 s)
 (2/3) type_specific.io-github-autotest-libvirt.managedsave.libvirt_guests.positive_test.no_parallel_shutdown.suspend_on_shutdown.default_vol.none_on_boot.without_transient_vm: STARTED
 (2/3) type_specific.io-github-autotest-libvirt.managedsave.libvirt_guests.positive_test.no_parallel_shutdown.suspend_on_shutdown.default_vol.none_on_boot.without_transient_vm: PASS (76.66 s)
 (3/3) type_specific.io-github-autotest-libvirt.managedsave.libvirt_guests.positive_test.parallel_shutdown.shutdown_on_shutdown.none_on_boot.without_transient_vm: STARTED
 (3/3) type_specific.io-github-autotest-libvirt.managedsave.libvirt_guests.positive_test.parallel_shutdown.shutdown_on_shutdown.none_on_boot.without_transient_vm: PASS (145.49 s)```

@yalzhang
Copy link
Contributor Author

Hi @iccaszhulili , Please help to review, Thank you!

If there is no "on_boot" setting in libvirt_guests.conf, the behavior
will be the same with "on_boot=start" for running VM. Refer to
libvirt.org: "By default, libvirt-guests will suspend running
guests when the host shuts down, and restore them to their pre-shutdown
state when the host reboots."

Signed-off-by: Yalan Zhang <[email protected]>
@iccaszhulili
Copy link
Contributor

LGTM

@Yingshun Yingshun merged commit b79fc7b into autotest:master Dec 19, 2024
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.

4 participants