selftests/net/test_bpf fails for linux-kvm due to lack of Kconfig

Bug #1927533 reported by Guilherme G. Piccoli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Confirmed
Undecided
Unassigned
linux-kvm (Ubuntu)
New
Undecided
Unassigned

Bug Description

Kernel selftest "test_bpf" fails for B/linux-kvm due to lack of Kconfig:

grep -v "#" tools/testing/selftests/net/test_bpf.sh

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

Checking the config files, for example:

# grep -n "TEST_BPF" /boot/config-4.15.0-1089-kvm
2310:# CONFIG_TEST_BPF is not set

# grep -n "TEST_BPF" /boot/config-4.15.0-142-generic
9105:CONFIG_TEST_BPF=m

Changed in ubuntu-kernel-tests:
assignee: Guilherme G. Piccoli (gpiccoli) → nobody
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed in B/KVM cycle sru-20210510 .

tags: added: linux-kvm sru-20210510
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed in B/KVM cycle sru-20210531 .

tags: added: sru-20210531
Revision history for this message
Luke Nowakowski-Krijger (lukenow) wrote :

Found on 2022.01.31/xenial/kvm/4.4.0-1100.109

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.