test_bpf in net from ubuntu_kernel_selftests failed on cloud kernels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Confirmed
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux-gke (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
linux-kvm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
linux-oracle (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This test will attempt to insert the test_bpf module, but this module does not exist in KVM kernels:
$ sudo modprobe test_bpf
modprobe: FATAL: Module test_bpf not found in directory /lib/modules/
The script:
$ sudo ./test_bpf.sh
test_bpf: [FAIL]
$ cat test_bpf.sh
#!/bin/sh
# SPDX-License-
# Runs bpf test using test_bpf kernel module
if /sbin/modprobe -q test_bpf ; then
/sbin/modprobe -q -r test_bpf;
echo "test_bpf: ok";
else
echo "test_bpf: [FAIL]";
exit 1;
fi
This test_bpf module will need the CONFIG_TEST_BPF to be enabled.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-1028-kvm x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Thu Jan 17 08:29:29 2019
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: linux-kvm sru-20190603 ubuntu-kernel-selftests |
tags: | removed: sru-20190603 |
tags: | added: sru-20190701 |
tags: | added: 5.0 disco |
Changed in ubuntu-kernel-tests: | |
status: | Confirmed → Invalid |
Changed in linux-kvm (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux-kvm (Ubuntu Xenial): | |
status: | Confirmed → Invalid |
Changed in linux-kvm (Ubuntu Bionic): | |
status: | Confirmed → Invalid |
Changed in linux-kvm (Ubuntu Cosmic): | |
status: | Confirmed → Invalid |
no longer affects: | linux (Ubuntu Xenial) |
no longer affects: | linux-kvm (Ubuntu Xenial) |
no longer affects: | linux (Ubuntu Bionic) |
no longer affects: | linux-kvm (Ubuntu Bionic) |
Changed in linux-gke (Ubuntu): | |
status: | New → Confirmed |
tags: | added: sru-20200217 |
tags: | added: sru-20200629 |
Failed on Cosmic kernel as well. 4.18.0- 14-generic
$ sudo modprobe test_bpf
modprobe: FATAL: Module test_bpf not found in directory /lib/modules/