I ran in to this issue again today, ssh failed less than 1 second after the SUT reported to be rebooting.
from the debug log:
2013-08-20 10:58:55,309 root INFO: System under test is rebooting 2013-08-20 10:58:55,309 root INFO: Checking if UTAH client is finished 2013-08-20 10:58:55,309 ps-radeon-hd7450-le DEBUG: Checking if machine is active 2013-08-20 10:58:55,309 ps-radeon-hd7450-le DEBUG: Checking if machine is provisioned 2013-08-20 10:58:55,309 ps-radeon-hd7450-le DEBUG: Checking if machine is active 2013-08-20 10:58:55,309 ps-radeon-hd7450-le DEBUG: Checking if machine is provisioned 2013-08-20 10:58:55,310 ssh DEBUG: Connecting SSH 2013-08-20 10:58:55,879 ssh DEBUG: Opening SSH session 2013-08-20 10:58:55,880 ssh INFO: Running command through SSH: /usr/share/utah/client/utah-done.py 2013-08-20 10:58:55,918 ssh DEBUG: Closing SSH connection 2013-08-20 10:58:55,918 ssh DEBUG: SSH command (/usr/share/utah/client/utah-done.py) failed with return code: -1 2013-08-20 10:58:55,919 ssh DEBUG: Standard output follows: 2013-08-20 10:58:55,919 ssh DEBUG: Standard error follows: 2013-08-20 10:58:55,919 root INFO: UTAH client is finished 2013-08-20 10:58:55,919 ps-radeon-hd7450-le DEBUG: Checking if machine is active 2013-08-20 10:58:55,919 ps-radeon-hd7450-le DEBUG: Checking if machine is provisioned 2013-08-20 10:58:55,921 ssh DEBUG: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/utah/provisioning/ssh.py", line 250, in downloadfiles key_filename=config.sshprivatekey) File "/usr/lib/python2.7/dist-packages/paramiko/client.py", line 296, in connect sock.connect(addr) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 111] Connection refused
I ran in to this issue again today, ssh failed less than 1 second after the SUT reported to be rebooting.
from the debug log:
2013-08-20 10:58:55,309 root INFO: System under test is rebooting utah/client/ utah-done. py utah/client/ utah-done. py) failed with return code: -1 python2. 7/dist- packages/ utah/provisioni ng/ssh. py", line 250, in downloadfiles filename= config. sshprivatekey) python2. 7/dist- packages/ paramiko/ client. py", line 296, in connect connect( addr) python2. 7/socket. py", line 224, in meth self._sock, name)(* args)
2013-08-20 10:58:55,309 root INFO: Checking if UTAH client is finished
2013-08-20 10:58:55,309 ps-radeon-hd7450-le DEBUG: Checking if machine is active
2013-08-20 10:58:55,309 ps-radeon-hd7450-le DEBUG: Checking if machine is provisioned
2013-08-20 10:58:55,309 ps-radeon-hd7450-le DEBUG: Checking if machine is active
2013-08-20 10:58:55,309 ps-radeon-hd7450-le DEBUG: Checking if machine is provisioned
2013-08-20 10:58:55,310 ssh DEBUG: Connecting SSH
2013-08-20 10:58:55,879 ssh DEBUG: Opening SSH session
2013-08-20 10:58:55,880 ssh INFO: Running command through SSH: /usr/share/
2013-08-20 10:58:55,918 ssh DEBUG: Closing SSH connection
2013-08-20 10:58:55,918 ssh DEBUG: SSH command (/usr/share/
2013-08-20 10:58:55,919 ssh DEBUG: Standard output follows:
2013-08-20 10:58:55,919 ssh DEBUG: Standard error follows:
2013-08-20 10:58:55,919 root INFO: UTAH client is finished
2013-08-20 10:58:55,919 ps-radeon-hd7450-le DEBUG: Checking if machine is active
2013-08-20 10:58:55,919 ps-radeon-hd7450-le DEBUG: Checking if machine is provisioned
2013-08-20 10:58:55,921 ssh DEBUG: Traceback (most recent call last):
File "/usr/lib/
key_
File "/usr/lib/
sock.
File "/usr/lib/
return getattr(
error: [Errno 111] Connection refused