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

virttools: add type and first test #3865

Closed
wants to merge 105 commits into from
Closed

Conversation

smitterl
Copy link
Contributor

Depends on avocado-framework/avocado-vt#3270

Add new test type for virt tools on virt-manager repo:

  • virt-install
  • virt-clone
  • virt-xml
  • virt-manager

Also, add first test for hostdev support of virt-install on s390x

Signed-off-by: Sebastian Mitterle [email protected]

kamilvarga and others added 30 commits November 3, 2021 17:33
…h_polkit_ro

test case, where response from the libvirt has changed with the recent version
and therefore password prompt is showing up with error message and requiring
root account instead of polkit account which is denied. This fix add root
password to pass through the login prompt and code to check for the new error
message.

Signed-off-by: Kamil Varga <[email protected]>
Add new test type for virt tools on virt-manager repo:
- virt-install
- virt-clone
- virt-xml
- virt-manager

Also, add first test for hostdev support of virt-install on s390x

Signed-off-by: Sebastian Mitterle <[email protected]>
This PR adds:
RHEL-196261: hotplug/unplug vdpa type interface

Signed-off-by: Yingshun Cui <[email protected]>
Case ID: RHEL7-20178
Case Title: [cmd/cpu-baseline] Obtain cpu baseline with "--migratable"
            through XML contains invtsc from "virsh capabilities"
This case requires the host has 'invtsc' feature.
This case is to test no 'invtsc' feature outputed in virsh.cpu_baseline

Signed-off-by: Dan Zheng <[email protected]>
Lifecycle event "Stopped Failed" if kill domain qemu process.

Signed-off-by: Yanqiu Zhang <[email protected]>
snapshot: set timeout for snapshot_create_as
…ug-1

Revert "v2v: fix the failed cases with error 'Not find cirrus device'"
1.Will run all the testcases for sub-daemons in modular daemon mode
  and cancel testcases for legacy libvirtd;
2.Will run testcases for libvirtd in legacy libvirtd mode and cancel
  testcases for modular daemon;

Signed-off-by: Yan Fu <[email protected]>
Add testcase for all the sub-daemons starting in foreground
…tive_polkit_ro

remote_access:Fix unix negative test for polkit ro
Vm with direct type bridge mode interface with vlan tag will start
fail.

Signed-off-by: Yanqiu Zhang <[email protected]>
Test --keep-completed option for completed domjobinfo, take live dump
action as a demo.

Signed-off-by: Yanqiu Zhang <[email protected]>
Expecting fail when add ip-dhcp-range on nonexist index.

Signed-off-by: Yanqiu Zhang <[email protected]>
The test didn't assign the devices back to host correctly
which caused test failure in libvirt_ap_passthrough if run
afterwards.

Restore the matrix device at tear down and add an additional
log message to help determine host state for passthrough test
if it fails again.

Signed-off-by: Sebastian Mitterle <[email protected]>
The value of the total time and the sum of user and system time
are allowed to be the same.

Signed-off-by: Yingshun Cui <[email protected]>
See RHEL-241704 and bz1895323.

Signed-off-by: Xiaodai Wang <[email protected]>
RHEL7-17384 - [Migration] Do live VM migration with the minimum
available migration port occupied by other app

Signed-off-by: lcheng <[email protected]>
vDPA: Add a test to check hotplug/unplug vdpa type interface
live_migration: Add case about migration_port_min
virsh_cpu_baseline: new case --migratable
Signed-off-by: Sebastian Mitterle <[email protected]>
…t-7.8.0

1.This change is introduced by commit 4c0cf7c4dc5260ffd541f33458b842b1f6cb3865

Signed-off-by: Yan Fu <[email protected]>
Modify the expect ownership of '/var/cache/libvirt/qemu' after libvir…
1. RHEL-130259 - [Migration] Kill dst qemu during Perform Phase of
live migration - p2p migration
2. RHEL7-31564 - [Migration] Kill DST libvirtd during Perform Phase
of live migration - p2p migration
3. RHEL-130061 - [Migration] Kill SRC libvirtd during Perform Phase
of live migration - p2p migration

Signed-off-by: lcheng <[email protected]>
1.Keep using 'libvirtd' in legacy libvirtd mode;
2.Using 'virtnetworkd' in modular daemon mode;

Signed-off-by: Yan Fu <[email protected]>
Modify to start 'virtnetworkd' to do the test in the modular daemon mode
When detach gluster disk device, device-removed may not be sent out if VM not completely booted

Signed-off-by: chunfuwen <[email protected]>
Regarding hotplug device changes, it need ensure VM is completedly booted

Signed-off-by: chunfuwen <[email protected]>
nanli1 and others added 27 commits December 1, 2021 17:26
On ppc, there is only pci-root model, not pcie-root-port model.

Signed-off-by: Dan Zheng <[email protected]>
To create a backing file, the option '-F' is required, so update
accordingly.

Signed-off-by: Yingshun Cui <[email protected]>
migrate_vm: Add '-F' option to qemu-img create command
controller_functional: Fix model for ppc
There're still 2 areas of metadata-change event output not updated.
Fix them this time.

Signed-off-by: Yanqiu Zhang <[email protected]>
Cases come from Bugzilla: 1258361[1]
RHEL7-110399,RHEL7-110400, RHEL7-110401, RHEL-116653

[1]https://bugzilla.redhat.com/show_bug.cgi?id=1258361

Signed-off-by: chunfuwen <[email protected]>
virsh_event: metadata-change event output fix
…_unclean_xml_error

Clean snap file and raise unclean xml error
As the old method will ignore the cmd err check so when it happened it will timeout

Signed-off-by: Kyla Zhang <[email protected]>
Add test case to confirm dasd partition tables can be
read when using virtio-blk.

Signed-off-by: Sebastian Mitterle <[email protected]>
Fix error:
UnboundLocalError: local variable 'vm_xml_backup' referenced before assignment

Signed-off-by: lcheng <[email protected]>
…ases

Add attaching ccw address devices testing cases
migrate_option_mix: Fix variable 'vm_xml_backup' reference issue
Test case currently runs and can confirm in lscss output nodedev has been attached correctly

TODO:
1. create nodedev inside code (same as for lbvirt-ccw_passthrough)
2. test if attached at expected address

Signed-off-by: Sebastian Mitterle <[email protected]>
inspektor passes,
need to check pylint

Signed-off-by: Sebastian Mitterle <[email protected]>
Add new test type for virt tools on virt-manager repo:
- virt-install
- virt-clone
- virt-xml
- virt-manager

Also, add first test for hostdev support of virt-install on s390x

Signed-off-by: Sebastian Mitterle <[email protected]>
Signed-off-by: Sebastian Mitterle <[email protected]>
Test case currently runs and can confirm in lscss output nodedev has been attached correctly

TODO:
1. create nodedev inside code (same as for lbvirt-ccw_passthrough)
2. test if attached at expected address

Signed-off-by: Sebastian Mitterle <[email protected]>
inspektor passes,
need to check pylint

Signed-off-by: Sebastian Mitterle <[email protected]>
Signed-off-by: Sebastian Mitterle <[email protected]>
@smitterl
Copy link
Contributor Author

smitterl commented Dec 9, 2021

Close this in favor of #3923

@smitterl smitterl closed this Dec 9, 2021
@smitterl smitterl deleted the virt_tools branch December 9, 2021 11:23
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.