summaryrefslogtreecommitdiffstats
path: root/scripts/opkg-query-helper.py
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2024-06-24 18:20:24 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-02 22:29:13 +0100
commita65a3dd4aaa9cba5219ebd136c43a0a9994f6161 (patch)
treeb8a5ba6aad7b4a950e90e6fad0c4f301ec74eadc /scripts/opkg-query-helper.py
parentceb6a4ecf9796c1c7b07f29ae4d435c589ed9957 (diff)
downloadpoky-a65a3dd4aaa9cba5219ebd136c43a0a9994f6161.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: f0fe0b490d309cdf1c97754f85a61b5b948b7f28) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/opkg-query-helper.py')
0 files changed, 0 insertions, 0 deletions