vmx_nmi_window_test failed in ubuntu_kvm_unit_tests on T-aws / X-aws

Bug #1866588 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Confirmed
Undecided
Unassigned

Bug Description

Issue found on bare-metal node r5.metal, i3.metal, c5.metal

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.Lr4oBe84MU -smp 1 -cpu host,+vmx -append vmx_nmi_window_test # -initrd /tmp/tmp.nrGt7Xca5t
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 477000
 cr4 = 20

 Test suite: vmx_nmi_window_test
 FAIL: NMI-window: x86/vmx_tests.c:2184: Assertion failed: (expected) == (actual)
 LHS: 0x0000000000000012 - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0001'0010 - 18
 RHS: 000000000000000000 - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 - 0
 Expected VMX_VMCALL, got VMX_EXC_NMI.
 STACK: 405e1c 405e46 406511 401556 4039f1 400312
 SUMMARY: 4 tests, 1 unexpected failures
 FAIL vmx_nmi_window_test (4 tests, 1 unexpected failures)

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

Looks like this is a new test.

tags: added: kqa-blocker
Revision history for this message
Sean Feole (sfeole) wrote :

these failures are to be expected on 4.15 and older kernels. they were split from the large vmx test, this is not a blocker, removing the tag.

We will continue to run these tests on the 4.15 and older kernels, to ensure that the kernel does not crash or panic, etc. There is no plan to stop running them. We just know they will fail

Changed in ubuntu-kernel-tests:
status: New → Confirmed
tags: removed: kqa-blocker
Po-Hsu Lin (cypressyew)
tags: added: 4.15 bionic
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Time out on T-4.4
 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.mwHi9CF3cb -smp 1 -cpu host,+vmx -append vmx_nmi_window_test # -initrd /tmp/tmp.pfPf1qQ1mK
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 477000
 cr4 = 20

 Test suite: vmx_nmi_window_test
 PASS: NMI-window: active, no blocking: Exit reason (8) is 'NMI window'
 PASS: NMI-window: active, no blocking: RIP (0x406f4d) is 0x406f4d
 PASS: NMI-window: active, no blocking: Activity state (0) is 'ACTIVE'
 PASS: NMI-window: active, blocking by MOV-SS: Exit reason (8) is 'NMI window'
 PASS: NMI-window: active, blocking by MOV-SS: RIP (0x406f4e) is 0x406f4e
 PASS: NMI-window: active, blocking by MOV-SS: Activity state (0) is 'ACTIVE'
 PASS: NMI-window: active, no blocking, injecting #UD: Exit reason (8) is 'NMI window'
 PASS: NMI-window: active, no blocking, injecting #UD: RIP (0x413d21) is 0x413d21
 PASS: NMI-window: active, no blocking, injecting #UD: Activity state (0) is 'ACTIVE'
 PASS: NMI-window: active, blocking by NMI: Exit reason (8) is 'NMI window'
 PASS: NMI-window: active, blocking by NMI: RIP (0x406f4e) is 0x406f4e
 PASS: NMI-window: active, blocking by NMI: Activity state (0) is 'ACTIVE'
 PASS: NMI-window: active, blocking by NMI: #UD handler executed once (actual 1 times)
 qemu-system-x86_64: terminating on signal 15 from pid 6355
 FAIL vmx_nmi_window_test (timeout; duration=30)

tags: added: sru-20200316
tags: added: sru-20200921
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

failed on Bionic/azure-4.15 : 4.15.0-1097.107 : amd64

FAIL vmx_nmi_window_test (timeout; duration=30)

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

Still visible in Xenial 4.4.0-1118.132 AWS c5.metal

summary: - vmx_nmi_window_test failed in ubuntu_kvm_unit_tests on T-aws
+ vmx_nmi_window_test failed in ubuntu_kvm_unit_tests on T-aws / X-aws
tags: added: sru-20201109
Revision history for this message
Francis Ginther (fginther) wrote :

Seen with linux-oracle 4.15.0-1065.73.

tags: added: oracle sru-20210125
tags: added: fips
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Failed on xenial/linux-oracle: 4.15.0-1069.77~16.04.1 for sru-20210315

tags: added: sru-20210315
tags: added: sru-20210412
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Found with trusty/linux-azure 4.15.0-1114.127~14.04.1.

Revision history for this message
Ian May (ian-may) wrote :

bionic/linux-aws: 4.15.0-1103.110

tags: added: sru-20210510
Revision history for this message
Ian May (ian-may) wrote :

Found on bionic/linux-aws-fips: 4.15.0-2045.47

Revision history for this message
Ian May (ian-may) wrote :

Found on bionic/linux-azure-4.15: 4.15.0-1115.128

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.