TAP version 13 1..1 # timeout set to 0 # selftests: drivers/net/hw: userns_devmem.py # # WARN: LOCAL_V6 fd00:2::1 not configured with nodad # # Interface: ens9np0, driver: bnxt_en # TAP version 13 # 1..4 # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/devmem_lib.py", line 237, in run_rx # # Exception| wait_port_listen(port, proto="tcp", ns=netns) # # Exception| ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/utils.py", line 351, in wait_port_listen # # Exception| data = cmd(f'cat /proc/net/{proto}*', ns=ns, host=host, shell=True).stdout # # Exception| ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/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/4444/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: nsenter --user=/run/userns/lqraorql --net=/run/netns/lqraorql --setuid=0 --setgid=0 -- cat /proc/net/tcp* # # Exception| EXIT: 1 # # Exception| STDERR: nsenter: setgid() failed: Invalid argument # # Exception| # # Exception| During handling of the above exception, another exception occurred: # # Exception| # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/ksft.py", line 257, in wrapper # # Exception| return func(*args, **kwargs) # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/./userns_devmem.py", line 16, in check_userns_rx # # Exception| run_rx(cfg) # # Exception| ~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/devmem_lib.py", line 236, in run_rx # # Exception| with bkg(listen_cmd, exit_wait=True, ns=netns) as ncdevmem: # # Exception| ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/utils.py", line 205, in __exit__ # # Exception| return self.process(terminate=terminate, fail=self.check_fail, # # Exception| ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| expect_fail=self.expect_fail) # # Exception| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/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: nsenter --user=/run/userns/lqraorql --net=/run/netns/lqraorql --setuid=0 --setgid=0 -- /srv/hw-worker/tests/4444/drivers/net/hw/ncdevmem -l -f nk0 -s fd00:2:0:1::2:2 -p 38825 -t 1 -q 1 -n -v 7 # # Exception| EXIT: 1 # # Exception| STDERR: nsenter: setgid() failed: Invalid argument # # Exception| # not ok 1 userns_devmem.check_userns_rx # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/ksft.py", line 257, in wrapper # # Exception| return func(*args, **kwargs) # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/./userns_devmem.py", line 22, in check_userns_tx # # Exception| run_tx(cfg) # # Exception| ~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/devmem_lib.py", line 253, in run_tx # # Exception| cmd(f"bash -c 'echo -e \"hello\\nworld\" | {tx_cmd}'", ns=netns, shell=True) # # Exception| ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/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/4444/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: nsenter --user=/run/userns/lqraorql --net=/run/netns/lqraorql --setuid=0 --setgid=0 -- bash -c 'echo -e "hello\nworld" | /srv/hw-worker/tests/4444/drivers/net/hw/ncdevmem -f nk0 -s fd00:2::2 -p 49465 -t 0 -q 1 -n' # # Exception| EXIT: 1 # # Exception| STDERR: nsenter: setgid() failed: Invalid argument # # Exception| # not ok 2 userns_devmem.check_userns_tx # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/ksft.py", line 257, in wrapper # # Exception| return func(*args, **kwargs) # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/./userns_devmem.py", line 28, in check_userns_tx_chunks # # Exception| run_tx_chunks(cfg) # # Exception| ~~~~~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/devmem_lib.py", line 268, in run_tx_chunks # # Exception| cmd(f"bash -c 'echo -e \"hello\\nworld\" | {tx_cmd}'", ns=netns, shell=True) # # Exception| ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/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/4444/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: nsenter --user=/run/userns/lqraorql --net=/run/netns/lqraorql --setuid=0 --setgid=0 -- bash -c 'echo -e "hello\nworld" | /srv/hw-worker/tests/4444/drivers/net/hw/ncdevmem -f nk0 -s fd00:2::2 -p 49245 -t 0 -q 1 -n -z 3' # # Exception| EXIT: 1 # # Exception| STDERR: nsenter: setgid() failed: Invalid argument # # Exception| # not ok 3 userns_devmem.check_userns_tx_chunks # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/devmem_lib.py", line 313, in run_rx_hds # # Exception| wait_port_listen(port, proto="tcp", ns=netns) # # Exception| ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/utils.py", line 351, in wait_port_listen # # Exception| data = cmd(f'cat /proc/net/{proto}*', ns=ns, host=host, shell=True).stdout # # Exception| ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/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/4444/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: nsenter --user=/run/userns/lqraorql --net=/run/netns/lqraorql --setuid=0 --setgid=0 -- cat /proc/net/tcp* # # Exception| EXIT: 1 # # Exception| STDERR: nsenter: setgid() failed: Invalid argument # # Exception| # # Exception| During handling of the above exception, another exception occurred: # # Exception| # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/ksft.py", line 420, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/./userns_devmem.py", line 33, in check_userns_rx_hds # # Exception| run_rx_hds(cfg) # # Exception| ~~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/drivers/net/hw/devmem_lib.py", line 312, in run_rx_hds # # Exception| with bkg(listen_cmd, exit_wait=True, ns=netns) as ncdevmem: # # Exception| ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/net/lib/py/utils.py", line 205, in __exit__ # # Exception| return self.process(terminate=terminate, fail=self.check_fail, # # Exception| ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| expect_fail=self.expect_fail) # # Exception| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/4444/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: nsenter --user=/run/userns/lqraorql --net=/run/netns/lqraorql --setuid=0 --setgid=0 -- /srv/hw-worker/tests/4444/drivers/net/hw/ncdevmem -l -f nk0 -s fd00:2:0:1::2:2 -p 54733 -t 1 -q 1 -n -L # # Exception| EXIT: 1 # # Exception| STDERR: nsenter: setgid() failed: Invalid argument # # Exception| # not ok 4 userns_devmem.check_userns_rx_hds # # Totals: pass:0 fail:4 xfail:0 xpass:0 skip:0 error:0 not ok 1 selftests: drivers/net/hw: userns_devmem.py # exit=1 # Totals: pass:0 fail:1 xfail:0 xpass:0 skip:0 error:0