pmu-cycle-counter in ubuntu_kvm_unit_tests failed with on X ARM64 Moonshots

Bug #1943014 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned

Bug Description

Issue found on X 4.4.0-215.247 ARM64 Moonshot

Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pmu-cycle-counter'
 BUILD_HEAD=1593e88a
 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.5zpf3IC76R -smp 1 -append cycle-counter 0 # -initrd /tmp/tmp.Um2z5Nh6O1
 INFO: PMU version: 0x1
 INFO: PMU implementer/ID code: 0(" ")/0
 INFO: Implements 0 event counters
 Load address: 40080000
 PC: 4008c208 PC offset: c208
 Unhandled exception ec=0 (UNKNOWN)
 Vector: 4 (el1h_sync)
 ESR_EL1: 02000000, ec=0 (UNKNOWN)
 FAR_EL1: 1de7ec7edbadc0de (not valid)
 Exception frame registers:
 pc : [<000000004008c208>] lr : [<000000004008c564>] pstate: 600003c5
 sp : 00000000400bff50
 x29: 0000000000000000 x28: 0000000000000000
 x27: 0000000000000000 x26: 00000000400946f0
 x25: 0000000040094780 x24: 0000000000000003
 x23: 0000000000000000 x22: 0000000040094000
 x21: 00000000400947a0 x20: 0000000000000000
 x19: 00000000400946f0 x18: 00000000400bfea8
 x17: 0000000000000000 x16: 0000000000000000
 x15: 00000000000016e0 x14: 0000000000001710
 x13: 000000000000170c x12: 0000000000000020
 x11: 00000000400bf5a0 x10: 0000000000000000
 x9 : 0000000000000060 x8 : 0000000000000039
 x7 : 0000000000000039 x6 : 0000000000000040
 x5 : 000000000000000a x4 : 0000000000000000
 x3 : 0000000000000000 x2 : 0000000000000000
 x1 : 0000000000000000 x0 : 0000000080000000

 FAIL pmu-cycle-counter

This is not a regression, this failure can be found on 4.4.0-214.246 as well.

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 will be skipped on this moonshot system:

 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pmu-cycle-counter'
 BUILD_HEAD=63cdb04b
 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 _NO_FILE_4Uhere_ -smp 1 -append cycle-counter 0 # -initrd /tmp/tmp.c47gJSA51F
 qemu-system-aarch64: -accel: invalid option
 SKIP pmu-cycle-counter (qemu-system-aarch64: -accel: invalid option)
GOOD ubuntu_kvm_unit_tests.pmu-cycle-counter ubuntu_kvm_unit_tests.pmu-cycle-counter timestamp=1665027907 localtime=Oct 06 03:45:07 completed successfully

Changed in ubuntu-kernel-tests:
status: New → Fix Released
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.