- 05 11月, 2013 40 次提交
-
-
由 Feng Yang 提交于
When call get_property() we may get following error n cgroup test: Description of problem: Traceback (most recent call last): File "/home/autotest/client/shared/test.py", line 426, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/home/autotest/client/shared/test.py", line 846, in _call_test_function return func(*args, **dargs) File "/home/autotest/client/shared/test.py", line 299, in execute postprocess_profiled_run, args, dargs) File "/home/autotest/client/shared/test.py", line 216, in _call_run_once *args, **dargs) File "/home/autotest/client/shared/test.py", line 322, in run_once_profiling self.run_once(*args, **dargs) File "/home/autotest/client/tests/virt/virt.py", line 136, in run_once run_func(self, params, env) File "/home/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/home/autotest/client/tests/virt/qemu/tests/cgroup.py", line 2032, in run_cgroup return fce() File "/home/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/home/autotest/client/tests/virt/qemu/tests/cgroup.py", line 366, in blkio_throttle return blkio_throttle_multi([[_] for _ in speeds]) File "/home/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/home/autotest/client/tests/virt/qemu/tests/cgroup.py", line 537, in blkio_throttle_multi % (dev[0], dev[1], speed)) File "/home/autotest/client/tests/virt/virttest/staging/utils_cgroup.py", line 411, in set_property % (repr(check), repr(_values))) TestError: cg.set_property(): Setting failed: desired = '8:16 1024', real values = ['8:16\t1024'] [context: Executing test: blkio_throttle --> Init --> Setup test] Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
This patch have us fix "TypeError: int() argument must be a string or a number, not 'NoneType'" error when queues parameter not set in config. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
rdma related migrate case are not supported in rhel host. So disable them. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
We need set workaround_qemu_qmp_crash to always to ignore the dump. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
We should use if disk to check whether disk list is empty Or this script will fail with following error: Traceback (most recent call last): File "/home/autotest/client/shared/test.py", line 426, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/home/autotest/client/shared/test.py", line 853, in _call_test_function raise error.UnhandledTestFail(e) UnhandledTestFail: Unhandled IndexError: list index out of range [context: (run_migration_with_dst_problem)] Traceback (most recent call last): File "/home/autotest/client/shared/test.py", line 846, in _call_test_function return func(*args, **dargs) File "/home/autotest/client/shared/test.py", line 299, in execute postprocess_profiled_run, args, dargs) File "/home/autotest/client/shared/test.py", line 216, in _call_run_once *args, **dargs) File "/home/autotest/client/shared/test.py", line 322, in run_once_profiling self.run_once(*args, **dargs) File "/home/autotest/client/tests/virt/virt.py", line 136, in run_once run_func(self, params, env) File "/home/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 639, in run_migration_with_dst_problem tests_group() File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 53, in __new__ ret = self.test(*args, **kargs) File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 436, in test self.workload() File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 467, in workload disk_path_src = find_disk_vm(self.vm_guest, self.disk_serial_src) File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 148, in find_disk_vm return os.path.join(disk_path, disk[0]) IndexError: list index out of range Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
There is no /usr/lib/udev/rules.d in these guest. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
rhel host do not support extra_params += " -machine mem-merge=off". Change to extra_params += " -redhat-disable-KSM" Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Yiqiao Pu 提交于
The output from qmp monitor for pci information is different from human monitor. This help the scripts run correctly with both qmp and human monitor. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Use get_stripped_output to remove the unreadable codes from the serial console output. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Current version make up a wrong list_nic_addr. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Sometimes Linux console output include some escape and sequences for display. This make the console output hard to read and analyse. This function will help scripts to remove those special codes. Also add a function for get the stripped output from sessions on aexpect. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
qemu.tests: update block mirroring/streaming cfg
-
由 Swapna Krishnan 提交于
Signed-off-by: Swapna Krishnan (skrishna@redhat.com)
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Wayne Sun 提交于
Signed-off-by: NWayne Sun <gsun@redhat.com>
-
由 Wayne Sun 提交于
Add nodecpumap command and fixed two functions' params description Signed-off-by: NWayne Sun <gsun@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
libvirt: virsh vcpucount test
-
由 Jiří Župka 提交于
Check timedrift with suspend, hibernate, stop_continue tests. Makes Windows be able to suspend or hibernate it is necessary have installed all drivers and selected gpu with suspend and hibernation support. (tested with qxl and WinXP) Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Jiří Župka 提交于
Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Jiří Župka 提交于
Makes debug more verbose. Clean code from preparation for windows tests. Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Jiří Župka 提交于
test: guest_suspend guest_pause_resume Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Jiří Župka 提交于
Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
steps: 1) start VM 2) hot-plug hot-unplug block dev 3) migrate 4) check VM conf: only (multihost_mig_tests=hotplug_disk_test).hotplug only (multihost_mig_tests=hotplug_disk_test).unplug Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Jiří Župka 提交于
Adds verification of unplug operation based on info qtree. rename hotplug and unplug to simple-hotplug and simple-unplug Change behavior of DevContainer hot-unplug and hot-plug: old: 1) remove/insert object from/to DevContainer 2) try to remove/insert object from/to VM problem) if removing from VM failed it there is no reasonable way how call unplug funtion again. new: 1) try to remove/insert or insert dev from VM if-succ) remove/insert object from DevContainer. it allows repeatbly remove dev from DevContainer. Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Jiří Župka 提交于
It send vm over network. It allows hot-plug and hot-unplug support for multihost migration. Allows using of old device configuration to create new VM machine. Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Use the data_dir library to get a tmp directory for the multi_vms_file_transfer test. This way we can avoid placing things in /tmp, which might not be always safe, specially in newer Fedora hosts. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Feng Yang 提交于
Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Some parameter missing in this case which make case fail. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Rhel host do not support lsi53c895a device Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Sometimes we may test qemu-kvm built by ourself not installed one. At this time 'rpm -q qemu-kvm' could not return correct kvm userspace version. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Chris Evich 提交于
* When __init__ is called by the accessors.XMLElementNest factory the super() builtin has trouble referencing the class definition. * Rather than a more complicated fix, I made these two cases just reference 'self.__class__' instead, which should remain correct since we shouldn't need to subclass those classes ever. Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Libguestfs.tests:Test guestfish partition operations
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
When using --list-tests, the test list is piped to something that can handle it (usually, the unix command 'less'). If one quits less, using the shortcut 'q', an IOError is raised. Let's handle this more gracefully, making the function tied to --list-tests to return when an IOError is raised. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
And remove variants with default in their name. We do have new cartesian features that can make us get away with naming variants 'default', but for now, let's play safe and use more unique variant names. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Yu Mingfei 提交于
Prepare: Attach a new disk to guest, and assign to vdb. Testcases: Operate vdb with partition operations: part-*. Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-
由 Yu Mingfei 提交于
Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-
由 Yu Mingfei 提交于
Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-