Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-3382

xdp-tools run_tests.sh test [test_features] fails (see error in description)

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.4
    • rhel-9.3.0, rhel-9.4
    • xdp-tools
    • None
    • xdp-tools-1.4.1-1.el9
    • sst_networking_core
    • ssg_networking
    • 9
    • 11
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Bug Fix
    • Hide
      .The `xdp-loader features` command now works as expected

      The `xdp-loader` utility was compiled against the previous version of `libbpf`. As a consequence, `xdp-loader features` failed with an error:

      ----
      Cannot display features, because xdp-loader was compiled against an old version of libbpf without support for querying features.
      ----

      The utility is now compiled against the correct `libbpf` version. As a result, the command now works as expected.
      Show
      .The `xdp-loader features` command now works as expected The `xdp-loader` utility was compiled against the previous version of `libbpf`. As a consequence, `xdp-loader features` failed with an error: ---- Cannot display features, because xdp-loader was compiled against an old version of libbpf without support for querying features. ---- The utility is now compiled against the correct `libbpf` version. As a result, the command now works as expected.
    • Done

      [test_features] FAIL
      Command 'ip link add dev v0 type veth peer name v1' exited with status 0

      Cannot display features, because xdp-loader was compiled against an old version of libbpf without support for querying features.
      Test test_features exited with return code: 1

      [root@netqe4 ~]# uname -r
      5.14.0-362.1.1.el9_3.x86_64

      [root@netqe4 ~]# rpm -qa | grep xdp
      kernel-kernel-networking-ebpf_xdp-common-1.0-66.noarch
      libxdp-1.4.0-1.el9.x86_64
      xdp-tools-1.4.0-1.el9.x86_64

      [root@netqe4 ~]# rpm -qa | grep bpf
      libbpf-1.2.0-1.el9.x86_64
      kernel-kernel-networking-ebpf_xdp-common-1.0-66.noarch
      libbpf-devel-1.2.0-1.el9.x86_64
      bpftool-7.2.0-362.1.1.el9_3.x86_64

            tohojo Toke Høiland-Jørgensen
            ralongi@redhat.com Rick Alongi
            Toke Høiland-Jørgensen Toke Høiland-Jørgensen
            Rick Alongi Rick Alongi
            Marc Muehlfeld Marc Muehlfeld
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: