pmu in ubuntu_kvm_unit_tests failed on K-oracle

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

Open a new bug as it's failing differently than bug 1853797

Issue found on K-oracle-5.19.0-1008.8, with instance VM.DenseIO2.8 and VM.Standard2.1 only

One sub test failed with "FAIL: all counters", and terminates with "Unhandled exception 13 #GP at ip 00000000004014b2" eventually. (Otherwise we should see a statistic in the end)

Test log:
Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pmu'
 BUILD_HEAD=d6421940
 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.LTG8ocvzKB -smp 1 -cpu max # -initrd /tmp/tmp.OziYPxAsvW
 enabling apic
 smp: waiting for 0 APs
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 PMU version: 2
 GP counters: 4
 GP counter width: 48
 Mask length: 7
 Fixed counters: 3
 Fixed counter width: 48
 PASS: core cycles-0
 PASS: core cycles-1
 PASS: core cycles-2
 PASS: core cycles-3
 PASS: instructions-0
 PASS: instructions-1
 PASS: instructions-2
 PASS: instructions-3
 PASS: ref cycles-0
 PASS: ref cycles-1
 PASS: ref cycles-2
 PASS: ref cycles-3
 PASS: llc references-0
 PASS: llc references-1
 PASS: llc references-2
 PASS: llc references-3
 PASS: llc misses-0
 PASS: llc misses-1
 PASS: llc misses-2
 PASS: llc misses-3
 PASS: branches-0
 PASS: branches-1
 PASS: branches-2
 PASS: branches-3
 PASS: branch misses-0
 PASS: branch misses-1
 PASS: branch misses-2
 PASS: branch misses-3
 PASS: fixed-0
 PASS: fixed-1
 PASS: fixed-2
 PASS: rdpmc: cntr-0
 PASS: rdpmc: fast-0
 PASS: rdpmc: cntr-1
 PASS: rdpmc: fast-1
 PASS: rdpmc: cntr-2
 PASS: rdpmc: fast-2
 PASS: rdpmc: cntr-3
 PASS: rdpmc: fast-3
 PASS: rdpmc: fixed cntr-0
 PASS: rdpmc: fixed fast-0
 PASS: rdpmc: fixed cntr-1
 PASS: rdpmc: fixed fast-1
 PASS: rdpmc: fixed cntr-2
 PASS: rdpmc: fixed fast-2
 FAIL: all counters
 PASS: overflow: cntr-0
 PASS: overflow: status-0
 PASS: overflow: status clear-0
 PASS: overflow: irq-0
 PASS: overflow: cntr-1
 PASS: overflow: status-1
 PASS: overflow: status clear-1
 PASS: overflow: irq-1
 PASS: overflow: cntr-2
 PASS: overflow: status-2
 PASS: overflow: status clear-2
 PASS: overflow: irq-2
 PASS: overflow: cntr-3
 PASS: overflow: status-3
 PASS: overflow: status clear-3
 PASS: overflow: irq-3
 PASS: overflow: cntr-4
 PASS: overflow: status-4
 PASS: overflow: status clear-4
 PASS: overflow: irq-4
 PASS: cmask
 PASS: running counter wrmsr: cntr
 PASS: running counter wrmsr: status
 Unhandled exception 13 #GP at ip 00000000004014b2
 error_code=0000 rflags=00010002 cs=00000008
 rax=0000000000514375 rcx=0000000000000345 rdx=0000000000514360 rbx=0000000015dd7834
 rbp=00000000005135a0 rsi=0000000000411b52 rdi=0000000000514375
  r8=0000000000000020 r9=00000000000003f8 r10=000000000000000d r11=000000000000000a
 r12=000000001901a6a0 r13=00000000e34ff472 r14=0000000000000000 r15=0000000000000000
 cr0=0000000080010011 cr2=0000000000000000 cr3=0000000001007000 cr4=0000000000000020
 cr8=0000000000000000
  STACK: @4014b2 400227
 FAIL pmu

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.