Testcase: test_indicator_exists(Bluetooth)

Build #:230:20140311: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_indicator_exists(Bluetooth)
testsuite
unity8.indicators.tests.test_indicators.IndicatorTestCase
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar 11 07:00:48 ubuntu-phablet kernel: [  897.992765] input: autopilot-finger as /devices/virtual/input/input30
Mar 11 07:00:49 ubuntu-phablet kernel: [  898.822542] iio-buffer, current state requested again
Mar 11 07:00:58 ubuntu-phablet kernel: [  908.165565] healthd: battery l=93 v=4089 t=21.6 h=2 st=2 c=-1253 chg=u
}}}

test-log: {{{
07:00:48.266 INFO globals:57 - ************************************************************
07:00:48.267 INFO globals:58 - Starting test unity8.indicators.tests.test_indicators.IndicatorTestCase.test_indicator_exists (Bluetooth)
07:00:48.268 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:00:48.273 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
07:00:48.469 INFO __init__:260 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
07:00:48.471 INFO __init__:331 - Setting up LightDM mock type 'single'
07:00:48.529 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
07:00:48.555 INFO __init__:363 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks
07:00:48.582 INFO __init__:302 - Starting unity
07:00:48.926 INFO process_helpers:130 - unity8 start/running, process 5679

07:00:52.136 DEBUG __init__:295 - Unity started, waiting for it to be ready.
07:00:52.137 DEBUG dbus:431 - Selecting objects of type Dash with attributes: {}
07:00:52.175 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
07:00:52.285 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
07:00:52.407 DEBUG __init__:297 - Unity loaded and ready.
07:00:52.407 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:00:52.439 DEBUG dbus:431 - Selecting objects of type Greeter with attributes: {}
07:00:52.545 DEBUG _uinput:546 - Dragging from 2557,832 to 512,832
07:00:55.840 INFO process_helpers:88 - Greeter unlocked, continuing.
07:00:55.841 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:00:55.942 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:00:58.050 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:01:00.029 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:01:01.762 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:01:03.448 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:01:05.214 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:01:06.979 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:01:08.689 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:01:10.404 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:01:12.099 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
07:01:12.796 INFO __init__:315 - Stopping unity
07:01:13.734 INFO __init__:238 - 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