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 passt test as behavior changes #6176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yalzhang
Copy link
Contributor

@yalzhang yalzhang commented Feb 7, 2025

With passt rebase, the behavior changes when passt interface with source dev as an inactive host interface. The vm can start successfully now.

@yalzhang
Copy link
Contributor Author

yalzhang commented Feb 7, 2025

before the fix:
the case fail as "Run '/usr/bin/virsh -c 'qemu:///system' start avocado-vt-vm1 ' expect fail, but run successfully."
or "Run '/usr/bin/virsh -c 'qemu:///system' attach-device avocado-vt-vm1 /var/tmp/xml_utils_temp_xowk7n18.xml' expect fail, but run successfully."

after the fix, the case run successfully.

 (1/2) type_specific.io-github-autotest-libvirt.virtual_network.passt.negative_setting.inactive_host_iface.start_vm.root_user: STARTED
 (1/2) type_specific.io-github-autotest-libvirt.virtual_network.passt.negative_setting.inactive_host_iface.start_vm.root_user: PASS (7.55 s)
 (2/2) type_specific.io-github-autotest-libvirt.virtual_network.passt.negative_setting.inactive_host_iface.hotplug.root_user: STARTED
 (2/2) type_specific.io-github-autotest-libvirt.virtual_network.passt.negative_setting.inactive_host_iface.hotplug.root_user: PASS (10.51 s)

With passt rebase, the behavior changes when passt interface with source
dev as an inactive host interface. The vm can start successfully now.

Signed-off-by: Yalan Zhang <[email protected]>
@yalzhang yalzhang force-pushed the passt_inactive_interface branch from 7ed6868 to a0fb1e1 Compare February 7, 2025 10:00
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.

1 participant