Skip to content

selftests: Use a master ssh connection for remote commands

Cosmin Ratiu linux-kselftest netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3selftests: Disable stdin for remote commands over sshtools/testing/selftests/drivers/net/lib/py/remote_ssh.py+1 -00 replies
2/3selftests: Wrap remote command executions in PTYstools/testing/selftests/drivers/net/lib/py/remote_netns.py tools/testing/selftests/drivers/net/lib/py/remote_ssh.py tools/testing/selftests/net/lib/py/utils.py+9 -40 replies
3/3selftests: Use a master ssh connection for remote commandstools/testing/selftests/drivers/net/lib/py/remote_ssh.py+42 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] selftests: Use a master ssh connection for remote commands

This series switches selftests to run remote ssh commands over an ssh master connection, significantly speeding up test execution in most environments by avoiding the need to repeatedly authenticate.

The first patch fixes an issue with stdin inheritance, the 2nd patch wraps some remote command executions in PTYs to avoid a termination issue and the 3rd patch finally converts remote command execution to use an ssh master connection. For details, please see individual patches.

Cosmin Ratiu (3):
selftests: Disable stdin for remote commands over ssh
selftests: Wrap remote command executions in PTYs
selftests: Use a master ssh connection for remote commands

 .../drivers/net/lib/py/remote_netns.py        |  2 +-
 .../drivers/net/lib/py/remote_ssh.py          | 52 ++++++++++++++++---
 tools/testing/selftests/net/lib/py/utils.py   |  4 +-
 3 files changed, 50 insertions(+), 8 deletions(-)
Signature · 1 line
2.53.0