autotest / virt-test

Linux Virtualization Tests
Other
97 stars 140 forks source link

shared/cfg/guest-os/Linux/Fedora.cfg: add wait_no_ack #2302

Closed PandaWei closed 9 years ago

PandaWei commented 9 years ago

In order to avoid raising VMDeadError after unattend-install, add 'wait_no_ack' for Fedora release.

Error as following, "/mnt/extra_disk/osc/virt-test/virttest/tests/unattended_install.py", line 1113, in run 16:53:56 ERROR| raise e 16:53:56 ERROR| VMDeadError: VM is dead reason: Domain f20-test is inactive detail: 'shut off' 16:53:56 ERROR| 16:53:56 ERROR| FAIL io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_native -> VMDeadError: VM is dead reason: Domain f20-test is inactive detail: 'shut off' 16:53:56 INFO | FAIL (868.08 s) 16:53:56 INFO | Cleaning tmp files and VM processes... 16:53:56 WARNI| Creating new, empty env file 16:53:56 INFO | TOTAL TIME: 868.30 s (14:28) 16:53:56 INFO | Job total elapsed time: 868.30 s

PandaWei commented 9 years ago

[root@localhost virt-test]# ./run -t libvirt --no-downloads -k --keep-image-between-tests -g Linux.Fedora.20.x86_64.i440fx --tests "io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_native" SETUP: PASS (0.00 s) DATA DIR: /var/lib/virt_test DEBUG LOG: /mnt/extra_disk/osc/virt-test/logs/run-2015-08-27-17.40.53/debug.log TESTS: 1 (1/1) io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_native: PASS (696.20 s) TOTAL TIME: 696.32 s (11:36) TESTS PASSED: 1 TESTS FAILED: 0 SUCCESS RATE: 100.00 %

lmr commented 9 years ago

Hi @PandaWei. As you might know, we're moving virt-test to avocado-vt, so I please ask you to consider re-implementing this functionality in the later. The new repo is:

https://github.com/avocado-framework/avocado-vt

Please keep in mind the following guidelines when creating the new PR:

1) Most of the time you can pick the patches of your original PR and merge them on a new branch with minimal changes. 3) Don't use autotest APIs, since we're moving away from using them. Please review the code and change things like utils.system -> process.system, utils.run -> process.run, so on and so forth.

Thanks, and I'm sorry for any inconveniences we might have caused your team.