vmx_host_state_area test from ubuntu_kvm_unit_tests crashed with Eoan Azure

Bug #1874693 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux-azure (Ubuntu)
New
Undecided
Unassigned

Bug Description

Only Standard_F32s_v2 and Standard_D48_v3 can be tested with KVM unit test.

And it looks like the kvm_unit_test will crash with vmx_host_state_area:

01:49:05 DEBUG| Running '/home/azure/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_host_state_area'
 BUILD_HEAD=4671e4ba
 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.p1fskNt1wF -smp 1 -cpu host,+vmx -append vmx_host_state_area_test # -initrd /tmp/tmp.YTVFJ025gz
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 477000
 cr4 = 20

 Test suite: vmx_host_state_area_test
 PASS: HOST_CR0 80000021: vmlaunch succeeds
 PASS: HOST_CR0 80010030: vmlaunch fails
 PASS: HOST_CR0 80010030: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 80010011: vmlaunch fails
 PASS: HOST_CR0 80010011: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 10031: vmlaunch fails
 PASS: HOST_CR0 10031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 180010031: vmlaunch fails
 PASS: HOST_CR0 180010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 280010031: vmlaunch fails
 PASS: HOST_CR0 280010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 480010031: vmlaunch fails
 PASS: HOST_CR0 480010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 880010031: vmlaunch fails
 PASS: HOST_CR0 880010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 1080010031: vmlaunch fails
 PASS: HOST_CR0 1080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 2080010031: vmlaunch fails
 PASS: HOST_CR0 2080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 4080010031: vmlaunch fails
 PASS: HOST_CR0 4080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 8080010031: vmlaunch fails
 PASS: HOST_CR0 8080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 10080010031: vmlaunch fails
 PASS: HOST_CR0 10080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 20080010031: vmlaunch fails
 PASS: HOST_CR0 20080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 40080010031: vmlaunch fails
 PASS: HOST_CR0 40080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 80080010031: vmlaunch fails
 PASS: HOST_CR0 80080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 100080010031: vmlaunch fails
 PASS: HOST_CR0 100080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 200080010031: vmlaunch fails
 PASS: HOST_CR0 200080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 400080010031: vmlaunch fails
 PASS: HOST_CR0 400080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 800080010031: vmlaunch fails
 PASS: HOST_CR0 800080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 1000080010031: vmlaunch fails
 PASS: HOST_CR0 1000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 2000080010031: vmlaunch fails
 PASS: HOST_CR0 2000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 4000080010031: vmlaunch fails
 PASS: HOST_CR0 4000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 8000080010031: vmlaunch fails
 PASS: HOST_CR0 8000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 10000080010031: vmlaunch fails
 PASS: HOST_CR0 10000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 20000080010031: vmlaunch fails
 PASS: HOST_CR0 20000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 40000080010031: vmlaunch fails
 PASS: HOST_CR0 40000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 80000080010031: vmlaunch fails
 PASS: HOST_CR0 80000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 100000080010031: vmlaunch fails
 PASS: HOST_CR0 100000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 200000080010031: vmlaunch fails
 PASS: HOST_CR0 200000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 400000080010031: vmlaunch fails
 PASS: HOST_CR0 400000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 800000080010031: vmlaunch fails
 PASS: HOST_CR0 800000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 1000000080010031: vmlaunch fails
 PASS: HOST_CR0 1000000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 2000000080010031: vmlaunch fails
 PASS: HOST_CR0 2000000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 4000000080010031: vmlaunch fails
 PASS: HOST_CR0 4000000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR0 8000000080010031: vmlaunch fails
 PASS: HOST_CR0 8000000080010031: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 2000: vmlaunch succeeds
 PASS: HOST_CR4 3020: vmlaunch fails
 PASS: HOST_CR4 3020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 20: vmlaunch fails
 PASS: HOST_CR4 20: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 6020: vmlaunch fails
 PASS: HOST_CR4 6020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 a020: vmlaunch fails
 PASS: HOST_CR4 a020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 82020: vmlaunch fails
 PASS: HOST_CR4 82020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 402020: vmlaunch fails
 PASS: HOST_CR4 402020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 802020: vmlaunch fails
 PASS: HOST_CR4 802020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 1002020: vmlaunch fails
 PASS: HOST_CR4 1002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 2002020: vmlaunch fails
 PASS: HOST_CR4 2002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 4002020: vmlaunch fails
 PASS: HOST_CR4 4002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 8002020: vmlaunch fails
 PASS: HOST_CR4 8002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 10002020: vmlaunch fails
 PASS: HOST_CR4 10002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 20002020: vmlaunch fails
 PASS: HOST_CR4 20002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 40002020: vmlaunch fails
 PASS: HOST_CR4 40002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 80002020: vmlaunch fails
 PASS: HOST_CR4 80002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 100002020: vmlaunch fails
 PASS: HOST_CR4 100002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 200002020: vmlaunch fails
 PASS: HOST_CR4 200002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 400002020: vmlaunch fails
 PASS: HOST_CR4 400002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 800002020: vmlaunch fails
 PASS: HOST_CR4 800002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 1000002020: vmlaunch fails
 PASS: HOST_CR4 1000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 2000002020: vmlaunch fails
 PASS: HOST_CR4 2000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 4000002020: vmlaunch fails
 PASS: HOST_CR4 4000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 8000002020: vmlaunch fails
 PASS: HOST_CR4 8000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 10000002020: vmlaunch fails
 PASS: HOST_CR4 10000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 20000002020: vmlaunch fails
 PASS: HOST_CR4 20000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 40000002020: vmlaunch fails
 PASS: HOST_CR4 40000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 80000002020: vmlaunch fails
 PASS: HOST_CR4 80000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 100000002020: vmlaunch fails
 PASS: HOST_CR4 100000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 200000002020: vmlaunch fails
 PASS: HOST_CR4 200000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 400000002020: vmlaunch fails
 PASS: HOST_CR4 400000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 800000002020: vmlaunch fails
 PASS: HOST_CR4 800000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 1000000002020: vmlaunch fails
 PASS: HOST_CR4 1000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 2000000002020: vmlaunch fails
 PASS: HOST_CR4 2000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 4000000002020: vmlaunch fails
 PASS: HOST_CR4 4000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 8000000002020: vmlaunch fails
 PASS: HOST_CR4 8000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 10000000002020: vmlaunch fails
 PASS: HOST_CR4 10000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 20000000002020: vmlaunch fails
 PASS: HOST_CR4 20000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 40000000002020: vmlaunch fails
 PASS: HOST_CR4 40000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 80000000002020: vmlaunch fails
 PASS: HOST_CR4 80000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 100000000002020: vmlaunch fails
 PASS: HOST_CR4 100000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 200000000002020: vmlaunch fails
 PASS: HOST_CR4 200000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 400000000002020: vmlaunch fails
 PASS: HOST_CR4 400000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 800000000002020: vmlaunch fails
 PASS: HOST_CR4 800000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 1000000000002020: vmlaunch fails
 PASS: HOST_CR4 1000000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 2000000000002020: vmlaunch fails
 PASS: HOST_CR4 2000000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 4000000000002020: vmlaunch fails
 PASS: HOST_CR4 4000000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR4 8000000000002020: vmlaunch fails
 PASS: HOST_CR4 8000000000002020: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 10000477000: vmlaunch fails
 PASS: HOST_CR3 10000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 20000477000: vmlaunch fails
 PASS: HOST_CR3 20000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 40000477000: vmlaunch fails
 PASS: HOST_CR3 40000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 80000477000: vmlaunch fails
 PASS: HOST_CR3 80000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 100000477000: vmlaunch fails
 PASS: HOST_CR3 100000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 200000477000: vmlaunch fails
 PASS: HOST_CR3 200000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 400000477000: vmlaunch fails
 PASS: HOST_CR3 400000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 800000477000: vmlaunch fails
 PASS: HOST_CR3 800000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 1000000477000: vmlaunch fails
 PASS: HOST_CR3 1000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 2000000477000: vmlaunch fails
 PASS: HOST_CR3 2000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 4000000477000: vmlaunch fails
 PASS: HOST_CR3 4000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 8000000477000: vmlaunch fails
 PASS: HOST_CR3 8000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 10000000477000: vmlaunch fails
 PASS: HOST_CR3 10000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 20000000477000: vmlaunch fails
 PASS: HOST_CR3 20000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 40000000477000: vmlaunch fails
 PASS: HOST_CR3 40000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 80000000477000: vmlaunch fails
 PASS: HOST_CR3 80000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 100000000477000: vmlaunch fails
 PASS: HOST_CR3 100000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 200000000477000: vmlaunch fails
 PASS: HOST_CR3 200000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 400000000477000: vmlaunch fails
 PASS: HOST_CR3 400000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 800000000477000: vmlaunch fails
 PASS: HOST_CR3 800000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 1000000000477000: vmlaunch fails
 PASS: HOST_CR3 1000000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 2000000000477000: vmlaunch fails
 PASS: HOST_CR3 2000000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 4000000000477000: vmlaunch fails
 PASS: HOST_CR3 4000000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_CR3 8000000000477000: vmlaunch fails
 PASS: HOST_CR3 8000000000477000: VMX inst error is 8 (actual 8)
 PASS: HOST_SYSENTER_ESP non-canonical: vmlaunch fails
 PASS: HOST_SYSENTER_ESP non-canonical: VMX inst error is 8 (actual 8)
------------------------------
(test interrupted here)

If you run this test manually on those nodes, the instance will stop responding (and nothing will be printed in syslog).

Another attempt with 5.3.0-1019-azure:
 sudo ./tests/vmx_host_state_area
BUILD_HEAD=4671e4ba
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.4ACAI121gD -smp 1 -cpu host,+vmx -append vmx_host_state_area_test # -initrd /tmp/tmp.rICn7V2LJM
enabling apic
paging enabled
cr0 = 80010011
cr3 = 477000
cr4 = 20

Test suite: vmx_host_state_area_test
PASS: HOST_CR0 80000021: vmlaunch succeeds
PASS: HOST_CR0 80010030: vmlaunch fails
PASS: HOST_CR0 80010030: VMX inst error is 8 (actual 8)
PASS: HOST_CR0 80010011: vmlaunch fails
PASS: HOST_CR0 80010011: VMX inst error is 8 (actual 8)
PASS: HOST_CR0 10031: vmlaunch fails
PASS: HOST_CR0 10031: VMX inst error is 8 (actual 8)
PASS: HOST_CR0 180010031: vmlaunch fails
PASS: HOST_CR0 180010031: VMX inst error is 8 (actual 8)
PASS: HOST_CR0 280010031: vmlaunch fails
PASS: HOST_CR0 280010031: VMX inst error is 8 (actual 8)
PASS: HOST_CR0 480010031: vmlaunch fails
PASS: HOST_CR0 480010031: VMX inst error is 8 (actual 8)
PASS: HOST_CR0 880010031: vmlaunch fails
PASS: HOST_CR0 880010031: VMX inst error is 8 (actual 8)
PASS: HOST_CR0 1080010031: vmlaunch fails
PASS: HOST_CR0 1080010031: VMX inst error is 8 (a
(crashed even earlier here)

This issue a bit hard to spot, as these 2 are the only instances that supports KVM unit test and the test will be interrupted instead of marking as failed, you will have to review the jenkins test report directly to see this.

From the test log it looks like this can be found since 5.3.0-1017.18 (no earlier test report available)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

We would need access to the console for debugging this.

summary: - vmx_host_state_area test crash with Eoan Azure
+ vmx_host_state_area test from ubuntu_kvm_unit_tests crash with Eoan
+ Azure
summary: - vmx_host_state_area test from ubuntu_kvm_unit_tests crash with Eoan
+ vmx_host_state_area test from ubuntu_kvm_unit_tests crashed with Eoan
Azure
tags: added: 5.3 eoan kqa-blocker sru-20200406 ubuntu-kvm-unit-tests
Po-Hsu Lin (cypressyew)
description: updated
tags: added: sru-20210104
tags: added: amd64 azure bionic
tags: added: fips sru-20210125
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.