Re: [linux-next:master] [perf vendor events intel] 9d9675bb41: perf-sanity-tests.perf_all_metricgroups_test.fail

From: Ian Rogers
Date: Sun Apr 23 2023 - 09:50:37 EST


On Sat, Apr 22, 2023 at 11:54 PM kernel test robot
<oliver.sang@xxxxxxxxx> wrote:
>
>
>
> Hello,
>
> kernel test robot noticed "perf-sanity-tests.perf_all_metricgroups_test.fail" on:
>
> commit: 9d9675bb411b08bc6c5bb2f399ee497f5880b551 ("perf vendor events intel: Refresh skylake events")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
>
> [test failed on linux-next/master 44bf136283e567b2b62653be7630e7511da41da2]
>
> (we reported [ammarfaizi2-block:acme/linux/perf-tools-next] [perf vendor events intel] 9d9675bb41: perf-sanity-tests.perf_all_metricgroups_test.fail
> on https://lore.kernel.org/all/202303080946.e5743bf5-oliver.sang@xxxxxxxxx/
> when this commit is on https://github.com/ammarfaizi2/linux-block acme/linux/perf-tools-next
> since now it's on linux-next/master and we still observed same issue, report
> again FYI)
>
> in testcase: perf-sanity-tests
> version: perf-x86_64-00c7b5f4ddc5-1_20230402
> with following parameters:
>
> perf_compiler: gcc
>
>
>
> compiler: gcc-11
> test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (Kaby Lake) with 32G memory
>
> (please refer to attached dmesg/kmsg for entire log/backtrace)
>
>
>
>
> If you fix the issue, kindly add following tag
> | Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
> | Link: https://lore.kernel.org/oe-lkp/202304231436.60a4979b-oliver.sang@xxxxxxxxx
>
>
>
> 2023-04-21 05:44:17 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-func-9d9675bb411b08bc6c5bb2f399ee497f5880b551/tools/perf/perf test 101
> 101: perf all metricgroups test : FAILED!
>

I wasn't able to reproduce this in perf-tools-next with -fsanitize=address:

102: perf all metricgroups test : Ok

The blame on this also looks questionable as Skylake events aren't
applicable on Kabylake.

Thanks,
Ian

>
> 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
>
>