Testcase: test_change_toggles_state(Nexus 4,switch disabled unchecked)

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 unchecked)
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:05:49 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 10:05:49 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 10:05:49 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 10:05:49 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:05:49 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 10:05:49 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:05:49 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:05:49 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:05:53 ubuntu-phablet kernel: [ 1774.292323] send sigkill to 19348 (unity8-dash), adj 50, size 11959
Jul 23 10:05:55 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: 11570647-9d63-46c4-9658-3452240a887c
Jul 23 10:05:55 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 10:05:55 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 10:05:55 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 10:05:55 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 10:05:55 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:05:55 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:05:55 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:05:55 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:06:04 ubuntu-phablet kernel: [ 1785.428170] send sigkill to 19463 (unity8-dash), adj 50, size 12341
Jul 23 10:06:07 ubuntu-phablet kernel: [ 1788.176163] kgsl: kgsl_mmu_get_gpuaddr: gen_pool_alloc(3936256) failed, pool: general_pool
Jul 23 10:06:07 ubuntu-phablet kernel: [ 1788.176407] kgsl: kgsl_mmu_get_gpuaddr:  [2532] allocated=1105489920, entries=666
Jul 23 10:06:07 ubuntu-phablet powerd[973]: :1.24 vanished from dbus, clearing associated requests
Jul 23 10:06:07 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:06:07 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:06:07 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:06:07 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:06:07 ubuntu-phablet kernel: [ 1788.316160] mipi_lgit_lcd_off started
Jul 23 10:06:07 ubuntu-phablet kernel: [ 1788.446177] mipi_lgit_lcd_off finished
Jul 23 10:06:07 ubuntu-phablet kernel: [ 1788.446207] mipi_dsi_panel_power: mipi lcd function started status = 0 
Jul 23 10:06:07 ubuntu-phablet kernel: [ 1788.929711] mipi_dsi_panel_power: mipi lcd function started status = 1 
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1788.937097]  mipi_dsi_panel_power : reset start.
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1788.964504] mipi_lgit_lcd_on started
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.026399] mipi_lgit_lcd_on finished
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.066228] mipi_lgit_lcd_off started
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.173935] mtp_release
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.197985] mipi_lgit_lcd_off finished
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.198046] mipi_dsi_panel_power: mipi lcd function started status = 0 
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.309049] mipi_dsi_panel_power: mipi lcd function started status = 1 
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.317289]  mipi_dsi_panel_power : reset start.
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.349610] mipi_lgit_lcd_on started
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.426277] mipi_lgit_lcd_on finished
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.476270] mipi_lgit_lcd_off started
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.606164] mipi_lgit_lcd_off finished
Jul 23 10:06:08 ubuntu-phablet kernel: [ 1789.606195] mipi_dsi_panel_power: mipi lcd function started status = 0
}}}

process-return-code (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher): {{{-15}}}
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".
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
QObject::startTimer: Timers cannot be started from another thread
UbuntuWindow::handleSurfaceFocusChange(focused=false)
}}}

test-log: {{{
10:05:48.949 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
10:05:48.953 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:05:48.977 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:05:53.916 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('togglesElement',). Keyword arguments: {}.
10:05:54.225 INFO logging:45 - QQuickListView: Make the child visible. Arguments (<ubuntuuitoolkit._custom_proxy_objects.listitems.Standard object at
0xb21e1e10>,). Keyword arguments: {}.
10:05:55.345 DEBUG _flickable:122 - The element is already visible.
10:05:55.383 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:05:55.384 DEBUG _uinput:485 - Tapping at: 540,448
10:06:07.936 ERROR testcase:385 - Taking screenshot failed: Command '['mirscreencast', '-m', '/run/mir_socket', '-n', '1', '-f',
'/tmp/ap-screenshot-data-1437645966.rgba']' returned non-zero exit status 1
10:06:08.327 ERROR testcase:385 - Taking screenshot failed: Command '['mirscreencast', '-m', '/run/mir_socket', '-n', '1', '-f',
'/tmp/ap-screenshot-data-1437645968.rgba']' returned non-zero exit status 1
10:06:08.739 ERROR testcase:385 - Taking screenshot failed: Command '['mirscreencast', '-m', '/run/mir_socket', '-n', '1', '-f',
'/tmp/ap-screenshot-data-1437645968.rgba']' returned non-zero exit status 1
10:06:08.743 INFO _launcher:544 - waiting for process to exit.
10:06:08.744 INFO _launcher:567 - Killing process 19412
}}}

traceback-2: {{{
Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/gallery/test_toggles.py", line 75, in setUp
    self.open_page('togglesElement')
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/gallery/__init__.py", line 133, in open_page
    element.selected.wait_for(True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 180, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on Standard.selected failed: True != dbus.Boolean(False, variant_level=1)
}}}

traceback-3: {{{
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 40, in _get_bus_connections_pid
    return bus_iface.GetConnectionUnixProcessID(connection_name)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **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
}}}

command_type
testcase_test

Artifacts ›   Console Log ›