Hi Chris
I have boot well with my custom img (my kernel and rootfs) with qemu test,
now I want to try libvirt test, I have some question, can you help me?
1) Firstly I just tried Jeos for it I get below error, it seems I need some
extra steps to do before testing?
#run -t libvirt
....................
....................
Command </usr/bin/virsh undefine virt-tests-vm1> failed, rc=1, Command
returned non-zero exit status
* Command:
/usr/bin/virsh undefine virt-tests-vm1
Exit status: 1
Duration: 0.00803685188293
stderr:
error: failed to get domain 'virt-tests-vm1'
error: Domain not found: no domain with matching name 'virt-tests-vm1'
19:33:05 DEBUG| Releasing MAC addresses for vm virt-tests-vm1.
19:33:05 DEBUG| Checking image file
/home/lyang001/local-autotest/virt-test/shared/data/images/jeos-17-64.qcow2
19:33:05 ERROR|
19:33:05 ERROR| Traceback (most recent call last):
19:33:05 ERROR| File
"/home/lyang001/local-autotest/virt-test/virttest/standalone_test.py", line
187, in run_once
19:33:05 ERROR| env_process.preprocess(self, params, env)
19:33:05 ERROR| File
"/home/lyang001/local-autotest/autotest/client/shared/error.py", line 138,
in new_fn
19:33:05 ERROR| return fn(*args, **kwargs)
19:33:05 ERROR| File
"/home/lyang001/local-autotest/virt-test/virttest/env_process.py", line
431, in preprocess
19:33:05 ERROR| process(test, params, env, preprocess_image,
preprocess_vm)
19:33:05 ERROR| File
"/home/lyang001/local-autotest/virt-test/virttest/env_process.py", line
279, in process
19:33:05 ERROR| _call_vm_func()
19:33:05 ERROR| File
"/home/lyang001/local-autotest/virt-test/virttest/env_process.py", line
249, in _call_vm_func
19:33:05 ERROR| vm_func(test, vm_params, env, vm_name)
19:33:05 ERROR| File
"/home/lyang001/local-autotest/virt-test/virttest/env_process.py", line 71,
in preprocess_vm
19:33:05 ERROR| vm.remove()
19:33:05 ERROR| File
"/home/lyang001/local-autotest/virt-test/virttest/libvirt_vm.py", line
1100, in remove
19:33:05 ERROR| raise virt_vm.VMRemoveError("VM '%s' undefine error" %
self.name)
19:33:05 ERROR| VMRemoveError: VM 'virt-tests-vm1' undefine error
19:33:05 ERROR|
19:33:05 ERROR| FAIL remove_guest.without_disk -> VMRemoveError: VM
'virt-tests-vm1' undefine error
19:33:05 INFO |
19:33:05 INFO | Job total elapsed time: 12.31 s
2) if I use my custom kernel.img and rootfs.img, is there another other
config for this? eg: xml for the guest. and then virsh start the guest
manually? or simple way than this I don't know
Lei
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel