From 966c7746037d79a3663cd9d3864051e74c60d01e Mon Sep 17 00:00:00 2001 From: Mathieu Dubois-Briand Date: Tue, 7 Oct 2025 19:38:09 +0200 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/cases/ssh.py b/meta/lib/oeqa/runtime/cases/ssh.py index b632a29a01..3e9503277e 100644 --- a/meta/lib/oeqa/runtime/cases/ssh.py +++ b/meta/lib/oeqa/runtime/cases/ssh.py @@ -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: