bump timeout on ssh commands to 30s

We are seeing intermitent failures in zuul trying to talk to the node
which look like they are the 10s ssh negotiation failing. Extremely
busy test nodes that are using their entire network bw to pull
packages, may take longer than this.

Try to reduce this by bumping the timeout.

Change-Id: Ic4ec2ea3c8b77cb308fb1a85514d831acf6c4b67
This commit is contained in:
Sean Dague 2016-09-01 09:26:57 -04:00
parent 80fe50f484
commit fa17628a45
1 changed files with 3 additions and 0 deletions

View File

@ -1268,6 +1268,9 @@ class NodeWorker(object):
config.write('gathering = explicit\n')
config.write('callback_plugins = %s\n' % self.callback_dir)
config.write('library = %s\n' % self.library_dir)
# bump the timeout because busy nodes may take more than
# 10s to respond
config.write('timeout = 30\n')
config.write('[ssh_connection]\n')
ssh_args = "-o ControlMaster=auto -o ControlPersist=60s " \