vmx_controls_test in ubuntu_kvm_unit_test failed (FAIL: x86/vmx_tests.c:3607: Assertion failed: vmcs_write(CR3_TARGET_0 + i*2, 0))
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found after kvm-unit-test repo updated to d8a4f9e5 (ci: Update the list of tests that we run in the Fedora Cirrus-CI)
We used to have a SAUCE patch to disable this test, as it will try to reboot the guest, causing the vmx test to go in a loop back in time.
This SAUCE patch has been removed.
Test failed with:
FAIL: x86/vmx_
STACK: 413800 402071 40401b 4001c7
Test log:
Running '/home/
BUILD_
timeout -k 1s --foreground 90s /usr/bin/
enabling apic
smp: waiting for 0 APs
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_controls_test, test = test_vmx_
filter = vmx_controls_test, test = test_vmxon
filter = vmx_controls_test, test = test_vmptrld
filter = vmx_controls_test, test = test_vmclear
filter = vmx_controls_test, test = test_vmptrst
filter = vmx_controls_test, test = test_vmwrite_vmread
filter = vmx_controls_test, test = test_vmcs_high
filter = vmx_controls_test, test = test_vmcs_lifecycle
filter = vmx_controls_test, test = test_vmx_caps
filter = vmx_controls_test, test = test_vmread_
filter = vmx_controls_test, test = test_vmwrite_
filter = vmx_controls_test, test = null
filter = vmx_controls_test, test = vmenter
filter = vmx_controls_test, test = preemption timer
filter = vmx_controls_test, test = control field PAT
filter = vmx_controls_test, test = control field EFER
filter = vmx_controls_test, test = CR shadowing
filter = vmx_controls_test, test = I/O bitmap
filter = vmx_controls_test, test = instruction intercept
filter = vmx_controls_test, test = EPT A/D disabled
filter = vmx_controls_test, test = EPT A/D enabled
filter = vmx_controls_test, test = PML
filter = vmx_controls_test, test = interrupt
filter = vmx_controls_test, test = nmi_hlt
filter = vmx_controls_test, test = debug controls
filter = vmx_controls_test, test = MSR switch
filter = vmx_controls_test, test = vmmcall
filter = vmx_controls_test, test = disable RDTSCP
filter = vmx_controls_test, test = int3
filter = vmx_controls_test, test = into
filter = vmx_controls_test, test = exit_monitor_
filter = vmx_controls_test, test = invalid_msr
filter = vmx_controls_test, test = v2_null_test
filter = vmx_controls_test, test = v2_multiple_
filter = vmx_controls_test, test = fixture_test_case1
filter = vmx_controls_test, test = fixture_test_case2
filter = vmx_controls_test, test = invvpid_test
filter = vmx_controls_test, test = vmx_controls_test
Test suite: vmx_controls_test
MSR_IA32_
PASS: Clear pin-based controls bit 0: vmlaunch succeeds
PASS: Clear pin-based controls bit 1: vmlaunch fails
PASS: Clear pin-based controls bit 1: VMX inst error is 7 (actual 7)
PASS: Set pin-based controls bit 1: vmlaunch succeeds
PASS: Clear pin-based controls bit 2: vmlaunch fails
PASS: Clear pin-based controls bit 2: VMX inst error is 7 (actual 7)
PASS: Set pin-based controls bit 2: vmlaunch succeeds
PASS: Clear pin-based controls bit 3: vmlaunch succeeds
PASS: Clear pin-based controls bit 4: vmlaunch fails
PASS: Clear pin-based controls bit 4: VMX inst error is 7 (actual 7)
PASS: Set pin-based controls bit 4: vmlaunch succeeds
PASS: Clear pin-based controls bit 5: vmlaunch succeeds
PASS: Clear pin-based controls bit 6: vmlaunch succeeds
PASS: Clear pin-based controls bit 7: vmlaunch succeeds
PASS: Clear pin-based controls bit 8: vmlaunch succeeds
PASS: Set pin-based controls bit 8: vmlaunch fails
PASS: Set pin-based controls bit 8: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 9: vmlaunch succeeds
PASS: Set pin-based controls bit 9: vmlaunch fails
PASS: Set pin-based controls bit 9: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 10: vmlaunch succeeds
PASS: Set pin-based controls bit 10: vmlaunch fails
PASS: Set pin-based controls bit 10: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 11: vmlaunch succeeds
PASS: Set pin-based controls bit 11: vmlaunch fails
PASS: Set pin-based controls bit 11: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 12: vmlaunch succeeds
PASS: Set pin-based controls bit 12: vmlaunch fails
PASS: Set pin-based controls bit 12: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 13: vmlaunch succeeds
PASS: Set pin-based controls bit 13: vmlaunch fails
PASS: Set pin-based controls bit 13: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 14: vmlaunch succeeds
PASS: Set pin-based controls bit 14: vmlaunch fails
PASS: Set pin-based controls bit 14: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 15: vmlaunch succeeds
PASS: Set pin-based controls bit 15: vmlaunch fails
PASS: Set pin-based controls bit 15: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 16: vmlaunch succeeds
PASS: Set pin-based controls bit 16: vmlaunch fails
PASS: Set pin-based controls bit 16: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 17: vmlaunch succeeds
PASS: Set pin-based controls bit 17: vmlaunch fails
PASS: Set pin-based controls bit 17: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 18: vmlaunch succeeds
PASS: Set pin-based controls bit 18: vmlaunch fails
PASS: Set pin-based controls bit 18: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 19: vmlaunch succeeds
PASS: Set pin-based controls bit 19: vmlaunch fails
PASS: Set pin-based controls bit 19: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 20: vmlaunch succeeds
PASS: Set pin-based controls bit 20: vmlaunch fails
PASS: Set pin-based controls bit 20: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 21: vmlaunch succeeds
PASS: Set pin-based controls bit 21: vmlaunch fails
PASS: Set pin-based controls bit 21: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 22: vmlaunch succeeds
PASS: Set pin-based controls bit 22: vmlaunch fails
PASS: Set pin-based controls bit 22: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 23: vmlaunch succeeds
PASS: Set pin-based controls bit 23: vmlaunch fails
PASS: Set pin-based controls bit 23: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 24: vmlaunch succeeds
PASS: Set pin-based controls bit 24: vmlaunch fails
PASS: Set pin-based controls bit 24: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 25: vmlaunch succeeds
PASS: Set pin-based controls bit 25: vmlaunch fails
PASS: Set pin-based controls bit 25: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 26: vmlaunch succeeds
PASS: Set pin-based controls bit 26: vmlaunch fails
PASS: Set pin-based controls bit 26: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 27: vmlaunch succeeds
PASS: Set pin-based controls bit 27: vmlaunch fails
PASS: Set pin-based controls bit 27: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 28: vmlaunch succeeds
PASS: Set pin-based controls bit 28: vmlaunch fails
PASS: Set pin-based controls bit 28: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 29: vmlaunch succeeds
PASS: Set pin-based controls bit 29: vmlaunch fails
PASS: Set pin-based controls bit 29: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 30: vmlaunch succeeds
PASS: Set pin-based controls bit 30: vmlaunch fails
PASS: Set pin-based controls bit 30: VMX inst error is 7 (actual 7)
PASS: Clear pin-based controls bit 31: vmlaunch succeeds
PASS: Set pin-based controls bit 31: vmlaunch fails
PASS: Set pin-based controls bit 31: VMX inst error is 7 (actual 7)
MSR_IA32_
PASS: Clear primary processor-based controls bit 0: vmlaunch succeeds
PASS: Set primary processor-based controls bit 0: vmlaunch fails
PASS: Set primary processor-based controls bit 0: VMX inst error is 7 (actual 7)
PASS: Clear primary processor-based controls bit 1: vmlaunch fails
PASS: Clear primary processor-based controls bit 1: VMX inst error is 7 (actual 7)
PASS: Set primary processor-based controls bit 1: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 2: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 3: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 4: vmlaunch fails
PASS: Clear primary processor-based controls bit 4: VMX inst error is 7 (actual 7)
PASS: Set primary processor-based controls bit 4: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 5: vmlaunch fails
PASS: Clear primary processor-based controls bit 5: VMX inst error is 7 (actual 7)
PASS: Set primary processor-based controls bit 5: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 6: vmlaunch fails
PASS: Clear primary processor-based controls bit 6: VMX inst error is 7 (actual 7)
PASS: Set primary processor-based controls bit 6: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 7: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 8: vmlaunch fails
PASS: Clear primary processor-based controls bit 8: VMX inst error is 7 (actual 7)
PASS: Set primary processor-based controls bit 8: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 9: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 10: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 11: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 12: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 13: vmlaunch fails
PASS: Clear primary processor-based controls bit 13: VMX inst error is 7 (actual 7)
PASS: Set primary processor-based controls bit 13: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 14: vmlaunch fails
PASS: Clear primary processor-based controls bit 14: VMX inst error is 7 (actual 7)
PASS: Set primary processor-based controls bit 14: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 15: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 16: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 17: vmlaunch succeeds
PASS: Set primary processor-based controls bit 17: vmlaunch fails
PASS: Set primary processor-based controls bit 17: VMX inst error is 7 (actual 7)
PASS: Clear primary processor-based controls bit 18: vmlaunch succeeds
PASS: Set primary processor-based controls bit 18: vmlaunch fails
PASS: Set primary processor-based controls bit 18: VMX inst error is 7 (actual 7)
PASS: Clear primary processor-based controls bit 19: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 20: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 21: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 22: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 23: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 24: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 25: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 26: vmlaunch fails
PASS: Clear primary processor-based controls bit 26: VMX inst error is 7 (actual 7)
PASS: Set primary processor-based controls bit 26: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 27: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 28: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 29: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 30: vmlaunch succeeds
PASS: Clear primary processor-based controls bit 31: vmlaunch succeeds
MSR_IA32_
PASS: Clear secondary processor-based controls bit 0: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 1: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 2: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 3: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 4: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 5: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 6: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 7: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 8: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 9: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 10: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 10: vmlaunch fails
PASS: Set secondary processor-based controls bit 10: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 11: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 12: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 13: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 14: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 14: vmlaunch fails
PASS: Set secondary processor-based controls bit 14: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 15: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 15: vmlaunch fails
PASS: Set secondary processor-based controls bit 15: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 16: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 17: vmlaunch succeeds
PASS: Clear secondary processor-based controls bit 18: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 18: vmlaunch fails
PASS: Set secondary processor-based controls bit 18: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 19: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 19: vmlaunch fails
PASS: Set secondary processor-based controls bit 19: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 20: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 20: vmlaunch fails
PASS: Set secondary processor-based controls bit 20: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 21: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 21: vmlaunch fails
PASS: Set secondary processor-based controls bit 21: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 22: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 22: vmlaunch fails
PASS: Set secondary processor-based controls bit 22: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 23: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 23: vmlaunch fails
PASS: Set secondary processor-based controls bit 23: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 24: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 24: vmlaunch fails
PASS: Set secondary processor-based controls bit 24: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 25: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 25: vmlaunch fails
PASS: Set secondary processor-based controls bit 25: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 26: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 26: vmlaunch fails
PASS: Set secondary processor-based controls bit 26: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 27: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 27: vmlaunch fails
PASS: Set secondary processor-based controls bit 27: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 28: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 28: vmlaunch fails
PASS: Set secondary processor-based controls bit 28: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 29: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 29: vmlaunch fails
PASS: Set secondary processor-based controls bit 29: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 30: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 30: vmlaunch fails
PASS: Set secondary processor-based controls bit 30: VMX inst error is 7 (actual 7)
PASS: Clear secondary processor-based controls bit 31: vmlaunch succeeds
PASS: Set secondary processor-based controls bit 31: vmlaunch fails
PASS: Set secondary processor-based controls bit 31: VMX inst error is 7 (actual 7)
PASS: Secondary processor-based controls ignored
Supported CR3 targets: 0
PASS: CR3 target count 0xffffffff: vmlaunch fails
PASS: CR3 target count 0xffffffff: VMX inst error is 7 (actual 7)
PASS: CR3 target count 0x80000000: vmlaunch fails
PASS: CR3 target count 0x80000000: VMX inst error is 7 (actual 7)
PASS: CR3 target count 0x7fffffff: vmlaunch fails
PASS: CR3 target count 0x7fffffff: VMX inst error is 7 (actual 7)
PASS: CR3 target count 0x0: vmlaunch succeeds
PASS: CR3 target count 0x1: vmlaunch fails
PASS: CR3 target count 0x1: VMX inst error is 7 (actual 7)
FAIL: x86/vmx_
STACK: 413800 402071 40401b 4001c7
filter = vmx_controls_test, test = vmx_host_
filter = vmx_controls_test, test = vmx_guest_
filter = vmx_controls_test, test = vmentry_
filter = vmx_controls_test, test = vmentry_
filter = vmx_controls_test, test = vmx_eoi_
filter = vmx_controls_test, test = vmx_hlt_
filter = vmx_controls_test, test = apic_reg_virt_test
filter = vmx_controls_test, test = virt_x2apic_
filter = vmx_controls_test, test = vmx_apic_
filter = vmx_controls_test, test = vmx_apic_
filter = vmx_controls_test, test = vmx_apic_
filter = vmx_controls_test, test = vmx_init_
filter = vmx_controls_test, test = vmx_sipi_
filter = vmx_controls_test, test = vmx_vmcs_
filter = vmx_controls_test, test = vmx_ldtr_test
filter = vmx_controls_test, test = vmx_cr_load_test
filter = vmx_controls_test, test = vmx_cr4_
filter = vmx_controls_test, test = vmx_nm_test
filter = vmx_controls_test, test = vmx_db_test
filter = vmx_controls_test, test = vmx_nmi_window_test
filter = vmx_controls_test, test = vmx_intr_
filter = vmx_controls_test, test = vmx_pending_
filter = vmx_controls_test, test = vmx_pending_
filter = vmx_controls_test, test = vmx_store_tsc_test
filter = vmx_controls_test, test = vmx_preemption_
filter = vmx_controls_test, test = vmx_preemption_
filter = vmx_controls_test, test = vmx_preemption_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = ept_access_
filter = vmx_controls_test, test = atomic_
filter = vmx_controls_test, test = atomic_
filter = vmx_controls_test, test = rdtsc_vmexit_
filter = vmx_controls_test, test = vmx_mtf_test
filter = vmx_controls_test, test = vmx_mtf_pdpte_test
filter = vmx_controls_test, test = vmx_pf_
filter = vmx_controls_test, test = vmx_pf_no_vpid_test
filter = vmx_controls_test, test = vmx_pf_invvpid_test
filter = vmx_controls_test, test = vmx_pf_vpid_test
filter = vmx_controls_test, test = vmx_exception_test
SUMMARY: 338 tests, 1 unexpected failures
FAIL vmx_controls_test (338 tests, 1 unexpected failures)
tags: | added: 5.4 focal |
On Jammy, this is not failing with exotic-skunk, fili, kili, rizzo, rumford, vought, wildcat. But just failing on node onibi with:
FAIL: Enable-EPT enabled; reserved bits [11:7] 0: vmlaunch succeeds
FAIL: Enable-EPT enabled; reserved bits [63:N] 0: vmlaunch succeeds
FAIL vmx_controls_test (3743 tests, 2 unexpected failures, 1 skipped)