Caught this failing on arm64 , disco, 5.0.0-1007.7 linux-aws,
05/18 08:00:22 DEBUG| utils:0153| [stdout] make[2]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/lib/bpf' 05/18 08:00:22 DEBUG| utils:0153| [stdout] gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf -I../../../../include/generated -I../../../include test_verifier.c /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_verifier 05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c: In function ‘do_test_single’: 05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c:15951:22: warning: implicit declaration of function ‘bpf_probe_prog_type’; did you mean ‘bpf_program__set_type’? [-Wimplicit-function-declaration] 05/18 08:00:23 ERROR| utils:0153| [stderr] if (fd_prog < 0 && !bpf_probe_prog_type(prog_type, 0)) { 05/18 08:00:23 ERROR| utils:0153| [stderr] ^~~~~~~~~~~~~~~~~~~ 05/18 08:00:23 ERROR| utils:0153| [stderr] bpf_program__set_type 05/18 08:00:23 ERROR| utils:0153| [stderr] /usr/bin/ld: /tmp/cc9290dq.o: in function `do_test_single': 05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c:(.text+0x8c8): undefined reference to `bpf_probe_prog_type' 05/18 08:00:23 ERROR| utils:0153| [stderr] collect2: error: ld returned 1 exit status 05/18 08:00:23 DEBUG| utils:0153| [stdout] make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf' 05/18 08:00:23 DEBUG| utils:0153| [stdout] make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests' 05/18 08:00:23 ERROR| utils:0153| [stderr] make[1]: *** [../lib.mk:152: /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_verifier] Error 1 05/18 08:00:23 ERROR| utils:0153| [stderr] make: *** [Makefile:90: all] Error 2 05/18 08:00:23 ERROR| test:0414| Exception escaping from test: Traceback (most recent call last): File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function return func(*args, **dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute postprocess_profiled_run, args, dargs) File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once self.run_once(*args, **dargs) File "/home/ubuntu/autotest/client/tests/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py", line 144, in run_once utils.system(cmd) File "/home/ubuntu/autotest/client/shared/utils.py", line 1232, in system verbose=verbose).exit_status File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run "Command returned non-zero exit status") CmdError: Command <make -C linux/tools/testing/selftests TARGETS=bpf> failed, rc=2, Command returned non-zero exit status * Command: make -C linux/tools/testing/selftests TARGETS=bpf Exit status: 2 Duration: 5.29515004158
stdout:
Caught this failing on arm64 , disco, 5.0.0-1007.7 linux-aws,
05/18 08:00:22 DEBUG| utils:0153| [stdout] make[2]: Leaving directory '/home/ ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/lib/ bpf' /../include/ uapi -I../../../lib -I../../../lib/bpf -I../.. /../../ include/ generated -I../../../include test_verifier.c /home/ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ bpf/libbpf. a -lcap -lelf -lrt -lpthread -o /home/ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ bpf/test_ verifier single†™: c:15951: 22: warning: implicit declaration of function ‘bpf_ probe_prog_ type’ ; did you mean ‘bpf_ program_ _set_type†™? [-Wimplicit- function- declaration] prog_type( prog_type, 0)) { _set_type c:(.text+ 0x8c8): undefined reference to `bpf_probe_ prog_type' ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ bpf' ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests' autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ bpf/test_ verifier] Error 1 ubuntu/ autotest/ client/ shared/ test.py" , line 411, in _exec test_function( self.execute, *p_args, **p_dargs) ubuntu/ autotest/ client/ shared/ test.py" , line 823, in _call_test_function ubuntu/ autotest/ client/ shared/ test.py" , line 291, in execute _profiled_ run, args, dargs) ubuntu/ autotest/ client/ shared/ test.py" , line 212, in _call_run_once run_once( *args, **dargs) ubuntu/ autotest/ client/ tests/ubuntu_ kernel_ selftests/ ubuntu_ kernel_ selftests. py", line 144, in run_once system( cmd) ubuntu/ autotest/ client/ shared/ utils.py" , line 1232, in system verbose) .exit_status ubuntu/ autotest/ client/ shared/ utils.py" , line 918, in run testing/ selftests TARGETS=bpf> failed, rc=2, Command returned non-zero exit status testing/ selftests TARGETS=bpf
05/18 08:00:22 DEBUG| utils:0153| [stdout] gcc -Wall -O2 -I../..
05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c: In function ‘do_test_
05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.
05/18 08:00:23 ERROR| utils:0153| [stderr] if (fd_prog < 0 && !bpf_probe_
05/18 08:00:23 ERROR| utils:0153| [stderr] ^~~~~~~~~~~~~~~~~~~
05/18 08:00:23 ERROR| utils:0153| [stderr] bpf_program_
05/18 08:00:23 ERROR| utils:0153| [stderr] /usr/bin/ld: /tmp/cc9290dq.o: in function `do_test_single':
05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.
05/18 08:00:23 ERROR| utils:0153| [stderr] collect2: error: ld returned 1 exit status
05/18 08:00:23 DEBUG| utils:0153| [stdout] make[1]: Leaving directory '/home/
05/18 08:00:23 DEBUG| utils:0153| [stdout] make: Leaving directory '/home/
05/18 08:00:23 ERROR| utils:0153| [stderr] make[1]: *** [../lib.mk:152: /home/ubuntu/
05/18 08:00:23 ERROR| utils:0153| [stderr] make: *** [Makefile:90: all] Error 2
05/18 08:00:23 ERROR| test:0414| Exception escaping from test:
Traceback (most recent call last):
File "/home/
_call_
File "/home/
return func(*args, **dargs)
File "/home/
postprocess
File "/home/
self.
File "/home/
utils.
File "/home/
verbose=
File "/home/
"Command returned non-zero exit status")
CmdError: Command <make -C linux/tools/
* Command:
make -C linux/tools/
Exit status: 2
Duration: 5.29515004158
stdout: