lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202410111230.6218f561-oliver.sang@intel.com>
Date: Fri, 11 Oct 2024 12:32:50 +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>, "Kan
 Liang" <kan.liang@...ux.intel.com>, John Garry <john.g.garry@...cle.com>,
	Jing Zhang <renyu.zj@...ux.alibaba.com>, Sandipan Das <sandipan.das@....com>,
	Benjamin Gray <bgray@...ux.ibm.com>, Xu Yang <xu.yang_2@....com>,
	<oliver.sang@...el.com>
Subject: Re: [PATCH v4 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: 1b58625961de2638d2d798db2f87b3ea0f3a53ed ("[PATCH v4 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/20240927-014027
base: https://git.kernel.org/cgit/linux/kernel/git/perf/perf-tools-next.git perf-tools-next
patch link: https://lore.kernel.org/all/20240926173554.404411-13-irogers@google.com/
patch subject: [PATCH v4 12/12] perf jevents: Add load event json to verify and allow fallbacks

in testcase: perf-test
version: perf-test-x86_64-679c985-1_20240823
with following parameters:

	type: lkp
	group: group-00



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/202410111230.6218f561-oliver.sang@intel.com


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20241011/202410111230.6218f561-oliver.sang@intel.com


(more build log is in attached output)


Traceback (most recent call last):
  File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-1b58625961de2638d2d798db2f87b3ea0f3a53ed/tools/perf/pmu-events/amd_metrics.py", line 42, in <module>
    main()
  File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-1b58625961de2638d2d798db2f87b3ea0f3a53ed/tools/perf/pmu-events/amd_metrics.py", line 32, in main
    LoadEvents(directory)
  File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-1b58625961de2638d2d798db2f87b3ea0f3a53ed/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)

...

Traceback (most recent call last):
  File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-1b58625961de2638d2d798db2f87b3ea0f3a53ed/tools/perf/pmu-events/amd_metrics.py", line 42, in <module>
    main()
  File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-1b58625961de2638d2d798db2f87b3ea0f3a53ed/tools/perf/pmu-events/amd_metrics.py", line 32, in main
    LoadEvents(directory)
  File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-1b58625961de2638d2d798db2f87b3ea0f3a53ed/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)

...

Traceback (most recent call last):
  File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-1b58625961de2638d2d798db2f87b3ea0f3a53ed/tools/perf/pmu-events/amd_metrics.py", line 42, in <module>
    main()
  File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-1b58625961de2638d2d798db2f87b3ea0f3a53ed/tools/perf/pmu-events/amd_metrics.py", line 32, in main
    LoadEvents(directory)
  File "/usr/src/perf_selftests-x86_64-rhel-8.3-bpf-1b58625961de2638d2d798db2f87b3ea0f3a53ed/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:49: pmu-events/arch/x86/amdzen3/extra-metrics.json] Error 1
make[3]: *** Deleting file 'pmu-events/arch/x86/amdzen3/extra-metrics.json'
make[2]: *** [Makefile.perf:765: pmu-events/pmu-events-in.o] Error 2
make[2]: *** Waiting for unfinished jobs....


-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


View attachment "output" of type "text/plain" (146430 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ