- 06 6月, 2013 8 次提交
-
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Yu Mingfei 提交于
In start()&create() of VM class, they will start serial console automatic when vm is started. It will prevent other test from using console. So give a choice on starting serial console automatically. Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-
由 Yu Mingfei 提交于
When network is transient, net_autostart() will raise. The next step will try to get "transient" in result_object. While error messages may not be in stderr but exist in result object indeed: * Command: net-autostart default --disable Exit status: 1 Duration: 0 stdout: error: failed to unmark network default as autostarted error: Requested operation is not valid: cannot set autostart for transient network Message "transient" exists, but stderr is None. So search "ranient" in whole result object will be more suitable. 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>
-
- 17 5月, 2013 7 次提交
-
-
由 Jiří Župka 提交于
Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 sshang 提交于
This test will simply create a file system on disk, mount it and write a file with some content to the disk. Check whether the write could be succeeded. Signed-off-by: Nsshang <sshang@redhat.com> Checking guest os type with 'guest_name' parameter may not always work for all guests, and not supported by upstream. Thus update all these places to using 'os_type'. Signed-off-by: NQingtang Zhou <qzhou@redhat.com> In the format disk test, the status of the harddisk is different in different env in Windows guest. Should check if the disk plused is offline and writeable. Signed-off-by: NYiqiao Pu <ypu@redhat.com> This patch try to fix all the tab and trailing space problems. Signed-off-by: NJason Wang <jasowang@redhat.com> Make command timeout of format_disk.py scirpt longer and configurable Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Qingtang Zhou 提交于
Some test code in this script was deleted by accident in commit 2b5e0f6151419dd403d7f959e0492510f790b8e0. This patch brings them back. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Cleber Rosa 提交于
This is a trivial test that exercises the recently added distro.py module on autotest. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This fix is needed when running tests on vms based on the autotest client, when using control files that do not use job.run_test() and similar calls. That is, the control files are standalone and do not reference a client test. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
With recent changes in the QEMU VM code, the cdrom order is not honored anymore. Let's change the linux guests configuration to honor that change. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 16 5月, 2013 2 次提交
-
-
由 Yiqiao Pu 提交于
As -kernel option should take the bootindex 0, so we should make global_image_bootindex for images bootindex count start from 1. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 15 5月, 2013 23 次提交
-
-
由 Yu Mingfei 提交于
Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Feng Yang 提交于
This case is used for performance testing. Changes for V2 1. Only update gcc when testing on host. 2. Add record_result() function to record the result value to a file. Changes for V3: Clean the folder used to make kernel Signed-off-by: NFeng Yang <fyang@redhat.com> Acked-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: NAmos Kong <akong@redhat.com>
-
由 Lukáš Doktor 提交于
Ignore boot and snapshot if not set. This affects only cdrom and floppy, which doesn't set those variables explicitly. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Yiqiao Pu 提交于
This case will check some properties bits for virtio devices set in the command line. This script will support both block and nic devices. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Add case for install cygwin env in windows guests. change from v1: - Add cdrom letter replace to fit different system - typo fix and parameter adjust change from v2: - cdrom check command change and the install command update Signed-off-by: NYiqiao Pu <ypu@redhat.com> Acked-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Gerd Hoffmann 提交于
Adapt to final version which was committed to qemu upstream. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
-
由 Qingtang Zhou 提交于
The ping test contains 2 subtest now, this patch adds one more subtest for a simple single-nic-card ping test. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Feng Yang 提交于
Design this case according to manual case [x2APIC] switch kernel with kexec This case check that x2apic is still enabled after kexec. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Lukáš Doktor 提交于
Allow backup_image to skip_existing files and use this during preprocess_image. This could save a lot of time with intrusive tests. The idea is to create backup image only once and in case of intrusive tests use restore_image_after_testing_on_error. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Use root_dir/$backup_dir in case $backup_dir is not absolute path and change the default backup location to $autotest_data/images/. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
No actual changes, just cleanups. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Feng Yang 提交于
RHEL4 guests need some special config to make this test work. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
This case test QEMU Monitor Protocol Events. It verifies if the appropriate qmp event will be emitted when the required conditions are met. It tests the following events now: RESET SHUTDOWN STOP RESUME WATCHDOG. All tests follow the qmp commands: system_reset, quit, system_powerdown. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
This patch adds one more login step for qemu guest agent reboot testing, to verify if the guest works well after reboot. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
It is a fairly frequent task to pick up the current qemu binary being used at a time, and as time passed, we had a proliferation of mechanisms to do it, slightly similar to each other. Introduce get_qemu_binary, get_qemu_img_binary() and get_qemu_io_binary(), utility functions that get the path of each of the QEMU binaries for use in tests and utility functions. Use the new functions across virt test. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Suqin Huang 提交于
1). boot guest with cpu_model in the cluster one by one 2). check flags in guest if flag check is required, otherwise shutdown guest Change from v1: use cpu_model_%s instead of intel_model/amd_model Signed-off-by: NSuqin Huang <shuang@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 Suqin Huang 提交于
1. boot guest with -cpu model,+extra_flags (extra_flags is optional) a. no defined model_name in cfg file guest_model = host_model b. model_name defined in cfg file guest_model = params.get("cpu_model") 2. get guest flags 3. get expected model flags from dump file a. -cpu host: qemu_model = host_model b. guest_model > host_model --> expected_model = host_model e.g guest_model = Haswell, host_model = Sandybridge expected_model = Sandybridge c. guest_model < host_model --> expected_model = guest_model 4. get extra flags a. add_flags = +flag 1). flag is exposed to guest if it's supported in host 2). flag is not supported to guest if it's unknown in host 3). ignore "check", "enforce" which are params not flag b. del_flags = -flag flag is removed if it's supported in guest c. params check: check lack flag in host include unknow flag 5. compare expected flag with flags in guest a. out_flags: not supported with some conf, this kinds of flag will be displayed in dump file, but not in guest. e.g tsc-dedline is not supported with -M rhel6.3.0 b. option_flags: some flag is generated by kernel which is not defined in dump file. it's acceptable when display in guest. e.g rep_good expected_flags = expected_model_flags + add_flags - del_flags - out_flags miss_flag = expected_flags - guest_flags unexpect_flag = guest_flags - expected_flags - option_flags Change v1: 1). add model_info check 2). improve for loop 3). put sub-func at the top Change from v2: 1). move qemu_binary to function get_all_support_flags() 2). add flags value check Change from v3: Add one more blank line between functions Change from v4: change more_flags to unexpect_flag improve get_extra_flags function Change from V5: 1). remove unused model 2). add try, except for m.groups()[0] 3). result format of -cpu ? are diff between rhel6, and rhel7, set pattern in config file Change from V6: 1). update flag.groups() to flag_list.groups() 2). add blank space between "" and , Signed-off-by: NSuqin Huang <shuang@redhat.com> Acked-by: NXu Tian <xutian@redhat.com> Update the dump_file dir to make it accept local file. And update some flags should in option_flags. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Add five live snapshot cases have similar process: - create live snapshot when guest paused - restore to previous state when guest become crash - restore live snapshot after guest update - restore live snapshot chain 2-restore to base - restore to parent snapshot node Signed-off-by: NYiqiao Pu <ypu@redhat.com> Update interface to date Signed-off-by: NYiqiao Pu <ypu@redhat.com> Signed-off-by: NFeng Yang <fyang@redhat.com>
-