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] [thread-next>] [day] [month] [year] [list]
Message-ID: <202209201556.9c0204f5-oliver.sang@intel.com>
Date:   Tue, 20 Sep 2022 15:44:38 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Tiezhu Yang <yangtiezhu@...ngson.cn>
CC:     <lkp@...ts.01.org>, <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>,
        "Mark Rutland" <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...nel.org>,
        "Namhyung Kim" <namhyung@...nel.org>
Subject: [perf bench syscall]  30463f9f35: perf-test.perf.make_fail


Greeting,

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

commit: 30463f9f35e37cbab112e0bbe41ce3b577e7714f ("[PATCH 1/3] perf bench syscall: Introduce bench_syscall_common()")
url: https://github.com/intel-lab-lkp/linux/commits/Tiezhu-Yang/perf-Add-more-syscalls-to-benchmark/20220906-110930
base: https://git.kernel.org/cgit/linux/kernel/git/acme/linux.git perf/core
patch link: https://lore.kernel.org/lkml/1662433577-23266-2-git-send-email-yangtiezhu@loongson.cn

in testcase: perf-test
version: perf-test-x86_64-git-1_20220520
with following parameters:

	type: lkp

test-description: The internal Perf Test suite.


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 <oliver.sang@...el.com>
| Link: https://lore.kernel.org/r/202209201556.9c0204f5-oliver.sang@intel.com


  CC      bench/syscall.o
  CC      arch/common.o
bench/syscall.c: In function ‘bench_syscall_common’:
bench/syscall.c:46:8: error: ‘__NR_getppid’ undeclared (first use in this function); did you mean ‘__getpgid’?
   46 |   case __NR_getppid:
      |        ^~~~~~~~~~~~
      |        __getpgid
bench/syscall.c:46:8: note: each undeclared identifier is reported only once for each function it appears in
bench/syscall.c: In function ‘bench_syscall_basic’:
bench/syscall.c:101:42: error: ‘__NR_getppid’ undeclared (first use in this function); did you mean ‘__getpgid’?
  101 |  return bench_syscall_common(argc, argv, __NR_getppid);
      |                                          ^~~~~~~~~~~~
      |                                          __getpgid
bench/syscall.c:102:1: error: control reaches end of non-void function [-Werror=return-type]
  102 | }
      | ^
cc1: all warnings being treated as errors
make[4]: *** [/usr/src/perf_selftests-x86_64-rhel-8.3-func-30463f9f35e37cbab112e0bbe41ce3b577e7714f/tools/build/Makefile.build:97: bench/syscall.o] Error 1
make[3]: *** [/usr/src/perf_selftests-x86_64-rhel-8.3-func-30463f9f35e37cbab112e0bbe41ce3b577e7714f/tools/build/Makefile.build:139: bench] Error 2
make[3]: *** Waiting for unfinished jobs....

...

  LD      util/perf-in.o
make[2]: *** [Makefile.perf:660: perf-in.o] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile.perf:240: sub-make] Error 2
make: *** [Makefile:70: all] Error 2
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-func-30463f9f35e37cbab112e0bbe41ce3b577e7714f/tools/perf'
failed to setup linux perf



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



View attachment "config-6.0.0-rc3-00037-g30463f9f35e3" of type "text/plain" (167468 bytes)

View attachment "job-script" of type "text/plain" (5576 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (30020 bytes)

View attachment "perf-test" of type "text/plain" (20434 bytes)

View attachment "job.yaml" of type "text/plain" (4503 bytes)

View attachment "reproduce" of type "text/plain" (206 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ