autotest / virt-test

Linux Virtualization Tests
Other
97 stars 140 forks source link

cpuinfo_query.qmachine_type: FAIL #1198

Closed cevich closed 10 years ago

cevich commented 10 years ago
11:16:20 ERROR| Traceback (most recent call last):
11:16:20 ERROR|   File "/usr/local/autotest/client/tests/virt/virttest/standalone_test.py", line 196, i
n run_once
11:16:20 ERROR|     run_func(self, params, env)
11:16:20 ERROR|   File "/usr/local/autotest/client/shared/error.py", line 141, in new_fn
11:16:20 ERROR|     return fn(*args, **kwargs)
11:16:20 ERROR|   File "/usr/local/autotest/client/tests/virt/qemu/tests/cpuinfo_query.py", line 33, in run_cpuinfo_query
11:16:20 ERROR|     (", ".join(missing), output))
11:16:20 ERROR| TestFail: rhel6.4.0, rhel6.3.0, rhel6.2.0, rhel6.1.0, rhel6.0.0, rhel5.5.0, rhel5.4.4, rhel5.4.0 is missing in the output
11:16:20 ERROR|  Supported machines are:
11:16:20 ERROR| none                 empty machine
11:16:20 ERROR| pc                   Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-1.4)
11:16:20 ERROR| pc-i440fx-1.4        Standard PC (i440FX + PIIX, 1996) (default)
11:16:20 ERROR| pc-1.3               Standard PC
11:16:20 ERROR| pc-1.2               Standard PC
11:16:20 ERROR| pc-1.1               Standard PC
11:16:20 ERROR| pc-1.0               Standard PC
11:16:20 ERROR| pc-0.15              Standard PC
11:16:20 ERROR| pc-0.14              Standard PC
11:16:20 ERROR| pc-0.13              Standard PC
11:16:20 ERROR| pc-0.12              Standard PC
11:16:20 ERROR| pc-0.11              Standard PC, qemu 0.11
11:16:20 ERROR| pc-0.10              Standard PC, qemu 0.10
11:16:20 ERROR| isapc                ISA-only PC
11:16:20 ERROR| q35                  Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-1.4)
11:16:20 ERROR| pc-q35-1.4           Standard PC (Q35 + ICH9, 2009)    [context: check if expected info is included in output of /bin/qemu-kvm -M ? ]
11:16:20 ERROR| 
11:16:20 ERROR| FAIL type_specific.cpuinfo_query.qmachine_type -> TestFail: rhel6.4.0, rhel6.3.0, rhel6.2.0, rhel6.1.0, rhel6.0.0, rhel5.5.0, rhel5.4.4, rhel5.4.0 is missing in the output

Environment: Lenono T520 laptop, 4 CPU cores, 4 gig ram, Fedora 19 (recently updated), using default params, and rebuilt JeOS image.

lmr commented 10 years ago

Oh well, that's quite a fragile test, that is not supposed to run on anything that's not RHEL 6.4 :) Let me fix the bug by appropriately restricting the test scope (.cfg files)

lmr commented 10 years ago

Problem resolved:

$ ./run -t qemu --tests cpuinfo_query.qmachine_type
Running setup. Please wait...
SETUP: PASS (13.92 s)
DATA DIR: /home/lmr/virt_test
DEBUG LOG: /home/lmr/Code/virt-test.git/logs/run-2013-12-13-13.58.09/debug.log
Empty config set generated 
Tests chosen: 'cpuinfo_query.qmachine_type'
Check that you typed the tests names correctly, and double check that tests show in --list-tests for guest 'JeOS.19'