pmu-chain-promotion from ubuntu_kvm_unit_tests fails on B/F/H/J arm64

Bug #1934413 reported by Kelsey Steele
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

With kvm-unit-test repo updated to e11a0e2f88 ("s390x: Fix integer literal in skey.c"), there are 6 failures reported in this test on ARM64 now.

1: pmu-chain-promotion: odd counter did not increment on overflow if disabled
2: pmu-chain-promotion: should have triggered an overflow on #0
3: pmu-chain-promotion: CHAIN counter #1 shouldn.t have incremented
4: pmu-chain-promotion: CHAIN counter enabled: CHAIN counter was incremented and overflow
5: pmu-chain-promotion: 32b->64b: CHAIN counter incremented and overflow
6: pmu-chain-promotion: overflow is expected on counter 0

Test log:
 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pmu-chain-promotion'
 BUILD_HEAD=48af4243
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-aarch64 -nodefaults -machine virt,gic-version=host -accel kvm -cpu host -device virtio-serial-device -device virtconsole,chardev=ctd -chardev testdev,id=ctd -device pci-testdev -display none -serial stdio -kernel /tmp/tmp.ifKspueFGs -smp 1 -append pmu-chain-promotion # -initrd /tmp/tmp.Am7YCLpPYx
 INFO: PMU version: 0x1
 INFO: PMU implementer/ID code: 0x50("P")/0
 INFO: Implements 6 event counters
 PASS: pmu: pmu-chain-promotion: chain counter not counting if even counter is disabled
 FAIL: pmu: pmu-chain-promotion: odd counter did not increment on overflow if disabled
 INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 7
 INFO: pmu: pmu-chain-promotion: CHAIN counter #1 has value 1
 INFO: pmu: pmu-chain-promotion: overflow counter 0
 INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xfffffff2
 INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0x9
 FAIL: pmu: pmu-chain-promotion: should have triggered an overflow on #0
 FAIL: pmu: pmu-chain-promotion: CHAIN counter #1 shouldn't have incremented
 INFO: pmu: pmu-chain-promotion: counter #0 = 0xffffffdc, counter #1 = 0x0 overflow=0x0
 INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xfffffff3
 INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xa
 FAIL: pmu: pmu-chain-promotion: CHAIN counter enabled: CHAIN counter was incremented and overflow
 INFO: pmu: pmu-chain-promotion: CHAIN counter #1 = 0x1, overflow=0x0
 INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xfffffff3
 INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xa
 FAIL: pmu: pmu-chain-promotion: 32b->64b: CHAIN counter incremented and overflow
 INFO: pmu: pmu-chain-promotion: CHAIN counter #1 = 0x1, overflow=0x0
 INFO: pmu: pmu-chain-promotion: counter #0=0xfffffff2, counter #1=0x0
 FAIL: pmu: pmu-chain-promotion: overflow is expected on counter 0
 INFO: pmu: pmu-chain-promotion: counter #0=0x9, counter #1=0x127 overflow=0x0
 SUMMARY: 7 tests, 6 unexpected failures
 FAIL pmu-chain-promotion (7 tests, 6 unexpected failures)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Issue found on Hirsute with arm64 node helo 5.11.0-24.25-generic

summary: - pmu-chain-promotion from ubuntu_kvm_unit_tests fails on Focal arm64
+ pmu-chain-promotion from ubuntu_kvm_unit_tests fails on F/H arm64
tags: added: sru-20210719
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: pmu-chain-promotion from ubuntu_kvm_unit_tests fails on B/F/H arm64

Spotted on 4.15.0-157.164 with node appleton-kernel
 FAIL: pmu: pmu-chain-promotion: odd counter did not increment on overflow if disabled
 FAIL: pmu: pmu-chain-promotion: should have triggered an overflow on #0
 FAIL: pmu: pmu-chain-promotion: CHAIN counter enabled: CHAIN counter was incremented and no overflow
 FAIL: pmu: pmu-chain-promotion: 32b->64b: CHAIN counter incremented and no overflow
 FAIL: pmu: pmu-chain-promotion: overflow is expected on counter 0

summary: - pmu-chain-promotion from ubuntu_kvm_unit_tests fails on F/H arm64
+ pmu-chain-promotion from ubuntu_kvm_unit_tests fails on B/F/H arm64
tags: added: sru-20210906
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on F-hwe-5.13.0-28.31~20.04.1 with generic-64k on ARM64 node helo-kernel (passed on another ARM64 node kuzzle. Looks like this is hw-specific.

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

Spotted on node helo with J-nvidia 5.15.0-1006.6
  pmu: pmu-chain-promotion: 32b->64b: CHAIN counter incremented and no overflow
  pmu: pmu-chain-promotion: overflow is expected on counter 0

 SUMMARY: 7 tests, 2 unexpected failures

summary: - pmu-chain-promotion from ubuntu_kvm_unit_tests fails on B/F/H arm64
+ pmu-chain-promotion from ubuntu_kvm_unit_tests fails on B/F/H/J arm64
tags: added: jammy nvidia sru-20220829
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 but the error message is different, I will update the bug description.

description: updated
tags: added: sru-20220919
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

On J-generic, there are just 2 failures on node helo-kernel:
 FAIL: pmu: pmu-chain-promotion: should have triggered an overflow on #0
 FAIL: pmu: pmu-chain-promotion: CHAIN counter #1 shouldn't have incremented
 SUMMARY: 7 tests, 2 unexpected failures

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

With kvm-unit-test repo updated to e11a0e2f88 ("s390x: Fix integer literal in skey.c"), this test is still failing but with more sub-tests. I will update the bug description.

description: updated
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.