Testcase: test_caret_visible_after_selecting(textfield)

Build #:238:20150627:20150529.1
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_selecting(textfield)
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: {{{
Jun 27 15:44:00 ubuntu-phablet powerd[928]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jun 27 15:44:00 ubuntu-phablet powerd[928]: name_watch_add: looking for :1.64
Jun 27 15:44:00 ubuntu-phablet powerd[928]: watching :1.64 to see when it disappears on dbus
Jun 27 15:44:00 ubuntu-phablet powerd[928]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 27 15:44:00 ubuntu-phablet powerd[928]: handle_requestSysState - SUCCESS
Jun 27 15:44:00 ubuntu-phablet powerd[928]: Enqueue state change to ACTIVE
Jun 27 15:44:00 ubuntu-phablet powerd[928]: queue empty && state == current, discarding
Jun 27 15:44:00 ubuntu-phablet powerd[928]: libsuspend: release_wake_lock: powerd_power_request
Jun 27 15:44:12 ubuntu-phablet powerd[928]: handle_clearSysState from :1.64, cookie: aa48db08-28f0-469c-a988-6c91f01b2871
Jun 27 15:44:12 ubuntu-phablet powerd[928]: clear_sys_request: active - :1.64
Jun 27 15:44:12 ubuntu-phablet powerd[928]: name_watch_remove: looking for :1.64
Jun 27 15:44:12 ubuntu-phablet powerd[928]: name_watch: ref_count for :1.64 is now 0
Jun 27 15:44:12 ubuntu-phablet powerd[928]: no longer watching :1.64, there are no more requests
Jun 27 15:44:12 ubuntu-phablet powerd[928]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 27 15:44:12 ubuntu-phablet powerd[928]: Enqueue state change to ACTIVE
Jun 27 15:44:12 ubuntu-phablet powerd[928]: queue empty && state == current, discarding
Jun 27 15:44:12 ubuntu-phablet powerd[928]: 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.2.9.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.textfield.qml:34:13: QML TextField: Theme.createStyleComponent() is
deprecated. Use ThemeSettings instead.
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
15:44:00.458 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
15:44:00.466 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.textfield.qml
--desktop_file_hint=/home/phablet/.local/share/applications/tmp0bg723us.desktop -touch' as a normal process
15:44:00.491 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.textfield.qml',
'--desktop_file_hint=/home/phablet/.local/share/applications/tmp0bg723us.desktop', '-touch']
15:44:04.401 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:44:04.402 DEBUG _uinput:485 - Tapping at: 315,256
15:44:05.970 INFO logging:45 - TextField: Write into the text field. Arguments ('Lorem ipsum',). Keyword arguments: {}.
15:44:06.014 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:44:06.015 DEBUG _uinput:485 - Tapping at: 315,256
15:44:06.205 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
15:44:06.268 DEBUG _uinput:195 - Typing text 'Lorem ipsum'
15:44:06.269 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
15:44:06.372 DEBUG _uinput:57 - Pressing L (38).
15:44:06.475 DEBUG _uinput:88 - Releasing L (38).
15:44:06.580 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
15:44:06.684 DEBUG _uinput:57 - Pressing o (24).
15:44:06.788 DEBUG _uinput:88 - Releasing o (24).
15:44:06.897 DEBUG _uinput:57 - Pressing r (19).
15:44:07.001 DEBUG _uinput:88 - Releasing r (19).
15:44:07.108 DEBUG _uinput:57 - Pressing e (18).
15:44:07.215 DEBUG _uinput:88 - Releasing e (18).
15:44:07.317 DEBUG _uinput:57 - Pressing m (50).
15:44:07.426 DEBUG _uinput:88 - Releasing m (50).
15:44:07.532 DEBUG _uinput:57 - Pressing SPACE (57).
15:44:07.634 DEBUG _uinput:88 - Releasing SPACE (57).
15:44:07.741 DEBUG _uinput:57 - Pressing i (23).
15:44:07.843 DEBUG _uinput:88 - Releasing i (23).
15:44:07.960 DEBUG _uinput:57 - Pressing p (25).
15:44:08.067 DEBUG _uinput:88 - Releasing p (25).
15:44:08.178 DEBUG _uinput:57 - Pressing s (31).
15:44:08.281 DEBUG _uinput:88 - Releasing s (31).
15:44:08.389 DEBUG _uinput:57 - Pressing u (22).
15:44:08.496 DEBUG _uinput:88 - Releasing u (22).
15:44:08.603 DEBUG _uinput:57 - Pressing m (50).
15:44:08.705 DEBUG _uinput:88 - Releasing m (50).
15:44:08.879 DEBUG _uinput:180 - Pressing and Releasing: Shift+Left
15:44:08.881 DEBUG _uinput:57 - Pressing LEFTSHIFT (42).
15:44:08.984 DEBUG _uinput:57 - Pressing Left (105).
15:44:09.085 DEBUG _uinput:88 - Releasing Left (105).
15:44:09.193 DEBUG _uinput:88 - Releasing LEFTSHIFT (42).
15:44:11.903 INFO _launcher:544 - waiting for process to exit.
15:44:11.905 INFO _launcher:567 - Killing process 14711
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.py", line 104, in test_caret_visible_after_selecting
    self.select_cursor('selectionEnd')
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.py", line 71, in select_cursor
    objectName=positionProperty + '_draggeditem')
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 244, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name '*' and properties {'objectName': 'selectionEnd_draggeditem'}.

Tips on minimizing the occurrence of this failureare available here:
http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html

command_type
testcase_test

Artifacts ›   Console Log ›