vmx_intr_window_test failed in ubuntu_kvm_unit_tests

Bug #1866586 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

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

 Test suite: vmx_intr_window_test
 FAIL: interrupt-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 406276 401556 4039f1 400312
 SUMMARY: 4 tests, 1 unexpected failures
 FAIL vmx_intr_window_test (4 tests, 1 unexpected failures)

Po-Hsu Lin (cypressyew)
tags: added: 4.4 amd64 aws sru-20200217 trusty ubuntu-kvm-unit-tests
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

tags: removed: kqa-blocker
Changed in ubuntu-kernel-tests:
status: New → Triaged
status: Triaged → Confirmed
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.1GnM3OrkjX -smp 1 -cpu host,+vmx -append vmx_intr_window_test # -initrd /tmp/tmp.PKWl9ln0zG
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 477000
 cr4 = 20

 Test suite: vmx_intr_window_test
 PASS: interrupt-window: active, no blocking, RFLAGS.IF=1: Exit reason (7) is 'interrupt window'
 PASS: interrupt-window: active, no blocking, RFLAGS.IF=1: RIP (0x406f20) is 0x406f20
 PASS: interrupt-window: active, no blocking, RFLAGS.IF=1: Activity state (0) is 'ACTIVE'
 PASS: interrupt-window: active, no blocking, RFLAGS.IF=1, injecting #UD: Exit reason (7) is 'interrupt window'
 PASS: interrupt-window: active, no blocking, RFLAGS.IF=1, injecting #UD: RIP (0x413d21) is 0x413d21
 PASS: interrupt-window: active, no blocking, RFLAGS.IF=1, injecting #UD: Activity state (0) is 'ACTIVE'
 PASS: interrupt-window: active, blocking by MOV-SS, RFLAGS.IF=1: Exit reason (7) is 'interrupt window'
 PASS: interrupt-window: active, blocking by MOV-SS, RFLAGS.IF=1: RIP (0x406f24) is 0x406f24
 PASS: interrupt-window: active, blocking by MOV-SS, RFLAGS.IF=1: Activity state (0) is 'ACTIVE'
 PASS: interrupt-window: active, blocking by STI, RFLAGS.IF=1: Exit reason (7) is 'interrupt window'
 PASS: interrupt-window: active, blocking by STI, RFLAGS.IF=1: RIP (0x406f24) is 0x406f24
 PASS: interrupt-window: active, blocking by STI, RFLAGS.IF=1: Activity state (0) is 'ACTIVE'
 PASS: interrupt-window: active, RFLAGS.IF = 0: Exit reason (7) is 'interrupt window'
 PASS: interrupt-window: active, RFLAGS.IF = 0: RIP (0x406f26) is 0x406f26
 PASS: interrupt-window: active, RFLAGS.IF = 0: Activity state (0) is 'ACTIVE'
 qemu-system-x86_64: terminating on signal 15 from pid 5957
 FAIL vmx_intr_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_intr_window_test (timeout; duration=30)

tags: added: azure
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: vmx_intr_window_test failed in ubuntu_kvm_unit_tests on T-aws / X-aws

Still visible in Xenial 4.4.0-1118.132 AWS c5.metal

summary: - vmx_intr_window_test failed in ubuntu_kvm_unit_tests on T-aws
+ vmx_intr_window_test failed in ubuntu_kvm_unit_tests on T-aws / X-aws
tags: added: sru-20201109
Sean Feole (sfeole)
tags: added: affects.dgx2
summary: - vmx_intr_window_test failed in ubuntu_kvm_unit_tests on T-aws / X-aws
+ vmx_intr_window_test failed in ubuntu_kvm_unit_tests
tags: added: sru-20210104
Revision history for this message
Francis Ginther (fginther) wrote :

linux-oracle 4.15.0-1065.73

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

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

tags: added: oracle sru-20210315
tags: added: sru-20210412
tags: added: xenial
tags: added: kvm
tags: added: aws-hwe
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Issue observed in B/KVM, cycle sru-20210510.

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

bionic/linux-aws: 4.15.0-1103.110

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.