forked from autotest/virt-test
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Virsh domiftune #1
Open
cevich
wants to merge
278
commits into
chuanchang:local
Choose a base branch
from
cevich:virsh_domiftune
base: local
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These tests will create some other format of image, so the options for qcow3 would affect them. To make these cases still work with qcow3 format, reset the 'image_extra_params' parameter in them. Signed-off-by: Qingtang Zhou <[email protected]>
If the parameters are missing, just skip this test. Signed-off-by: Qingtang Zhou <[email protected]>
Add remote_edit method into virttest/remote.py.
Signed-off-by: Jiří Župka <[email protected]>
virt: repair Cart config unittest test data.
Fix qemu-img create snapshot file failed when image format is raw Corrected block stream command in human monitor (block-stream -> block_stream) changes from v1: Removed configuration to set QMP as default monitor Signed-off-by: Xu Tian <[email protected]>
Signed-off-by: Xu Tian <[email protected]>
qemu: Minor fixes for qemu test cases
qemu.test: make block_stream test work with qmp monitor
Signed-off-by: yangdongsheng <[email protected]> Adapt all virsh.start() to new @return. Signed-off-by: yangdongsheng <[email protected]>
Signed-off-by: yangdongsheng <[email protected]>
Fix the context_pattern in get_context_from_str method. The old pattern will not match the '_' in context such as 'svirt_image_t'. utils_selinux_unittest: replace assertIn with assertTrue. Signed-off-by: yangdongsheng <[email protected]>
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
Replace templates.subtitution by eval in Cartesian config. It allows use basic python expression in configuration code. Speed is almost same as with tempaltes.subtitution. Example: cfg: mem = 1000 real_mem = ${float(mem) * 0.7}M output: mem = 1000 real_mem = 700M Signed-off-by: Jiří Župka <[email protected]>
The JeOS image itself has no wget preinstalled, and other images that could be used with this may share the same characteristic. So, use plain python (and ugly command line) to download the installer script. Signed-off-by: Cleber Rosa <[email protected]>
Signed-off-by: Qingtang Zhou <[email protected]>
Signed-off-by: Qingtang Zhou <[email protected]>
Update the query_regex for check KSM status for RHEL 5 host. The old one is out of date, and can not work any more. Signed-off-by: Yiqiao Pu <[email protected]>
After we kill the previous guest. We still need wait the command line finish in the last guest. Also need send the die() command in the session for the last vm. Signed-off-by: Yiqiao Pu <[email protected]>
Merge autotest and virttest cgroup_utils library
Signed-off-by: Qingtang Zhou <[email protected]>
This C code is used for time device testing. Signed-off-by: Qingtang Zhou <[email protected]>
Signed-off-by: Qingtang Zhou <[email protected]>
Signed-off-by: Qingtang Zhou <[email protected]>
Signed-off-by: Qingtang Zhou <[email protected]>
…tation After a disucssion I'm removing the support for readconfig-like format of qemu format. Signed-off-by: Lukáš Doktor <[email protected]>
It seems that some test uses those special keywords for negative testing. Signed-off-by: Lukáš Doktor <[email protected]>
iterate over values instead of keys. Signed-off-by: Lukáš Doktor <[email protected]>
QSparseBus uses integers for addressing. We have to get integer from the device's address. Signed-off-by: Lukáš Doktor <[email protected]>
This is a first part of unittest which is focused on qemu devices. Signed-off-by: Lukáš Doktor <[email protected]>
- remove kill_all function - support for 4 tests for host subject values for ssl tests Testing: valid explicit host subject value, valid implicit host subject value, invalid explicit host subject value, invalid implicit host subject value. - enable connecting using menu and not cli Done by adding a new parameter (rv_menu) and handling it accordingly Also renames and modifies send_ticket(), as this function is now more generic and allows sending of arbitrary strings; the new function might later be moved to qemu_vm.py or some utils - add support for disable audio option - add support for smartcard options - add possibility to connect to ipv6 address Signed-off-by: Tomas Jamrisko <[email protected]> Signed-off-by: Vimal Patel <[email protected]> Signed-off-by: Marian Krcmarik <[email protected]>
- add support to add the ip address for SSL Host Subject tests. - add support for semicolon - fix used port if VM running Previously, when the VM was already running the spice_port for the VM was automatically generated anyway -> VM had incorrect parameters and connection failed. This patch makes sure, that spice_port with which the VM got created will persist between launches of autotest. - suppport to set VM listening address. Listening address can be none, explicit ipv4 or an explicit ipv6 address. - add getting spice info from the qemu monitor - add devices needed for smartcard support Signed-off-by: Vimal Patel <[email protected]> Signed-off-by: Tomas Jamrisko <[email protected]>
This tests audio between client and guest Signed-off-by: Tomas Jamrisko <[email protected]>
Signed-off-by: Vimal Patel <[email protected]>
- migration test - audio test - smartcard test - video test - vdagent test Signed-off-by: Marian Krcmarik <[email protected]>
- migration tests - smartcard tests - audio tests - r-v connect through menu - SSL subject tests - vdagent restart/start tests - ipv6 connect tests Signed-off-by: Marian Krcmarik <[email protected]>
Adding 4 tests to test the spice vdagent service (a) starting vdagent, (b) stopping vdagent, (c) restarting vdagent when it is running, and (d) restarting vdagent when it is not running. Signed-off-by: Vimal Patel <[email protected]>
Signed-off-by: Vimal Patel <[email protected]>
Adding 2 software smart card tests: (1) Verifying the smartcard can be seen and certs in the smartcard can be seen. (2) Verifying the smartcard can be seen and details of the certs in smartcard can be obtained. Signed-off-by: Vimal Patel <[email protected]>
The setup test will create certs on client that will be used by remote-viewer to pass as options to the VM. Signed-off-by: Vimal Patel <[email protected]>
Signed-off-by: Tomas Jamrisko <[email protected]>
Signed-off-by: Marian Krcmarik <[email protected]>
Add a video file asset definition which is a requirement for spice video test. Signed-off-by: Marian Krcmarik <[email protected]>
- testing audio requires a loopback device This loads alsa loopback kernel modules by default at each start of our VMs. Note, that this does not modify the default devices. - add Smart Card support packages to the VMs for testing - add possibility to shutdown VM under test user Signed-off-by: Tomas Jamrisko <[email protected]> Signed-off-by: Vimal Patel <[email protected]> Signed-off-by: Marian Krcmarik <[email protected]>
* we can not assume the guest with 1 vcpu. Change the pattern in sed from `1<\/vcpu>` to `[0-9]*<\/vcpu>` * add a vcpucount function in virsh module. And use it in virsh_edit to get the vcpucount of VM. Signed-off-by: yangdongsheng <[email protected]>
Signed-off-by: yangdongsheng <[email protected]>
Fix ImportError when import "error" module and drop unused module 'common' Signed-off-by: Xu Tian <[email protected]>
Libvirt has changed the path where cgroups are stored and therefore the tests fails for newer libvirt because it cannot get the value of cgroups. To fix this, we should check if the old path exists and eventualy change the path to new one and for sure also check it. Also, fix incorrect imports used by the modified tests. Signed-off-by: Pavel Hrdina <[email protected]>
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
In the recent unattended install patchset, we referred to a VM attribute, serial_consoles, not present on the libvirt implementation. So add another exception handling to avoid libvirt installs breaking. Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
libvirt: Fix a bug in virsh_change_media test
libvirt: fix for Virsh edit test
Some case will try to create images in shared/data/, but it should be in shared/data/images/, update the cfg file of these cases, so that it can create the images in correct directory. Signed-off-by: Mike Qiu <[email protected]>
Various autotest_regression fixes
Signed-off-by: Alex Jia <[email protected]>
Signed-off-by: Alex Jia <[email protected]>
Signed-off-by: Chris Evich <[email protected]>
Signed-off-by: Alex Jia <[email protected]>
Signed-off-by: Alex Jia <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rebase + small fixups. Crosses a few dead-head / non-ff updates on next recently, these are the relevant commits:
0cf984614e69bf528440ed1b41d4037fff190a62
d986de5bc91de4e8769219fcba59b8cd13a041c4
4c702fe5dc2a78b42f4b86149bf8a3831e188894
96621f4cebc7ecf16a57e53267c9ff196ad463e3
0f3b6e32da31ca0ebe921314d492e35ac7ada329