oeqa: target: ssh: log SSH errors during tests
Get series with b4
b4 am [email protected] change-id 20251007-mathieu-ssh-fails-0c01b1865511Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | oeqa: target: ssh: Fail on SSH error even when errors are ignoredmeta/ | +8 | 0 replies | |
| 2/4 | oeqa: runtime: Ignore SSH errors during setup and tear downmeta/ meta/ | +5 | 2 replies | |
| 3/4 | oeqa: postactions: Ignore SSH errorsmeta/ | +2 | 0 replies | |
| 4/4 | oeqa: runtime: ssh: Manage any SSH failure locallymeta/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] oeqa: target: ssh: log SSH errors during tests
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.
---
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,
Signature · 1 line
Mathieu Dubois-Briand <[email protected]>