ioapic from ubuntu_kvm_unit_tests flaky on some instances with Unhandled cpu exception 14 #PF at ip ffffffffffff0008

Bug #2009605 reported by Andrei Gherzan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

This was seen in two different cycles and instances:

SRU Cycle: 2023.01.30
Series: focal
Package: linux-azure
Version: 5.4.0-1104.110
Cloud: azure
Instance: Standard_D4_v4
Region: westeurope
Operation: sru

SRU Cycle: 2023.02.27
Series: xenial
Package: linux-hwe
Version: 4.15.0-207.218~16.04.1
Cloud: metal
Instance: rizzo
Region: kernel
Operation: sru

Logs:

Unhandled cpu exception 14 #PF at ip ffffffffffff0008
PF at 0xffffffffffff0008 addr 0xffffffffffff0008
error_code=0000 rflags=00010006 cs=00000008
rax=0000000000000014 rcx=00000000000003fd rdx=00000000000003f8 rbx=0000000000000010
rbp=000000000050f898 rsi=000000000050f074 rdi=000000000000000a
r8=000000000050f074 r9=00000000000003f8 r10=000000000000000d r11=0000000000000000
r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
cr0=00000000e0000011 cr2=ffffffffffff0008 cr3=000000000040d000 cr4=0000000000000020
cr8=0000000000000000
STACK: @ffffffffffff0008 404b7f 2
FAIL ioapic

Sean Feole (sfeole)
tags: added: azure
tags: added: 4.15 5.4 focal metal xenial
tags: added: sru-20230130
removed: 4.15 5.4 azure focal metal xenial
tags: added: 4.15 5.4 azure focal metal xenial
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on X-4.4.0-255.289 with node bavor.

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

Found flaky with Oracle VM.DenseIO2.8 With B-oracle-5.4.0-1127.136~18.04.1, passed after retest

 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/ioapic'
 BUILD_HEAD=b04954c9
 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.pWgCVWL78F -smp 4 -cpu qemu64,+x2apic # -initrd /tmp/tmp.2x7KEOgRZP
 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
 enabling apic
 smp: waiting for 3 APs
 enabling apic
 enabling apic
 setup: CPU 2 online
 setup: CPU 3 online
 enabling apic
 setup: CPU 1 online
 paging enabled
 cr0 = 80010011
 cr3 = 7ede000
 cr4 = 20
 x2apic enabled
 PASS: version register read only test
 PASS: id register only bits [24:27] writable
 PASS: arbitration register set by id
 PASS: arbtration register read only
 PASS: edge triggered intr
 PASS: level triggered intr
 PASS: ioapic simultaneous edge interrupts
 PASS: coalesce simultaneous level interrupts
 PASS: sequential level interrupts
 PASS: retriggered level interrupts without masking
 PASS: masked level interrupt
 PASS: unmasked level interrupt
 PASS: masked level interrupt
 PASS: unmasked level interrupt
 PASS: retriggered level interrupts with mask
 PASS: TMR for ioapic edge interrupts (expected false)
 PASS: TMR for ioapic level interrupts (expected false)
 PASS: TMR for ioapic level interrupts (expected true)
 PASS: TMR for ioapic edge interrupts (expected true)
 PASS: ioapic physical destination mode
 Unhandled exception 14 #PF at ip ffffffffffff0008
 PF at 0xffffffffffff0008 addr 0xffffffffffff0008
 error_code=0000 rflags=00010006 cs=00000008
 rax=0000000000000014 rcx=00000000000003fd rdx=00000000000003f8 rbx=0000000000000010
 rbp=000000000050fa58 rsi=000000000050f234 rdi=000000000050f234
  r8=000000000000000a r9=00000000000003f8 r10=000000000000000d r11=0000000000000000
 r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
 cr0=00000000e0000011 cr2=ffffffffffff0008 cr3=000000000040d000 cr4=0000000000000020
 cr8=0000000000000000
  STACK: @ffffffffffff0008 404e7f 2
 FAIL ioapic

summary: - ubuntu_kvm_unit_tests fails on ioapic for xenial:linux-hwe
+ ioapic from ubuntu_kvm_unit_tests flaky on some instances with Unhandled
+ cpu exception 14 #PF at ip ffffffffffff0008
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found flaky on Azure Standard_D4s_v3-gen2 with J-azure-fips-5.15.0-1068.77+fips1, passed after retest.

 Running '/home/azure/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/ioapic'
 BUILD_HEAD=b04954c9
 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.xaREV4nUjp -smp 4 -cpu qemu64,+x2apic # -initrd /tmp/tmp.8ryFtv4GvK
 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
 qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
 enabling apic
 smp: waiting for 3 APs
 enabling apic
 enabling apic
 setup: CPU 2 online
 setup: CPU 1 online
 enabling apic
 setup: CPU 3 online
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 x2apic enabled
 PASS: version register read only test
 PASS: id register only bits [24:27] writable
 PASS: arbitration register set by id
 PASS: arbtration register read only
 PASS: edge triggered intr
 PASS: level triggered intr
 PASS: ioapic simultaneous edge interrupts
 PASS: coalesce simultaneous level interrupts
 PASS: sequential level interrupts
 PASS: retriggered level interrupts without masking
 PASS: masked level interrupt
 PASS: unmasked level interrupt
 PASS: masked level interrupt
 PASS: unmasked level interrupt
 PASS: retriggered level interrupts with mask
 PASS: TMR for ioapic edge interrupts (expected false)
 PASS: TMR for ioapic level interrupts (expected false)
 PASS: TMR for ioapic level interrupts (expected true)
 PASS: TMR for ioapic edge interrupts (expected true)
 Unhandled exception 14 #PF at ip ffffffffffff1008
 PF at 0xffffffffffff1008 addr 0xffffffffffff1008
 error_code=0000 rflags=00010006 cs=00000008
 rax=0000000000000014 rcx=00000000000003fd rdx=00000000000003f8 rbx=0000000000000010
 rbp=0000000000510738 rsi=000000000050ff14 rdi=000000000000000a
  r8=000000000050ff14 r9=00000000000003f8 r10=000000000000000d r11=0000000000000000
 r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
 cr0=0000000080000011 cr2=ffffffffffff1008 cr3=000000000040d000 cr4=0000000000000020
 cr8=0000000000000000
  STACK: @ffffffffffff1008 404d27 2
 FAIL ioapic

Revision history for this message
Thibf (thibf) wrote :

Found on noble intel 6.8.0-1007

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.