ubuntu-kvm-unit-test: vmx_apic_passthrough_test reports assertion failure

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

Like bug 1918692 (vmx_apic_passthrough_thread) this test failed with identical error:

 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_apic_passthrough_test'
 BUILD_HEAD=32db322d
 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.8zX2XSFM96 -smp 1 -cpu max,+vmx -append vmx_apic_passthrough_test # -initrd /tmp/tmp.tJmeSbCtec
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 filter = vmx_apic_passthrough_test, test = test_vmx_feature_control
 filter = vmx_apic_passthrough_test, test = test_vmxon
 filter = vmx_apic_passthrough_test, test = test_vmptrld
 filter = vmx_apic_passthrough_test, test = test_vmclear
 filter = vmx_apic_passthrough_test, test = test_vmptrst
 filter = vmx_apic_passthrough_test, test = test_vmwrite_vmread
 filter = vmx_apic_passthrough_test, test = test_vmcs_high
 filter = vmx_apic_passthrough_test, test = test_vmcs_lifecycle
 filter = vmx_apic_passthrough_test, test = test_vmx_caps
 filter = vmx_apic_passthrough_test, test = test_vmread_flags_touch
 filter = vmx_apic_passthrough_test, test = test_vmwrite_flags_touch
 filter = vmx_apic_passthrough_test, test = null
 filter = vmx_apic_passthrough_test, test = vmenter
 filter = vmx_apic_passthrough_test, test = preemption timer
 filter = vmx_apic_passthrough_test, test = control field PAT
 filter = vmx_apic_passthrough_test, test = control field EFER
 filter = vmx_apic_passthrough_test, test = CR shadowing
 filter = vmx_apic_passthrough_test, test = I/O bitmap
 filter = vmx_apic_passthrough_test, test = instruction intercept
 filter = vmx_apic_passthrough_test, test = EPT A/D disabled
 filter = vmx_apic_passthrough_test, test = EPT A/D enabled
 filter = vmx_apic_passthrough_test, test = PML
 filter = vmx_apic_passthrough_test, test = VPID
 filter = vmx_apic_passthrough_test, test = interrupt
 filter = vmx_apic_passthrough_test, test = nmi_hlt
 filter = vmx_apic_passthrough_test, test = debug controls
 filter = vmx_apic_passthrough_test, test = MSR switch
 filter = vmx_apic_passthrough_test, test = vmmcall
 filter = vmx_apic_passthrough_test, test = disable RDTSCP
 filter = vmx_apic_passthrough_test, test = int3
 filter = vmx_apic_passthrough_test, test = into
 filter = vmx_apic_passthrough_test, test = exit_monitor_from_l2_test
 filter = vmx_apic_passthrough_test, test = invalid_msr
 filter = vmx_apic_passthrough_test, test = v2_null_test
 filter = vmx_apic_passthrough_test, test = v2_multiple_entries_test
 filter = vmx_apic_passthrough_test, test = fixture_test_case1
 filter = vmx_apic_passthrough_test, test = fixture_test_case2
 filter = vmx_apic_passthrough_test, test = invvpid_test_v2
 filter = vmx_apic_passthrough_test, test = vmx_controls_test
 filter = vmx_apic_passthrough_test, test = vmx_host_state_area_test
 filter = vmx_apic_passthrough_test, test = vmx_guest_state_area_test
 filter = vmx_apic_passthrough_test, test = vmentry_movss_shadow_test
 filter = vmx_apic_passthrough_test, test = vmentry_unrestricted_guest_test
 filter = vmx_apic_passthrough_test, test = vmx_eoi_bitmap_ioapic_scan_test
 filter = vmx_apic_passthrough_test, test = vmx_hlt_with_rvi_test
 filter = vmx_apic_passthrough_test, test = apic_reg_virt_test
 filter = vmx_apic_passthrough_test, test = virt_x2apic_mode_test
 filter = vmx_apic_passthrough_test, test = vmx_apic_passthrough_test

 Test suite: vmx_apic_passthrough_test
 FAIL: x86/vmx_tests.c:9714: Assertion failed: (0) == ((int)ioapic_read_redir(0xf).remote_irr)
     LHS: 000000000000000000 - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 - 0
     RHS: 0x0000000000000001 - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0001 - 1
 IOAPIC pass-through: remote_irr=0 after EOI
     STACK: 40c5ad 40c5d5 402062 403ed7 400368
 filter = vmx_apic_passthrough_test, test = vmx_apic_passthrough_thread_test
 filter = vmx_apic_passthrough_test, test = vmx_apic_passthrough_tpr_threshold_test
 filter = vmx_apic_passthrough_test, test = vmx_init_signal_test
 filter = vmx_apic_passthrough_test, test = vmx_sipi_signal_test
 filter = vmx_apic_passthrough_test, test = vmx_vmcs_shadow_test
 filter = vmx_apic_passthrough_test, test = vmx_cr_load_test
 filter = vmx_apic_passthrough_test, test = vmx_cr4_osxsave_test
 filter = vmx_apic_passthrough_test, test = vmx_nm_test
 filter = vmx_apic_passthrough_test, test = vmx_db_test
 filter = vmx_apic_passthrough_test, test = vmx_nmi_window_test
 filter = vmx_apic_passthrough_test, test = vmx_intr_window_test
 filter = vmx_apic_passthrough_test, test = vmx_pending_event_test
 filter = vmx_apic_passthrough_test, test = vmx_pending_event_hlt_test
 filter = vmx_apic_passthrough_test, test = vmx_store_tsc_test
 filter = vmx_apic_passthrough_test, test = vmx_preemption_timer_zero_test
 filter = vmx_apic_passthrough_test, test = vmx_preemption_timer_tf_test
 filter = vmx_apic_passthrough_test, test = vmx_preemption_timer_expiry_test
 filter = vmx_apic_passthrough_test, test = ept_access_test_not_present
 filter = vmx_apic_passthrough_test, test = ept_access_test_read_only
 filter = vmx_apic_passthrough_test, test = ept_access_test_write_only
 filter = vmx_apic_passthrough_test, test = ept_access_test_read_write
 filter = vmx_apic_passthrough_test, test = ept_access_test_execute_only
 filter = vmx_apic_passthrough_test, test = ept_access_test_read_execute
 filter = vmx_apic_passthrough_test, test = ept_access_test_write_execute
 filter = vmx_apic_passthrough_test, test = ept_access_test_read_write_execute
 filter = vmx_apic_passthrough_test, test = ept_access_test_reserved_bits
 filter = vmx_apic_passthrough_test, test = ept_access_test_ignored_bits
 filter = vmx_apic_passthrough_test, test = ept_access_test_paddr_not_present_ad_disabled
 filter = vmx_apic_passthrough_test, test = ept_access_test_paddr_not_present_ad_enabled
 filter = vmx_apic_passthrough_test, test = ept_access_test_paddr_read_only_ad_disabled
 filter = vmx_apic_passthrough_test, test = ept_access_test_paddr_read_only_ad_enabled
 filter = vmx_apic_passthrough_test, test = ept_access_test_paddr_read_write
 filter = vmx_apic_passthrough_test, test = ept_access_test_paddr_read_write_execute
 filter = vmx_apic_passthrough_test, test = ept_access_test_paddr_read_execute_ad_disabled
 filter = vmx_apic_passthrough_test, test = ept_access_test_paddr_read_execute_ad_enabled
 filter = vmx_apic_passthrough_test, test = ept_access_test_paddr_not_present_page_fault
 filter = vmx_apic_passthrough_test, test = ept_access_test_force_2m_page
 filter = vmx_apic_passthrough_test, test = atomic_switch_max_msrs_test
 filter = vmx_apic_passthrough_test, test = atomic_switch_overflow_msrs_test
 filter = vmx_apic_passthrough_test, test = rdtsc_vmexit_diff_test
 filter = vmx_apic_passthrough_test, test = vmx_mtf_test
 filter = vmx_apic_passthrough_test, test = vmx_mtf_pdpte_test
 SUMMARY: 9 tests, 1 unexpected failures
 FAIL vmx_apic_passthrough_test (9 tests, 1 unexpected failures)
This sounds like some hardware related setup issue.

Po-Hsu Lin (cypressyew)
tags: added: 4.15 bionic sru-20210816 ubuntu-kvm-unit-tests
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
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.