2023-03-08 02:40:40

by kernel test robot

[permalink] [raw]
Subject: [ammarfaizi2-block:acme/linux/perf-tools-next] [perf stat] 94b1a603fc: perf-sanity-tests.Setup_struct_perf_event_attr.fail



Greeting,

FYI, we noticed perf-sanity-tests.Setup_struct_perf_event_attr.fail due to commit (built with gcc-11):

commit: 94b1a603fca78388ef7575411aed4b1fabd843f9 ("perf stat: Add TopdownL1 metric as a default if present")
https://github.com/ammarfaizi2/linux-block acme/linux/perf-tools-next

in testcase: perf-sanity-tests
version: perf-x86_64-2fcd07b7ccd5-1_20230226
with following parameters:

perf_compiler: clang



on test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (Kaby Lake) 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]>
| Link: https://lore.kernel.org/oe-lkp/[email protected]



2023-03-07 20:26:33 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-func-94b1a603fca78388ef7575411aed4b1fabd843f9/tools/perf/perf test 12
12: Setup struct perf_event_attr : 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://github.com/intel/lkp-tests



Attachments:
(No filename) (1.50 kB)
config-6.2.0-rc7-00158-g94b1a603fca7 (165.54 kB)
job-script (5.54 kB)
dmesg.xz (50.74 kB)
perf-sanity-tests (49.62 kB)
job.yaml (4.71 kB)
reproduce (12.31 kB)
Download all attachments