Comment 0 for bug 1827866

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : vmx_apicv_test in ubuntu_kvm_unit_tests failed on X-KVM

vmx_apicv_test from ubuntu_kvm_unit_tests failed on X-KVM, the test was terminated with return code 124:

# TESTNAME=vmx_apicv_test TIMEOUT=10 ACCEL= ./x86/run x86/vmx.flat -smp 1 -cpu host,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test"
timeout -k 1s --foreground 10 /usr/bin/qemu-system-x86_64 -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel x86/vmx.flat -smp 1 -cpu host,+vmx -append apic_reg_virt_test virt_x2apic_mode_test # -initrd /tmp/tmp.K6b7rjmgp8
enabling apic
paging enabled
cr0 = 80010011
cr3 = 477000
cr4 = 20

Test suite: apic_reg_virt_test
--- Virtualize APIC accesses test ---
PASS: xapic - reading 0x000: got APIC access exit @ page offset 0x000, want 0x000
PASS: xapic - writing 0x12345678 to 0x000: got APIC access exit @ page offset 0x000, want 0x000
PASS: xapic - reading 0x010: got APIC access exit @ page offset 0x010, want 0x010
PASS: xapic - writing 0x12345678 to 0x010: got APIC access exit @ page offset 0x010, want 0x010
PASS: xapic - reading 0x020: got APIC access exit @ page offset 0x020, want 0x020
PASS: xapic - writing 0x12345678 to 0x020: got APIC access exit @ page offset 0x020, want 0x020
PASS: xapic - reading 0x030: got APIC access exit @ page offset 0x030, want 0x030
....
....
PASS: xapic - writing 0x12345678 to 0x380: non-virtualized write; val is 0x12345678, want 0x12345678
PASS: xapic - reading 0x390: read 0x12345678, expected 0x12345678.
PASS: xapic - writing 0x12345678 to 0x390: non-virtualized writqemu-system-x86_64: terminating on signal 15 from pid 1327

# echo $?
124

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-1044-kvm 4.4.0-1044.50
ProcVersionSignature: Ubuntu 4.4.0-1044.50-kvm 4.4.177
Uname: Linux 4.4.0-1044-kvm x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Mon May 6 10:47:17 2019
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)