Testcase: test_caret_visible_after_selecting(textfield)

Build #:232:20150621: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 22 01:04:15 ubuntu-phablet powerd[945]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jun 22 01:04:15 ubuntu-phablet powerd[945]: name_watch_add: looking for :1.64
Jun 22 01:04:15 ubuntu-phablet powerd[945]: watching :1.64 to see when it disappears on dbus
Jun 22 01:04:15 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 22 01:04:15 ubuntu-phablet powerd[945]: handle_requestSysState - SUCCESS
Jun 22 01:04:15 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jun 22 01:04:15 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jun 22 01:04:15 ubuntu-phablet powerd[945]: libsuspend: release_wake_lock: powerd_power_request
Jun 22 01:04:20 ubuntu-phablet dhclient: DHCPREQUEST of 10.99.248.36 on wlan0 to 10.99.248.1 port 67 (xid=0x63d951c1)
Jun 22 01:04:20 ubuntu-phablet dhclient: DHCPACK of 10.99.248.36 from 10.99.248.1
Jun 22 01:04:20 ubuntu-phablet NetworkManager[1610]: <info> (wlan0): DHCPv4 state changed renew -> renew
Jun 22 01:04:20 ubuntu-phablet NetworkManager[1610]: <info>   address 10.99.248.36
Jun 22 01:04:20 ubuntu-phablet NetworkManager[1610]: <info>   plen 22 (255.255.252.0)
Jun 22 01:04:20 ubuntu-phablet NetworkManager[1610]: <info>   gateway 10.99.248.1
Jun 22 01:04:20 ubuntu-phablet NetworkManager[1610]: <info>   server identifier 10.99.248.1
Jun 22 01:04:20 ubuntu-phablet NetworkManager[1610]: <info>   lease time 600
Jun 22 01:04:20 ubuntu-phablet NetworkManager[1610]: <info>   nameserver '10.99.248.1'
Jun 22 01:04:20 ubuntu-phablet NetworkManager[1610]: <info>   domain name 'example.org'
Jun 22 01:04:20 ubuntu-phablet dbus[849]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Jun 22 01:04:20 ubuntu-phablet dhclient: bound to 10.99.248.36 -- renewal in 283 seconds.
Jun 22 01:04:21 ubuntu-phablet dbus[849]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jun 22 01:04:21 ubuntu-phablet nm-dispatcher: Dispatching action 'dhcp4-change' for wlan0
Jun 22 01:04:21 ubuntu-phablet /03mmsproxy: Cannot add MMS route, wrong connection name (ubuntu-qa-g-wpa-d)
Jun 22 01:04:26 ubuntu-phablet powerd[945]: handle_clearSysState from :1.64, cookie: db96f197-9045-46ab-8db2-7b58f93a1ec4
Jun 22 01:04:26 ubuntu-phablet powerd[945]: clear_sys_request: active - :1.64
Jun 22 01:04:26 ubuntu-phablet powerd[945]: name_watch_remove: looking for :1.64
Jun 22 01:04:26 ubuntu-phablet powerd[945]: name_watch: ref_count for :1.64 is now 0
Jun 22 01:04:26 ubuntu-phablet powerd[945]: no longer watching :1.64, there are no more requests
Jun 22 01:04:26 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 22 01:04:26 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jun 22 01:04:26 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jun 22 01:04:26 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.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: {{{
01:04:15.511 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
01:04:15.516 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/tmpk7hdptet.desktop -touch' as a normal process
01:04:15.538 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/tmpk7hdptet.desktop', '-touch']
01:04:19.574 DEBUG _common:45 - Moving to object's globalRect coordinates.
01:04:19.576 DEBUG _uinput:485 - Tapping at: 315,256
01:04:21.202 DEBUG _uinput:195 - Typing text 'Lorem ipsum'
01:04:21.203 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
01:04:21.304 DEBUG _uinput:57 - Pressing L (38).
01:04:21.406 DEBUG _uinput:88 - Releasing L (38).
01:04:21.509 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
01:04:21.618 DEBUG _uinput:57 - Pressing o (24).
01:04:21.731 DEBUG _uinput:88 - Releasing o (24).
01:04:21.839 DEBUG _uinput:57 - Pressing r (19).
01:04:21.941 DEBUG _uinput:88 - Releasing r (19).
01:04:22.048 DEBUG _uinput:57 - Pressing e (18).
01:04:22.154 DEBUG _uinput:88 - Releasing e (18).
01:04:22.260 DEBUG _uinput:57 - Pressing m (50).
01:04:22.365 DEBUG _uinput:88 - Releasing m (50).
01:04:22.472 DEBUG _uinput:57 - Pressing SPACE (57).
01:04:22.574 DEBUG _uinput:88 - Releasing SPACE (57).
01:04:22.676 DEBUG _uinput:57 - Pressing i (23).
01:04:22.781 DEBUG _uinput:88 - Releasing i (23).
01:04:22.886 DEBUG _uinput:57 - Pressing p (25).
01:04:22.991 DEBUG _uinput:88 - Releasing p (25).
01:04:23.103 DEBUG _uinput:57 - Pressing s (31).
01:04:23.214 DEBUG _uinput:88 - Releasing s (31).
01:04:23.321 DEBUG _uinput:57 - Pressing u (22).
01:04:23.426 DEBUG _uinput:88 - Releasing u (22).
01:04:23.532 DEBUG _uinput:57 - Pressing m (50).
01:04:23.641 DEBUG _uinput:88 - Releasing m (50).
01:04:23.802 DEBUG _uinput:180 - Pressing and Releasing: Shift+Left
01:04:23.804 DEBUG _uinput:57 - Pressing LEFTSHIFT (42).
01:04:23.906 DEBUG _uinput:57 - Pressing Left (105).
01:04:24.009 DEBUG _uinput:88 - Releasing Left (105).
01:04:24.116 DEBUG _uinput:88 - Releasing LEFTSHIFT (42).
01:04:26.856 INFO _launcher:544 - waiting for process to exit.
01:04:26.857 INFO _launcher:567 - Killing process 16584
}}}

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 ›