Testcase: test_caret_visible_after_selecting(textfield)

Build #:234:20150623: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 24 02:58:10 ubuntu-phablet powerd[975]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jun 24 02:58:10 ubuntu-phablet powerd[975]: name_watch_add: looking for :1.63
Jun 24 02:58:10 ubuntu-phablet powerd[975]: watching :1.63 to see when it disappears on dbus
Jun 24 02:58:10 ubuntu-phablet powerd[975]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 24 02:58:10 ubuntu-phablet powerd[975]: handle_requestSysState - SUCCESS
Jun 24 02:58:10 ubuntu-phablet powerd[975]: Enqueue state change to ACTIVE
Jun 24 02:58:10 ubuntu-phablet powerd[975]: queue empty && state == current, discarding
Jun 24 02:58:10 ubuntu-phablet powerd[975]: libsuspend: release_wake_lock: powerd_power_request
Jun 24 02:58:11 ubuntu-phablet powerd[975]: handle_requestWakeup from :1.76 - ubuntu push client, 1435114991
Jun 24 02:58:11 ubuntu-phablet powerd[975]: void {anonymous}::reset_alarm_clock() found 1 remaining wakeup requests
Jun 24 02:58:11 ubuntu-phablet powerd[975]: setting hardware wakeup time to 2015-06-24 03:03:11 for ubuntu push client
Jun 24 02:58:11 ubuntu-phablet powerd[975]: starting hardware alarm worker thread
Jun 24 02:58:11 ubuntu-phablet powerd[975]: calling wait_for_next_alarm
Jun 24 02:58:11 ubuntu-phablet powerd[975]: handle_clearSysState from :1.76, cookie: aafd00e4-c0c1-493b-999d-d8a5a4eb7789
Jun 24 02:58:11 ubuntu-phablet powerd[975]: clear_sys_request: ubuntu push client - :1.76
Jun 24 02:58:11 ubuntu-phablet powerd[975]: name_watch_remove: looking for :1.76
Jun 24 02:58:11 ubuntu-phablet powerd[975]: name_watch: ref_count for :1.76 is now 0
Jun 24 02:58:11 ubuntu-phablet powerd[975]: no longer watching :1.76, there are no more requests
Jun 24 02:58:11 ubuntu-phablet powerd[975]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 24 02:58:11 ubuntu-phablet powerd[975]: Enqueue state change to ACTIVE
Jun 24 02:58:11 ubuntu-phablet powerd[975]: queue empty && state == current, discarding
Jun 24 02:58:11 ubuntu-phablet powerd[975]: libsuspend: release_wake_lock: powerd_power_request
Jun 24 02:58:13 ubuntu-phablet kernel: [ 1255.847733] mmc0: mmc_start_bkops: Starting bkops
Jun 24 02:58:21 ubuntu-phablet powerd[975]: handle_clearSysState from :1.63, cookie: ea096f21-7aab-46f9-b587-0f861edbdc6b
Jun 24 02:58:21 ubuntu-phablet powerd[975]: clear_sys_request: active - :1.63
Jun 24 02:58:21 ubuntu-phablet powerd[975]: name_watch_remove: looking for :1.63
Jun 24 02:58:21 ubuntu-phablet powerd[975]: name_watch: ref_count for :1.63 is now 0
Jun 24 02:58:21 ubuntu-phablet powerd[975]: no longer watching :1.63, there are no more requests
Jun 24 02:58:21 ubuntu-phablet powerd[975]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 24 02:58:21 ubuntu-phablet powerd[975]: Enqueue state change to ACTIVE
Jun 24 02:58:21 ubuntu-phablet powerd[975]: queue empty && state == current, discarding
Jun 24 02:58:21 ubuntu-phablet powerd[975]: 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".
<Unknown File>: QML UCDeprecatedTheme: Theme.palette is deprecated. Use ThemeSettings instead.
file:///home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.textfield.qml:34:13: QML TextField: Theme.createStyleComponent() is
deprecated. Use ThemeSettings instead.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.2/MainView12.qml:69:9: QML AppHeader: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Themes/Ambiance/1.2/PageHeadStyle.qml:86:5: QML StyledItem: Theme.createStyleComponent()
is deprecated. Use ThemeSettings instead.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.2/MainViewBase.qml:35:5: QML StyledItem: Theme.createStyleComponent() is deprecated.
Use ThemeSettings instead.
<Unknown File>: QML UCDeprecatedTheme: Theme.name 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.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.2/TextField.qml:988:29: QML TextCursor: Theme.createStyleComponent() is deprecated.
Use ThemeSettings instead.
}}}

test-log: {{{
02:58:09.986 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
02:58:09.999 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/tmpbeci9c37.desktop -touch' as a normal process
02:58:10.019 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/tmpbeci9c37.desktop', '-touch']
02:58:13.842 DEBUG _common:45 - Moving to object's globalRect coordinates.
02:58:13.843 DEBUG _uinput:485 - Tapping at: 315,256
02:58:15.332 DEBUG _uinput:195 - Typing text 'Lorem ipsum'
02:58:15.333 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
02:58:15.434 DEBUG _uinput:57 - Pressing L (38).
02:58:15.536 DEBUG _uinput:88 - Releasing L (38).
02:58:15.665 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
02:58:15.773 DEBUG _uinput:57 - Pressing o (24).
02:58:15.880 DEBUG _uinput:88 - Releasing o (24).
02:58:15.993 DEBUG _uinput:57 - Pressing r (19).
02:58:16.111 DEBUG _uinput:88 - Releasing r (19).
02:58:16.218 DEBUG _uinput:57 - Pressing e (18).
02:58:16.325 DEBUG _uinput:88 - Releasing e (18).
02:58:16.432 DEBUG _uinput:57 - Pressing m (50).
02:58:16.541 DEBUG _uinput:88 - Releasing m (50).
02:58:16.647 DEBUG _uinput:57 - Pressing SPACE (57).
02:58:16.755 DEBUG _uinput:88 - Releasing SPACE (57).
02:58:16.861 DEBUG _uinput:57 - Pressing i (23).
02:58:16.963 DEBUG _uinput:88 - Releasing i (23).
02:58:17.074 DEBUG _uinput:57 - Pressing p (25).
02:58:17.182 DEBUG _uinput:88 - Releasing p (25).
02:58:17.290 DEBUG _uinput:57 - Pressing s (31).
02:58:17.395 DEBUG _uinput:88 - Releasing s (31).
02:58:17.502 DEBUG _uinput:57 - Pressing u (22).
02:58:17.610 DEBUG _uinput:88 - Releasing u (22).
02:58:17.724 DEBUG _uinput:57 - Pressing m (50).
02:58:17.833 DEBUG _uinput:88 - Releasing m (50).
02:58:17.999 DEBUG _uinput:180 - Pressing and Releasing: Shift+Left
02:58:18.001 DEBUG _uinput:57 - Pressing LEFTSHIFT (42).
02:58:18.103 DEBUG _uinput:57 - Pressing Left (105).
02:58:18.206 DEBUG _uinput:88 - Releasing Left (105).
02:58:18.314 DEBUG _uinput:88 - Releasing LEFTSHIFT (42).
02:58:21.159 INFO _launcher:544 - waiting for process to exit.
02:58:21.161 INFO _launcher:567 - Killing process 22692
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/components/test_textinput.py", line 105, 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 ›