vmx_cr4_osxsave_test from ubuntu_kvm_unit_tests failed (FAIL: x86/vmx_tests.c:8435: Assertion failed: this_cpu_has((((((unsigned long long) 0x1) << 32) | (0 << 16) | (ECX << 8) | 27))))

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

Bug Description

Issue found on node exotic-skunk, rumford and vought with Bionic 4.15.0-194.205

Test failed with:
  FAIL: x86/vmx_tests.c:8435: Assertion failed: this_cpu_has((((((unsigned long long) 0x1) << 32) | (0 << 16) | (ECX << 8) | 27)))

Test log:
 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_cr4_osxsave_test'
 BUILD_HEAD=63cdb04b
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -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.JSr2BrkOSf -smp 1 -cpu max,+vmx -append vmx_cr4_osxsave_test # -initrd /tmp/tmp.e3Og8TVa01
 enabling apic
 smp: waiting for 0 APs
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 filter = vmx_cr4_osxsave_test, test = test_vmx_feature_control
 filter = vmx_cr4_osxsave_test, test = test_vmxon
 filter = vmx_cr4_osxsave_test, test = test_vmptrld
 filter = vmx_cr4_osxsave_test, test = test_vmclear
 filter = vmx_cr4_osxsave_test, test = test_vmptrst
 filter = vmx_cr4_osxsave_test, test = test_vmwrite_vmread
 filter = vmx_cr4_osxsave_test, test = test_vmcs_high
 filter = vmx_cr4_osxsave_test, test = test_vmcs_lifecycle
 filter = vmx_cr4_osxsave_test, test = test_vmx_caps
 filter = vmx_cr4_osxsave_test, test = test_vmread_flags_touch
 filter = vmx_cr4_osxsave_test, test = test_vmwrite_flags_touch
 filter = vmx_cr4_osxsave_test, test = null
 filter = vmx_cr4_osxsave_test, test = vmenter
 filter = vmx_cr4_osxsave_test, test = preemption timer
 filter = vmx_cr4_osxsave_test, test = control field PAT
 filter = vmx_cr4_osxsave_test, test = control field EFER
 filter = vmx_cr4_osxsave_test, test = CR shadowing
 filter = vmx_cr4_osxsave_test, test = I/O bitmap
 filter = vmx_cr4_osxsave_test, test = instruction intercept
 filter = vmx_cr4_osxsave_test, test = EPT A/D disabled
 filter = vmx_cr4_osxsave_test, test = EPT A/D enabled
 filter = vmx_cr4_osxsave_test, test = PML
 filter = vmx_cr4_osxsave_test, test = interrupt
 filter = vmx_cr4_osxsave_test, test = nmi_hlt
 filter = vmx_cr4_osxsave_test, test = debug controls
 filter = vmx_cr4_osxsave_test, test = MSR switch
 filter = vmx_cr4_osxsave_test, test = vmmcall
 filter = vmx_cr4_osxsave_test, test = disable RDTSCP
 filter = vmx_cr4_osxsave_test, test = int3
 filter = vmx_cr4_osxsave_test, test = into
 filter = vmx_cr4_osxsave_test, test = exit_monitor_from_l2_test
 filter = vmx_cr4_osxsave_test, test = invalid_msr
 filter = vmx_cr4_osxsave_test, test = v2_null_test
 filter = vmx_cr4_osxsave_test, test = v2_multiple_entries_test
 filter = vmx_cr4_osxsave_test, test = fixture_test_case1
 filter = vmx_cr4_osxsave_test, test = fixture_test_case2
 filter = vmx_cr4_osxsave_test, test = invvpid_test
 filter = vmx_cr4_osxsave_test, test = vmx_controls_test
 filter = vmx_cr4_osxsave_test, test = vmx_host_state_area_test
 filter = vmx_cr4_osxsave_test, test = vmx_guest_state_area_test
 filter = vmx_cr4_osxsave_test, test = vmentry_movss_shadow_test
 filter = vmx_cr4_osxsave_test, test = vmentry_unrestricted_guest_test
 filter = vmx_cr4_osxsave_test, test = vmx_eoi_bitmap_ioapic_scan_test
 filter = vmx_cr4_osxsave_test, test = vmx_hlt_with_rvi_test
 filter = vmx_cr4_osxsave_test, test = apic_reg_virt_test
 filter = vmx_cr4_osxsave_test, test = virt_x2apic_mode_test
 filter = vmx_cr4_osxsave_test, test = vmx_apic_passthrough_test
 filter = vmx_cr4_osxsave_test, test = vmx_apic_passthrough_thread_test
 filter = vmx_cr4_osxsave_test, test = vmx_apic_passthrough_tpr_threshold_test
 filter = vmx_cr4_osxsave_test, test = vmx_init_signal_test
 filter = vmx_cr4_osxsave_test, test = vmx_sipi_signal_test
 filter = vmx_cr4_osxsave_test, test = vmx_vmcs_shadow_test
 filter = vmx_cr4_osxsave_test, test = vmx_ldtr_test
 filter = vmx_cr4_osxsave_test, test = vmx_cr_load_test
 filter = vmx_cr4_osxsave_test, test = vmx_cr4_osxsave_test

 Test suite: vmx_cr4_osxsave_test
 FAIL: x86/vmx_tests.c:8435: Assertion failed: this_cpu_has((((((unsigned long long) 0x1) << 32) | (0 << 16) | (ECX << 8) | 27)))
     STACK: 407eff 402071 40401b 4001c7
 filter = vmx_cr4_osxsave_test, test = vmx_nm_test
 filter = vmx_cr4_osxsave_test, test = vmx_db_test
 filter = vmx_cr4_osxsave_test, test = vmx_nmi_window_test
 filter = vmx_cr4_osxsave_test, test = vmx_intr_window_test
 filter = vmx_cr4_osxsave_test, test = vmx_pending_event_test
 filter = vmx_cr4_osxsave_test, test = vmx_pending_event_hlt_test
 filter = vmx_cr4_osxsave_test, test = vmx_store_tsc_test
 filter = vmx_cr4_osxsave_test, test = vmx_preemption_timer_zero_test
 filter = vmx_cr4_osxsave_test, test = vmx_preemption_timer_tf_test
 filter = vmx_cr4_osxsave_test, test = vmx_preemption_timer_expiry_test
 filter = vmx_cr4_osxsave_test, test = ept_access_test_not_present
 filter = vmx_cr4_osxsave_test, test = ept_access_test_read_only
 filter = vmx_cr4_osxsave_test, test = ept_access_test_write_only
 filter = vmx_cr4_osxsave_test, test = ept_access_test_read_write
 filter = vmx_cr4_osxsave_test, test = ept_access_test_execute_only
 filter = vmx_cr4_osxsave_test, test = ept_access_test_read_execute
 filter = vmx_cr4_osxsave_test, test = ept_access_test_write_execute
 filter = vmx_cr4_osxsave_test, test = ept_access_test_read_write_execute
 filter = vmx_cr4_osxsave_test, test = ept_access_test_reserved_bits
 filter = vmx_cr4_osxsave_test, test = ept_access_test_ignored_bits
 filter = vmx_cr4_osxsave_test, test = ept_access_test_paddr_not_present_ad_disabled
 filter = vmx_cr4_osxsave_test, test = ept_access_test_paddr_not_present_ad_enabled
 filter = vmx_cr4_osxsave_test, test = ept_access_test_paddr_read_only_ad_disabled
 filter = vmx_cr4_osxsave_test, test = ept_access_test_paddr_read_only_ad_enabled
 filter = vmx_cr4_osxsave_test, test = ept_access_test_paddr_read_write
 filter = vmx_cr4_osxsave_test, test = ept_access_test_paddr_read_write_execute
 filter = vmx_cr4_osxsave_test, test = ept_access_test_paddr_read_execute_ad_disabled
 filter = vmx_cr4_osxsave_test, test = ept_access_test_paddr_read_execute_ad_enabled
 filter = vmx_cr4_osxsave_test, test = ept_access_test_paddr_not_present_page_fault
 filter = vmx_cr4_osxsave_test, test = ept_access_test_force_2m_page
 filter = vmx_cr4_osxsave_test, test = atomic_switch_max_msrs_test
 filter = vmx_cr4_osxsave_test, test = atomic_switch_overflow_msrs_test
 filter = vmx_cr4_osxsave_test, test = rdtsc_vmexit_diff_test
 filter = vmx_cr4_osxsave_test, test = vmx_mtf_test
 filter = vmx_cr4_osxsave_test, test = vmx_mtf_pdpte_test
 filter = vmx_cr4_osxsave_test, test = vmx_pf_exception_test
 filter = vmx_cr4_osxsave_test, test = vmx_pf_no_vpid_test
 filter = vmx_cr4_osxsave_test, test = vmx_pf_invvpid_test
 filter = vmx_cr4_osxsave_test, test = vmx_pf_vpid_test
 filter = vmx_cr4_osxsave_test, test = vmx_exception_test
 SUMMARY: 5 tests, 1 unexpected failures
 FAIL vmx_cr4_osxsave_test (5 tests, 1 unexpected failures)

Po-Hsu Lin (cypressyew)
description: updated
tags: added: 5.11 oem sru-20210531 ubuntu-kvm-unit-tests
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

5.10.0-1035.36

tags: added: sru-20210621
Po-Hsu Lin (cypressyew)
tags: added: sru-20210719
Po-Hsu Lin (cypressyew)
summary: - vmx_cr4_osxsave_test in vmx from unbutu_kvm_unit_tests failed on
+ vmx_cr4_osxsave_test in vmx from ubuntu_kvm_unit_tests failed on
F-oem-5.10
Revision history for this message
Luke Nowakowski-Krijger (lukenow) wrote : Re: vmx_cr4_osxsave_test in vmx from ubuntu_kvm_unit_tests failed on F-oem-5.10

Observed on bionic/oracle 5.4.0-1054.58~18.04.1, cycle-20210816

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Similar failure with focal/linux-aws (v5.4):

20:58:22 DEBUG| [stdout] Test suite: vmx_cr4_osxsave_test
20:58:22 DEBUG| [stdout] FAIL: x86/vmx_tests.c:8513: Assertion failed: cpuid_osxsave()
20:58:22 DEBUG| [stdout] STACK: 406a81 4020bc 403ea0 400368

tags: added: 5.4 aws focal sru-20211018
Revision history for this message
Zachary Tahenakos (ztahenakos) wrote (last edit ):

Similar failure also found with focal/linux-fips (v5.4) on lagalla:

22:56:07 DEBUG| [stdout] Test suite: vmx_cr4_osxsave_test
22:56:07 DEBUG| [stdout] FAIL: x86/vmx_tests.c:8419: Assertion failed: cpuid_osxsave()
22:56:07 DEBUG| [stdout] STACK: 4082f7 401f0e 403cc4 400384

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

Similar failure also found with focal/linux-fips (v5.4) on amaura:

12:17:14 DEBUG| [stdout] Test suite: vmx_cr4_osxsave_test
12:17:14 DEBUG| [stdout] FAIL: x86/vmx_tests.c:8419: Assertion failed: cpuid_osxsave()
12:17:14 DEBUG| [stdout] STACK: 4082f7 401f0e 403cc4 400384

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 but the error message is different, I will update the bug description.

tags: added: sru-20220919
summary: - vmx_cr4_osxsave_test in vmx from ubuntu_kvm_unit_tests failed on
- F-oem-5.10
+ vmx_cr4_osxsave_test in vmx from ubuntu_kvm_unit_tests failed (FAIL:
+ x86/vmx_tests.c:8435: Assertion failed: this_cpu_has((((((unsigned long
+ long) 0x1) << 32) | (0 << 16) | (ECX << 8) | 27))))
description: updated
Po-Hsu Lin (cypressyew)
summary: - vmx_cr4_osxsave_test in vmx from ubuntu_kvm_unit_tests failed (FAIL:
+ vmx_cr4_osxsave_test from ubuntu_kvm_unit_tests failed (FAIL:
x86/vmx_tests.c:8435: Assertion failed: this_cpu_has((((((unsigned long
long) 0x1) << 32) | (0 << 16) | (ECX << 8) | 27))))
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.