- 06 6月, 2013 40 次提交
-
-
由 Feng Yang 提交于
log case steps into logging.info. Signed-off-by: NFeng Yang <fyang@redhat.com> Acked-by: NSuqin Huang <shuang@redhat.com>
-
由 Qingtang Zhou 提交于
There could be problem when this test fails, so add try...except block in the end of this script to avoid unexpected exception when test fails. Changes from V1: * Rebase this patch against merged tree * Verify session before close it. Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 Qingtang Zhou 提交于
Some nic driver would print logs into serial console, so send a return character then wait for the prompt. This patch also re-formats the ethtool_set function. Changes from v3: * Add a timeout for waiting the shell prompt. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Xu Tian 提交于
use utils_misc.get_winutils_vol() to instead static volume ID, becase winutils cdrom has different volume ID when use different driver_format on different windows guest; Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Xu Tian 提交于
use new interface utils_misc.get_winutils_vol() to get winutils cdrom driver letter; Replace format disk related code with run format_disk sub tests to avoild duplicate code; Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Xu Tian 提交于
iometer.icf for iometer_windows test, iometer-performance.icf for iometer-performance test; Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Xu Tian 提交于
Make file content configurable, after this changes this case can be used as subtest for other tests(eg, iometer_windows, iozone_windows) and no impact original format_disk tests steps; Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Xu Tian 提交于
Many test for windows platform need wintuils.iso, but volume ID is variable, this interface will help to get it from guest os; Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Mike Qiu 提交于
multicast_iperf case is named multicast in cfg file, this is fault, because multicast has been used in case virt/tests/multicast.py, Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
-
由 Mike Qiu 提交于
The qemu has splite virtio-blk-pci into virtio-blk-{pci|device}, So when use the qemu command line with : -device virtio-blk-pci,bus=pci.0,addr=0x8,drive=drive-virtio-disk2 the qemu will create virtio-blk-device under virtio-blk-pci, but both this two dev has drive with drive-virtio-disk2. This will cause an error when do qtree verify, see qtree with command "info qtree": 14:29:19 DEBUG| (monitor hmp1) dev: virtio-blk-pci, id "" 14:29:19 DEBUG| (monitor hmp1) ioeventfd = on 14:29:19 DEBUG| (monitor hmp1) vectors = 2 14:29:19 DEBUG| (monitor hmp1) indirect_desc = on 14:29:19 DEBUG| (monitor hmp1) event_idx = on 14:29:19 DEBUG| (monitor hmp1) drive = drive-virtio-disk2 14:29:19 DEBUG| (monitor hmp1) logical_block_size = 512 14:29:19 DEBUG| (monitor hmp1) physical_block_size = 512 14:29:19 DEBUG| (monitor hmp1) min_io_size = 0 14:29:19 DEBUG| (monitor hmp1) opt_io_size = 0 14:29:19 DEBUG| (monitor hmp1) bootindex = -1 14:29:19 DEBUG| (monitor hmp1) discard_granularity = 4294967295 14:29:19 DEBUG| (monitor hmp1) cyls = 0 14:29:19 DEBUG| (monitor hmp1) heads = 0 14:29:19 DEBUG| (monitor hmp1) secs = 0 14:29:19 DEBUG| (monitor hmp1) serial = <null> 14:29:19 DEBUG| (monitor hmp1) config-wce = on 14:29:19 DEBUG| (monitor hmp1) scsi = on 14:29:19 DEBUG| (monitor hmp1) addr = 08.0 14:29:19 DEBUG| (monitor hmp1) romfile = <null> 14:29:19 DEBUG| (monitor hmp1) rombar = 1 14:29:19 DEBUG| (monitor hmp1) multifunction = off 14:29:19 DEBUG| (monitor hmp1) command_serr_enable = on 14:29:19 DEBUG| (monitor hmp1) class SCSI controller, addr 00:08.0, pci id 1af4:1001 (sub 1af4:0002) 14:29:19 DEBUG| (monitor hmp1) bar 0: i/o at 0xc280 [0xc2bf] 14:29:19 DEBUG| (monitor hmp1) bar 1: mem at 0xf1026000 [0xf1026fff] 14:29:19 DEBUG| (monitor hmp1) bus: virtio-bus 14:29:19 DEBUG| (monitor hmp1) type virtio-pci-bus 14:29:19 DEBUG| (monitor hmp1) dev: virtio-blk-device, id "" 14:29:19 DEBUG| (monitor hmp1) drive = drive-virtio-disk2 14:29:19 DEBUG| (monitor hmp1) logical_block_size = 512 14:29:19 DEBUG| (monitor hmp1) physical_block_size = 512 14:29:19 DEBUG| (monitor hmp1) min_io_size = 0 14:29:19 DEBUG| (monitor hmp1) bootindex = -1 14:29:19 DEBUG| (monitor hmp1) discard_granularity = 4294967295 14:29:19 DEBUG| (monitor hmp1) cyls = 2 14:29:19 DEBUG| (monitor hmp1) heads = 16 14:29:19 DEBUG| (monitor hmp1) secs = 63 14:29:19 DEBUG| (monitor hmp1) serial = <null> 14:29:19 DEBUG| (monitor hmp1) config-wce = on 14:29:19 DEBUG| (monitor hmp1) scsi = on To fix this error, when type is virtio-blk-pci, just return QtreeDev. Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
-
由 Yiqiao Pu 提交于
This case is mainly for virtio drivers. It will load/unload driver inside guest for several times and check if the device can work properly. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Feng Yang 提交于
In create() function, we will try to create the image's Parent directory if not available. It will raise following error, if image's basename is None. We get following error in migrate.after_extensive_io. # Set in test runtime images_base_dir_image2_vm1 = "" Traceback (most recent call last): File "/usr/code/autotest/client/shared/test.py", line 841, in _call_test_function return func(*args, **dargs) File "/usr/code/autotest/client/shared/test.py", line 299, in execute postprocess_profiled_run, args, dargs) File "/usr/code/autotest/client/shared/test.py", line 216, in _call_run_once *args, **dargs) File "/usr/code/autotest/client/shared/test.py", line 322, in run_once_profiling self.run_once(*args, **dargs) File "/usr/code/autotest/client/tests/virt/virt.py", line 123, in run_once env_process.preprocess(self, params, env) File "/usr/code/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/usr/code/autotest/client/tests/virt/virttest/env_process.py", line 448, in preprocess process(test, params, env, preprocess_image, preprocess_vm) File "/usr/code/autotest/client/tests/virt/virttest/env_process.py", line 283, in process _call_image_func() File "/usr/code/autotest/client/tests/virt/virttest/env_process.py", line 273, in _call_image_func image_func(test, image_params, image_name) File "/usr/code/autotest/client/tests/virt/virttest/env_process.py", line 51, in preprocess_image image.create(params) File "/usr/code/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/usr/code/autotest/client/tests/virt/virttest/qemu_storage.py", line 125, in create os.makedirs(image_dirname) File "/usr/lib64/python2.6/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 2] No such file or directory: '' So make sure image's Parent directory is not None before try to create it. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Yiqiao Pu 提交于
For the migration by gzip command, we should wait for the migration file create completely. Otherwise it will report unexpected end of file. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Add ignore string for test hdparm to ignore some hardware not support parameters in cfg files, and will output the parameters in warn file. Signed-off-by: NYiqiao Pu <ypu@redhat.com> Acked-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Turns out commit e9953f8a doesn't include the definition of the function vm.is_supported_device, making this test to fail. As a fix, instead of adding yet another vm method, add a function local to the test, at least for now. This function could be turned to an API in case it looks and works OK to the other reviewers, although I'd like to avoid API proliferation. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
When connect --readonly in a virsh session, the prompt changes to 'virsh >'. Signed-off-by: Nyangdongsheng <yangds.fnst@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>
-
由 Yu Mingfei 提交于
Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-
由 Mike Qiu 提交于
get_linux_ifname() has been moved from utils_test into utils_net. But the commit 7db6cc4db5ba5d86659839b4afee96603c346520 change it back to utils_test for linux. Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
-
由 yangdongsheng 提交于
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
nodedev_xml for node device refer to http://libvirt.org/formatnode.html. Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
Add a carry into __slots__ and make XMLElementInt be able to handle more kinds of integer (binary, octal, decimal and hexadecimal). Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Chris Evich 提交于
Also one-char whitespace fix for vm_xml.py Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Feng Yang 提交于
VMDeadKernelCrashError will be raised for following warning call trace. This patch try to fix this issue. ------------[ cut here ]------------ [ 0.023009] WARNING: at arch/x86/kernel/cpu/amd.c:27 init_amd+0x10e/0x654() [ 0.024004] Hardware name: KVM [ 0.025004] rdmsrl_amd_safe should only be used on K8! [ 0.026004] Modules linked in: [ 0.028005] Pid: 0, comm: swapper/0 Not tainted 3.9.0-0.55.el7.x86_64 #1 [ 0.029004] Call Trace: [ 0.030008] [] ? init_amd+0x10e/0x654 [ 0.031008] [] warn_slowpath_common+0x70/0xa0 [ 0.032006] [] warn_slowpath_fmt+0x4c/0x50 [ 0.033006] [] ? early_init_amd+0xb7/0xcd [ 0.034008] [] init_amd+0x10e/0x654 [ 0.035006] [] identify_cpu+0x22c/0x357 [ 0.036010] [] identify_boot_cpu+0x10/0x3b [ 0.037006] [] check_bugs+0x9/0x2d [ 0.038007] [] start_kernel+0x3d1/0x409 [ 0.039006] [] ? repair_env_string+0x5c/0x5c [ 0.040006] [] ? early_idt_handlers+0x120/0x120 [ 0.041006] [] x86_64_start_reservations+0x2a/0x2c [ 0.042008] [] x86_64_start_kernel+0xf3/0x100 [ 0.043013] ---[ end trace d793b5b0c6ba38cc ]--- Changes in V2: raise error.TestWarn for this kind warning call trace. Signed-off-by: NFeng Yang <fyang@redhat.com>
-