Testing failed on:
amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/l/linux-hwe-5.8/20210225_023154_ca498@/log.gz
arm64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/arm64/l/linux-hwe-5.8/20210225_002545_f34d9@/log.gz
ppc64el: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/ppc64el/l/linux-hwe-5.8/20210309_222653_5f453@/log.gz
s390x: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/s390x/l/linux-hwe-5.8/20210224_190131_deea3@/log.gz
Not a regression, found on multiple versions including:
5.8.0-45.51~20.04.1
5.8.0-44.50~20.04.1
Two different error messages can be found:
ONE:
01:42:35 INFO | ERROR ubuntu_kernel_selftests.net ubuntu_kernel_selftests.net timestamp=1614217355 localtime=Feb 25 01:42:35 Command <make -C linux/tools/testing/selftests TARGETS=bpf SKIP_TARGETS= KDIR=/usr/src/linux-headers-5.8.0-45-generic> failed, rc=2, Command returned non-zero exit status
* Command:
make -C linux/tools/testing/selftests TARGETS=bpf SKIP_TARGETS=
KDIR=/usr/src/linux-headers-5.8.0-45-generic
Exit status: 2
Duration: 0.978417158127
stdout:
make: Entering directory '/tmp/autopkgtest.FJ1SVW/build.QGC/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
make --no-builtin-rules ARCH=x86 -C ../../.. headers_install
make[1]: Entering directory '/tmp/autopkgtest.FJ1SVW/build.QGC/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
INSTALL ./usr/include
make[1]: Leaving directory '/tmp/autopkgtest.FJ1SVW/build.QGC/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
make[1]: Entering directory '/tmp/autopkgtest.FJ1SVW/build.QGC/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
make[1]: Leaving directory '/tmp/autopkgtest.FJ1SVW/build.QGC/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/tmp/autopkgtest.FJ1SVW/build.QGC/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
stderr:
Makefile:148: *** Cannot find a vmlinux for VMLINUX_BTF at any of " ../../../../vmlinux /sys/kernel/btf/vmlinux /boot/vmlinux-5.8.0-45-generic". Stop.
make: *** [Makefile:159: all] Error 2
01:42:35 INFO | END ERROR ubuntu_kernel_selftests.net ubuntu_kernel_selftests.net timestamp=1614217355 localtime=Feb 25 01:42:35
TWO:
make[1]: Leaving directory '/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
stderr:
Warning: Kernel ABI header at 'tools/include/uapi/linux/netlink.h' differs from latest version at 'include/uapi/linux/netlink.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h'
In file included from /tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/include/linux/build_bug.h:5,
from /tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/include/linux/kernel.h:8,
from /tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/kernel/bpf/disasm.h:10,
from /tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/kernel/bpf/disasm.c:8:
/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/kernel/bpf/disasm.c: In function ‘__func_get_name’:
/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/include/linux/compiler.h:37:38: warning: nested extern declaration of ‘__compiletime_assert_0’ [-Wnested-externs]
37 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/include/linux/compiler.h:16:15: note: in definition of macro ‘__compiletime_assert’
16 | extern void prefix ## suffix(void) __compiletime_error(msg); \
| ^~~~~~
/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/include/linux/compiler.h:37:2: note: in expansion of macro ‘_compiletime_assert’
37 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/include/linux/build_bug.h:50:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/kernel/bpf/disasm.c:20:2: note: in expansion of macro ‘BUILD_BUG_ON’
20 | BUILD_BUG_ON(ARRAY_SIZE(func_id_str) != __BPF_FUNC_MAX_ID);
| ^~~~~~~~~~~~
Error: failed to load BTF from /boot/vmlinux-5.8.0-45-generic: No such file or directory
make[1]: *** [Makefile:193: /tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h] Error 2
make[1]: *** Deleting file '/tmp/autopkgtest.3i7Kjp/build.nPi/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h'
make: *** [Makefile:159: all] Error 2
Found this is already covered in LP#1894964. Marking as a duplicate