[Bug 1918692] Re: ubuntu-kvm-unit-test: vmx_apic_passthrough_thread reports assertion failure

2021-08-31 Thread Po-Hsu Lin
** Description changed:

  Running the ubuntu_kvm_unit_test/vmx_apic_passthrough_thread subtest on
  rumford shows the following failure:
  
-  Running 
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_apic_passthrough_test'
+ Running 
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_apic_passthrough_thread'
   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
+  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.7oHQKGTED7 -smp 2 -cpu max,+vmx -m 2048 -append 
vmx_apic_passthrough_thread_test # -initrd /tmp/tmp.hx8b0QwJCv
+  enabling apic
   enabling apic
   paging enabled
   cr0 = 80010011
-  cr3 = 1007000
+  cr3 = 107f000
   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
+  filter = vmx_apic_passthrough_thread_test, test = test_vmx_feature_control
+  filter = vmx_apic_passthrough_thread_test, test = test_vmxon
+  filter = vmx_apic_passthrough_thread_test, test = test_vmptrld
+  filter = vmx_apic_passthrough_thread_test, test = test_vmclear
+  filter = vmx_apic_passthrough_thread_test, test = test_vmptrst
+  filter = vmx_apic_passthrough_thread_test, test = test_vmwrite_vmread
+  filter = vmx_apic_passthrough_thread_test, test = test_vmcs_high
+  filter = vmx_apic_passthrough_thread_test, test = test_vmcs_lifecycle
+  filter = vmx_apic_passthrough_thread_test, test = test_vmx_caps
+  filter = vmx_apic_passthrough_thread_test, test = test_vmread_flags_touch
+  filter = vmx_apic_passthrough_thread_test, test = test_vmwrite_flags_touch
+  filter = 

[Bug 1918692] Re: ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion failure

2021-08-31 Thread Po-Hsu Lin
** Description changed:

  Running the ubuntu_kvm_unit_test/vmx_apic_passthrough_thread subtest on
  rumford shows the following failure:
  
- 14.   03/03 06:44:40 DEBUG| utils:0153| [stdout] Test suite: 
vmx_apic_passthrough_thread_test
- 15.   03/03 06:44:40 DEBUG| utils:0153| [stdout] FAIL: x86/vmx_tests.c:7705: 
Assertion failed: (0) == ((int)ioapic_read_redir(0xf).remote_irr)
- 16.   03/03 06:44:40 DEBUG| utils:0153| [stdout] LHS: 00 - 
''''''''''''''' 
- 0
- 17.   03/03 06:44:40 DEBUG| utils:0153| [stdout] RHS: 0x0001 - 
'''''''''''''''0001 
- 1
- 18.   03/03 06:44:40 DEBUG| utils:0153| [stdout] IOAPIC pass-through: 
remote_irr=0 after EOI
- 19.   03/03 06:44:40 DEBUG| utils:0153| [stdout] STACK: 4083de 40841a 40158a 
403a60 400312
- 20.   03/03 06:44:40 DEBUG| utils:0153| [stdout] SUMMARY: 5 tests, 1 
unexpected failures
- 
+  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: 00 - 
''''''''''''''' 
- 0
+  RHS: 0x0001 - 
'''''''''''''''0001 
- 1
+  IOAPIC pass-through: remote_irr=0 after EOI
+  

[Bug 1918692] Re: ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion failure

2021-07-16 Thread Guilherme G. Piccoli
Observed in B/aws-fips (kernel 4.15), cycle sru-20210621.

** Tags added: fips

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1918692

Title:
  ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion
  failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1918692/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1918692] Re: ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion failure

2021-07-15 Thread Guilherme G. Piccoli
Observed in B/oracle (kernel 4.15), cycle sru-20210621.

** Tags added: oracle

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1918692

Title:
  ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion
  failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1918692/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1918692] Re: ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion failure

2021-07-15 Thread Guilherme G. Piccoli
Observed in B/aws (kernel 4.15), cycle sru-20210621.

** Tags added: aws

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1918692

Title:
  ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion
  failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1918692/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1918692] Re: ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion failure

2021-07-12 Thread Sean Feole
** Changed in: ubuntu-kernel-tests
   Status: New => Triaged

** Tags added: hinted

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1918692

Title:
  ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion
  failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1918692/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1918692] Re: ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion failure

2021-07-09 Thread Kleber Sacilotto de Souza
** Tags added: sru-20210621

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Bionic)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1918692

Title:
  ubuntu-kvm-unit-test/vmx_apic_passthrough_thread reports assertion
  failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1918692/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs