Testcase: test_open_preview(Native Device)

Build #:212:20140228.1:20140228.1
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_open_preview(Native Device)
testsuite
unity8.shell.tests.test_emulators.GenericScopeViewEmulatorTestCase
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Feb 28 13:04:57 ubuntu-phablet kernel: [ 1296.558642] input: autopilot-finger as /devices/virtual/input/input46
Feb 28 13:04:57 ubuntu-phablet kernel: [ 1297.331445] iio-buffer, current state requested again
Feb 28 13:05:09 ubuntu-phablet kernel: [ 1309.107054] iio-buffer, current state requested again
Feb 28 13:05:28 ubuntu-phablet kernel: [ 1327.942183] healthd: battery l=69 v=3933 t=21.7 h=2 st=2 c=-249 chg=u
}}}

test-log: {{{
13:04:57.038 INFO globals:57 - ************************************************************
13:04:57.039 INFO globals:58 - Starting test unity8.shell.tests.test_emulators.GenericScopeViewEmulatorTestCase.test_open_preview (Native Device)
13:04:57.039 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
13:04:57.043 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
13:04:57.212 INFO __init__:261 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
13:04:57.213 INFO __init__:332 - Setting up LightDM mock type 'single'
13:04:57.273 INFO __init__:341 - New library path:
/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/libusermetrics:/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks/LightDM/single
13:04:57.302 INFO __init__:364 - New QML2 import path:
/usr/lib/arm-linux-gnueabihf/unity8/qml/mocks:/usr/lib/arm-linux-gnueabihf/unity8/qml/scopefakes
13:04:57.331 INFO __init__:303 - Starting unity
13:04:57.721 INFO process_helpers:130 - unity8 start/running, process 8376

13:05:00.728 DEBUG __init__:296 - Unity started, waiting for it to be ready.
13:05:00.729 DEBUG dbus:431 - Selecting objects of type Dash with attributes: {}
13:05:00.759 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
13:05:00.830 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
13:05:02.006 DEBUG __init__:298 - Unity loaded and ready.
13:05:02.006 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
13:05:02.059 DEBUG dbus:431 - Selecting objects of type Greeter with attributes: {}
13:05:02.213 DEBUG _uinput:546 - Dragging from 2557,832 to 512,832
13:05:05.417 INFO process_helpers:88 - Greeter unlocked, continuing.
13:05:05.419 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
13:05:05.497 DEBUG dbus:431 - Selecting objects of type Dash with attributes: {}
13:05:05.587 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
13:05:06.251 INFO logging:45 - Dash: Open a dash scope. Arguments ('home',). Keyword arguments: {}.
13:05:06.257 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
13:05:06.847 INFO dash:73 - The scope is already open.
13:05:06.865 DEBUG dbus:431 - Selecting objects of type GenericScopeView with attributes: {}
13:05:06.893 INFO logging:45 - GenericScopeView: Open the preview of an application. Arguments ('0', 'Title.0'). Keyword arguments: {}.
13:05:06.898 DEBUG dbus:431 - Selecting objects of type Base with attributes: {'objectName': 'dashCategory0'}
13:05:07.109 DEBUG dbus:431 - Selecting objects of type Tile with attributes: {'text': 'Title.0'}
13:05:07.239 DEBUG _common:45 - Moving to object's globalRect coordinates.
13:05:07.240 DEBUG _uinput:475 - Tapping at: 230,489
13:05:07.387 DEBUG dbus:431 - Selecting objects of type DashPreview with attributes: {'isCurrent': True}
13:05:09.331 DEBUG dbus:431 - Selecting objects of type DashPreview with attributes: {'isCurrent': True}
13:05:09.338 INFO __init__:316 - Stopping unity
13:05:38.952 INFO __init__:239 - Resetting upstart env QT_LOAD_TESTABILITY to None
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/unity8/shell/tests/test_emulators.py", line 147, in test_open_preview
    preview = self.home_scope.open_preview('0', 'Title.0')
  File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/unity8/shell/emulators/dash.py", line 173, in open_preview
    self.preview_class, isCurrent=True)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 373, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 318, in select_single
    instances = self.select_many(type_name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 456, in select_many
    state_dicts = self.get_state_by_path(query_path)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 540, in get_state_by_path
    data = self._backend.introspection_iface.GetState(piece)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/backends.py", line 101, in introspection_iface
    "Application under test exited before the test finished!"
RuntimeError: Application under test exited before the test finished!

command_type
testcase_test