Build log:
START ubuntu_kernel_selftests.net-build ubuntu_kernel_selftests.net-build timestamp=1692748184 timeout=600 localtime=Aug 22 23:49:44
Persistent state client._record_indent now set to 2
Persistent state client.unexpected_reboot now set to ('ubuntu_kernel_selftests.net-build', 'ubuntu_kernel_selftests.net-build')
Waiting for pid 19935 for 600 seconds
Running 'sh -c 'echo 1 > /proc/sys/net/ipv4/conf/all/accept_local''
Running 'sh -c 'echo 2048000 > /proc/sys/net/core/optmem_max''
Running 'make -C linux/tools/testing/selftests TARGETS=bpf SKIP_TARGETS= KDIR=/usr/src/linux-headers-4.15.0-216-generic'
[stdout] make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
[stdout] make --no-builtin-rules ARCH=s390 -C ../../.. headers_install
[stdout] make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
[stdout] CHK include/generated/uapi/linux/version.h
[stdout] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
[stdout] make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
[stdout] make -C ../../../lib/bpf OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/
[stdout] make[2]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/lib/bpf'
[stdout]
[stdout] Auto-detecting system features:
[stdout] ... libelf: [ [32mon[m ]
[stdout] ... bpf: [ [32mon[m ]
[stdout]
[stdout] HOSTCC /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/fixdep.o
[stdout] HOSTLD /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/fixdep-in.o
[stdout] LINK /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/fixdep
[stderr] Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'
[stdout] CC /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.o
[stdout] CC /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/bpf.o
[stdout] LD /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf-in.o
[stdout] LINK /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a
[stdout] LINK /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.so
[stdout] make[2]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/lib/bpf'
[stdout] make -C ../../../lib/bpf OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/
[stdout] make[2]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/lib/bpf'
[stderr] Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'
[stdout] make[2]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/lib/bpf'
[stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../../include/generated -I../../../include test_verifier.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/cgroup_helpers.c -lcap -lelf -lrt -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_verifier
[stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../../include/generated -I../../../include test_tag.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/cgroup_helpers.c -lcap -lelf -lrt -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_tag
[stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../../include/generated -I../../../include test_maps.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/cgroup_helpers.c -lcap -lelf -lrt -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_maps
[stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../../include/generated -I../../../include test_lru_map.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/cgroup_helpers.c -lcap -lelf -lrt -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_lru_map
[stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../../include/generated -I../../../include test_lpm_map.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/cgroup_helpers.c -lcap -lelf -lrt -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_lpm_map
[stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../../include/generated -I../../../include test_progs.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/cgroup_helpers.c -lcap -lelf -lrt -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_progs
[stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../../include/generated -I../../../include test_align.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/cgroup_helpers.c -lcap -lelf -lrt -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_align
[stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../../include/generated -I../../../include test_verifier_log.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/cgroup_helpers.c -lcap -lelf -lrt -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_verifier_log
[stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../../include/generated -I../../../include test_dev_cgroup.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/cgroup_helpers.c -lcap -lelf -lrt -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_dev_cgroup
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_pkt_access.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_pkt_access.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_pkt_access.c:8:
[stderr] In file included from /usr/include/string.h:25:
[stderr] /usr/include/features.h:367:12: fatal error: 'sys/cdefs.h' file not found
[stderr] # include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_xdp.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_xdp.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_xdp.c:8:
[stderr] In file included from /usr/include/string.h:25:
[stderr] /usr/include/features.h:367:12: fatal error: 'sys/cdefs.h' file not found
[stderr] # include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_l4lb.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_l4lb.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_l4lb.c:9:
[stderr] In file included from /usr/include/string.h:25:
[stderr] /usr/include/features.h:367:12: fatal error: 'sys/cdefs.h' file not found
[stderr] # include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_tcp_estats.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_tcp_estats.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_tcp_estats.c:34:
[stderr] In file included from /usr/include/string.h:25:
[stderr] /usr/include/features.h:367:12: fatal error: 'sys/cdefs.h' file not found
[stderr] # include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_obj_id.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_obj_id.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_obj_id.c:8:
[stderr] In file included from ../../../include/uapi/linux/bpf.h:11:
[stderr] In file included from ./include/uapi/linux/types.h:5:
[stderr] /usr/include/asm-generic/int-ll64.h:11:10: fatal error: 'asm/bitsperlong.h' file not found
[stderr] #include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_pkt_md_access.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_pkt_md_access.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_pkt_md_access.c:8:
[stderr] In file included from /usr/include/string.h:25:
[stderr] /usr/include/features.h:367:12: fatal error: 'sys/cdefs.h' file not found
[stderr] # include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_xdp_redirect.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_xdp_redirect.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_xdp_redirect.c:12:
[stderr] In file included from ../../../include/uapi/linux/bpf.h:11:
[stderr] In file included from ./include/uapi/linux/types.h:5:
[stderr] /usr/include/asm-generic/int-ll64.h:11:10: fatal error: 'asm/bitsperlong.h' file not found
[stderr] #include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_xdp_meta.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_xdp_meta.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_xdp_meta.c:1:
[stderr] In file included from ../../../include/uapi/linux/bpf.h:11:
[stderr] In file included from ./include/uapi/linux/types.h:5:
[stderr] /usr/include/asm-generic/int-ll64.h:11:10: fatal error: 'asm/bitsperlong.h' file not found
[stderr] #include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/sockmap_parse_prog.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/sockmap_parse_prog.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/sockmap_parse_prog.c:1:
[stderr] In file included from ../../../include/uapi/linux/bpf.h:11:
[stderr] In file included from ./include/uapi/linux/types.h:5:
[stderr] /usr/include/asm-generic/int-ll64.h:11:10: fatal error: 'asm/bitsperlong.h' file not found
[stderr] #include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/sockmap_verdict_prog.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/sockmap_verdict_prog.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/sockmap_verdict_prog.c:1:
[stderr] In file included from ../../../include/uapi/linux/bpf.h:11:
[stderr] In file included from ./include/uapi/linux/types.h:5:
[stderr] /usr/include/asm-generic/int-ll64.h:11:10: fatal error: 'asm/bitsperlong.h' file not found
[stderr] #include
[stderr] ^
[stderr] 1 error generated.
[stdout] clang -I. -I./include/uapi -I../../../include/uapi \
[stdout] -Wno-compare-distinct-pointer-types \
[stdout] -O2 -target bpf -emit-llvm -c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/dev_cgroup.c -o - | \
[stdout] llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/dev_cgroup.o
[stderr] In file included from /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/dev_cgroup.c:8:
[stderr] In file included from ../../../include/uapi/linux/bpf.h:11:
[stderr] In file included from ./include/uapi/linux/types.h:5:
[stderr] /usr/include/asm-generic/int-ll64.h:11:10: fatal error: 'asm/bitsperlong.h' file not found
[stderr] #include
[stderr] ^
[stderr] 1 error generated.
[stdout] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
[stdout] make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
Running 'make -C linux/tools/testing/selftests TARGETS=net'
[stdout] make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
[stdout] make --no-builtin-rules ARCH=s390 -C ../../.. headers_install
[stdout] make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
[stdout] CHK include/generated/uapi/linux/version.h
[stdout] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
[stdout] make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
[stdout] gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf.c -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseport_bpf
[stdout] gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf_cpu.c -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseport_bpf_cpu
[stdout] gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf_numa.c -lnuma -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseport_bpf_numa
[stderr] reuseport_bpf_numa.c:24:18: fatal error: numa.h: No such file or directory
[stderr] compilation terminated.
[stdout] ../lib.mk:176: recipe for target '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseport_bpf_numa' failed
[stdout] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
[stderr] make[1]: *** [/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/reuseport_bpf_numa] Error 1
[stderr] make: *** [all] Error 2
[stdout] Makefile:115: recipe for target 'all' failed
The minimum change to get this work is installing the libnuma-dev package.