ProcessSearchError gives poor error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
High
|
Unassigned | ||
autopilot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The ProcessSearchError exception doesn't really tell us what we need to know. For example:
The relevant log being:
test-log: {{{
09:26:13.826 INFO globals:49 - *******
09:26:13.831 INFO globals:50 - Starting test ubuntuuitoolkit
09:26:13.833 WARNING testcase:118 - No tracing available - install the python-
09:26:13.840 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
09:26:14.070 INFO __init__:156 - Launching process: ['/usr/
09:26:26.308 INFO testcase:552 - waiting for process to exit.
09:26:26.311 INFO testcase:554 - Killing process 2761
}}}
Traceback (most recent call last):
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
app_type='qt')
File "/usr/lib/
dbus_bus
File "/usr/lib/
dbus_
File "/usr/lib/
raise ProcessSearchEr
ProcessSearchError: Search criteria returned no results
Is it possible to display the search criteria in this case ?
We should also make it clear to distinguish between "the process failed to launch", and "the process launched, but we couldn't find the dbus interface."
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Christopher Lee (community): Approve
-
Diff: 494 lines (+416/-19)3 files modifiedautopilot/introspection/__init__.py (+98/-14)
autopilot/tests/functional/test_ap_apps.py (+1/-2)
autopilot/tests/unit/test_introspection_features.py (+317/-3)
Changed in autopilot: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:autopilot at revision 417, scheduled for release in autopilot, milestone 1.4