- 03 7月, 2013 2 次提交
-
-
由 Qingtang Zhou 提交于
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: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
- 22 6月, 2013 3 次提交
-
-
由 Qingtang Zhou 提交于
Changes from V1: * Disable RHEL.5.i386 guest for this test since there is no iasl package for this platform. * Update the cmd for RHEL/Fedora guests separately. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
These 2 files (guest_s3.cfg and guest_s4.cfg) are out of date and should not be in here. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
- 20 6月, 2013 6 次提交
-
-
由 Xu Tian 提交于
autotest.scrashme test is duplicate with autotest.flail, remove autotest.scrashme test but no autotest.flail test because flail test's "syscall_table" newer than scrashme test used; Old syscalls that won't be tested anymore: newstat newfstat newlstat ni_syscall (uselib) sysctl umount ni_syscall (create_module) ni_syscall (get_kernel_syms) ni_syscall (query_module) ni_syscall (getpmsg) ni_syscall (putpmsg) ni_syscall (afs) ni_syscall (tux) ni_syscall (security) ni_syscall (set_thread_area) ni_syscall (get_thread_area) ni_syscall (epoll_ctl_old) ni_syscall (epoll_wait_old) clock_retres ni_syscall (vserver) fstatat timerfd rt_tgsigqueueinfo perf_counter_open New syscalls that will be tested: stat fstat lstat uselib _sysctl umount2 create_module get_kernel_syms query_module getpmsg putpmsg afs_syscall tuxcall security set_thread_area get_thread_area epoll_ctl_old epoll_wait_old clock_getres vserver newfstatat timerfd_create Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Golita Yue 提交于
The nic driver directory is different for rhel4.9 guest so make it configurable and update it to correct one. Signed-off-by: NGolita Yue <gyue@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 Qingtang Zhou 提交于
changes from v1: - add boot options for remove. changes from v2: - also fix guest kernel cmdline in other timedrift testcases. changes from v3: - add a judgement for boot options, don't run this step if there is nothing to be add or remove Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Signed-off-by: NAmos Kong <akong@redhat.com> Signed-off-by: NYiqiao Pu <ypu@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com> Acked-by: Suqin Huang<shuang@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: Feng Yang<fyang@redhat.com> Acked-by: NYiqiao Pu <ypu@redhat.com>
-
由 Golita Yue 提交于
Add timedrift with cpu online/offline test case. Check the guest time after offline the cpu Check the guest time after online the cpu change from v1: 1. fix typo 2. add more error.context for other steps Signed-off-by: NGolita Yue <gyue@redhat.com>
-
由 Golita Yue 提交于
Add new case timedrift_monotonicity.py and check the guest time monotonicity after migration. There are two case: 1. Take the guest time during migration and check time. 2. Let guest running long time after migration and check the time. change from v1: 1. delete guest script, add function to get time in test case 2. fix typo change from v2: 1. add cmd_timeout 2. add parameter for function get_time() Signed-off-by: NGolita Yue <gyue@redhat.com> Acked-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: NYiqiao Pu <ypu@redhat.com>
-
- 06 6月, 2013 29 次提交
-
-
由 Qingtang Zhou 提交于
This patch also update its config file, adding quote mark for some parameters. Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Add a background process to copy file while do stop and continue. Check the md5 value for the files. changes from v1: - remove the blanks Signed-off-by: NYiqiao Pu <ypu@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 Yunping Zheng 提交于
this patch: 1.fix the issue netperf cannot login with two nics, 2.add netperf test support tcp_crr protocol 3.add an automated way to get the cdrom drive number. 4.modify the file path of netperf.tar.gz. now should put the src file under "virt/shared/deps" 5.add more step info
-
由 Qingtang Zhou 提交于
The config variants in guest-hw.cfg file would overwite config in the test case, thus let's put them all in test's config file directly. CC: Yunping Zheng <yunzheng@redhat.com> Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 tian xu 提交于
Record test steps into logging.info to make steps looks more clearly; And fix some coding style issue; Signed-off-by: NXu Tian <xutian@redhat.com> Acked-by: NSuqin Huang <shuang@redhat.com>
-
由 Yiqiao Pu 提交于
As this guest performance will get worse when the disk is filled up, and may influence the normal session. Use serial session instead. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Feng Yang 提交于
This patch add error.context for vlan.py script. All update the steps in doc string. Move sub function onto top of function code. We may still need a patch to sync script with test case. Signed-off-by: NFeng Yang <fyang@redhat.com> Acked-by: NSuqin Huang <shuang@redhat.com>
-
由 Suqin Huang 提交于
Print shutdown steps Signed-off-by: NSuqin Huang <shuang@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 tian xu 提交于
update test steps into doc string and add test steps into logging.info Signed-off-by: NXu Tian <xutian@redhat.com> Acked-by: NShuping Cui <scui@redhat.com> Acked-by: NSuqin Huang <shuang@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 tian xu 提交于
Record test steps into logging.info to make test steps more clearly Signed-off-by: NXu Tian <xutian@redhat.com> Acked-by: NSuqin Huang <shuang@redhat.com>
-
由 Yiqiao Pu 提交于
Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Feng Yang 提交于
Log test steps to logging.info. Rename '_' to i. Signed-off-by: NFeng Yang <fyang@redhat.com> Acked-by: NShuping Cui <scui@redhat.com>
-
由 Amos Kong 提交于
Signed-off-by: NJason Wang <jasowang@redhat.com> Signed-off-by: NAmos Kong <akong@redhat.com>
-
由 Yiqiao Pu 提交于
As asset.download_file will only handle urls(unknown url type will be reported) which makes the nfs mounted to local can not be used for image copy. So use utils.get_file when we use a nfs mounted in local. Also fix the error.context_aware missing, update the error image store path and add the error contexts. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Jiří Župka 提交于
Changes from old version: - Splits lexical analyze from syntax analyze. (not fully because speed optimization) - Makes parser more strict for easier work with configs. - Error message should be more concrete. - Adds new syntax features. - Adds optimization for generation of lots of variants. - Improve generating of huge number of variants. (almost 2 x faster than old version) 50s old -> 23s new Disadvantage: Syntax analyze is more strict and takes 1/3 of time more for parse text. 220ms -> 320ms New syntax features: variants: - added metadata variants _name_ [default=aaa] [xxx] [yyy]: where: _name_ - Name of variants group. [default=aaa] - Alternative for @. It raise error if variant aaa missing in variants. - It is possible add more [default=xxx] but only first of them is expanded if defaults is set. [xxx], [yyy] - Another possible metadata for future. - default could be enabled and disabled. Generate only default variant. enable: cartesian_config.py -d Parser(..., ..., defaults=True, ...) disable: cartesian_config.py Parser(..., ..., defaults=False, ...) - default variant could be expanded by parser parameters. cartesian_config.py --expand _name1_,_name2_ Parser(..., ..., ..., expand_defualts="_name1_, _name2_") filters: - new examples only (guest_os=Fedora).15 only (guest_os=Fedora)..(fedora_version=15) only (15) variants group "guest_os" and variant name "Fedora" - variants comparison is based on hash value instead of pure string comparison. Changes: * Fix pickling problem * Fix use of py 2.6 only constructs * Fix compatibility problem with old constructs Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Amos Kong 提交于
Update ethtool params for different guest and driver Signed-off-by: NAmos Kong <akong@redhat.com> Signed-off-by: NXiaoqing Wei <xwei@redhat.com>
-
由 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>
-
由 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>
-
由 Xu Tian 提交于
Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Xu Tian 提交于
Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Yiqiao Pu 提交于
Set up WHQL env following the whql request: 1) Log into a guest 2) Update Windows kernel to the newest version 3) Un-check Automatically restart in system failure 4) Disable UAC 5) Get the symbol files and update it to date 6) Set VM to physical memory + 100M 7) Update the nic configuration 8) Install debug view and make it auto run 9) Format disk if needed 10) Update qxl driver 11) Setup timezone 12) Disable windows update and firewall changes from v1: - Update symbol files automatic - Format disk in block device test - Save command line in record files - Update qxl driver - Setup timezone to China standard - Disable windows update and firewall changes from v2: - Fix symbole file thread problem - Fix disk format failed problem Signed-off-by: NYiqiao Pu <ypu@redhat.com> Bin folder has been removed and most file in it have been moved to client folder. Signed-off-by: NFeng Yang <fyang@redhat.com> Fix some bugs in the scripts: - Use 64bit program in 64 bit system for nic setup - Update the nic setup with option and value pair as parameters - Fix some configuration mistakes - Fix some indent problem Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Qingtang Zhou 提交于
This patch creates a series of sub functions for device add action in different version of qemu. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Chen Cao 提交于
Add these two functions for running guest tests in Windows guests. These functions are cloned from autotest.py Change the exception type of test timeout in run_guest_test from error.TestFail to error.TestError, because not all tests actually fail when timeout happens. Signed-off-by: NChen Cao <kcao@redhat.com>
-
由 Jason Wang 提交于
Add two helper functions run_autotest_background() & wait_autotest_background(). Some testcases(ioquit,net_perf2,suspendresume) need run_autotest_background() to add workload. Both functions are wrapper of run_autotest thus place them in run_autotest.py. If we want to use them, we should import test.autotest first. Signed-off-by: NJason Wang <jasowang@redhat.com> Signed-off-by: NAmos Kong <akong@redhat.com> We have update virt/tests/autotest.py to guest_autotest.py So run_autotest() have to rename to run_guest_autotest() Signed-off-by: NFeng Yang <fyang@redhat.com> interface update Signed-off-by: NFeng Yang <fyang@redhat.com> Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-