[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202403221000.c4617e93-oliver.sang@intel.com>
Date: Fri, 22 Mar 2024 10:57:41 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Ian Rogers <irogers@...gle.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
<linux-perf-users@...r.kernel.org>, <linux-kernel@...r.kernel.org>, "Peter
Zijlstra" <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>, "Arnaldo
Carvalho de Melo" <acme@...nel.org>, Namhyung Kim <namhyung@...nel.org>, Mark
Rutland <mark.rutland@....com>, Alexander Shishkin
<alexander.shishkin@...ux.intel.com>, Jiri Olsa <jolsa@...nel.org>, "Ian
Rogers" <irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>, "John
Garry" <john.g.garry@...cle.com>, Kan Liang <kan.liang@...ux.intel.com>, Jing
Zhang <renyu.zj@...ux.alibaba.com>, Thomas Richter <tmricht@...ux.ibm.com>,
James Clark <james.clark@....com>, Andi Kleen <ak@...ux.intel.com>, Kajol
Jain <kjain@...ux.ibm.com>, Sandipan Das <sandipan.das@....com>, Ravi
Bangoria <ravi.bangoria@....com>, Perry Taylor <perry.taylor@...el.com>,
Samantha Alt <samantha.alt@...el.com>, "Caleb Biggers"
<caleb.biggers@...el.com>, Weilin Wang <weilin.wang@...el.com>, Edward Baker
<edward.baker@...el.com>, Stephane Eranian <eranian@...gle.com>,
<oliver.sang@...el.com>
Subject: Re: [PATCH v3 12/12] perf jevents: Add load event json to verify and
allow fallbacks
Hello,
kernel test robot noticed "perf-test.perf.make.fail" on:
commit: d3ed44a7bee70b097709fe06f339c468489f16c9 ("[PATCH v3 12/12] perf jevents: Add load event json to verify and allow fallbacks")
url: https://github.com/intel-lab-lkp/linux/commits/Ian-Rogers/perf-jevents-Allow-multiple-metricgroups-json-files/20240314-135507
base: v6.8
patch link: https://lore.kernel.org/all/20240314055051.1960527-13-irogers@google.com/
patch subject: [PATCH v3 12/12] perf jevents: Add load event json to verify and allow fallbacks
in testcase: perf-test
version: perf-test-x86_64-git-1_20240223
with following parameters:
type: lkp
group: group-01
compiler: gcc-12
test machine: 224 threads 2 sockets Intel(R) Xeon(R) Platinum 8480+ (Sapphire Rapids) 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/202403221000.c4617e93-oliver.sang@intel.com
please check attached stderr, more materials are in link [1]
Traceback (most recent call last):
File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-d3ed44a7bee70b097709fe06f339c468489f16c9/tools/perf/pmu-events/amd_metrics.py", line 42, in <module>
main()
File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-d3ed44a7bee70b097709fe06f339c468489f16c9/tools/perf/pmu-events/amd_metrics.py", line 32, in main
LoadEvents(directory)
File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-d3ed44a7bee70b097709fe06f339c468489f16c9/tools/perf/pmu-events/metric.py", line 26, in LoadEvents
for x in json.load(open(f"{directory}/{filename}")):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
make[3]: *** [pmu-events/Build:45: pmu-events/arch/x86/amdzen1/extra-metrics.json] Error 1
make[3]: *** Deleting file 'pmu-events/arch/x86/amdzen1/extra-metrics.json'
make[3]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-d3ed44a7bee70b097709fe06f339c468489f16c9/tools/perf/pmu-events/amd_metrics.py", line 42, in <module>
main()
File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-d3ed44a7bee70b097709fe06f339c468489f16c9/tools/perf/pmu-events/amd_metrics.py", line 32, in main
LoadEvents(directory)
File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-d3ed44a7bee70b097709fe06f339c468489f16c9/tools/perf/pmu-events/metric.py", line 26, in LoadEvents
for x in json.load(open(f"{directory}/{filename}")):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
make[3]: *** [pmu-events/Build:45: pmu-events/arch/x86/amdzen2/extra-metrics.json] Error 1
make[3]: *** Deleting file 'pmu-events/arch/x86/amdzen2/extra-metrics.json'
make[2]: *** [Makefile.perf:706: pmu-events/pmu-events-in.o] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile.perf:261: sub-make] Error 2
make: *** [Makefile:70: all] Error 2
[1]
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240322/202403221000.c4617e93-oliver.sang@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
View attachment "stderr" of type "text/plain" (102437 bytes)
Powered by blists - more mailing lists