Public bug reported:
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.
** Affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Affects: linux-kvm (Ubuntu)
Importance: Undecided
Status: Invalid
** Affects: linux-kvm (Ubuntu Kinetic)
Importance: Undecided
Status: New
** Tags: kinetic kvm sru-20230320 ubuntu-bpf
** Attachment added: "k-kvm-ubuntu-bpf-build.log"
https://bugs.launchpad.net/bugs/2016944/+attachment/5665119/+files/k-kvm-ubuntu-bpf-build.log
** Also affects: linux-kvm (Ubuntu)
Importance: Undecided
Status: New
** Also affects: linux-kvm (Ubuntu Kinetic)
Importance: Undecided
Status: New
** Changed in: linux-kvm (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/2016944
Title:
ubuntu_bpf failed to build on K-kvm (failed to load object file)
Status in ubuntu-kernel-tests:
New
Status in linux-kvm package in Ubuntu:
Invalid
Status in linux-kvm source package in Kinetic:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2016944/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp