2022-05-28 18:57:27

by kernel test robot

[permalink] [raw]
Subject: [selftests net] edae34a3ed: kernel-selftests.net.make_fail



Greeting,

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

commit: edae34a3ed9293b5077dddf9e51a3d86c95dc76a ("selftests net: add UDP GRO fraglist + bpf self-tests")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: kernel-selftests
version: kernel-selftests-x86_64-8d3977ef-1_20220523
with following parameters:

group: net
ucode: 0xec

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: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with 28G 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 <[email protected]>



clang -O2 -target bpf -c bpf/nat6to4.c -I../../bpf -I../../../../../usr/include/ -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-edae34a3ed9293b5077dddf9e51a3d86c95dc76a/tools/testing/selftests/net/bpf/nat6to4.o
bpf/nat6to4.c:43:10: fatal error: 'bpf/bpf_helpers.h' file not found
#include <bpf/bpf_helpers.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [bpf/Makefile:11: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-edae34a3ed9293b5077dddf9e51a3d86c95dc76a/tools/testing/selftests/net/bpf/nat6to4.o] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-edae34a3ed9293b5077dddf9e51a3d86c95dc76a/tools/testing/selftests/net'



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



Attachments:
(No filename) (2.12 kB)
config-5.18.0-rc5-00120-gedae34a3ed92 (169.65 kB)
job-script (7.06 kB)
dmesg.xz (40.65 kB)
kernel-selftests (89.63 kB)
job.yaml (5.93 kB)
reproduce (294.00 B)
Download all attachments