Activity log for bug #1829812

Date Who What changed Old value New value Message
2019-05-21 05:13:05 Po-Hsu Lin bug added bug
2019-05-21 05:30:11 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2019-05-21 06:17:23 Po-Hsu Lin nominated for series Ubuntu Disco
2019-05-21 06:17:23 Po-Hsu Lin bug task added linux (Ubuntu Disco)
2019-05-21 07:29:32 Po-Hsu Lin bug task added ubuntu-kernel-tests
2019-05-21 09:04:27 Po-Hsu Lin description This test will failed to build on 5.0.0-16 Disco. 5.0.0-16 Disco + 5.0.0-15 source code - build OK 5.0.0-16 Disco + 5.0.0-16 source code - Failed make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf' gcc -o /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read -static urandom_read.c -Wl,--build-id make -C ../../../lib/bpf OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/ make[2]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf' Auto-detecting system features: ... libelf: [ on ] ... bpf: [ on ] HOSTCC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep.o HOSTLD /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep-in.o LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.o CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf.o CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/nlattr.o CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/btf.o CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf_errno.o CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/str_error.o CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/netlink.o CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_prog_linfo.o LD /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf-in.o LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.so LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_libbpf make[2]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf' 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_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf' make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests' stderr: Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h' test_verifier.c: In function ‘do_test_single’: test_verifier.c:15951:22: warning: implicit declaration of function ‘bpf_probe_prog_type’; did you mean ‘bpf_program__set_type’? [-Wimplicit-function-declaration] if (fd_prog < 0 && !bpf_probe_prog_type(prog_type, 0)) { ^~~~~~~~~~~~~~~~~~~ bpf_program__set_type /usr/bin/ld: /tmp/ccRNIovw.o: in function `do_test_single': test_verifier.c:(.text+0xf41): undefined reference to `bpf_probe_prog_type' collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:152: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier] Error 1 make: *** [Makefile:90: all] Error 2 ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: linux-image-5.0.0-16-generic 5.0.0-16.17 ProcVersionSignature: User Name 5.0.0-16.17-generic 5.0.8 Uname: Linux 5.0.0-16-generic x86_64 AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 May 21 04:54 seq crw-rw---- 1 root audio 116, 33 May 21 04:54 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CurrentDmesg: Date: Tue May 21 05:08:27 2019 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: QEMU Standard PC (i440FX + PIIX, 1996) PciMultimedia: ProcFB: 0 cirrusdrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-16-generic root=UUID=8595ef43-8a93-42a9-9f7b-92ebcc44df3f ro RelatedPackageVersions: linux-restricted-modules-5.0.0-16-generic N/A linux-backports-modules-5.0.0-16-generic N/A linux-firmware 1.178.1 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: Ubuntu-1.8.2-1ubuntu1 dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-xenial dmi.modalias: dmi:bvnSeaBIOS:bvrUbuntu-1.8.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-xenial:cvnQEMU:ct1:cvrpc-i440fx-xenial: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-xenial dmi.sys.vendor: QEMU This test will failed to build on 5.0.0-16 Disco. 5.0.0-16 Disco + 5.0.0-15 source code - build OK 5.0.0-16 Disco + 5.0.0-16 source code - Failed Bisect shows this one e38969c9 (selftests/bpf: skip verifier tests for unsupported program types) in our tree is the cause (upstream commit: 8184d44c) Which uses a "recently introduced bpf_probe_prog_type()" to skip test. And we don't have it implemented.   make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'   gcc -o /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read -static urandom_read.c -Wl,--build-id   make -C ../../../lib/bpf OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/   make[2]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'   Auto-detecting system features:   ... libelf: [ on ]   ... bpf: [ on ]     HOSTCC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep.o     HOSTLD /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep-in.o     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/nlattr.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/btf.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf_errno.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/str_error.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/netlink.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_prog_linfo.o     LD /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf-in.o     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.so     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_libbpf   make[2]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'   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_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier   make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'   make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'   stderr:   Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h'   test_verifier.c: In function ‘do_test_single’:   test_verifier.c:15951:22: warning: implicit declaration of function ‘bpf_probe_prog_type’; did you mean ‘bpf_program__set_type’? [-Wimplicit-function-declaration]     if (fd_prog < 0 && !bpf_probe_prog_type(prog_type, 0)) {                         ^~~~~~~~~~~~~~~~~~~                         bpf_program__set_type   /usr/bin/ld: /tmp/ccRNIovw.o: in function `do_test_single':   test_verifier.c:(.text+0xf41): undefined reference to `bpf_probe_prog_type'   collect2: error: ld returned 1 exit status   make[1]: *** [../lib.mk:152: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier] Error 1   make: *** [Makefile:90: all] Error 2 ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: linux-image-5.0.0-16-generic 5.0.0-16.17 ProcVersionSignature: User Name 5.0.0-16.17-generic 5.0.8 Uname: Linux 5.0.0-16-generic x86_64 AlsaDevices:  total 0  crw-rw---- 1 root audio 116, 1 May 21 04:54 seq  crw-rw---- 1 root audio 116, 33 May 21 04:54 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CurrentDmesg: Date: Tue May 21 05:08:27 2019 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: QEMU Standard PC (i440FX + PIIX, 1996) PciMultimedia: ProcFB: 0 cirrusdrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-16-generic root=UUID=8595ef43-8a93-42a9-9f7b-92ebcc44df3f ro RelatedPackageVersions:  linux-restricted-modules-5.0.0-16-generic N/A  linux-backports-modules-5.0.0-16-generic N/A  linux-firmware 1.178.1 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: Ubuntu-1.8.2-1ubuntu1 dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-xenial dmi.modalias: dmi:bvnSeaBIOS:bvrUbuntu-1.8.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-xenial:cvnQEMU:ct1:cvrpc-i440fx-xenial: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-xenial dmi.sys.vendor: QEMU
2019-05-21 15:56:31 Sean Feole tags amd64 apport-bug disco package-from-proposed uec-images amd64 apport-bug arm64 disco package-from-proposed uec-images
2019-05-21 15:56:42 Sean Feole tags amd64 apport-bug arm64 disco package-from-proposed uec-images amd64 apport-bug arm64 disco linux-aws package-from-proposed uec-images
2019-05-21 15:57:49 Sean Feole bug task added linux-aws (Ubuntu)
2019-05-21 15:58:44 Sean Feole summary Regression for ubuntu_bpf test case in 5.0.0-16 Regression for ubuntu_bpf test case fails to build on disco
2019-05-22 15:52:45 Sean Feole bug task added linux-azure (Ubuntu)
2019-05-22 15:53:09 Sean Feole tags amd64 apport-bug arm64 disco linux-aws package-from-proposed uec-images amd64 apport-bug arm64 aws azure disco linux-aws package-from-proposed uec-images
2019-05-22 15:57:09 Sean Feole summary Regression for ubuntu_bpf test case fails to build on disco Regression for ubuntu_kernel_selftests [net] ubuntu_bpf test case fails to build on disco
2019-05-23 07:38:13 Stefan Bader bug added subscriber Stefan Bader
2019-05-29 07:34:46 Stefan Bader linux (Ubuntu): importance Undecided Medium
2019-05-29 07:34:46 Stefan Bader linux (Ubuntu): status Incomplete In Progress
2019-05-29 07:34:46 Stefan Bader linux (Ubuntu): assignee Stefan Bader (smb)
2019-05-29 07:35:09 Stefan Bader linux (Ubuntu Disco): importance Undecided Medium
2019-05-29 07:35:09 Stefan Bader linux (Ubuntu Disco): status New In Progress
2019-05-29 07:35:09 Stefan Bader linux (Ubuntu Disco): assignee Stefan Bader (smb)
2019-05-29 07:35:27 Stefan Bader linux (Ubuntu): status In Progress Incomplete
2019-05-29 07:35:27 Stefan Bader linux (Ubuntu): assignee Stefan Bader (smb)
2019-05-29 10:32:54 Stefan Bader description This test will failed to build on 5.0.0-16 Disco. 5.0.0-16 Disco + 5.0.0-15 source code - build OK 5.0.0-16 Disco + 5.0.0-16 source code - Failed Bisect shows this one e38969c9 (selftests/bpf: skip verifier tests for unsupported program types) in our tree is the cause (upstream commit: 8184d44c) Which uses a "recently introduced bpf_probe_prog_type()" to skip test. And we don't have it implemented.   make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'   gcc -o /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read -static urandom_read.c -Wl,--build-id   make -C ../../../lib/bpf OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/   make[2]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'   Auto-detecting system features:   ... libelf: [ on ]   ... bpf: [ on ]     HOSTCC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep.o     HOSTLD /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep-in.o     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/nlattr.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/btf.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf_errno.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/str_error.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/netlink.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_prog_linfo.o     LD /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf-in.o     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.so     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_libbpf   make[2]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'   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_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier   make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'   make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'   stderr:   Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h'   test_verifier.c: In function ‘do_test_single’:   test_verifier.c:15951:22: warning: implicit declaration of function ‘bpf_probe_prog_type’; did you mean ‘bpf_program__set_type’? [-Wimplicit-function-declaration]     if (fd_prog < 0 && !bpf_probe_prog_type(prog_type, 0)) {                         ^~~~~~~~~~~~~~~~~~~                         bpf_program__set_type   /usr/bin/ld: /tmp/ccRNIovw.o: in function `do_test_single':   test_verifier.c:(.text+0xf41): undefined reference to `bpf_probe_prog_type'   collect2: error: ld returned 1 exit status   make[1]: *** [../lib.mk:152: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier] Error 1   make: *** [Makefile:90: all] Error 2 ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: linux-image-5.0.0-16-generic 5.0.0-16.17 ProcVersionSignature: User Name 5.0.0-16.17-generic 5.0.8 Uname: Linux 5.0.0-16-generic x86_64 AlsaDevices:  total 0  crw-rw---- 1 root audio 116, 1 May 21 04:54 seq  crw-rw---- 1 root audio 116, 33 May 21 04:54 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CurrentDmesg: Date: Tue May 21 05:08:27 2019 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: QEMU Standard PC (i440FX + PIIX, 1996) PciMultimedia: ProcFB: 0 cirrusdrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-16-generic root=UUID=8595ef43-8a93-42a9-9f7b-92ebcc44df3f ro RelatedPackageVersions:  linux-restricted-modules-5.0.0-16-generic N/A  linux-backports-modules-5.0.0-16-generic N/A  linux-firmware 1.178.1 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: Ubuntu-1.8.2-1ubuntu1 dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-xenial dmi.modalias: dmi:bvnSeaBIOS:bvrUbuntu-1.8.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-xenial:cvnQEMU:ct1:cvrpc-i440fx-xenial: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-xenial dmi.sys.vendor: QEMU [SRU Justification] == Impact == Some upstream stable change modified the bpf selftest to use a function that probes for existing eBPF program types. However that function does not exist in the 5.0 kernel sources. == Fix == Picking two additional changes from upstream (which only modify the tools sub-directory), allows to compile the selftests again. == Risk of Regression == Since the kernel itself is not touched, the risk is low. == Testcase == With build-essential installed and the Disco kernel tree cloned: cd tools/testing/selftests/ TARGET=net make --- This test will failed to build on 5.0.0-16 Disco. 5.0.0-16 Disco + 5.0.0-15 source code - build OK 5.0.0-16 Disco + 5.0.0-16 source code - Failed Bisect shows this one e38969c9 (selftests/bpf: skip verifier tests for unsupported program types) in our tree is the cause (upstream commit: 8184d44c) Which uses a "recently introduced bpf_probe_prog_type()" to skip test. And we don't have it implemented.   make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'   gcc -o /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read -static urandom_read.c -Wl,--build-id   make -C ../../../lib/bpf OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/   make[2]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'   Auto-detecting system features:   ... libelf: [ on ]   ... bpf: [ on ]     HOSTCC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep.o     HOSTLD /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep-in.o     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/nlattr.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/btf.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf_errno.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/str_error.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/netlink.o     CC /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_prog_linfo.o     LD /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf-in.o     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.so     LINK /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_libbpf   make[2]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'   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_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a -lcap -lelf -lrt -lpthread -o /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier   make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'   make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'   stderr:   Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h'   test_verifier.c: In function ‘do_test_single’:   test_verifier.c:15951:22: warning: implicit declaration of function ‘bpf_probe_prog_type’; did you mean ‘bpf_program__set_type’? [-Wimplicit-function-declaration]     if (fd_prog < 0 && !bpf_probe_prog_type(prog_type, 0)) {                         ^~~~~~~~~~~~~~~~~~~                         bpf_program__set_type   /usr/bin/ld: /tmp/ccRNIovw.o: in function `do_test_single':   test_verifier.c:(.text+0xf41): undefined reference to `bpf_probe_prog_type'   collect2: error: ld returned 1 exit status   make[1]: *** [../lib.mk:152: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier] Error 1   make: *** [Makefile:90: all] Error 2 ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: linux-image-5.0.0-16-generic 5.0.0-16.17 ProcVersionSignature: User Name 5.0.0-16.17-generic 5.0.8 Uname: Linux 5.0.0-16-generic x86_64 AlsaDevices:  total 0  crw-rw---- 1 root audio 116, 1 May 21 04:54 seq  crw-rw---- 1 root audio 116, 33 May 21 04:54 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CurrentDmesg: Date: Tue May 21 05:08:27 2019 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: QEMU Standard PC (i440FX + PIIX, 1996) PciMultimedia: ProcFB: 0 cirrusdrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-16-generic root=UUID=8595ef43-8a93-42a9-9f7b-92ebcc44df3f ro RelatedPackageVersions:  linux-restricted-modules-5.0.0-16-generic N/A  linux-backports-modules-5.0.0-16-generic N/A  linux-firmware 1.178.1 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: Ubuntu-1.8.2-1ubuntu1 dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-xenial dmi.modalias: dmi:bvnSeaBIOS:bvrUbuntu-1.8.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-xenial:cvnQEMU:ct1:cvrpc-i440fx-xenial: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-xenial dmi.sys.vendor: QEMU
2019-06-03 21:19:10 Sean Feole tags amd64 apport-bug arm64 aws azure disco linux-aws package-from-proposed uec-images amd64 apport-bug arm64 aws azure disco linux-aws linux-oem-osp1 package-from-proposed uec-images
2019-06-04 12:53:37 Kleber Sacilotto de Souza linux (Ubuntu Disco): status In Progress Fix Committed
2019-06-18 12:01:33 Ubuntu Kernel Bot tags amd64 apport-bug arm64 aws azure disco linux-aws linux-oem-osp1 package-from-proposed uec-images amd64 apport-bug arm64 aws azure disco linux-aws linux-oem-osp1 package-from-proposed uec-images verification-needed-disco
2019-07-22 03:53:12 Po-Hsu Lin tags amd64 apport-bug arm64 aws azure disco linux-aws linux-oem-osp1 package-from-proposed uec-images verification-needed-disco amd64 apport-bug arm64 aws azure disco linux-aws linux-oem-osp1 package-from-proposed uec-images verification-done-disco
2019-07-22 20:21:18 Launchpad Janitor linux-aws (Ubuntu Disco): status New Fix Released
2019-07-22 20:21:18 Launchpad Janitor cve linked 2018-12126
2019-07-22 20:21:18 Launchpad Janitor cve linked 2018-12127
2019-07-22 20:21:18 Launchpad Janitor cve linked 2018-12130
2019-07-22 20:21:18 Launchpad Janitor cve linked 2019-11091
2019-07-22 20:21:18 Launchpad Janitor cve linked 2019-11833
2019-07-22 20:21:18 Launchpad Janitor cve linked 2019-11884
2019-07-22 20:32:25 Launchpad Janitor linux-azure (Ubuntu Disco): status New Fix Released
2019-07-23 05:25:24 Launchpad Janitor linux (Ubuntu Disco): status Fix Committed Fix Released
2019-07-23 14:13:14 Launchpad Janitor linux-aws (Ubuntu): status New Fix Released
2019-07-23 14:13:21 Launchpad Janitor linux-azure (Ubuntu): status New Fix Released
2019-07-24 21:18:55 Brad Figg tags amd64 apport-bug arm64 aws azure disco linux-aws linux-oem-osp1 package-from-proposed uec-images verification-done-disco amd64 apport-bug arm64 aws azure cscc disco linux-aws linux-oem-osp1 package-from-proposed uec-images verification-done-disco
2019-08-30 09:33:31 Po-Hsu Lin ubuntu-kernel-tests: status New Fix Released
2019-08-30 09:33:33 Po-Hsu Lin linux (Ubuntu): status Incomplete Fix Released