TAP version 13 1..1 # timeout set to 360 # selftests: drivers/net: xdp.py # TAP version 13 # 1..14 # ok 1 xdp.test_xdp_native_pass_sb # ok 2 xdp.test_xdp_native_pass_mb # ok 3 xdp.test_xdp_native_drop_sb # ok 4 xdp.test_xdp_native_drop_mb # ok 5 xdp.test_xdp_native_tx_sb # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/2084/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2084/drivers/net/./xdp.py", line 317, in test_xdp_native_tx_mb # # Exception| _test_xdp_native_tx(cfg, bpf_info, [8000, 0]) # # Exception| ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2084/drivers/net/./xdp.py", line 260, in _test_xdp_native_tx # # Exception| bpf_map_set("map_xdp_setup", TestConfig.PORT.value, port) # # Exception| ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2084/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/2084/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/2084/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/2084/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/2084/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 9d e6 00 00 # # Exception| EXIT: 255 # # Exception| STDERR: Error: can't get map by id (833): No such file or directory # # Exception| # not ok 6 xdp.test_xdp_native_tx_mb # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/2084/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2084/drivers/net/./xdp.py", line 465, in test_xdp_native_adjst_tail_grow_data # # Exception| _validate_res(res, offset_lst, pkt_sz_lst) # # Exception| ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/2084/drivers/net/./xdp.py", line 336, in _validate_res # # Exception| raise KsftFailEx(f"{res['reason']}") # # Exception| net.lib.py.ksft.KsftFailEx: Adjustment failed # # Exception| # not ok 7 xdp.test_xdp_native_adjst_tail_grow_data # ok 8 xdp.test_xdp_native_adjst_tail_shrnk_data # # Failed run: pkt_sz 512, offset -256. Last successful run: pkt_sz 512, offset -128. Reason: Adjustment failed # ok 9 xdp.test_xdp_native_adjst_head_grow_data # # Failed run: pkt_sz (512) > HDS threshold (0) and offset 64 > 48 # ok 10 xdp.test_xdp_native_adjst_head_shrnk_data # ok 11 xdp.test_xdp_native_qstats.pass # # Check| At /srv/hw-worker/tests/2084/drivers/net/./xdp.py, line 671, in test_xdp_native_qstats: # # Check| ksft_ge(after['rx-packets'] - before['rx-packets'], expected_pkts) # # Check failed 1 < 1000 # not ok 12 xdp.test_xdp_native_qstats.drop # # Check| At /srv/hw-worker/tests/2084/drivers/net/./xdp.py, line 671, in test_xdp_native_qstats: # # Check| ksft_ge(after['rx-packets'] - before['rx-packets'], expected_pkts) # # Check failed 0 < 1000 # # Check| At /srv/hw-worker/tests/2084/drivers/net/./xdp.py, line 673, in test_xdp_native_qstats: # # Check| ksft_ge(after['tx-packets'] - before['tx-packets'], expected_pkts) # # Check failed 0 < 1000 # not ok 13 xdp.test_xdp_native_qstats.tx # ok 14 xdp.test_xdp_native_update_mb_to_sb # # Totals: pass:10 fail:4 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