Testcase: test_change_toggles_state(Nexus 4,switch disabled checked)

Build #:266:20150723:20150708
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_change_toggles_state(Nexus 4,switch disabled checked)
testsuite
ubuntuuitoolkit.tests.gallery.test_toggles.DisabledTogglesTestCase
returncode
1
command
autopilot
stderr
_StringException: Empty attachments:
  process-stdout (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher)

/var/log/syslog: {{{
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.050114] mipi_dsi_panel_power: mipi lcd function started status = 1 
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.051823]  mipi_dsi_panel_power : reset start.
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.073096] mipi_lgit_lcd_on started
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.143842] mipi_lgit_lcd_on finished
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.176163] mipi_lgit_lcd_off started
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.306119] mipi_lgit_lcd_off finished
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.306180] mipi_dsi_panel_power: mipi lcd function started status = 0 
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.403631] mipi_dsi_panel_power: mipi lcd function started status = 1 
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.408759]  mipi_dsi_panel_power : reset start.
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.430123] mipi_lgit_lcd_on started
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.486372] mipi_lgit_lcd_on finished
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.526171] mipi_lgit_lcd_off started
Jul 23 10:06:10 ubuntu-phablet bluetoothd[2228]: Endpoint unregistered: sender=:1.46 path=/MediaEndpoint/BlueZ4/HFPAG
Jul 23 10:06:10 ubuntu-phablet bluetoothd[2228]: Endpoint unregistered: sender=:1.46 path=/MediaEndpoint/BlueZ4/HFPHS
Jul 23 10:06:10 ubuntu-phablet bluetoothd[2228]: Endpoint unregistered: sender=:1.46 path=/MediaEndpoint/BlueZ4/A2DPSource
Jul 23 10:06:10 ubuntu-phablet bluetoothd[2228]: Endpoint unregistered: sender=:1.46 path=/MediaEndpoint/BlueZ4/A2DPSink
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.666198] mipi_lgit_lcd_off finished
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.666228] mipi_dsi_panel_power: mipi lcd function started status = 0 
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.839096] mipi_dsi_panel_power: mipi lcd function started status = 1 
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.845414]  mipi_dsi_panel_power : reset start.
Jul 23 10:06:10 ubuntu-phablet kernel: [ 1791.872974] mipi_lgit_lcd_on started
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1791.948328] mipi_lgit_lcd_on finished
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1791.986143] mipi_lgit_lcd_off started
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1792.136181] mipi_lgit_lcd_off finished
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1792.136212] mipi_dsi_panel_power: mipi lcd function started status = 0 
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1792.231557] mipi_dsi_panel_power: mipi lcd function started status = 1 
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1792.233511]  mipi_dsi_panel_power : reset start.
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1792.254783] mipi_lgit_lcd_on started
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1792.306332] mipi_lgit_lcd_on finished
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1792.346161] mipi_lgit_lcd_off started
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1792.476209] mipi_lgit_lcd_off finished
Jul 23 10:06:11 ubuntu-phablet kernel: [ 1792.476239] mipi_dsi_panel_power: mipi lcd function started status = 0
}}}

process-return-code (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher): {{{-6}}}
process-stderr (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'e'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 's'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'a'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'b'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'i'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'l'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'i'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'y'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'I'
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
terminate called after throwing an instance of 'std::runtime_error'
  what():  org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-MJMoVlpRwJ: Connection refused
}}}

test-log: {{{
10:06:10.007 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
10:06:10.012 INFO _launcher:373 - Attempting to launch application '/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher' with arguments '-I
/home/modules /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml
--desktop_file_hint=/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop' as a normal process
10:06:10.037 INFO _launcher:431 - Launching process: ['/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher', '-testability', '-I',
'/home/modules', '/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml',
'--desktop_file_hint=/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop']
10:06:10.424 ERROR testcase:385 - Taking screenshot failed: Command '['mirscreencast', '-m', '/run/mir_socket', '-n', '1', '-f',
'/tmp/ap-screenshot-data-1437645970.rgba']' returned non-zero exit status 1
10:06:10.835 ERROR testcase:385 - Taking screenshot failed: Command '['mirscreencast', '-m', '/run/mir_socket', '-n', '1', '-f',
'/tmp/ap-screenshot-data-1437645970.rgba']' returned non-zero exit status 1
10:06:11.254 ERROR testcase:385 - Taking screenshot failed: Command '['mirscreencast', '-m', '/run/mir_socket', '-n', '1', '-f',
'/tmp/ap-screenshot-data-1437645971.rgba']' returned non-zero exit status 1
10:06:11.610 ERROR testcase:385 - Taking screenshot failed: Command '['mirscreencast', '-m', '/run/mir_socket', '-n', '1', '-f',
'/tmp/ap-screenshot-data-1437645971.rgba']' returned non-zero exit status 1
10:06:11.614 INFO _launcher:544 - waiting for process to exit.
10:06:11.615 INFO _launcher:567 - Killing process 19593
}}}

traceback-4: {{{
Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/gallery/test_toggles.py", line 74, in setUp
    super().setUp()
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/gallery/__init__.py", line 48, in setUp
    super().setUp()
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/__init__.py", line 161, in setUp
    self.launch_application()
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/__init__.py", line 177, in launch_application
    app_type='qt')
  File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 279, in launch_test_application
    return launcher.launch(application, arguments, **launch_args)
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 384, in launch
    pid=process.pid
  File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 171, in get_proxy_object_for_existing_process
    process
  File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 314, in _find_matching_connections
    connections = bus.list_names()
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 333, in list_names
    '', (), **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Disconnected: Connection is closed
}}}

traceback-5: {{{
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/autopilot/utilities.py", line 348, in action_on_test_end
    obj.on_test_end(test_instance)
  File "/usr/lib/python3/dist-packages/autopilot/input/_osk.py", line 113, in on_test_end
    cls._keyboard.dismiss()
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 126, in dismiss
    if self.is_available():
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 137, in is_available
    return (self.keyboard.state == "SHOWN")
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 411, in __getattr__
    self.refresh_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 367, in refresh_state
    _, new_state = self._get_new_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 427, in _get_new_state
    return self._backend.execute_query_get_data(self._query)[0]
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 220, in execute_query_get_data
    data = self.ipc_address.introspection_iface.GetState(
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 116, in introspection_iface
    if not self._check_pid_running():
  File "/usr/lib/python3/dist-packages/autopilot/introspection/backends.py", line 156, in _check_pid_running
    self._addr_tuple.connection
  File "/usr/lib/python3/dist-packages/autopilot/introspection/utilities.py", line 38, in _get_bus_connections_pid
    bus_obj = bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus')
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 266, in __init__
    self._pending_introspect = self._Introspect()
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 380, in _Introspect
    require_main_loop=False, **kwargs)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 613, in call_async
    require_main_loop=require_main_loop)
dbus.exceptions.DBusException: Connection is disconnected - unable to make method call
}}}

command_type
testcase_test

Artifacts ›   Console Log ›