Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
unversioned
-
None
-
B2Qt RTA
Description
On Windows virtual machine current ssh version with -o ConnectTimeout=300 option will only wait for 300 seconds instead of a connection attempt having a 300 second timeout. Also eventually it will not connect.
Example of a command run during b2qt RTA tests:
ssh -i C:\Users\qt\.ssh\test_farm_id_rsa -o ConnectTimeout=300 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null qt@10.204.0.42 python /home/qt/hardware-controller-scripts/switchlogic.py --print
The bug is described also in https://github.com/PowerShell/Win32-OpenSSH/issues/1352
In the end of the above web page they say ssh version 8.6 no longer has this issue.
Update rationale: We would need to use ConnectTimeout option to prevent b2qt RTA test runs getting stuck on ssh connect in bad network environment situations and instead only report an error and continue testing.