Testcase: test_indicator_exists(Bluetooth)

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_indicator_exists(Bluetooth)
testsuite
unity8.indicators.tests.test_indicators.IndicatorTestCase
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Feb 28 13:00:18 ubuntu-phablet kernel: [ 1017.568726] input: autopilot-finger as /devices/virtual/input/input34
Feb 28 13:00:18 ubuntu-phablet kernel: [ 1018.326435] iio-buffer, current state requested again
Feb 28 13:00:28 ubuntu-phablet kernel: [ 1027.925281] healthd: battery l=70 v=3874 t=21.5 h=2 st=2 c=-1525 chg=u
}}}

test-log: {{{
13:00:18.049 INFO globals:57 - ************************************************************
13:00:18.050 INFO globals:58 - Starting test unity8.indicators.tests.test_indicators.IndicatorTestCase.test_indicator_exists (Bluetooth)
13:00:18.051 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
13:00:18.055 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
13:00:18.224 INFO __init__:261 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
13:00:18.225 INFO __init__:332 - Setting up LightDM mock type 'single'
13:00:18.281 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:00:18.311 INFO __init__:364 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks
13:00:18.340 INFO __init__:303 - Starting unity
13:00:18.633 INFO process_helpers:130 - unity8 start/running, process 6541

13:00:21.777 DEBUG __init__:296 - Unity started, waiting for it to be ready.
13:00:21.778 DEBUG dbus:431 - Selecting objects of type Dash with attributes: {}
13:00:21.814 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
13:00:21.929 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
13:00:22.029 DEBUG __init__:298 - Unity loaded and ready.
13:00:22.030 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
13:00:22.079 DEBUG dbus:431 - Selecting objects of type Greeter with attributes: {}
13:00:22.177 DEBUG _uinput:546 - Dragging from 2557,832 to 512,832
13:00:25.366 INFO process_helpers:88 - Greeter unlocked, continuing.
13:00:25.369 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
13:00:25.463 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:27.417 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:29.317 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:31.052 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:32.791 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:34.609 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:36.360 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:38.078 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:39.845 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:41.547 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
13:00:42.286 INFO __init__:316 - Stopping unity
13:00:43.053 INFO __init__:239 - Resetting upstart env QT_LOAD_TESTABILITY to None
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/unity8/indicators/tests/test_indicators.py", line 49, in test_indicator_exists
    indicator = self.main_window.get_indicator(self.indicator_name)
  File "/home/phablet/autopilot/unity8/shell/emulators/main_window.py", line 97, in get_indicator
    objectName=indicator_name+'-widget'
  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 322, in select_single
    raise StateNotFoundError(type_name, **kwargs)
StateNotFoundError: State not found for class 'DefaultIndicatorWidget' and filters {'objectName': 'indicator-bluetooth-widget'}.

command_type
testcase_test