Testcase: test_write

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

/var/log/syslog: {{{
Jul 23 10:03:57 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 10:03:57 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 10:03:57 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 10:03:57 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:03:57 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 10:03:57 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:03:57 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:03:57 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:04:03 ubuntu-phablet kernel: [ 1664.610956] send sigkill to 18102 (launcher), adj 110, size 8348
Jul 23 10:04:04 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: 4c8368c3-ca72-4635-8e42-8319f854fbc4
Jul 23 10:04:04 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 10:04:04 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 10:04:04 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 10:04:04 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 10:04:04 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:04:04 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:04:04 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:04:04 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:04:04 ubuntu-phablet dbus[847]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 23 10:04:05 ubuntu-phablet dbus[847]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

test-log: {{{
10:03:57.002 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
10:03:57.008 INFO _launcher:120 - Attempting to launch application 'tmp6qccy293' with URIs '' via upstart-app-launch
10:04:01.516 INFO logging:45 - TextField: Write into the text field. Arguments ('test',). Keyword arguments: {}.
10:04:01.522 DEBUG logging:45 - TextField: _ensure_focused. Arguments (). Keyword arguments: {}.
10:04:01.640 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:04:01.641 DEBUG _uinput:485 - Tapping at: 225,94
10:04:03.958 ERROR proxies:410 - Introspect error on :1.723:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
10:04:03.960 DEBUG proxies:413 - Executing introspect queue due to error
10:04:16.208 ERROR _launcher:206 - Timed out waiting for Application with app_id 'tmp6qccy293' to stop.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textfield.py", line 61, in test_write
    self.simple_text_field.write('test')
  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/_textfield.py", line 43, in write
    self._ensure_focused()
  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/_textfield.py", line 141, in _ensure_focused
    self.activeFocus.wait_for(True)
  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 221, in execute_query_get_data
    query.server_query_bytes()
  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.ServiceUnknown: The name :1.723 was not provided by any .service files

command_type
testcase_test

Artifacts ›   Console Log ›