← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2016944] Re: ubuntu_bpf failed to build on K-kvm (failed to load object file)

 

Kinetic EOL, K-kvm is the only kernel that got hinted with this.

** Changed in: ubuntu-kernel-tests
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
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:
  Won't Fix
Status in linux-kvm package in Ubuntu:
  Invalid
Status in linux-kvm source package in Kinetic:
  Won't Fix

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