Testcase: test_caret_visible_on_focus(header)

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_caret_visible_on_focus(header)
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 19 05:44:27 ubuntu-phablet powerd[945]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jul 19 05:44:27 ubuntu-phablet powerd[945]: name_watch_add: looking for :1.64
Jul 19 05:44:27 ubuntu-phablet powerd[945]: watching :1.64 to see when it disappears on dbus
Jul 19 05:44:27 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 19 05:44:27 ubuntu-phablet powerd[945]: handle_requestSysState - SUCCESS
Jul 19 05:44:27 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jul 19 05:44:27 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jul 19 05:44:27 ubuntu-phablet powerd[945]: libsuspend: release_wake_lock: powerd_power_request
Jul 19 05:44:39 ubuntu-phablet powerd[945]: handle_clearSysState from :1.64, cookie: b111b59c-1c52-45e0-b6e0-09e11b441457
Jul 19 05:44:39 ubuntu-phablet powerd[945]: clear_sys_request: active - :1.64
Jul 19 05:44:39 ubuntu-phablet powerd[945]: name_watch_remove: looking for :1.64
Jul 19 05:44:39 ubuntu-phablet powerd[945]: name_watch: ref_count for :1.64 is now 0
Jul 19 05:44:39 ubuntu-phablet powerd[945]: no longer watching :1.64, there are no more requests
Jul 19 05:44:39 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 19 05:44:39 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jul 19 05:44:39 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jul 19 05:44:39 ubuntu-phablet powerd[945]: 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.header.qml:33:24: QML TextField: 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: {{{
05:44:27.543 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
05:44:27.548 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.header.qml
--desktop_file_hint=/home/phablet/.local/share/applications/tmp5qma4lnl.desktop -touch' as a normal process
05:44:27.567 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.header.qml',
'--desktop_file_hint=/home/phablet/.local/share/applications/tmp5qma4lnl.desktop', '-touch']
05:44:31.805 INFO logging:45 - TextField: Write into the text field. Arguments ('Lorem ipsum',). Keyword arguments: {}.
05:44:31.806 DEBUG logging:45 - TextField: _ensure_focused. Arguments (). Keyword arguments: {}.
05:44:31.887 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:44:31.888 DEBUG _uinput:485 - Tapping at: 594,121
05:44:32.068 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
05:44:32.069 DEBUG logging:45 - TextField: _ensure_focused. Arguments (). Keyword arguments: {}.
05:44:32.147 DEBUG _osk:104 - Typing text: Lorem ipsum
05:44:39.189 INFO _launcher:544 - waiting for process to exit.
05:44:39.190 INFO _launcher:567 - Killing process 10585
}}}

traceback-3: {{{
Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.py", line 83, in test_caret_visible_on_focus
    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