[SERVER-37490] Increase the ConnectTimeout for powercycle Created: 05/Oct/18  Updated: 29/Oct/23  Resolved: 03/Jan/19

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.10, 4.0.6, 4.1.7

Type: Task Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: tig-powercycle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: STM 2019-01-14
Participants:
Linked BF Score: 30
Story Points: 1

 Description   

We should increase the ConnectTimeout used in powercycle tests from 10 to 30 seconds.



 Comments   
Comment by Githook User [ 04/Jan/19 ]

Author:

{'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn'}

Message: SERVER-37490 Increase ssh ConnectTimeout from 10 to 30 seconds.

(cherry picked from commit 63af6676e353eafa00b6178737085606836e6139)
Branch: v3.6
https://github.com/mongodb/mongo/commit/4ba270ae658ab890a3cd2c6b6edd4e73c639e8ad

Comment by Githook User [ 04/Jan/19 ]

Author:

{'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn'}

Message: SERVER-37490 Increase ssh ConnectTimeout from 10 to 30 seconds.

(cherry picked from commit 63af6676e353eafa00b6178737085606836e6139)
Branch: v4.0
https://github.com/mongodb/mongo/commit/198aeb34b035a128834205b7f8d1cde9fc2235c4

Comment by Githook User [ 03/Jan/19 ]

Author:

{'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn'}

Message: SERVER-37490 Increase ssh ConnectTimeout from 10 to 30 seconds.
Branch: master
https://github.com/mongodb/mongo/commit/63af6676e353eafa00b6178737085606836e6139

Comment by Jonathan Abrahams [ 20/Dec/18 ]

Note, it seems that ssh uses the first values it sees on the command line and ignores subsequent repeated ones. So the following code needs to be changed in powertest.py:

From:

    ssh_connection_options = "{} {}".format(
        default_ssh_connection_options,
        options.ssh_connection_options if options.ssh_connection_options else "")

To:

    ssh_connection_options = "{} {}".format(
        options.ssh_connection_options if options.ssh_connection_options else "",
        default_ssh_connection_options)

Generated at Thu Feb 08 04:46:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.