vmx_mtf_test / vmx_mtf_pdpte_test from ubuntu_kvm_unit_tests failed with Expected VMX_MTF, got VMX_VMCALL.

Bug #1932007 reported by Po-Hsu Lin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found in 5.11.0-1009-kvm
This is not a regression since the test was run with the latest hirsute-WIP branch, with upstream tip c986dbe867053 ("x86/vmx: skip error-code delivery tests for #CP").

This is a sub test in vmx, however the instruction intercept test will stop the whole vmx test (lp:1931956), it will need to be blacklisted first with "-instruction*" in x86/unittest.cfg to let vmx test to finish. Test log:

filter = -exit_monitor_from_l2_test, test = vmx_mtf_test

Test suite: vmx_mtf_test
PASS: MTF VM-exit after OUT. RIP: 0x4041c7 (expected 0x4041c7)
PASS: MTF VM-exit after OUT. RIP: 0x4041cc (expected 0x4041cc)
PASS: 'pending debug exceptions' field after MTF VM-exit: 0x4000 (expected 0x4000)
PASS: MTF VM-exit after MOV CR3. RIP: 0x419c7d (expected 0x419c7d)
PASS: MTF VM-exit after INT1. RIP: 0x419c43 (expected 0x419c43)
FAIL: x86/vmx_tests.c:2306: Assertion failed: (expected) == (actual)
 LHS: 0x0000000000000025 - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0010'0101 - 37
 RHS: 0x0000000000000012 - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0001'0010 - 18
Expected VMX_MTF, got VMX_VMCALL.
 STACK: 405968 405ea8 40608b 4020b2 403e7f 400368

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: vmx_mtf_test in vmx from ubuntu_kvm_unit_tests failed on F-5.4 / H-5.11 KVM

Found on F-5.4 amd64 with node rumford

summary: - vmx_mtf_test in vmx from ubuntu_kvm_unit_tests failed on H-5.11 KVM
+ vmx_mtf_test in vmx from ubuntu_kvm_unit_tests failed on F-5.4 / H-5.11
+ KVM
tags: added: 5.4 focal
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: vmx_mtf_test from ubuntu_kvm_unit_tests failed on F-5.4 / H-5.11 KVM

Found on B-kvm 4.15.0-1099.101

summary: - vmx_mtf_test in vmx from ubuntu_kvm_unit_tests failed on F-5.4 / H-5.11
- KVM
+ vmx_mtf_test from ubuntu_kvm_unit_tests failed on F-5.4 / H-5.11 KVM
tags: added: 4.15 bionic sru-20210816
summary: - vmx_mtf_test from ubuntu_kvm_unit_tests failed on F-5.4 / H-5.11 KVM
+ vmx_mtf_test from ubuntu_kvm_unit_tests failed with Expected VMX_MTF,
+ got VMX_VMCALL.
Revision history for this message
Krzysztof Kozlowski (krzk) wrote : Re: vmx_mtf_test from ubuntu_kvm_unit_tests failed with Expected VMX_MTF, got VMX_VMCALL.

Found on impish/linux-oracle/5.13.0-1005.7 (instance: VM.Standard2.1)

tags: added: 5.13 amd64 hinted impish oracle
Revision history for this message
Luke Nowakowski-Krijger (lukenow) wrote :

Found impish/linux-kvm 5.13.0-1007.7

Revision history for this message
Zachary Tahenakos (ztahenakos) wrote :

Observed on focal/linux-fips 5.4.0-1041.47 on lagalla.

tags: added: fips sru-20220103
Cory Todd (corytodd)
tags: added: sru-20220711
Cory Todd (corytodd)
tags: removed: sru-20220711
Revision history for this message
Cory Todd (corytodd) wrote :

Observed on focal/linux-fips 5.4.0-1058.66 on amaura.

tags: added: sru-20220711
Revision history for this message
Cory Todd (corytodd) wrote :

Observed on focal/linux-fips 5.4.0-1061.69 on rumford.

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

With kvm-unit-test repo updated to d8a4f9e5 (ci: Update the list of tests that we run in the Fedora Cirrus-CI), this test is still failing with the same error message.

tags: added: sru-20220919
summary: - vmx_mtf_test from ubuntu_kvm_unit_tests failed with Expected VMX_MTF,
- got VMX_VMCALL.
+ vmx_mtf_test / vmx_mtf_pdpte_test from ubuntu_kvm_unit_tests failed with
+ Expected VMX_MTF, got VMX_VMCALL.
Revision history for this message
Roxana Nicolescu (roxanan) wrote :

seen again on lunar:oracle

tags: added: sru-20230612
tags: added: lunar
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.