Subject: [linus:master] [selftests] efec2e55bd: kernel-selftests.drivers/net.xdp.py.fail

From: kernel test robot <[email-masked]>
Date: Wed, 5 Nov 2025 13:27:44 +0800

Hello,

kernel test robot noticed "kernel-selftests.drivers/net.xdp.py.fail" on:

commit: efec2e55bdefb889639a6e7fe1f1f2431cdddc6a ("selftests: drv-net: Pull data before parsing headers")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

parent can always pass.

323302f54db92dc1 efec2e55bdefb889639a6e7fe1f
---------------- ---------------------------
       fail:runs  %reproduction    fail:runs
           |             |             |
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.fail
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.xdp.test_xdp_native_adjst_head_grow_data.fail
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.xdp.test_xdp_native_adjst_head_shrnk_data.fail
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.xdp.test_xdp_native_adjst_tail_grow_data.fail
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.xdp.test_xdp_native_adjst_tail_shrnk_data.fail
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.xdp.test_xdp_native_drop_mb.fail
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.xdp.test_xdp_native_drop_sb.fail
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.xdp.test_xdp_native_pass_mb.fail
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.xdp.test_xdp_native_pass_sb.fail
           :10         100%          10:10    kernel-selftests.drivers/net.xdp.py.xdp.test_xdp_native_tx_mb.fail

[test failed on      linus/master e53642b87a4f4b03a8d7e5f8507fc3cd0c595ea6]
[test failed on linux-next/master 131f3d9446a6075192cdd91f197989d98302faa6]
[test failed on        fix commit 11ae737efea10a8cc1c48b6288bde93180946b8c]

in testcase: kernel-selftests
version: kernel-selftests-x86_64-8bb886cb8f3a-1_20251104
with following parameters:

	group: drivers

config: x86_64-rhel-9.4-kselftests
compiler: gcc-14
test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-9980XE CPU @ 3.00GHz (Skylake) with 32G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email-masked]>
| Closes: https://lore.kernel.org/oe-lkp/[email-masked]

# timeout set to 300
# selftests: drivers/net: xdp.py
# TAP version 13
# 1..9
# # Exception| Traceback (most recent call last):
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# # Exception|     case(*args)
# # Exception|     ~~~~^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 231, in test_xdp_native_pass_sb
# # Exception|     _test_pass(cfg, bpf_info, 256)
# # Exception|     ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 209, in _test_pass
# # Exception|     prog_info = _load_xdp_prog(cfg, bpf_info)
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 114, in _load_xdp_prog
# # Exception|     cmd(
# # Exception|     ~~~^
# # Exception|     f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
# # Exception|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|     shell=True
# # Exception|     ^^^^^^^^^^
# # Exception|     )
# # Exception|     ^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__
# # Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# # Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 91, in process
# # Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# # Exception|                          (self.proc.args, stdout, stderr), self)
# # Exception| net.lib.py.utils.CmdExitFailure: Command failed: ip link set dev eth1 mtu 1500 xdp obj /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o sec xdp
# # Exception| STDOUT: b''
# # Exception| STDERR: b"libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?\nlibbpf: failed to find valid kernel BTF\nlibbpf: Error loading vmlinux BTF: -3\nlibbpf: failed to load object '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o'\n"
# not ok 1 xdp.test_xdp_native_pass_sb
# # Exception| Traceback (most recent call last):
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# # Exception|     case(*args)
# # Exception|     ~~~~^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 243, in test_xdp_native_pass_mb
# # Exception|     _test_pass(cfg, bpf_info, 8000)
# # Exception|     ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 209, in _test_pass
# # Exception|     prog_info = _load_xdp_prog(cfg, bpf_info)
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 114, in _load_xdp_prog
# # Exception|     cmd(
# # Exception|     ~~~^
# # Exception|     f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
# # Exception|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|     shell=True
# # Exception|     ^^^^^^^^^^
# # Exception|     )
# # Exception|     ^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__
# # Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# # Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 91, in process
# # Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# # Exception|                          (self.proc.args, stdout, stderr), self)
# # Exception| net.lib.py.utils.CmdExitFailure: Command failed: ip link set dev eth1 mtu 9000 xdp obj /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o sec xdp.frags
# # Exception| STDOUT: b''
# # Exception| STDERR: b"libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?\nlibbpf: failed to find valid kernel BTF\nlibbpf: Error loading vmlinux BTF: -3\nlibbpf: failed to load object '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o'\n"
# not ok 2 xdp.test_xdp_native_pass_mb
# # Exception| Traceback (most recent call last):
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# # Exception|     case(*args)
# # Exception|     ~~~~^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 278, in test_xdp_native_drop_sb
# # Exception|     _test_drop(cfg, bpf_info, 256)
# # Exception|     ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 256, in _test_drop
# # Exception|     prog_info = _load_xdp_prog(cfg, bpf_info)
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 114, in _load_xdp_prog
# # Exception|     cmd(
# # Exception|     ~~~^
# # Exception|     f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
# # Exception|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|     shell=True
# # Exception|     ^^^^^^^^^^
# # Exception|     )
# # Exception|     ^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__
# # Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# # Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 91, in process
# # Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# # Exception|                          (self.proc.args, stdout, stderr), self)
# # Exception| net.lib.py.utils.CmdExitFailure: Command failed: ip link set dev eth1 mtu 1500 xdp obj /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o sec xdp
# # Exception| STDOUT: b''
# # Exception| STDERR: b"libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?\nlibbpf: failed to find valid kernel BTF\nlibbpf: Error loading vmlinux BTF: -3\nlibbpf: failed to load object '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o'\n"
# not ok 3 xdp.test_xdp_native_drop_sb
# # Exception| Traceback (most recent call last):
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# # Exception|     case(*args)
# # Exception|     ~~~~^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 290, in test_xdp_native_drop_mb
# # Exception|     _test_drop(cfg, bpf_info, 8000)
# # Exception|     ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 256, in _test_drop
# # Exception|     prog_info = _load_xdp_prog(cfg, bpf_info)
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 114, in _load_xdp_prog
# # Exception|     cmd(
# # Exception|     ~~~^
# # Exception|     f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
# # Exception|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|     shell=True
# # Exception|     ^^^^^^^^^^
# # Exception|     )
# # Exception|     ^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__
# # Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# # Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 91, in process
# # Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# # Exception|                          (self.proc.args, stdout, stderr), self)
# # Exception| net.lib.py.utils.CmdExitFailure: Command failed: ip link set dev eth1 mtu 9000 xdp obj /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o sec xdp.frags
# # Exception| STDOUT: b''
# # Exception| STDERR: b"libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?\nlibbpf: failed to find valid kernel BTF\nlibbpf: Error loading vmlinux BTF: -3\nlibbpf: failed to load object '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o'\n"
# not ok 4 xdp.test_xdp_native_drop_mb
# # Exception| Traceback (most recent call last):
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# # Exception|     case(*args)
# # Exception|     ~~~~^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 303, in test_xdp_native_tx_mb
# # Exception|     prog_info = _load_xdp_prog(cfg, bpf_info)
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 114, in _load_xdp_prog
# # Exception|     cmd(
# # Exception|     ~~~^
# # Exception|     f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
# # Exception|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|     shell=True
# # Exception|     ^^^^^^^^^^
# # Exception|     )
# # Exception|     ^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__
# # Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# # Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 91, in process
# # Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# # Exception|                          (self.proc.args, stdout, stderr), self)
# # Exception| net.lib.py.utils.CmdExitFailure: Command failed: ip link set dev eth1 mtu 9000 xdp obj /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o sec xdp.frags
# # Exception| STDOUT: b''
# # Exception| STDERR: b"libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?\nlibbpf: failed to find valid kernel BTF\nlibbpf: Error loading vmlinux BTF: -3\nlibbpf: failed to load object '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o'\n"
# not ok 5 xdp.test_xdp_native_tx_mb
# # Exception| Traceback (most recent call last):
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# # Exception|     case(*args)
# # Exception|     ~~~~^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 462, in test_xdp_native_adjst_tail_grow_data
# # Exception|     res = _test_xdp_native_tail_adjst(
# # Exception|         cfg,
# # Exception|         pkt_sz_lst,
# # Exception|         offset_lst,
# # Exception|     )
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 408, in _test_xdp_native_tail_adjst
# # Exception|     prog_info = _load_xdp_prog(cfg, bpf_info)
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 114, in _load_xdp_prog
# # Exception|     cmd(
# # Exception|     ~~~^
# # Exception|     f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
# # Exception|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|     shell=True
# # Exception|     ^^^^^^^^^^
# # Exception|     )
# # Exception|     ^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__
# # Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# # Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 91, in process
# # Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# # Exception|                          (self.proc.args, stdout, stderr), self)
# # Exception| net.lib.py.utils.CmdExitFailure: Command failed: ip link set dev eth1 mtu 9000 xdp obj /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o sec xdp.frags
# # Exception| STDOUT: b''
# # Exception| STDERR: b"libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?\nlibbpf: failed to find valid kernel BTF\nlibbpf: Error loading vmlinux BTF: -3\nlibbpf: failed to load object '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o'\n"
# not ok 6 xdp.test_xdp_native_adjst_tail_grow_data
# # Exception| Traceback (most recent call last):
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# # Exception|     case(*args)
# # Exception|     ~~~~^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 480, in test_xdp_native_adjst_tail_shrnk_data
# # Exception|     res = _test_xdp_native_tail_adjst(
# # Exception|         cfg,
# # Exception|         pkt_sz_lst,
# # Exception|         offset_lst,
# # Exception|     )
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 408, in _test_xdp_native_tail_adjst
# # Exception|     prog_info = _load_xdp_prog(cfg, bpf_info)
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 114, in _load_xdp_prog
# # Exception|     cmd(
# # Exception|     ~~~^
# # Exception|     f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
# # Exception|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|     shell=True
# # Exception|     ^^^^^^^^^^
# # Exception|     )
# # Exception|     ^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__
# # Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# # Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 91, in process
# # Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# # Exception|                          (self.proc.args, stdout, stderr), self)
# # Exception| net.lib.py.utils.CmdExitFailure: Command failed: ip link set dev eth1 mtu 9000 xdp obj /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o sec xdp.frags
# # Exception| STDOUT: b''
# # Exception| STDERR: b"libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?\nlibbpf: failed to find valid kernel BTF\nlibbpf: Error loading vmlinux BTF: -3\nlibbpf: failed to load object '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o'\n"
# not ok 7 xdp.test_xdp_native_adjst_tail_shrnk_data
# # Exception| Traceback (most recent call last):
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# # Exception|     case(*args)
# # Exception|     ~~~~^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 604, in test_xdp_native_adjst_head_grow_data
# # Exception|     res = _test_xdp_native_head_adjst(cfg, "xdp_prog_frags", pkt_sz_lst, offset_lst)
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 528, in _test_xdp_native_head_adjst
# # Exception|     prog_info = _load_xdp_prog(cfg, BPFProgInfo(prog, "xdp_native.bpf.o", "xdp.frags", 9000))
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 114, in _load_xdp_prog
# # Exception|     cmd(
# # Exception|     ~~~^
# # Exception|     f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
# # Exception|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|     shell=True
# # Exception|     ^^^^^^^^^^
# # Exception|     )
# # Exception|     ^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__
# # Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# # Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 91, in process
# # Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# # Exception|                          (self.proc.args, stdout, stderr), self)
# # Exception| net.lib.py.utils.CmdExitFailure: Command failed: ip link set dev eth1 mtu 9000 xdp obj /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o sec xdp.frags
# # Exception| STDOUT: b''
# # Exception| STDERR: b"libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?\nlibbpf: failed to find valid kernel BTF\nlibbpf: Error loading vmlinux BTF: -3\nlibbpf: failed to load object '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o'\n"
# not ok 8 xdp.test_xdp_native_adjst_head_grow_data
# # Exception| Traceback (most recent call last):
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/ksft.py", line 244, in ksft_run
# # Exception|     case(*args)
# # Exception|     ~~~~^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 625, in test_xdp_native_adjst_head_shrnk_data
# # Exception|     res = _test_xdp_native_head_adjst(cfg, "xdp_prog_frags", pkt_sz_lst, offset_lst)
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 528, in _test_xdp_native_head_adjst
# # Exception|     prog_info = _load_xdp_prog(cfg, BPFProgInfo(prog, "xdp_native.bpf.o", "xdp.frags", 9000))
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/drivers/net/./xdp.py", line 114, in _load_xdp_prog
# # Exception|     cmd(
# # Exception|     ~~~^
# # Exception|     f"ip link set dev {cfg.ifname} mtu {bpf_info.mtu} xdp obj {abs_path} sec {bpf_info.xdp_sec}",
# # Exception|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|     shell=True
# # Exception|     ^^^^^^^^^^
# # Exception|     )
# # Exception|     ^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 71, in __init__
# # Exception|     self.process(terminate=False, fail=fail, timeout=timeout)
# # Exception|     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/py/utils.py", line 91, in process
# # Exception|     raise CmdExitFailure("Command failed: %s\nSTDOUT: %s\nSTDERR: %s" %
# # Exception|                          (self.proc.args, stdout, stderr), self)
# # Exception| net.lib.py.utils.CmdExitFailure: Command failed: ip link set dev eth1 mtu 9000 xdp obj /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o sec xdp.frags
# # Exception| STDOUT: b''
# # Exception| STDERR: b"libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?\nlibbpf: failed to find valid kernel BTF\nlibbpf: Error loading vmlinux BTF: -3\nlibbpf: failed to load object '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-efec2e55bdefb889639a6e7fe1f1f2431cdddc6a/tools/testing/selftests/net/lib/xdp_native.bpf.o'\n"
# not ok 9 xdp.test_xdp_native_adjst_head_shrnk_data
# # Totals: pass:0 fail:9 xfail:0 xpass:0 skip:0 error:0
not ok 14 selftests: drivers/net: xdp.py # exit=1

The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20251105/[email-masked]

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki