1) this is a test with reboots, so we repeatedly call utah_is_done.py via ssh.
2) debugging this requires looking at the ssh log which isn't included in the build artifacts, but I was able to grab from the jenkins workspace:
013-07-31 18:07:59,449 ssh DEBUG: SSH command (/usr/share/utah/client/utah-done.py) failed with return code: 1
2013-07-31 18:07:59,449 ssh DEBUG: Standard output follows:
2013-07-31 18:07:59,450 ssh DEBUG: Standard error follows:
2013-07-31 18:07:59,450 ssh DEBUG: Traceback (most recent call last):
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/share/utah/client/utah-done.py", line 20, in <module>
2013-07-31 18:07:59,450 ssh DEBUG: from utah.client.common import (
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/lib/python2.7/dist-packages/utah/client/common.py", line 38, in <module>
2013-07-31 18:07:59,450 ssh DEBUG: from utah.process import run
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/lib/python2.7/dist-packages/utah/process.py", line 30, in <module>
2013-07-31 18:07:59,450 ssh DEBUG: import psutil
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 65, in <module>
2013-07-31 18:07:59,450 ssh DEBUG: import psutil._pslinux as _psplatform
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/lib/python2.7/dist-packages/psutil/_pslinux.py", line 87, in <module>
2013-07-31 18:07:59,451 ssh DEBUG: _TERMINAL_MAP = _psposix._get_terminal_map()
2013-07-31 18:07:59,451 ssh DEBUG: File "/usr/lib/python2.7/dist-packages/psutil/_psposix.py", line 117, in _get_terminal_map
2013-07-31 18:07:59,451 ssh DEBUG: ret[os.stat(name).st_rdev] = name
2013-07-31 18:07:59,451 ssh DEBUG: OSError: [Errno 2] No such file or directory: '/dev/pts/1'
We called utah_is_done.py about 50 times and then for some reason on this one attempt we have a line of code that's simply:
The key things to note:
1) this is a test with reboots, so we repeatedly call utah_is_done.py via ssh.
2) debugging this requires looking at the ssh log which isn't included in the build artifacts, but I was able to grab from the jenkins workspace:
013-07-31 18:07:59,449 ssh DEBUG: SSH command (/usr/share/ utah/client/ utah-done. py) failed with return code: 1 utah/client/ utah-done. py", line 20, in <module> python2. 7/dist- packages/ utah/client/ common. py", line 38, in <module> python2. 7/dist- packages/ utah/process. py", line 30, in <module> python2. 7/dist- packages/ psutil/ __init_ _.py", line 65, in <module> python2. 7/dist- packages/ psutil/ _pslinux. py", line 87, in <module> _get_terminal_ map() python2. 7/dist- packages/ psutil/ _psposix. py", line 117, in _get_terminal_map stat(name) .st_rdev] = name
2013-07-31 18:07:59,449 ssh DEBUG: Standard output follows:
2013-07-31 18:07:59,450 ssh DEBUG: Standard error follows:
2013-07-31 18:07:59,450 ssh DEBUG: Traceback (most recent call last):
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/share/
2013-07-31 18:07:59,450 ssh DEBUG: from utah.client.common import (
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/lib/
2013-07-31 18:07:59,450 ssh DEBUG: from utah.process import run
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/lib/
2013-07-31 18:07:59,450 ssh DEBUG: import psutil
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/lib/
2013-07-31 18:07:59,450 ssh DEBUG: import psutil._pslinux as _psplatform
2013-07-31 18:07:59,450 ssh DEBUG: File "/usr/lib/
2013-07-31 18:07:59,451 ssh DEBUG: _TERMINAL_MAP = _psposix.
2013-07-31 18:07:59,451 ssh DEBUG: File "/usr/lib/
2013-07-31 18:07:59,451 ssh DEBUG: ret[os.
2013-07-31 18:07:59,451 ssh DEBUG: OSError: [Errno 2] No such file or directory: '/dev/pts/1'
We called utah_is_done.py about 50 times and then for some reason on this one attempt we have a line of code that's simply:
import psutil
and that fails due to the no /dev/pts/1 error