In general this test fails usually across all clouds/metals Should be a higher priority to get this fixed,
12/03 21:30:32 DEBUG| utils:0116| Running 'kvm-ok' 12/03 21:30:32 DEBUG| utils:0153| [stdout] INFO: /dev/kvm exists 12/03 21:30:32 DEBUG| utils:0153| [stdout] KVM acceleration can be used 12/03 21:30:32 DEBUG| utils:0116| Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/apic' 12/03 21:30:32 DEBUG| utils:0153| [stdout] BUILD_HEAD=e2c275c4 12/03 21:30:33 DEBUG| utils:0153| [stdout] timeout -k 1s --foreground 30 /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 /tmp/tmp.l8jZuQAnJV -smp 2 -cpu qemu64,+x2apic,+tsc-deadline # -initrd /tmp/tmp.97foJOgQOp 12/03 21:30:33 DEBUG| utils:0153| [stderr] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] 12/03 21:30:33 DEBUG| utils:0153| [stderr] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] 12/03 21:30:33 DEBUG| utils:0153| [stdout] enabling apic 12/03 21:30:33 DEBUG| utils:0153| [stdout] enabling apic 12/03 21:30:33 DEBUG| utils:0153| [stdout] paging enabled 12/03 21:30:33 DEBUG| utils:0153| [stdout] cr0 = 80010011 12/03 21:30:33 DEBUG| utils:0153| [stdout] cr3 = 45a000 12/03 21:30:33 DEBUG| utils:0153| [stdout] cr4 = 20 12/03 21:30:33 DEBUG| utils:0153| [stdout] apic version: 50014 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic existence 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: xapic id matches cpuid 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: writeable xapic id 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: non-writeable x2apic id 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: sane x2apic id 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: x2apic id matches cpuid 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: correct xapic id after reset 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: Local apic disabled 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: CPUID.1H:EDX.APIC[bit 9] is clear 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: *0xfee00030: ffffffff 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: CR8: 0 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: CR8: f 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: *0xfee00080: ffffffff 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: Local apic enabled in xAPIC mode 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: CPUID.1H:EDX.APIC[bit 9] is set 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: *0xfee00030: 50014 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: *0xfee00080: 0 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: *0xfee00080: f0 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: Local apic enabled in x2APIC mode 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: CPUID.1H:EDX.APIC[bit 9] is set 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: *0xfee00030: ffffffff 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: CR8: 0 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: CR8: f 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic_disable: *0xfee00080: ffffffff 12/03 21:30:33 DEBUG| utils:0153| [stdout] x2apic enabled 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: x2apic enabled to invalid state 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: x2apic enabled to apic enabled 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: x2apic enabled to disabled state 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: disabled to invalid state 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: disabled to x2apic enabled 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apic enabled to invalid state 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apicbase: relocate apic 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apicbase: reserved physaddr bits 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: apicbase: reserved low bits 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: self ipi 12/03 21:30:33 DEBUG| utils:0153| [stdout] starting broadcast (x2apic) 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: APIC physical broadcast address 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: APIC physical broadcast shorthand 12/03 21:30:33 DEBUG| utils:0153| [stdout] FAIL: PV IPIs testing 12/03 21:30:33 DEBUG| utils:0153| [stdout] PASS: nmi-after-sti 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: multiple nmi 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: APIC LVT timer one shot 12/03 21:30:49 DEBUG| utils:0153| [stdout] starting apic change mode 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: TMICT value reset 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: TMCCT should have a non-zero value 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: TMCCT should have reached 0 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: TMCCT should have a non-zero value 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: TMCCT should not be reset to TMICT value 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: TMCCT should be reset to the initial-count 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: TMCCT should not be reset to init 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: TMCCT should have reach zero 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: TMCCT should stay at zero 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: tsc deadline timer 12/03 21:30:49 DEBUG| utils:0153| [stdout] PASS: tsc deadline timer clearing 12/03 21:30:49 DEBUG| utils:0153| [stdout] SUMMARY: 51 tests, 1 unexpected failures 12/03 21:30:49 DEBUG| utils:0153| [stdout] FAIL apic (51 tests, 1 unexpected failures) ** No longer affects: linux (Ubuntu Cosmic) ** No longer affects: linux-azure (Ubuntu Cosmic) ** No longer affects: linux-azure-edge (Ubuntu Cosmic) ** Also affects: linux (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: linux-azure (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: linux-azure-edge (Ubuntu Bionic) Importance: Undecided Status: New ** Tags added: sru-20191202 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1748103 Title: apic test in kvm-unit-test failed Status in ubuntu-kernel-tests: Confirmed Status in linux package in Ubuntu: Incomplete Status in linux-azure package in Ubuntu: New Status in linux-azure-edge package in Ubuntu: New Status in linux source package in Xenial: New Status in linux-azure source package in Xenial: New Status in linux-azure-edge source package in Xenial: New Status in linux source package in Bionic: New Status in linux-azure source package in Bionic: New Status in linux-azure-edge source package in Bionic: New Bug description: With Joshua's comment in bug 1719524: "Nested KVM can only be tried on instance sizes with nested Hypervisor support: Ev3 and Dv3.", although the instance name is E4v3 here but I can start a KVM on it. Test apic will timeout on it. Steps: 1. git clone --depth=1 https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git 2. cd kvm-unit-tests; ./configure; make 3. Run the apic test as root: # TESTNAME=apic TIMEOUT=30 ACCEL= ./x86/run x86/apic.flat -smp 2 -cpu qemu64,+x2apic,+tsc-deadline timeout -k 1s --foreground 30 /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/apic.flat -smp 2 -cpu qemu64,+x2apic,+tsc-deadline # -initrd /tmp/tmp.onXtr5JVp7 enabling apic enabling apic paging enabled cr0 = 80010011 cr3 = 459000 cr4 = 20 apic version: 1050014 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 enabled PASS: apic_disable: CPUID.1H:EDX.APIC[bit 9] is set PASS: apic_disable: Local apic disabled PASS: apic_disable: CPUID.1H:EDX.APIC[bit 9] is clear PASS: apic_disable: Local apic enabled PASS: apic_disable: CPUID.1H:EDX.APIC[bit 9] is set x2apic enabled PASS: x2apic enabled to invalid state PASS: x2apic enabled to apic enabled PASS: disabled to invalid state PASS: disabled to x2apic enabled PASS: apic enabled to invalid state PASS: apicbase: relocate apic PASS: apicbase: reserved physaddr bits PASS: apicbase: reserved low bits PASS: self ipi starting broadcast (x2apic) PASS: APIC physical broadcast address PASS: APIC physical broadcast shorthand PASS: nmi-after-sti qemu-system-x86_64: terminating on signal 15 from pid 7246 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.14.0-1004-azure-edge 4.14.0-1004.4 ProcVersionSignature: User Name 4.14.0-1004.4-username-edge 4.14.14 Uname: Linux 4.14.0-1004-azure-edge x86_64 ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 Date: Thu Feb 8 06:00:55 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: linux-azure-edge UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 DistroRelease: Ubuntu 16.04 Package: linux-azure-edge PackageArchitecture: amd64 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: User Name 4.13.0-1009.12-username 4.13.13 Tags: xenial uec-images Uname: Linux 4.13.0-1009-azure x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm audio cdrom dialout dip floppy libvirtd lxd netdev plugdev sudo video _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1748103/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp