Testcase: test_indicator_exists(Bluetooth)

Build #:213:20140228.2: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 20:15:20 ubuntu-phablet kernel: [  955.488187] input: autopilot-finger as /devices/virtual/input/input34
Feb 28 20:15:21 ubuntu-phablet kernel: [  956.283420] iio-buffer, current state requested again
Feb 28 20:15:33 ubuntu-phablet kernel: [  968.167040] healthd: battery l=57 v=3801 t=22.6 h=2 st=2 c=-1591 chg=u
}}}

test-log: {{{
20:15:20.546 INFO globals:57 - ************************************************************
20:15:20.547 INFO globals:58 - Starting test unity8.indicators.tests.test_indicators.IndicatorTestCase.test_indicator_exists (Bluetooth)
20:15:20.548 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
20:15:20.553 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
20:15:20.729 INFO __init__:260 - Lib path is '/usr/lib/arm-linux-gnueabihf/unity8', binary path is '/usr/bin/unity8'
20:15:20.730 INFO __init__:331 - Setting up LightDM mock type 'single'
20:15:20.786 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
20:15:20.812 INFO __init__:363 - New QML2 import path: /usr/lib/arm-linux-gnueabihf/unity8/qml/mocks
20:15:20.840 INFO __init__:302 - Starting unity
20:15:21.194 INFO process_helpers:130 - unity8 start/running, process 6452

20:15:24.193 DEBUG __init__:295 - Unity started, waiting for it to be ready.
20:15:24.194 DEBUG dbus:431 - Selecting objects of type Dash with attributes: {}
20:15:24.248 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'dashContentList'}
20:15:24.347 DEBUG dbus:431 - Selecting objects of type QQuickLoader with attributes: {'scopeId': 'home.scope'}
20:15:24.501 DEBUG __init__:297 - Unity loaded and ready.
20:15:24.502 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
20:15:24.540 DEBUG dbus:431 - Selecting objects of type Greeter with attributes: {}
20:15:24.646 DEBUG _uinput:546 - Dragging from 2557,832 to 512,832
20:15:27.869 INFO process_helpers:88 - Greeter unlocked, continuing.
20:15:27.874 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
20:15:27.961 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:30.200 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:32.231 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:34.001 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:35.741 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:37.449 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:39.240 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:40.958 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:42.670 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:44.362 DEBUG dbus:431 - Selecting objects of type DefaultIndicatorWidget with attributes: {'objectName': 'indicator-bluetooth-widget'}
20:15:45.112 INFO __init__:315 - Stopping unity
20:15:45.898 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