Testcase: test_caret_visible_after_tapping(textarea)

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_caret_visible_after_tapping(textarea)
testsuite
ubuntuuitoolkit.tests.components.test_textinput.CaretTextInputTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  process-stdout (/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher)

/var/log/syslog: {{{
Jul 23 09:52:48 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 09:52:48 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 09:52:48 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 09:52:48 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:52:48 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 09:52:48 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:52:48 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:52:48 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 09:52:56 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: 75f451eb-9058-48af-b4b0-2902be41c1ba
Jul 23 09:52:56 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 09:52:56 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 09:52:56 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 09:52:56 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 09:52:56 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 09:52:56 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 09:52:56 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 09:52:56 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
}}}

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'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 't'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'o'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'u'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'c'
/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher: invalid option -- 'h'
Testability driver loaded. Wire protocol version is "1.4".
file:///home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.textarea.qml:34:13: QML TextArea: Theme.createStyleComponent() is
deprecated. Use ThemeSettings instead.
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
09:52:47.624 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
09:52:47.628 INFO _launcher:373 - Attempting to launch application '/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher' with arguments '-I
/home/modules /home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.textarea.qml
--desktop_file_hint=/home/phablet/.local/share/applications/tmpvowwzlwl.desktop -touch' as a normal process
09:52:47.651 INFO _launcher:431 - Launching process: ['/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher', '-testability', '-I',
'/home/modules', '/home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.textarea.qml',
'--desktop_file_hint=/home/phablet/.local/share/applications/tmpvowwzlwl.desktop', '-touch']
09:52:51.858 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:52:51.860 DEBUG _uinput:485 - Tapping at: 225,445
09:52:53.368 INFO logging:45 - TextArea: Write into the text field. Arguments ('Lorem ipsum',). Keyword arguments: {}.
09:52:53.370 DEBUG logging:45 - TextArea: _ensure_focused. Arguments (). Keyword arguments: {}.
09:52:53.406 DEBUG logging:45 - TextArea: _ensure_focused. Arguments (). Keyword arguments: {}.
09:52:53.480 DEBUG _osk:104 - Typing text: Lorem ipsum
09:52:56.729 INFO _launcher:544 - waiting for process to exit.
09:52:56.731 INFO _launcher:567 - Killing process 11420
}}}

traceback-1: {{{
Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.py", line 96, in test_caret_visible_after_tapping
    self.test_caret_hide_while_typing()
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.py", line 92, in test_caret_hide_while_typing
    self.textfield.write('Lorem ipsum')
  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

Artifacts ›   Console Log ›