pmu in ubuntu_kvm_unit_tests failed on AMD node with B-4.15 and openstack

Bug #2002643 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 with kvm-unit-test repo updated to e11a0e2f88 ("s390x: Fix integer literal in skey.c") upstream. Failing on AMD node riccioli only with B-4.15

Test log:
 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pmu'
 BUILD_HEAD=48af4243
 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.rqFPkzBdcG -smp 1 -cpu max # -initrd /tmp/tmp.6ZGG7ibDiR
 enabling apic
 smp: waiting for 0 APs
 paging enabled
 cr0 = 80010011
 cr3 = 1007000
 cr4 = 20
 PASS: Expected #GP on RDPMC(64)
 PMU version: 0
 GP counters: 4
 GP counter width: 48
 Mask length: 4
 Fixed counters: 0
 Fixed counter width: 0
 FAIL: AMD: core cycles-0
 FAIL: AMD: core cycles-1
 FAIL: AMD: core cycles-2
 FAIL: AMD: core cycles-3
 FAIL: AMD: instructions-0
 FAIL: AMD: instructions-1
 FAIL: AMD: instructions-2
 FAIL: AMD: instructions-3
 FAIL: AMD: branches-0
 FAIL: AMD: branches-1
 FAIL: AMD: branches-2
 FAIL: AMD: branches-3
 PASS: AMD: branch misses-0
 PASS: AMD: branch misses-1
 PASS: AMD: branch misses-2
 PASS: AMD: branch misses-3
 PASS: AMD: rdpmc: cntr-0
 SKIP: AMD: rdpmc: fast-0
 PASS: AMD: rdpmc: cntr-1
 SKIP: AMD: rdpmc: fast-1
 PASS: AMD: rdpmc: cntr-2
 SKIP: AMD: rdpmc: fast-2
 PASS: AMD: rdpmc: cntr-3
 SKIP: AMD: rdpmc: fast-3
 FAIL: AMD: all counters
 x86/pmu.c:294: assert failed: cnt->count > 1
     STACK: 4004dd 400f08 4016ed 4001ad
 FAIL pmu

I think it has something to do with this commit:
https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/commit/b883751a540486067c9d511c0d0afdc69f22792a

Revision history for this message
Cory Todd (corytodd) wrote :

Spotted on focal linux oracle 5.15 on a VM.Standard.E3.Flex-4c.8m on Oracle cloud.

tags: added: 5.15 focal sru-20230227
Revision history for this message
Cory Todd (corytodd) wrote :

To clarify linux oracle 5.15 is flaky and this test can eventually pass.

Revision history for this message
Andrei Gherzan (agherzan) wrote :

Spotted on focal:linux-fips during the 20230320 cycle.

tags: added: sru-20230320
Po-Hsu Lin (cypressyew)
summary: - pmu in ubuntu_kvm_unit_tests failed on AMD node with B-4.15
+ pmu in ubuntu_kvm_unit_tests failed on AMD node with B-4.15 and
+ openstack
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.