Hi all: I have successfully installed avocado-vt, and it works fine to run qemu tests, eg: avocado run io-github-autotest-qemu.boot --vt-type qemu --vt-guest-os JeOS.21
but I failed to run libvirt test: ------- [root@rh7 ~]# avocado run io-github-autotest-libvirt.virsh.define.number --vt-type libvirt --vt-guest-os JeOS.21 JOB ID : c35c3162668492ef6505ac36c3cef04db8221aec JOB LOG : /root/avocado/job-results/job-2016-03-09T17.13-c35c316/job.log TESTS : 1 (1/1) type_specific.io-github-autotest-libvirt.virsh.define.number: ERROR RESULTS : PASS 0 | ERROR 1 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 JOB HTML : /root/avocado/job-results/job-2016-03-09T17.13-c35c316/html/results.html TIME : 1.45 s ------ The detailed log is : ------- 279 2016-03-09 17:13:38,801 storage L0328 DEBUG| Copying /usr/share/avocado/data/avocado-vt/images/jeos-21-64.qcow2.backup -> /usr/share/avocado/data/avocado-vt/images/jeos-21-64.qcow2 280 2016-03-09 17:13:39,710 process L0331 INFO | Running 'true' 281 2016-03-09 17:13:39,714 process L0331 INFO | Running 'ps -o comm 1' 282 2016-03-09 17:13:39,733 process L0418 DEBUG| [stdout] COMMAND 283 2016-03-09 17:13:39,733 process L0418 DEBUG| [stdout] systemd 284 2016-03-09 17:13:39,751 stacktrace L0036 ERROR| 285 2016-03-09 17:13:39,751 stacktrace L0039 ERROR| Reproduced traceback from: /home/zhuyijun/dev-ops/avocado-vt/avocado_vt/test.py:400 286 2016-03-09 17:13:39,752 stacktrace L0042 ERROR| Traceback (most recent call last): 287 2016-03-09 17:13:39,752 stacktrace L0042 ERROR| File "/home/zhuyijun/dev-ops/avocado-vt/avocado_vt/test.py", line 176, in runTest 288 2016-03-09 17:13:39,752 stacktrace L0042 ERROR| self._runTest() 289 2016-03-09 17:13:39,752 stacktrace L0042 ERROR| File "/home/zhuyijun/dev-ops/avocado-vt/avocado_vt/test.py", line 308, in _runTest 290 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| params = env_process.preprocess(self, params, env) 291 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| File "/home/zhuyijun/dev-ops/avocado-vt/virttest/error_context.py", line 135, in new_fn 292 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| return fn(*args, **kwargs) 293 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| File "/home/zhuyijun/dev-ops/avocado-vt/virttest/env_process.py", line 828, in preprocess 294 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| process(test, params, env, preprocess_image, preprocess_vm) 295 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| File "/home/zhuyijun/dev-ops/avocado-vt/virttest/env_process.py", line 547, in process 296 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| _call_vm_func() 297 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| File "/home/zhuyijun/dev-ops/avocado-vt/virttest/env_process.py", line 516, in _call_vm_func 298 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| vm_func(test, vm_params, env, vm_name) 299 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| File "/home/zhuyijun/dev-ops/avocado-vt/virttest/env_process.py", line 133, in preprocess_vm 300 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| raise exceptions.TestError(error_msg) 301 2016-03-09 17:13:39,753 stacktrace L0042 ERROR| TestError: Test VM avocado-vt-vm1 does not exist. Consider adding 'unattended_install.import.import.default_install.aio_native' test as the first o ne and 'remove_guest.without_disk' test as last one to remove the guest after testing 302 2016-03-09 17:13:39,754 stacktrace L0043 ERROR| 303 2016-03-09 17:13:39,754 test L0511 ERROR| ERROR type_specific.io-github-autotest-libvirt.virsh.define.number -> TestError: Test VM avocado-vt-vm1 does not exist. Consider adding 'unattended _install.import.import.default_install.aio_native' test as the first one and 'remove_guest.without_disk' test as last one to remove the guest after testing 304 2016-03-09 17:13:39,754 test L0498 INFO | 305 2016-03-09 17:13:39,903 libvirt_vm L1748 DEBUG| Releasing MAC addresses for vm avocado-vt-vm1. ----- Is says that I need to run 'unattended_install.import.import.default_install.aio_native' first, but this testcase is *SKIPPED*.. ------- [root@rh7 ~]# avocado run io-github-autotest-qemu.unattended_install.import.import.default_install.aio_native io-github-autotest-libvirt.virsh.create.none remove_guest.without_disk --vt-type libvirt --vt-guest-os JeOS.21 JOB ID : 3944f4533b7397845158a15559d384dbeb7008cd JOB LOG : /root/avocado/job-results/job-2016-03-09T17.25-3944f45/job.log TESTS : 3 (1/3) io-github-autotest-qemu.unattended_install.import.import.default_install.aio_native: SKIP (2/3) type_specific.io-github-autotest-libvirt.virsh.create.none: ERROR (3/3) io-github-autotest-libvirt.remove_guest.without_disk: ERROR RESULTS : PASS 0 | ERROR 2 | FAIL 0 | SKIP 1 | WARN 0 | INTERRUPT 0 JOB HTML : /root/avocado/job-results/job-2016-03-09T17.25-3944f45/html/results.html TIME : 5.01 s ------ What shall I do? Thanks in advance. Oscar. _______________________________________________ Avocado-devel mailing list Avocado-devel@redhat.com https://www.redhat.com/mailman/listinfo/avocado-devel