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
| ||
|
Date: Thu, 6 Jun 2019 11:24:06 +0800 From: kernel test robot <rong.a.chen@...el.com> To: Andrii Nakryiko <andriin@...com> Cc: andrii.nakryiko@...il.com, netdev@...r.kernel.org, bpf@...r.kernel.org, ast@...com, daniel@...earbox.net, kernel-team@...com, Andrii Nakryiko <andriin@...com>, lkp@...org Subject: [selftests/bpf] 84da156938: kernel_selftests.bpf.test_maps.fail FYI, we noticed the following commit (built with gcc-7): commit: 84da156938373b0f072b4a1394f199949631a081 ("[RFC PATCH bpf-next 8/8] selftests/bpf: switch tests to BTF-defined map definitions") url: https://github.com/0day-ci/linux/commits/Andrii-Nakryiko/BTF-defined-BPF-map-definitions/20190602-062423 base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf-next.git master in testcase: kernel_selftests with following parameters: group: kselftests-00 test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel. test-url: https://www.kernel.org/doc/Documentation/kselftest.txt on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 4G 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 <rong.a.chen@...el.com> ok 1 selftests: bpf: test_verifier # selftests: bpf: test_tag # test_tag: OK (40945 tests) ok 2 selftests: bpf: test_tag # selftests: bpf: test_maps # libbpf: BTF is required, but is missing or corrupted. # Failed to load SK_SKB verdict prog not ok 3 selftests: bpf: test_maps # selftests: bpf: test_lru_map # nr_cpus:2 # # test_lru_sanity0 (map_type:9 map_flags:0x0): Pass # test_lru_sanity1 (map_type:9 map_flags:0x0): Pass # test_lru_sanity2 (map_type:9 map_flags:0x0): Pass # test_lru_sanity3 (map_type:9 map_flags:0x0): Pass # test_lru_sanity4 (map_type:9 map_flags:0x0): Pass # test_lru_sanity5 (map_type:9 map_flags:0x0): Pass # test_lru_sanity7 (map_type:9 map_flags:0x0): Pass # test_lru_sanity8 (map_type:9 map_flags:0x0): Pass # # test_lru_sanity0 (map_type:10 map_flags:0x0): Pass # test_lru_sanity1 (map_type:10 map_flags:0x0): Pass # test_lru_sanity2 (map_type:10 map_flags:0x0): Pass # test_lru_sanity3 (map_type:10 map_flags:0x0): Pass # test_lru_sanity4 (map_type:10 map_flags:0x0): Pass # test_lru_sanity5 (map_type:10 map_flags:0x0): Pass # test_lru_sanity7 (map_type:10 map_flags:0x0): Pass # test_lru_sanity8 (map_type:10 map_flags:0x0): Pass # # test_lru_sanity0 (map_type:9 map_flags:0x2): Pass # test_lru_sanity4 (map_type:9 map_flags:0x2): Pass # test_lru_sanity6 (map_type:9 map_flags:0x2): Pass # test_lru_sanity7 (map_type:9 map_flags:0x2): Pass # test_lru_sanity8 (map_type:9 map_flags:0x2): Pass # # test_lru_sanity0 (map_type:10 map_flags:0x2): Pass # test_lru_sanity4 (map_type:10 map_flags:0x2): Pass # test_lru_sanity6 (map_type:10 map_flags:0x2): Pass # test_lru_sanity7 (map_type:10 map_flags:0x2): Pass # test_lru_sanity8 (map_type:10 map_flags:0x2): Pass # ok 4 selftests: bpf: test_lru_map # selftests: bpf: test_lpm_map # test_lpm: OK ok 5 selftests: bpf: test_lpm_map # selftests: bpf: test_progs To reproduce: # build kernel cd linux cp config-5.2.0-rc2-00579-g84da156 .config make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email Thanks, Rong Chen View attachment "config-5.2.0-rc2-00579-g84da156" of type "text/plain" (196447 bytes) View attachment "job-script" of type "text/plain" (6651 bytes) Download attachment "dmesg.xz" of type "application/x-xz" (31772 bytes) View attachment "kernel_selftests" of type "text/plain" (286654 bytes)
Powered by blists - more mailing lists