Skip to content
Commit 06b37d5b authored by Ryan Roberts's avatar Ryan Roberts
Browse files

cli: Workaround possible bug in paramiko



I've seen issues where put() fails with "OSError: Socket is closed"
after a previous timeout while running a command. I haven't been able to
reliably reproduce, but I suspect this could be due to a bug in fabric
(or paramiko). Attempt to work around this by explicitly disconnecting
and reconnecting to the SUT upon timeout (or any other exception).

Signed-off-by: Ryan Roberts's avatarRyan Roberts <ryan.roberts@arm.com>
parent 5c1a4cde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment