2022-05-20 22:47:43

by kernel test robot

[permalink] [raw]
Subject: [perf vendor events] 8f5e6110e1: perf-sanity-tests.Parsing_of_PMU_event_table_metrics_with_fake_PMUs.fail



(please be noted we reported
"[perf vendor events] 3f5f0df7bf: perf-sanity-tests.perf_all_metrics_test.fail"
on:
https://lore.kernel.org/all/20220304083329.GC20556@xsang-OptiPlex-9020/
for:
commit: 3f5f0df7bf0f8c48d33d43454fc0b7d0f3ab9537 ("perf vendor events: Update metrics for Skylake")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

which rasied a lot of discussion at that time.

we noticed there are obvious difference between two commits, failed on
different cases. we just report this out FYI)

Greeting,

FYI, we noticed the following commit (built with gcc-11):

commit: 8f5e6110e108ba69e59aa04c49697b3477710d27 ("perf vendor events: Update metrics for SkyLake Server")
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y

in testcase: perf-sanity-tests
version: perf-x86_64-2fe1020d73ca-1_20220514
with following parameters:

perf_compiler: clang
ucode: 0xec



on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):




If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>



2022-05-20 01:50:38 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-func-8f5e6110e108ba69e59aa04c49697b3477710d27/tools/perf/perf test 10
10: PMU events :
10.1: PMU event table sanity : Ok
10.2: PMU event map aliases : Ok
10.3: Parsing of PMU event table metrics : Skip (some metrics failed)
10.4: Parsing of PMU event table metrics with fake PMUs : FAILED!



To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file

# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.



--
0-DAY CI Kernel Test Service
https://01.org/lkp



Attachments:
(No filename) (2.26 kB)
config-5.15.32-00886-g8f5e6110e108 (165.14 kB)
job-script (5.61 kB)
dmesg.xz (36.95 kB)
perf-sanity-tests (35.55 kB)
job.yaml (4.57 kB)
reproduce (10.23 kB)
Download all attachments