Autopilot's ProcessSearchError stack trace is unhelpful

Bug #1237035 reported by Thomi Richards
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Autopilot
Fix Released
High
Unassigned
autopilot (Ubuntu)
Fix Released
Undecided
Unassigned
Saucy
Fix Released
Undecided
Unassigned

Bug Description

From http://10.97.2.10:8080/job/autopilot-testrunner-otto-saucy/481/testReport/unity8.shell.tests.test_notifications/EphemeralNotificationsTests/test_urgency_order_Desktop_Nexus_4_/

This traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unity8/shell/tests/test_notifications.py", line 408, in test_urgency_order
    self.launch_unity()
  File "/usr/lib/python2.7/dist-packages/unity8/shell/tests/__init__.py", line 173, in launch_unity
    **kwargs
  File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 284, in launch_test_application
    dbus_bus
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 188, in get_autopilot_proxy_object_for_process
    dbus_bus=dbus_bus,
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 263, in get_proxy_object_for_existing_process
    process
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 293, in _get_dbus_addresses_from_search_parameters
    % return_code
ProcessSearchError: Process exited with exit code: -5

Needs to be improved. If it exits with a signal (-ve RC), we should print both the numeric, and string values of that signal. We should also print which process this is talking about, and the PID of the exited process.

Related branches

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:autopilot/1.3 at revision 348, scheduled for release in autopilot, milestone Unknown

Changed in autopilot:
status: Confirmed → Fix Committed
Changed in autopilot:
milestone: none → 1.4
status: Fix Committed → Fix Released
Changed in autopilot (Ubuntu):
status: New → Fix Released
Changed in autopilot (Ubuntu Saucy):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.