public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/4] oeqa: target: ssh: log SSH errors during tests
@ 2025-10-07 17:38 Mathieu Dubois-Briand
  2025-10-07 17:38 ` [PATCH 1/4] oeqa: target: ssh: Fail on SSH error even when errors are ignored Mathieu Dubois-Briand
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Mathieu Dubois-Briand @ 2025-10-07 17:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Thomas Petazzoni, Mathieu Dubois-Briand

Most tests running SSH commands ask for no error to be raised when the
returned status is not 0, and handle the returned status themselves. But
most of the tests do not check if the non-zero status is caused by a
fail of the command run on the target or by a fail of SSH itself.

This can lead to confusing test results, such as the one described in
bugzilla issue #15981.

This series introduce a check for SSH failures by default, only bypassed
in some specific cases.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
Mathieu Dubois-Briand (4):
      oeqa: target: ssh: Fail on SSH error even when errors are ignored
      oeqa: runtime: Ignore SSH errors during setup and tear down
      oeqa: postactions: Ignore SSH errors
      oeqa: runtime: ssh: Manage any SSH failure locally

 meta/lib/oeqa/core/target/ssh.py         | 12 ++++++++----
 meta/lib/oeqa/runtime/cases/logrotate.py |  7 ++++---
 meta/lib/oeqa/runtime/cases/ssh.py       |  2 +-
 meta/lib/oeqa/runtime/cases/weston.py    |  2 +-
 meta/lib/oeqa/utils/postactions.py       |  4 ++--
 5 files changed, 16 insertions(+), 11 deletions(-)
---
base-commit: 9dfd4f44d4f40e7926dc88cb564baa2345c2a24f
change-id: 20251007-mathieu-ssh-fails-0c01b1865511

Best regards,
-- 
Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-10-13 11:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-07 17:38 [PATCH 0/4] oeqa: target: ssh: log SSH errors during tests Mathieu Dubois-Briand
2025-10-07 17:38 ` [PATCH 1/4] oeqa: target: ssh: Fail on SSH error even when errors are ignored Mathieu Dubois-Briand
2025-10-07 17:38 ` [PATCH 2/4] oeqa: runtime: Ignore SSH errors during setup and tear down Mathieu Dubois-Briand
2025-10-09 14:26   ` [OE-core] " Ross Burton
2025-10-13 11:02     ` Mathieu Dubois-Briand
2025-10-07 17:38 ` [PATCH 3/4] oeqa: postactions: Ignore SSH errors Mathieu Dubois-Briand
2025-10-07 17:38 ` [PATCH 4/4] oeqa: runtime: ssh: Manage any SSH failure locally Mathieu Dubois-Briand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox