Subject: [lkp-robot] [samples/bpf] a0bad08afa: kernel_selftests.test_tcpbpf_user.fail

From: kernel test robot <[email-masked]>
Date: Tue, 8 May 2018 13:33:23 +0800

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

commit: a0bad08afa7bef3fff4bc27f04c7368aa90dc3d0 ("samples/bpf: Add example of ipv4 and ipv6 forwarding in XDP")
url: https://github.com/0day-ci/linux/commits/David-Ahern/bpf-Add-helper-to-do-FIB-lookups/20180504-042228
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: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):

selftests: test_tcpbpf_user
========================================
libbpf: test_tcpbpf_kern.o doesn't provide kernel version
FAILED: load_bpf_file failed for: test_tcpbpf_kern.o
not ok 1..10 selftests:  test_tcpbpf_user [FAIL]

Thanks,
Xiaolong