Testcase: test_click_unexisting_element

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_click_unexisting_element
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_qquicklistview.QQuickListViewTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 23 10:03:16 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 10:03:16 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 10:03:16 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 10:03:16 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:03:16 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 10:03:16 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:03:16 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:03:16 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:03:24 ubuntu-phablet kernel: [ 1625.868212] send sigkill to 17528 (launcher), adj 110, size 8793
Jul 23 10:03:25 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: 22d2d120-761e-40b8-8815-435290e2b6f0
Jul 23 10:03:25 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 10:03:25 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 10:03:25 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 10:03:25 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 10:03:25 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:03:25 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:03:25 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:03:25 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:03:25 ubuntu-phablet dbus[847]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 23 10:03:25 ubuntu-phablet dbus[847]: [system] Successfully activated service 'com.canonical.PropertyService'
Jul 23 10:03:28 ubuntu-phablet kernel: [ 1629.140393] send sigkill to 17509 (unity8-dash), adj 50, size 18566
}}}

test-log: {{{
10:03:16.562 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
10:03:16.567 INFO _launcher:120 - Attempting to launch application 'tmpkzpyrw2e' with URIs '' via upstart-app-launch
10:03:22.275 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('unexisting',). Keyword arguments: {}.
10:03:22.510 INFO logging:45 - QQuickListView: _find_element. Arguments ('unexisting', None). Keyword arguments: {}.
10:03:22.511 INFO logging:45 - QQuickListView: swipe_to_top. Arguments (). Keyword arguments: {}.
10:03:23.281 INFO logging:45 - QQuickListView: swipe_to_show_more_below. Arguments ([<ubuntuuitoolkit._custom_proxy_objects._mainview.MainView object
at 0xb22aef30>,
  <ubuntuuitoolkit._custom_proxy_objects._qquicklistview.QQuickListView object at 0xb2418850>],). Keyword arguments: {}.
10:03:23.905 DEBUG _uinput:610 - Dragging from 432,382 to 432,97
10:03:23.907 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,377.
10:03:23.909 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,377.
10:03:23.921 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,372.
10:03:23.922 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,372.
10:03:23.934 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,367.
10:03:23.936 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,367.
10:03:23.948 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,362.
10:03:23.949 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,362.
10:03:23.961 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,357.
10:03:23.962 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,357.
10:03:23.974 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,352.
10:03:23.976 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,352.
10:03:23.987 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,347.
10:03:23.990 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,347.
10:03:24.001 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,342.
10:03:24.002 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,342.
10:03:24.014 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,337.
10:03:24.015 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,337.
10:03:24.027 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,332.
10:03:24.030 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,332.
10:03:24.041 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,327.
10:03:24.044 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,327.
10:03:24.056 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,322.
10:03:24.057 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,322.
10:03:24.068 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,317.
10:03:24.069 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,317.
10:03:24.081 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,312.
10:03:24.083 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,312.
10:03:24.094 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,307.
10:03:24.096 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,307.
10:03:24.107 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,302.
10:03:24.109 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,302.
10:03:24.120 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,297.
10:03:24.121 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,297.
10:03:24.133 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,292.
10:03:24.135 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,292.
10:03:24.147 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,287.
10:03:24.149 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,287.
10:03:24.160 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,282.
10:03:24.162 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,282.
10:03:24.173 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,277.
10:03:24.175 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,277.
10:03:24.186 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,272.
10:03:24.188 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,272.
10:03:24.200 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,267.
10:03:24.201 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,267.
10:03:24.213 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,262.
10:03:24.215 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,262.
10:03:24.226 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,257.
10:03:24.228 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,257.
10:03:24.239 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,252.
10:03:24.241 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,252.
10:03:24.252 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,247.
10:03:24.254 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,247.
10:03:24.265 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,242.
10:03:24.268 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,242.
10:03:24.280 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,237.
10:03:24.283 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,237.
10:03:24.295 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,232.
10:03:24.297 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,232.
10:03:24.308 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,227.
10:03:24.311 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,227.
10:03:24.322 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,222.
10:03:24.324 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,222.
10:03:24.335 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,217.
10:03:24.337 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,217.
10:03:24.349 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,212.
10:03:24.351 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,212.
10:03:24.362 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,207.
10:03:24.364 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,207.
10:03:24.375 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,202.
10:03:24.377 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,202.
10:03:24.389 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,197.
10:03:24.391 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,197.
10:03:24.403 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,192.
10:03:24.404 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,192.
10:03:24.415 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,187.
10:03:24.416 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,187.
10:03:24.428 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,182.
10:03:24.431 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,182.
10:03:24.442 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,177.
10:03:24.444 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,177.
10:03:24.455 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,172.
10:03:24.457 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,172.
10:03:24.469 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,167.
10:03:24.470 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,167.
10:03:24.481 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,162.
10:03:24.484 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,162.
10:03:24.495 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,157.
10:03:24.497 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,157.
10:03:24.508 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,152.
10:03:24.510 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,152.
10:03:24.522 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,147.
10:03:24.524 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,147.
10:03:24.535 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,142.
10:03:24.537 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,142.
10:03:24.548 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,137.
10:03:24.550 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,137.
10:03:24.562 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,132.
10:03:24.564 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,132.
10:03:24.576 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,127.
10:03:24.577 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,127.
10:03:24.589 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,122.
10:03:24.591 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,122.
10:03:24.602 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,117.
10:03:24.604 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,117.
10:03:24.615 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,112.
10:03:24.617 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,112.
10:03:24.629 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,107.
10:03:24.631 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,107.
10:03:24.642 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,102.
10:03:24.644 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,102.
10:03:24.655 DEBUG _uinput:414 - Moving pointing 'finger' to position 432,97.
10:03:24.657 DEBUG _uinput:419 - The pointing 'finger' is now at position 432,97.
10:03:39.208 ERROR _launcher:206 - Timed out waiting for Application with app_id 'tmpkzpyrw2e' to stop.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_qquicklistview.py", line 148, in test_click_unexisting_element
    'unexisting')
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 420, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 431, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 481, in _matchHelper
    mismatch = matcher.match(matchee)
  File "/usr/lib/python3/dist-packages/testtools/matchers/_exception.py", line 108, in match
    mismatch = self.exception_matcher.match(exc_info)
  File "/usr/lib/python3/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
    mismatch = matcher.match(matchee)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 412, in match
    reraise(*matchee)
  File "/usr/lib/python3/dist-packages/testtools/_compat3x.py", line 16, in reraise
    raise exc_obj.with_traceback(exc_tb)
  File "/usr/lib/python3/dist-packages/testtools/matchers/_exception.py", line 101, in match
    result = matchee()
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 965, in __call__
    return self._callable_object(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_qquicklistview.py", line 53, in click_element
    element = self._find_element(object_name, direction)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_qquicklistview.py", line 80, in _find_element
    swipe_method(containers)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_flickable.py", line 150, in swipe_to_show_more_below
    self._swipe_to_show_more('below', containers)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_flickable.py", line 179, in _swipe_to_show_more
    self.moving.wait_for(False)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 157, in wait_for
    _, new_state = self.parent._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 118, in introspection_iface
    "Application under test exited before the test finished!"
RuntimeError: Application under test exited before the test finished!

command_type
testcase_test

Artifacts ›   Console Log ›