Testcase: test_write

Build #:290:20141020:20141017.2
Arch:mako (Nexus 4)
Release:utopic
Variant:touch_custom
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: {{{
Oct 20 09:59:40 ubuntu-phablet kernel: [  121.815290] input: autopilot-finger as /devices/virtual/input/input6
Oct 20 09:59:43 ubuntu-phablet kernel: [  125.072852] input: py-evdev-uinput as /devices/virtual/input/input7
Oct 20 09:59:43 ubuntu-phablet kernel: [  125.073737] keychord: using input dev py-evdev-uinput for fevent
}}}

Application Log (tmpyt08ktm4): {{{
Testability driver loaded. Wire protocol version is "1.4".
file:///custom/xdg/data/themes/Ubuntu/Custom/MainViewStyle.qml:45:5: QML QQuickImage: Cannot open:
file:///custom/xdg/data/themes/Ubuntu/Custom/artwork/background_paper.png
file:///custom/xdg/data/themes/Ubuntu/Custom/MainViewStyle.qml:42: ReferenceError: internals is not defined
UbuntuWindow - regular geometry
file:///custom/xdg/data/themes/Ubuntu/Custom/MainViewStyle.qml:42: ReferenceError: internals is not defined
file:///custom/xdg/data/themes/Ubuntu/Custom/MainViewStyle.qml:45:5: QML QQuickImage: Cannot open:
file:///custom/xdg/data/themes/Ubuntu/Custom/artwork/background_paper.png
file:///custom/xdg/data/themes/Ubuntu/Custom/MainViewStyle.qml:42: ReferenceError: internals is not defined
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
09:59:40.070 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
09:59:40.306 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
09:59:40.312 WARNING base:49 - This function is deprecated. Use get_toolkit_launcher_command() instead.
09:59:40.656 INFO _launcher:120 - Attempting to launch application 'tmpyt08ktm4' with URIs '' via upstart-app-launch
09:59:43.546 INFO logging:45 - TextField: Write into the text field. Arguments ('test',). Keyword arguments: {}.
09:59:43.614 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:59:43.617 DEBUG _uinput:470 - Tapping at: 225,94
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textfield.py", line 63, 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 51, in write
    self.focus.wait_for(True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 178, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on TextField.focus failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test