Comment 36 for bug 1748103

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: apic test in kvm-unit-test failed with timeout

With 4.4.0-214.246~14.04.1 it will timeout

Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/apic'
 BUILD_HEAD=1593e88a
 timeout -k 1s --foreground 30 /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.ShWgkBXugG -smp 2 -cpu qemu64,+x2apic,+tsc-deadline # -initrd /tmp/tmp.33CAVckrXS
 enabling apic
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 apic version: 14
 PASS: apic existence
 PASS: xapic id matches cpuid
 PASS: writeable xapic id
 PASS: non-writeable x2apic id
 PASS: sane x2apic id
 FAIL: x2apic id matches cpuid
 PASS: correct xapic id after reset
 PASS: apic_disable: Local apic disabled
 FAIL: apic_disable: CPUID.1H:EDX.APIC[bit 9] is clear
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 PASS: apic_disable: *0xfee00030: ffffffff
 FAIL: apic_disable: CR8: f
 PASS: apic_disable: CR8: f
 FAIL: apic_disable: *0xfee00080: f0
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 PASS: apic_disable: Local apic enabled in xAPIC mode
 PASS: apic_disable: CPUID.1H:EDX.APIC[bit 9] is set
 PASS: apic_disable: *0xfee00030: 50014
 PASS: apic_disable: *0xfee00080: 0
 PASS: apic_disable: *0xfee00080: f0
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 PASS: apic_disable: Local apic enabled in x2APIC mode
 PASS: apic_disable: CPUID.1H:EDX.APIC[bit 9] is set
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 FAIL: apic_disable: *0xfee00030: 50014
 FAIL: apic_disable: CR8: f
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 PASS: apic_disable: CR8: f
 FAIL: apic_disable: *0xfee00080: f0
 x2apic enabled
 PASS: x2apic enabled to invalid state
 PASS: x2apic enabled to apic enabled
 PASS: x2apic enabled to disabled state
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 PASS: disabled to invalid state
 PASS: disabled to x2apic enabled
 PASS: apic disabled to apic enabled
 PASS: apic enabled to invalid state
 PASS: apicbase: relocate apic
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 PASS: apicbase: reserved physaddr bits
 PASS: apicbase: reserved low bits
 PASS: self_ipi_xapic: Local apic enabled in xAPIC mode
 PASS: self_ipi_xapic: self ipi
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 PASS: self_ipi_x2apic: Local apic enabled in x2APIC mode
 PASS: self_ipi_x2apic: self ipi
 starting broadcast (x2apic)
 PASS: APIC physical broadcast address
 PASS: APIC physical broadcast shorthand
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 SKIP: PV IPIs testing: h-call not available
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 PASS: nmi-after-sti
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 ...
 KVM: injection failed, MSI lost (Operation not permitted)
 KVM: injection failed, MSI lost (Operation not permitted)
 PASS: multiple nmi
 PASS: pending nmi
 PASS: APIC LVT timer one shot
 starting apic change mode
 PASS: TMICT value reset
 PASS: TMCCT should have a non-zero value
 PASS: TMCCT should have reached 0
 PASS: TMCCT should have a non-zero value
 PASS: TMCCT should not be reset to TMICT value
 qemu: terminating on signal 15 from pid 12736
 FAIL apic (timeout; duration=30)