[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202507220727.f2cbbd0a-lkp@intel.com>
Date: Tue, 22 Jul 2025 13:49:46 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Sean Christopherson <seanjc@...gle.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, <linux-kernel@...r.kernel.org>,
Maxim Levitsky <mlevitsk@...hat.com>, <kvm@...r.kernel.org>,
<xudong.hao@...el.com>, <oliver.sang@...el.com>
Subject: [linus:master] [KVM] 7803339fa9:
kernel-selftests.kvm.pmu_counters_test.fail
Hello,
we reported
"[linux-next:master] [KVM] 7803339fa9: kernel-selftests.kvm.pmu_counters_test.fail"
in
https://lore.kernel.org/all/202501141009.30c629b4-lkp@intel.com/
we noticed there are some discussion there about the issue and fix.
this commit is in mainline now, and we captured the same issue again on a
Ice Lake platform. another thing is we found the issue is random. as below,
2 times failure out of 6 runs for 7803339fa9. for parent, all 9 runs pass.
so we make out this report for this commit again FYI.
=========================================================================================
tbox_group/testcase/rootfs/kconfig/compiler/group:
lkp-icl-2sp9/kernel-selftests/debian-12-x86_64-20240206.cgz/x86_64-rhel-9.4-kselftests/gcc-12/kvm
bd7791078ac223f5 7803339fa929387bbc66479532a
---------------- ---------------------------
fail:runs %reproduction fail:runs
| | |
:9 22% 2:6 kernel-selftests.kvm.pmu_counters_test.fail
kernel test robot noticed "kernel-selftests.kvm.pmu_counters_test.fail" on:
commit: 7803339fa929387bbc66479532afbaf8cbebb41b ("KVM: selftests: Use data load to trigger LLC references/misses in Intel PMU")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
[test failed on linus/master 6832a9317eee280117cd695fa885b2b7a7a38daf]
[test failed on linux-next/master d086c886ceb9f59dea6c3a9dae7eb89e780a20c9]
in testcase: kernel-selftests
version: kernel-selftests-x86_64-7ff71e6d9239-1_20250215
with following parameters:
group: kvm
config: x86_64-rhel-9.4-kselftests
compiler: gcc-12
test machine: 64 threads 2 sockets Intel(R) Xeon(R) Gold 6346 CPU @ 3.10GHz (Ice Lake) with 256G memory
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202507220727.f2cbbd0a-lkp@intel.com
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250722/202507220727.f2cbbd0a-lkp@intel.com
# timeout set to 120
# selftests: kvm: pmu_counters_test
# Random seed: 0x6b8b4567
# Testing arch events, PMU version 0, perf_caps = 0
# Testing GP counters, PMU version 0, perf_caps = 0
# Testing fixed counters, PMU version 0, perf_caps = 0
# Testing arch events, PMU version 0, perf_caps = 2000
# Testing GP counters, PMU version 0, perf_caps = 2000
# Testing fixed counters, PMU version 0, perf_caps = 2000
# Testing arch events, PMU version 1, perf_caps = 0
# Testing GP counters, PMU version 1, perf_caps = 0
# Testing fixed counters, PMU version 1, perf_caps = 0
# Testing arch events, PMU version 1, perf_caps = 2000
# Testing GP counters, PMU version 1, perf_caps = 2000
# Testing fixed counters, PMU version 1, perf_caps = 2000
# Testing arch events, PMU version 2, perf_caps = 0
# ==== Test Assertion Failure ====
# x86/pmu_counters_test.c:126: count != 0
# pid=11038 tid=11038 errno=4 - Interrupted system call
# 1 0x0000000000411281: assert_on_unhandled_exception at processor.c:625
# 2 0x00000000004075d4: _vcpu_run at kvm_util.c:1652
# 3 (inlined by) vcpu_run at kvm_util.c:1663
# 4 0x0000000000402c5e: run_vcpu at pmu_counters_test.c:62
# 5 0x0000000000402e4d: test_arch_events at pmu_counters_test.c:315
# 6 0x000000000040283e: test_arch_events at pmu_counters_test.c:599
# 7 (inlined by) test_intel_counters at pmu_counters_test.c:599
# 8 (inlined by) main at pmu_counters_test.c:642
# 9 0x00007fb974a65249: ?? ??:0
# 10 0x00007fb974a65304: ?? ??:0
# 11 0x0000000000402900: _start at ??:?
# 0x0 == 0x0 (count == 0)
not ok 21 selftests: kvm: pmu_counters_test # exit=254
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists