1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-10 04:00:28 +00:00

oeqa: runtime: ssh: Manage any SSH failure locally

This is the SSH test, it makes sense to ignore SSH failures in the SSH
helper and manage them in the test body.

(From OE-Core rev: 2281fd4c10e38a3cad3050b7a21a72cc7b09e718)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mathieu Dubois-Briand
2025-10-07 19:38:09 +02:00
committed by Richard Purdie
parent 0cbe95e5ae
commit 966c774603
+1 -1
View File
@@ -17,7 +17,7 @@ class SSHTest(OERuntimeTestCase):
@OEHasPackage(['dropbear', 'openssh-sshd'])
def test_ssh(self):
for i in range(5):
status, output = self.target.run("uname -a", timeout=30)
status, output = self.target.run("uname -a", timeout=30, ignore_ssh_fails=True)
if status == 0:
break
elif status == 255 or status == -signal.SIGTERM: