Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-5038

ConnectTimeout ssh option does not work on Windows VM

    XMLWordPrintable

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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hehalmet Heikki Halmet
            timolahti Timo Lahti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes