TAP version 13 1..1 # timeout set to 240 # selftests: drivers/net: xdp.py # TAP version 13 # 1..27 # ok 1 xdp.test_xdp_native_pass_sb.ipv4 # ok 2 xdp.test_xdp_native_pass_sb.ipv6 # ok 3 xdp.test_xdp_native_pass_mb.ipv4 # ok 4 xdp.test_xdp_native_pass_mb.ipv6 # ok 5 xdp.test_xdp_native_drop_sb.ipv4 # ok 6 xdp.test_xdp_native_drop_sb.ipv6 # ok 7 xdp.test_xdp_native_drop_mb.ipv4 # ok 8 xdp.test_xdp_native_drop_mb.ipv6 # ok 9 xdp.test_xdp_native_tx_sb.ipv4 # ok 10 xdp.test_xdp_native_tx_sb.ipv6 # ok 11 xdp.test_xdp_native_tx_mb.ipv4 # ok 12 xdp.test_xdp_native_tx_mb.ipv6 # ok 13 xdp.test_xdp_native_adjst_tail_grow_data.ipv4 # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/drivers/net/./xdp.py", line 499, 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 "/srv/hw-worker/tests/2671/drivers/net/./xdp.py", line 445, in _test_xdp_native_tail_adjst # # Exception| bpf_map_set("map_xdp_setup", TestConfig.PORT.value, port) # # Exception| ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/bpf.py", line 37, in bpf_map_set # # Exception| bpftool( # # Exception| ~~~~~~~^ # # Exception| f"map update name {map_name} key hex {key_formatted} value hex {value_formatted}" # # Exception| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| ) # # Exception| ^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/utils.py", line 259, in bpftool # # Exception| return tool('bpftool', args, json=json, ns=ns, host=host) # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/utils.py", line 252, in tool # # Exception| cmd_obj = cmd(cmd_str, ns=ns, host=host) # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/utils.py", line 101, in __init__ # # Exception| self.process(terminate=False, fail=fail, expect_fail=expect_fail, # # Exception| ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| timeout=timeout) # # Exception| ^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/utils.py", line 134, in process # # Exception| raise CmdExitFailure("Command failed", self) # # Exception| net.lib.py.utils.CmdExitFailure: Command failed # # Exception| CMD: bpftool map update name map_xdp_setup key hex 01 00 00 00 value hex 41 a6 00 00 # # Exception| EXIT: 255 # # Exception| STDERR: Error: can't get map by id (459): No such file or directory # # Exception| # not ok 14 xdp.test_xdp_native_adjst_tail_grow_data.ipv6 # ok 15 xdp.test_xdp_native_adjst_tail_shrnk_data.ipv4 # ok 16 xdp.test_xdp_native_adjst_tail_shrnk_data.ipv6 # # hds-thresh not supported. Using default: 1500 # # Failed run: pkt_sz 512, offset -256. Last successful run: pkt_sz 512, offset -128. Reason: Adjustment failed # ok 17 xdp.test_xdp_native_adjst_head_grow_data.ipv4 # # hds-thresh not supported. Using default: 1500 # # Failed run: pkt_sz 512, offset -256. Last successful run: pkt_sz 512, offset -128. Reason: Adjustment failed # ok 18 xdp.test_xdp_native_adjst_head_grow_data.ipv6 # # hds-thresh not supported. Using default: 1500 # # Failed run: pkt_sz (2048) > HDS threshold (1500) and offset 32 > 28 # ok 19 xdp.test_xdp_native_adjst_head_shrnk_data.ipv4 # # hds-thresh not supported. Using default: 1500 # # Failed run: pkt_sz (2048) > HDS threshold (1500) and offset 64 > 48 # ok 20 xdp.test_xdp_native_adjst_head_shrnk_data.ipv6 # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/drivers/net/./xdp.py", line 721, in test_xdp_native_qstats # # Exception| before = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0] # # Exception| ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1440, in _op # # Exception| return self._ops(ops)[0] # # Exception| ~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1397, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.lib.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported {'bad-attr': '.ifindex'} # # Exception| # not ok 21 xdp.test_xdp_native_qstats.pass_ipv4 # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/drivers/net/./xdp.py", line 721, in test_xdp_native_qstats # # Exception| before = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0] # # Exception| ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1440, in _op # # Exception| return self._ops(ops)[0] # # Exception| ~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1397, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.lib.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported {'bad-attr': '.ifindex'} # # Exception| # not ok 22 xdp.test_xdp_native_qstats.drop_ipv4 # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/drivers/net/./xdp.py", line 721, in test_xdp_native_qstats # # Exception| before = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0] # # Exception| ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1440, in _op # # Exception| return self._ops(ops)[0] # # Exception| ~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1397, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.lib.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported {'bad-attr': '.ifindex'} # # Exception| # not ok 23 xdp.test_xdp_native_qstats.tx_ipv4 # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/drivers/net/./xdp.py", line 721, in test_xdp_native_qstats # # Exception| before = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0] # # Exception| ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1440, in _op # # Exception| return self._ops(ops)[0] # # Exception| ~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1397, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.lib.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported {'bad-attr': '.ifindex'} # # Exception| # not ok 24 xdp.test_xdp_native_qstats.pass_ipv6 # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/drivers/net/./xdp.py", line 721, in test_xdp_native_qstats # # Exception| before = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0] # # Exception| ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1440, in _op # # Exception| return self._ops(ops)[0] # # Exception| ~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1397, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.lib.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported {'bad-attr': '.ifindex'} # # Exception| # not ok 25 xdp.test_xdp_native_qstats.drop_ipv6 # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/2671/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/drivers/net/./xdp.py", line 721, in test_xdp_native_qstats # # Exception| before = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0] # # Exception| ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1440, in _op # # Exception| return self._ops(ops)[0] # # Exception| ~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/2671/net/lib/ynl/pyynl/lib/ynl.py", line 1397, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.lib.ynl.pyynl.lib.ynl.NlError: Netlink error: Operation not supported {'bad-attr': '.ifindex'} # # Exception| # not ok 26 xdp.test_xdp_native_qstats.tx_ipv6 # ok 27 xdp.test_xdp_native_update_mb_to_sb # # Totals: pass:20 fail:7 xfail:0 xpass:0 skip:0 error:0 not ok 1 selftests: drivers/net: xdp.py # exit=1 # Totals: pass:0 fail:1 xfail:0 xpass:0 skip:0 error:0