Remove psutil.error module imports in utah for utopic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Remove the references for psutil.error module in utah since the utopic verion of python-psutil ( 2.1.1-1), psutil.error is deprecated.
For more info
http://
and
2014-06-01 20:17:44,718 ssh DEBUG: Connecting SSH
2014-06-01 20:17:44,887 ssh DEBUG: Opening SSH session
2014-06-01 20:17:45,121 ssh INFO: Running command through SSH: utah -f yaml -r /tmp/default.run -o /var/lib/
2014-06-01 20:17:45,376 ssh DEBUG: Closing SSH connection
2014-06-01 20:17:45,377 ssh WARNING: SSH command (utah -f yaml -r /tmp/default.run -o /var/lib/
2014-06-01 20:17:45,377 ssh DEBUG: Standard output follows:
2014-06-01 20:17:45,377 ssh DEBUG: Standard error follows:
2014-06-01 20:17:45,378 ssh DEBUG: Traceback (most recent call last):
2014-06-01 20:17:45,378 ssh DEBUG: File "/usr/bin/utah", line 27, in <module>
2014-06-01 20:17:45,378 ssh DEBUG: from utah.url import url_argument
2014-06-01 20:17:45,379 ssh DEBUG: File "/usr/lib/
2014-06-01 20:17:45,379 ssh DEBUG: from utah.cleanup import cleanup
2014-06-01 20:17:45,379 ssh DEBUG: File "/usr/lib/
2014-06-01 20:17:45,379 ssh DEBUG: from utah.process import ProcessRunner
2014-06-01 20:17:45,380 ssh DEBUG: File "/usr/lib/
2014-06-01 20:17:45,380 ssh DEBUG: import psutil.error
2014-06-01 20:17:45,380 ssh DEBUG: ImportError: No module named error
=======
This eventually leading to the console log:
2014-06-01 20:17:07,894 rsyslog WARNING: Expected pattern missed, matched future pattern: .*Machine UUID:\s+(.*)
2014-06-01 20:17:45,377 ssh WARNING: SSH command (utah -f yaml -r /tmp/default.run -o /var/lib/
Unhandled error in UTAH:
Traceback (most recent call last):
File "/usr/bin/
exitstatus = timeout(
File "/usr/lib/
return command(*args, **kw)
File "/usr/bin/
exitstatus, locallogs = run_tests(args, _get_machine(args))
File "/usr/lib/
_write(machine, args, locallogs, remote_path)
File "/usr/lib/
machine.
File "/usr/lib/
sftp_
File "/usr/lib/
file_size = self.stat(
File "/usr/lib/
t, msg = self._request(
File "/usr/lib/
return self._read_
File "/usr/lib/
self.
File "/usr/lib/
raise IOError(
IOError: [Errno 2] No such file
Related branches
- Paul Larson (community): Approve
-
Diff: 28 lines (+2/-3)1 file modifiedutah/process.py (+2/-3)
This branch fixes the specific issue in the bug. We still have smoke test failures and the causes are: /bugs.launchpad .net/ubuntu/ +source/ plymouth/ +bug/1309617 for server test failures and /bugs.launchpad .net/ubuntu/ +source/ ubiquity/ +bug/1326707 for desktop test failures.
https:/
https:/