Testcase: test_clear_with_multiple_lines

Build #:260:20150719: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_clear_with_multiple_lines
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_textarea.TextAreaTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 19 05:42:38 ubuntu-phablet powerd[945]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jul 19 05:42:38 ubuntu-phablet powerd[945]: name_watch_add: looking for :1.64
Jul 19 05:42:38 ubuntu-phablet powerd[945]: watching :1.64 to see when it disappears on dbus
Jul 19 05:42:38 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 19 05:42:38 ubuntu-phablet powerd[945]: handle_requestSysState - SUCCESS
Jul 19 05:42:38 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jul 19 05:42:38 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jul 19 05:42:38 ubuntu-phablet powerd[945]: libsuspend: release_wake_lock: powerd_power_request
Jul 19 05:42:44 ubuntu-phablet powerd[945]: handle_clearSysState from :1.64, cookie: 997eabda-0eb1-49b1-b996-a7273790559c
Jul 19 05:42:44 ubuntu-phablet powerd[945]: clear_sys_request: active - :1.64
Jul 19 05:42:44 ubuntu-phablet powerd[945]: name_watch_remove: looking for :1.64
Jul 19 05:42:44 ubuntu-phablet powerd[945]: name_watch: ref_count for :1.64 is now 0
Jul 19 05:42:44 ubuntu-phablet powerd[945]: no longer watching :1.64, there are no more requests
Jul 19 05:42:44 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 19 05:42:44 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jul 19 05:42:44 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jul 19 05:42:44 ubuntu-phablet powerd[945]: libsuspend: release_wake_lock: powerd_power_request
Jul 19 05:42:45 ubuntu-phablet dbus[794]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 19 05:42:45 ubuntu-phablet dbus[794]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmpzptqrjzb): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///tmp/tmpysngghd0.qml:11:9: QML TextArea: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
[ubuntumirclient QPA] UbuntuWindow::handleSurfaceResize current buffer already has the target size
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
05:42:38.052 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
05:42:38.057 INFO _launcher:120 - Attempting to launch application 'tmpzptqrjzb' with URIs '' via upstart-app-launch
05:42:42.330 INFO logging:45 - TextArea: Write into the text field. Arguments ('Long text that will make it wrap into multiple lines.',). Keyword
arguments: {}.
05:42:42.332 DEBUG logging:45 - TextArea: _ensure_focused. Arguments (). Keyword arguments: {}.
05:42:42.420 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:42:42.421 DEBUG _uinput:485 - Tapping at: 270,160
05:42:42.619 DEBUG logging:45 - TextArea: _ensure_focused. Arguments (). Keyword arguments: {}.
05:42:42.782 DEBUG _osk:104 - Typing text: Long text that will make it wrap into multiple lines.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textarea.py", line 59, in test_clear_with_multiple_lines
    'Long text that will make it wrap into multiple lines.')
  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 49, in write
    self.keyboard.type(text)
  File "/usr/lib/python3/dist-packages/autopilot/input/_osk.py", line 105, in type
    self._keyboard.type(string, delay)
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 206, in type
    self.press_key(char)
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 165, in press_key
    raise RuntimeError("Keyboard is not on screen")
RuntimeError: Keyboard is not on screen

command_type
testcase_test