
2011/2/15 Daniel Veillard <veillard@redhat.com>:
On Tue, Feb 15, 2011 at 10:09:14AM +0100, Matthias Bolte wrote:
2011/2/15 Serge E. Hallyn <serge.hallyn@canonical.com>:
Hi, as per the message after the tests fail, I'm reporting this on the list. Hopefully someone has seen this before. I've not yet tried this with the latest git snapshot. With 0.8.7, I get:
TEST: qemuxml2argvtest ........................................ 40 ........................................ 80 .............................!.!!!!! 116 FAIL
-serge
I don't have ARM or PPC at hand to test, so I can't really tell why these tests fail.
Could you rerun this test with more verbose output like this
cd /path/to/libvirt cd tests LIBVIRT_LOG_OUTPUTS=3:stderr VIR_TEST_DEBUG=2 \ ./qemuxml2argvtest > qemuxml2argvtest.log 2>&1
and attach the qemuxml2argvtest.log.
I reproduced this on a ppc64 box (RHEL-6) and get:
122) QEMU XML-2-ARGV cpu-topology2 ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor FAILED 123) QEMU XML-2-ARGV cpu-topology3 ... OK 124) QEMU XML-2-ARGV cpu-minimum1 ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor FAILED 125) QEMU XML-2-ARGV cpu-minimum2 ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor FAILED 126) QEMU XML-2-ARGV cpu-exact1 ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor FAILED 127) QEMU XML-2-ARGV cpu-exact2 ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor FAILED 128) QEMU XML-2-ARGV cpu-strict1 ... libvir: QEMU error : unsupported configuration: CPU specification not supported by hypervisor FAILED
I would guess it's related to tests/qemuxml2argvdata/qemu.sh not "providing" the CPU wanted by the tests in the faked_cpu()
Daniel
Daniel, that's a different problem. Serge said that 6 out of the last 7 tests in 0.8.7 fail for him. These are hostdev-pci-address, restore-v1, restore-v2, restore-v2, migrate and qemu-ns-no-env. The tests that are failing for you were added after 0.8.7. So we have two ARM/PPC related problems here. Daniel. qemuxml2argvtest outputs the capabilities, does it contain a host/cpu element? Maybe the problem it that the CPU data decoding in libvirt is x86 specific as it relies on the CPUID command. Matthias