Processing sleeps as long as the SSH timeout is

I am not sure if this is a bug or an incompatibility.

Part1:

`

user@host:/sw> time ansible -vvvv targetServer01 -m ping
Using /sw/ansible/ansible.cfg as config file
Loaded callback minimal of type stdout, v2.0
ESTABLISH SSH CONNECTION FOR USER: user
SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=30 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r -tt targetServer01 (umask 22 && mkdir -p “$HOME/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754” && echo “$HOME/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754”)

`

Part2:

`

PUT /tmp/tmpjOMTij TO /home/user/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754/ping
SSH: EXEC scp -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=30 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r /tmp/tmpjOMTij [targetServer01]:/home/user/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754/ping
ESTABLISH SSH CONNECTION FOR USER: user
SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=30 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r -tt targetServer01 LANG=C LC_MESSAGES=C LC_CTYPE=C /usr/bin/python /home/user/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754/ping; rm -rf “/home/user/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754/” > /dev/null 2>&1
targetServer01 | SUCCESS => {
“changed”: false,
“ping”: “pong”
}

real 0m30.808s
user 0m0.508s
sys 0m0.172s

`

Between Part1 and Part2 the processing stucks for the length of my SSH timeout.

I am using a git checkout from yesterday.

Any ideas?

Fixed with this commit: https://github.com/ansible/ansible/commit/2898e000a0b993d5c4445c04c713f6f857ea88e1