[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190304084847.GC25100@shao2-debian>
Date: Mon, 4 Mar 2019 16:48:48 +0800
From: kernel test robot <rong.a.chen@...el.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: ast@...com, bpf@...r.kernel.org, netdev@...r.kernel.org,
joe@...d.net.nz, john.fastabend@...il.com, tgraf@...g.ch,
yhs@...com, andriin@...com, jakub.kicinski@...ronome.com,
lmb@...udflare.com, Daniel Borkmann <daniel@...earbox.net>,
lkp@...org
Subject: [LKP] [bpf, selftest] 4beb1a5f45: kernel_selftests.bpf.make_fail
FYI, we noticed the following commit (built with gcc-8):
commit: 4beb1a5f45dc210b1dcccadaf77cfdd454b4b170 ("[PATCH bpf-next v2 6/7] bpf, selftest: test global data/bss/rodata sections")
url: https://github.com/0day-ci/linux/commits/Daniel-Borkmann/BPF-support-for-global-data/20190301-112203
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):
KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170
2019-03-03 04:11:07 ln -sf /usr/bin/clang-7 /usr/bin/clang
2019-03-03 04:11:07 ln -sf /usr/bin/llc-7 /usr/bin/llc
2019-03-03 04:11:07 make run_tests -C android
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/android'
make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/android/ion'
gcc -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -g ionapp_export.c ipcsocket.c ionutils.c -o ionapp_export
gcc -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -g ionapp_import.c ipcsocket.c ionutils.c -o ionapp_import
gcc -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -g ionmap_test.c ipcsocket.c ionutils.c -o ionmap_test
make ARCH=x86 -C ../../../../.. headers_install
make[2]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170'
HOSTCC scripts/basic/fixdep
WRAP arch/x86/include/generated/uapi/asm/socket.h
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/poll.h
SYSTBL arch/x86/include/generated/asm/syscalls_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
UPD include/generated/uapi/linux/version.h
HOSTCC scripts/unifdef
INSTALL usr/include/asm-generic/ (36 files)
INSTALL usr/include/drm/ (26 files)
INSTALL usr/include/linux/ (505 files)
INSTALL usr/include/linux/android/ (2 files)
INSTALL usr/include/linux/byteorder/ (2 files)
INSTALL usr/include/linux/caif/ (2 files)
INSTALL usr/include/linux/can/ (6 files)
INSTALL usr/include/linux/cifs/ (1 file)
INSTALL usr/include/linux/dvb/ (8 files)
INSTALL usr/include/linux/genwqe/ (1 file)
INSTALL usr/include/linux/hdlc/ (1 file)
INSTALL usr/include/linux/hsi/ (2 files)
INSTALL usr/include/linux/iio/ (2 files)
INSTALL usr/include/linux/isdn/ (1 file)
INSTALL usr/include/linux/mmc/ (1 file)
INSTALL usr/include/linux/netfilter/ (88 files)
INSTALL usr/include/linux/netfilter/ipset/ (4 files)
INSTALL usr/include/linux/netfilter_arp/ (2 files)
INSTALL usr/include/linux/netfilter_bridge/ (17 files)
INSTALL usr/include/linux/netfilter_ipv4/ (9 files)
INSTALL usr/include/linux/netfilter_ipv6/ (13 files)
INSTALL usr/include/linux/nfsd/ (5 files)
INSTALL usr/include/linux/raid/ (2 files)
INSTALL usr/include/linux/sched/ (1 file)
INSTALL usr/include/linux/spi/ (1 file)
INSTALL usr/include/linux/sunrpc/ (1 file)
INSTALL usr/include/linux/tc_act/ (15 files)
INSTALL usr/include/linux/tc_ematch/ (5 files)
INSTALL usr/include/linux/usb/ (13 files)
INSTALL usr/include/linux/wimax/ (1 file)
INSTALL usr/include/misc/ (2 files)
INSTALL usr/include/mtd/ (5 files)
INSTALL usr/include/rdma/ (25 files)
INSTALL usr/include/rdma/hfi/ (2 files)
INSTALL usr/include/scsi/ (5 files)
INSTALL usr/include/scsi/fc/ (4 files)
INSTALL usr/include/sound/ (16 files)
INSTALL usr/include/video/ (3 files)
INSTALL usr/include/xen/ (4 files)
INSTALL usr/include/asm/ (62 files)
make[2]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170'
make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/android/ion'
TAP version 13
selftests: android: run.sh
========================================
ion_test.sh: No /dev/ion device found
ion_test.sh: May be CONFIG_ION is not set
not ok 1..1 selftests: android: run.sh [SKIP]
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/android'
ping6 is /bin/ping6
ignored_by_lkp bpf.test_lirc_mode2_user test
2019-03-03 04:13:13 make run_tests -C bpf
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf'
/bin/sh: llvm-readelf: command not found
make -C ../../../lib/bpf OUTPUT=/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/
make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/lib/bpf'
Auto-detecting system features:
... libelf: [ .[32mon.[m ]
... bpf: [ .[32mon.[m ]
HOSTCC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/fixdep.o
HOSTLD /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/fixdep-in.o
LINK /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/fixdep
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.o
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/bpf.o
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/nlattr.o
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/btf.o
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf_errno.o
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/str_error.o
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/netlink.o
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/bpf_prog_linfo.o
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf_probes.o
CC /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/xsk.o
LD /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf-in.o
LINK /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a
LINK /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.so
make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/lib/bpf'
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include -I/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf test_verifier.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/verifier/tests.h -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_verifier
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_tag.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_tag
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_maps.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_maps
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_lru_map.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_lru_map
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_lpm_map.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_lpm_map
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_progs.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a trace_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_progs
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_align.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_align
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_verifier_log.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_verifier_log
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_dev_cgroup.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_dev_cgroup
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_tcpbpf_user.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_tcpbpf_user
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_sock.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_sock
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_btf.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_btf
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_sockmap.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_sockmap
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include get_cgroup_id_user.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/get_cgroup_id_user
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_socket_cookie.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_socket_cookie
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_cgroup_storage.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_cgroup_storage
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_select_reuseport.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_select_reuseport
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_section_names.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_section_names
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_netcnt.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_netcnt
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_tcpnotify_user.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c trace_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_tcpnotify_user
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_sock_fields.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_sock_fields
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_libbpf_open.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_libbpf_open
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_sock_addr.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_sock_addr
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_skb_cgroup_id_user.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a cgroup_helpers.c -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_skb_cgroup_id_user
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include flow_dissector_load.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/flow_dissector_load
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_flow_dissector.c /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_flow_dissector
clang -I. -I./include/uapi -I../../../include/uapi -idirafter /usr/local/include -idirafter /usr/lib/llvm-7/lib/clang/7.0.1/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include -Wno-compare-distinct-pointer-types \
-O2 -target bpf -emit-llvm -c progs/test_stack_map.c -o - | \
llc -march=bpf -mcpu=probe -filetype=obj -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_stack_map.o
clang -I. -I./include/uapi -I../../../include/uapi -idirafter /usr/local/include -idirafter /usr/lib/llvm-7/lib/clang/7.0.1/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include -Wno-compare-distinct-pointer-types \
-O2 -target bpf -emit-llvm -c progs/test_tunnel_kern.c -o - | \
llc -march=bpf -mcpu=probe -filetype=obj -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_tunnel_kern.o
clang -I. -I./include/uapi -I../../../include/uapi -idirafter /usr/local/include -idirafter /usr/lib/llvm-7/lib/clang/7.0.1/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include -Wno-compare-distinct-pointer-types \
-O2 -target bpf -emit-llvm -c progs/dev_cgroup.c -o - | \
llc -march=bpf -mcpu=probe -filetype=obj -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/dev_cgroup.o
clang -I. -I./include/uapi -I../../../include/uapi -idirafter /usr/local/include -idirafter /usr/lib/llvm-7/lib/clang/7.0.1/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include -Wno-compare-distinct-pointer-types \
-O2 -target bpf -emit-llvm -c progs/test_lwt_ip_encap.c -o - | \
llc -march=bpf -mcpu=probe -filetype=obj -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_lwt_ip_encap.o
clang -I. -I./include/uapi -I../../../include/uapi -idirafter /usr/local/include -idirafter /usr/lib/llvm-7/lib/clang/7.0.1/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include -Wno-compare-distinct-pointer-types \
-O2 -target bpf -emit-llvm -c progs/test_obj_id.c -o - | \
llc -march=bpf -mcpu=probe -filetype=obj -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_obj_id.o
clang -I. -I./include/uapi -I../../../include/uapi -idirafter /usr/local/include -idirafter /usr/lib/llvm-7/lib/clang/7.0.1/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include -Wno-compare-distinct-pointer-types \
-O2 -target bpf -emit-llvm -c progs/test_global_data.c -o - | \
llc -march=bpf -mcpu=probe -filetype=obj -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_global_data.o
LLVM ERROR: Unsupported relocation: try to compile with -O2 or above, or check your static variable usage
Makefile:192: recipe for target '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_global_data.o' failed
make: *** [/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf/test_global_data.o] Error 1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/bpf'
ignored_by_lkp breakpoints.step_after_suspend_test test
2019-03-03 04:15:47 make run_tests -C breakpoints
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/breakpoints'
gcc breakpoint_test.c -o /usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/breakpoints/breakpoint_test
TAP version 13
selftests: breakpoints: breakpoint_test
========================================
ok 1 Test breakpoint 0 with local: 0 global: 1
ok 2 Test breakpoint 1 with local: 0 global: 1
ok 3 Test breakpoint 2 with local: 0 global: 1
ok 4 Test breakpoint 3 with local: 0 global: 1
ok 5 Test breakpoint 0 with local: 1 global: 0
ok 6 Test breakpoint 1 with local: 1 global: 0
ok 7 Test breakpoint 2 with local: 1 global: 0
ok 8 Test breakpoint 3 with local: 1 global: 0
ok 9 Test breakpoint 0 with local: 1 global: 1
ok 10 Test breakpoint 1 with local: 1 global: 1
ok 11 Test breakpoint 2 with local: 1 global: 1
ok 12 Test breakpoint 3 with local: 1 global: 1
ok 13 Test write watchpoint 0 with len: 1 local: 0 global: 1
ok 14 Test write watchpoint 1 with len: 1 local: 0 global: 1
ok 15 Test write watchpoint 2 with len: 1 local: 0 global: 1
ok 16 Test write watchpoint 3 with len: 1 local: 0 global: 1
ok 17 Test write watchpoint 0 with len: 1 local: 1 global: 0
ok 18 Test write watchpoint 1 with len: 1 local: 1 global: 0
ok 19 Test write watchpoint 2 with len: 1 local: 1 global: 0
ok 20 Test write watchpoint 3 with len: 1 local: 1 global: 0
ok 21 Test write watchpoint 0 with len: 1 local: 1 global: 1
ok 22 Test write watchpoint 1 with len: 1 local: 1 global: 1
ok 23 Test write watchpoint 2 with len: 1 local: 1 global: 1
ok 24 Test write watchpoint 3 with len: 1 local: 1 global: 1
ok 25 Test write watchpoint 0 with len: 2 local: 0 global: 1
ok 26 Test write watchpoint 1 with len: 2 local: 0 global: 1
ok 27 Test write watchpoint 2 with len: 2 local: 0 global: 1
ok 28 Test write watchpoint 3 with len: 2 local: 0 global: 1
ok 29 Test write watchpoint 0 with len: 2 local: 1 global: 0
ok 30 Test write watchpoint 1 with len: 2 local: 1 global: 0
ok 31 Test write watchpoint 2 with len: 2 local: 1 global: 0
ok 32 Test write watchpoint 3 with len: 2 local: 1 global: 0
ok 33 Test write watchpoint 0 with len: 2 local: 1 global: 1
ok 34 Test write watchpoint 1 with len: 2 local: 1 global: 1
ok 35 Test write watchpoint 2 with len: 2 local: 1 global: 1
ok 36 Test write watchpoint 3 with len: 2 local: 1 global: 1
ok 37 Test write watchpoint 0 with len: 4 local: 0 global: 1
ok 38 Test write watchpoint 1 with len: 4 local: 0 global: 1
ok 39 Test write watchpoint 2 with len: 4 local: 0 global: 1
ok 40 Test write watchpoint 3 with len: 4 local: 0 global: 1
ok 41 Test write watchpoint 0 with len: 4 local: 1 global: 0
ok 42 Test write watchpoint 1 with len: 4 local: 1 global: 0
ok 43 Test write watchpoint 2 with len: 4 local: 1 global: 0
ok 44 Test write watchpoint 3 with len: 4 local: 1 global: 0
ok 45 Test write watchpoint 0 with len: 4 local: 1 global: 1
ok 46 Test write watchpoint 1 with len: 4 local: 1 global: 1
ok 47 Test write watchpoint 2 with len: 4 local: 1 global: 1
ok 48 Test write watchpoint 3 with len: 4 local: 1 global: 1
ok 49 Test write watchpoint 0 with len: 8 local: 0 global: 1
ok 50 Test write watchpoint 1 with len: 8 local: 0 global: 1
ok 51 Test write watchpoint 2 with len: 8 local: 0 global: 1
ok 52 Test write watchpoint 3 with len: 8 local: 0 global: 1
ok 53 Test write watchpoint 0 with len: 8 local: 1 global: 0
ok 54 Test write watchpoint 1 with len: 8 local: 1 global: 0
ok 55 Test write watchpoint 2 with len: 8 local: 1 global: 0
ok 56 Test write watchpoint 3 with len: 8 local: 1 global: 0
ok 57 Test write watchpoint 0 with len: 8 local: 1 global: 1
ok 58 Test write watchpoint 1 with len: 8 local: 1 global: 1
ok 59 Test write watchpoint 2 with len: 8 local: 1 global: 1
ok 60 Test write watchpoint 3 with len: 8 local: 1 global: 1
ok 61 Test read watchpoint 0 with len: 1 local: 0 global: 1
ok 62 Test read watchpoint 1 with len: 1 local: 0 global: 1
ok 63 Test read watchpoint 2 with len: 1 local: 0 global: 1
ok 64 Test read watchpoint 3 with len: 1 local: 0 global: 1
ok 65 Test read watchpoint 0 with len: 1 local: 1 global: 0
ok 66 Test read watchpoint 1 with len: 1 local: 1 global: 0
ok 67 Test read watchpoint 2 with len: 1 local: 1 global: 0
ok 68 Test read watchpoint 3 with len: 1 local: 1 global: 0
ok 69 Test read watchpoint 0 with len: 1 local: 1 global: 1
ok 70 Test read watchpoint 1 with len: 1 local: 1 global: 1
ok 71 Test read watchpoint 2 with len: 1 local: 1 global: 1
ok 72 Test read watchpoint 3 with len: 1 local: 1 global: 1
ok 73 Test read watchpoint 0 with len: 2 local: 0 global: 1
ok 74 Test read watchpoint 1 with len: 2 local: 0 global: 1
ok 75 Test read watchpoint 2 with len: 2 local: 0 global: 1
ok 76 Test read watchpoint 3 with len: 2 local: 0 global: 1
ok 77 Test read watchpoint 0 with len: 2 local: 1 global: 0
ok 78 Test read watchpoint 1 with len: 2 local: 1 global: 0
ok 79 Test read watchpoint 2 with len: 2 local: 1 global: 0
ok 80 Test read watchpoint 3 with len: 2 local: 1 global: 0
ok 81 Test read watchpoint 0 with len: 2 local: 1 global: 1
ok 82 Test read watchpoint 1 with len: 2 local: 1 global: 1
ok 83 Test read watchpoint 2 with len: 2 local: 1 global: 1
ok 84 Test read watchpoint 3 with len: 2 local: 1 global: 1
ok 85 Test read watchpoint 0 with len: 4 local: 0 global: 1
ok 86 Test read watchpoint 1 with len: 4 local: 0 global: 1
ok 87 Test read watchpoint 2 with len: 4 local: 0 global: 1
ok 88 Test read watchpoint 3 with len: 4 local: 0 global: 1
ok 89 Test read watchpoint 0 with len: 4 local: 1 global: 0
ok 90 Test read watchpoint 1 with len: 4 local: 1 global: 0
ok 91 Test read watchpoint 2 with len: 4 local: 1 global: 0
ok 92 Test read watchpoint 3 with len: 4 local: 1 global: 0
ok 93 Test read watchpoint 0 with len: 4 local: 1 global: 1
ok 94 Test read watchpoint 1 with len: 4 local: 1 global: 1
ok 95 Test read watchpoint 2 with len: 4 local: 1 global: 1
ok 96 Test read watchpoint 3 with len: 4 local: 1 global: 1
ok 97 Test read watchpoint 0 with len: 8 local: 0 global: 1
ok 98 Test read watchpoint 1 with len: 8 local: 0 global: 1
ok 99 Test read watchpoint 2 with len: 8 local: 0 global: 1
ok 100 Test read watchpoint 3 with len: 8 local: 0 global: 1
ok 101 Test read watchpoint 0 with len: 8 local: 1 global: 0
ok 102 Test read watchpoint 1 with len: 8 local: 1 global: 0
ok 103 Test read watchpoint 2 with len: 8 local: 1 global: 0
ok 104 Test read watchpoint 3 with len: 8 local: 1 global: 0
ok 105 Test read watchpoint 0 with len: 8 local: 1 global: 1
ok 106 Test read watchpoint 1 with len: 8 local: 1 global: 1
ok 107 Test read watchpoint 2 with len: 8 local: 1 global: 1
ok 108 Test read watchpoint 3 with len: 8 local: 1 global: 1
ok 109 Test icebp
ok 110 Test int 3 trap
Pass 110 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
1..110
ok 1..1 selftests: breakpoints: breakpoint_test [PASS]
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-4beb1a5f45dc210b1dcccadaf77cfdd454b4b170/tools/testing/selftests/breakpoints'
To reproduce:
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.0.0-rc6-01594-g4beb1a5" of type "text/plain" (191945 bytes)
View attachment "job-script" of type "text/plain" (6350 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (16948 bytes)
View attachment "kernel_selftests" of type "text/plain" (29047 bytes)
Powered by blists - more mailing lists