net test from ubuntu_kernel_selftests / ubuntu_bpf failed to build on F-OEM-5.10 (Cannot find a vmlinux for VMLINUX_BTF)

Bug #1919122 reported by Po-Hsu Lin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux-oem-5.10 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Confirmed
Undecided
Unassigned

Bug Description

Issue found on 5.10.0-1017.18-oem

When trying to build the prerequisite bpf test for the net test, the build failed with:
 *** Cannot find a vmlinux for VMLINUX_BTF at any of " ../../../../vmlinux /sys/kernel/btf/vmlinux /boot/vmlinux-5.10.0-1017-oem". Stop.

This should not be considered as a regression as we didn't add ubuntu_kernel_selftest back to the test plan until recently, so it's not tested for a while.

Po-Hsu Lin (cypressyew)
tags: added: 5.10 focal oem ubuntu-kernel-selftests
tags: added: sru-20210222
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

The bpf test build has been disabled in G/H, ref: bug 1908144

Po-Hsu Lin (cypressyew)
summary: - net test from ubuntu_kernel_selftests failed to build on F-OEM-5.10
+ net test from ubuntu_kernel_selftests / ubuntu_bpf failed to build on
+ F-OEM-5.10
Revision history for this message
Kelsey Steele (kelsey-steele) wrote : Re: net test from ubuntu_kernel_selftests / ubuntu_bpf failed to build on F-OEM-5.10

Also failed on Focal/liunx 5.8.0-49.55~20.04.1 lowlatency

stdout:
make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
make --no-builtin-rules ARCH=x86 -C ../../.. headers_install
make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
  INSTALL ./usr/include
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/home/ubuntu/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-49-lowlatency". Stop.
make: *** [Makefile:159: all] Error 2

tags: added: amd64 sru-20210315
tags: added: 5.8 hwe
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.10 (Ubuntu):
status: New → Invalid
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Also found on Focal/riscv-5.8 5.8.0-21.23~20.04.1

tags: added: riscv
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

focal/aws-5.8 5.8.0-1031.33~20.04.1

tags: added: sru-20210412
tags: added: hwe-5.8
Revision history for this message
Ian May (ian-may) wrote :

focal/gcp 5.8.0-1029.30~20.04.1

tags: added: sru-20210510
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-oem-5.10 (Ubuntu Focal):
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

With net test keep building without bpf [1], this is now causing issue to udpgro.sh and udpgro_bench.sh

 # selftests: net: udpgro_bench.sh
 # Missing xdp_dummy helper. Build bpf selftest first
 not ok 23 selftests: net: udpgro_bench.sh # exit=255
 # selftests: net: udpgro.sh
 # Missing xdp_dummy helper. Build bpf selftest first
 not ok 24 selftests: net: udpgro.sh # exit=255

[1] https://kernel.ubuntu.com/git/ubuntu/autotest-client-tests.git/commit/?id=c4f76a0f87d965fa9286331e9e342f4ca5211436

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

A second thought, I will split those two failures in comment #7 to a new bug, make it easier to track.

tags: added: aws sru-20210621
Po-Hsu Lin (cypressyew)
summary: net test from ubuntu_kernel_selftests / ubuntu_bpf failed to build on
- F-OEM-5.10
+ F-OEM-5.10 (Cannot find a vmlinux for VMLINUX_BTF)
tags: added: sru-20210719
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on linux-oem-5.14/5.14.0-1004.4

tags: added: 5.14 sru-20210906
tags: removed: 5.14
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.