Testcase: test_get_applications_should_return_list_with_names(Native Device)

Build #:229:20140310:20140304
Arch:manta (Nexus 10)
Release:trusty
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_get_applications_should_return_list_with_names(Native Device)
testsuite
unity8.shell.tests.test_emulators.DashAppsEmulatorTestCase
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar 10 05:17:28 ubuntu-phablet kernel: [ 1118.554099] input: autopilot-finger as /devices/virtual/input/input44
Mar 10 05:17:28 ubuntu-phablet kernel: [ 1119.363103] iio-buffer, current state requested again
Mar 10 05:17:30 ubuntu-phablet kernel: [ 1121.478122] iio-buffer, current state requested again
Mar 10 05:17:57 ubuntu-phablet kernel: [ 1147.887432] healthd: battery l=91 v=4128 t=21.8 h=2 st=2 c=-234 chg=u
}}}

test-log: {{{
05:17:28.008 INFO globals:57 - ************************************************************
05:17:28.009 INFO globals:58 - Starting test
unity8.shell.tests.test_emulators.DashAppsEmulatorTestCase.test_get_applications_should_return_list_with_names (Native Device)
05:17:28.010 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:17:28.014 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
05:17:28.189 INFO __init__:260 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
05:17:28.191 INFO __init__:331 - Setting up LightDM mock type 'single'
05:17:28.254 INFO __init__:340 - New library path:
/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single
05:17:28.281 INFO __init__:363 - New QML2 import path:
/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks:/usr/lib/arm-linux-gnueabihf/unity8/qml/scopefakes
05:17:28.311 INFO __init__:302 - Starting unity
05:17:28.682 INFO process_helpers:130 - unity8 start/running, process 7881

05:17:30.321 INFO __init__:387 - dbus.DBusException while attempting to get PID for :1.577: DBusException("Could not get PID of name ':1.577': no such
name",)
05:17:30.328 INFO __init__:387 - dbus.DBusException while attempting to get PID for com.canonical.hud.query40.results: DBusException("Could not get
PID of name 'com.canonical.hud.query40.results': no such name",)
05:17:30.331 INFO __init__:387 - dbus.DBusException while attempting to get PID for com.canonical.hud.query40.appstack: DBusException("Could not get
PID of name 'com.canonical.hud.query40.appstack': no such name",)
05:17:31.344 INFO __init__:315 - Stopping unity
05:18:01.793 INFO __init__:238 - Resetting upstart env QT_LOAD_TESTABILITY to None
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/unity8/shell/tests/test_emulators.py", line 175, in setUp
    super(DashAppsEmulatorTestCase, self).setUp()
  File "/home/phablet/autopilot/unity8/shell/tests/test_emulators.py", line 48, in setUp
    unity_proxy = self.launch_unity()
  File "/home/phablet/autopilot/unity8/shell/tests/__init__.py", line 289, in launch_unity
    self.unity_geometry_args,
  File "/home/phablet/autopilot/unity8/shell/tests/__init__.py", line 312, in _launch_unity_with_upstart
    return restart_unity_with_testability(*all_args)
  File "/home/phablet/autopilot/unity8/process_helpers.py", line 99, in restart_unity_with_testability
    return restart_unity(*args)
  File "/home/phablet/autopilot/unity8/process_helpers.py", line 136, in restart_unity
    return _get_unity_proxy_object(pid)
  File "/home/phablet/autopilot/unity8/process_helpers.py", line 160, in _get_unity_proxy_object
    emulator_base=emulators.UnityEmulatorBase,
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 154, in get_proxy_object_for_existing_process
    process
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 283, in _get_dbus_addresses_from_search_parameters
    object_path
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 309, in _search_for_valid_connections
    object_path
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 321, in _get_valid_connections
    valid_connections = filter(filter_fn, connections)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 367, in _match_connection
    success = _connection_matches_pid(bus, connection_name, pid)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 389, in _connection_matches_pid
    eligible_pids = [pid] + _get_child_pids(pid)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 437, in __call__
    p.pid for p in psutil.Process(pid).get_children(recursive=True)
  File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 232, in __init__
    raise NoSuchProcess(pid, None, 'no process found with pid %s' % pid)
NoSuchProcess: no process found with pid 7881

command_type
testcase_test