ubuntu_bpf failed to build on K-kvm (failed to load object file)

Bug #2016944 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux-kvm (Ubuntu)
Invalid
Undecided
Unassigned
Kinetic
New
Undecided
Unassigned

Bug Description

Issue found with K-kvm 5.19.0-1021.22 after enabling tests on openstack.

Test build failed with:
  GEN-SKEL [test_progs] test_ksyms_module.lskel.h
  GEN-SKEL [test_progs] test_ksyms_weak.lskel.h
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:
libbpf: elf: skipping unrecognized data section(6) .maps.btf_map
libbpf: map 'btf_map' (legacy): legacy map definitions are deprecated, use BTF-defined maps instead
libbpf: Use of BPF_ANNOTATE_KV_PAIR is deprecated, use BTF-defined maps in .maps section instead
libbpf: elf: skipping unrecognized data section(6) .maps.btf_map
libbpf: map 'btf_map' (legacy): legacy map definitions are deprecated, use BTF-defined maps instead
libbpf: Use of BPF_ANNOTATE_KV_PAIR is deprecated, use BTF-defined maps in .maps section instead
libbpf: elf: skipping unrecognized data section(6) .maps.btf_map_legacy
libbpf: map 'btf_map_legacy' (legacy): legacy map definitions are deprecated, use BTF-defined maps instead
libbpf: Use of BPF_ANNOTATE_KV_PAIR is deprecated, use BTF-defined maps in .maps section instead
libbpf: elf: skipping unrecognized data section(6) .maps.btf_map_legacy
libbpf: map 'btf_map_legacy' (legacy): legacy map definitions are deprecated, use BTF-defined maps instead
libbpf: Use of BPF_ANNOTATE_KV_PAIR is deprecated, use BTF-defined maps in .maps section instead
libbpf: failed to open /proc/kallsyms: -2
libbpf: failed to load object 'test_ksyms_weak_lskel'
Error: failed to load object file
make[1]: *** [Makefile:523: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_ksyms_weak.lskel.h] Error 234
make[1]: *** Deleting file '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_ksyms_weak.lskel.h'

Please find attachment for the complete test log.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in linux-kvm (Ubuntu):
status: New → Invalid
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.