diff options
| author | Jon Mason <jdmason@kudzu.us> | 2024-06-24 18:20:24 -0400 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-08-26 05:18:44 -0700 |
| commit | deea7587a0d4d5cd239562e95893e0533f03c1fd (patch) | |
| tree | 66b4f36759f1c78bd5b36788849f35643aab84fc /meta/recipes-devtools/dmidecode | |
| parent | 2d07b2b7342cb663a03a3d6976570ca26af651b5 (diff) | |
| download | poky-deea7587a0d4d5cd239562e95893e0533f03c1fd.tar.gz | |
oeqa/runtime/ssh: add retry logic and sleeps to allow for slower systems
On exceptionally slow systems, the ssh test can intermittently fail due
to a race between when ping works and the networking applications being
brought up. To work around this issue, add some retry logic when ssh
fails to connect. According to the man page of ssh, "ssh exits
with the exit status of the remote command or with 255 if an error
occurred." So, only retry if the return code is 255, and limit the
number of retries to prevent it looping forever.
(From OE-Core rev: f6eacc39dc44c6b3dea9c44836addce5d03f20ef)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f0fe0b490d309cdf1c97754f85a61b5b948b7f28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/dmidecode')
0 files changed, 0 insertions, 0 deletions
