Testcase: test_clear_textfield_must_remove_text(Nexus 4,standard textfield)

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_clear_textfield_must_remove_text(Nexus 4,standard textfield)
testsuite
ubuntuuitoolkit.tests.gallery.test_textinput.WriteAndClearTextInputTestCase
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 10:02:01 ubuntu-phablet powerd[973]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 23 10:02:01 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.63
Jul 23 10:02:01 ubuntu-phablet powerd[973]: watching :1.63 to see when it disappears on dbus
Jul 23 10:02:01 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:02:01 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 10:02:01 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:02:01 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:02:01 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:02:02 ubuntu-phablet powerd[973]: handle_clearSysState from :1.32, cookie: 052daf71-4b7c-42cc-9c4e-ccd5c926d856
Jul 23 10:02:02 ubuntu-phablet powerd[973]: clear_sys_request: usensord - :1.32
Jul 23 10:02:02 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.32
Jul 23 10:02:02 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.32 is now 0
Jul 23 10:02:02 ubuntu-phablet powerd[973]: no longer watching :1.32, there are no more requests
Jul 23 10:02:02 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:02:02 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:02:02 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:02:02 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:02:16 ubuntu-phablet powerd[973]: worker thread finished waiting for hw alarm
Jul 23 10:02:16 ubuntu-phablet powerd[973]: Emitting wakeup signal
Jul 23 10:02:16 ubuntu-phablet powerd[973]: worker thread is finished working; calling join()
Jul 23 10:02:16 ubuntu-phablet powerd[973]: worker thread is destroyed.
Jul 23 10:02:16 ubuntu-phablet powerd[973]: handle_requestSysState from :1.76 (ubuntu push client) - ACTIVE (1)
Jul 23 10:02:16 ubuntu-phablet powerd[973]: name_watch_add: looking for :1.76
Jul 23 10:02:16 ubuntu-phablet powerd[973]: watching :1.76 to see when it disappears on dbus
Jul 23 10:02:16 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:02:16 ubuntu-phablet powerd[973]: handle_requestSysState - SUCCESS
Jul 23 10:02:16 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:02:16 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:02:16 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:02:21 ubuntu-phablet powerd[973]: handle_requestWakeup from :1.76 - ubuntu push client, 1437646041
Jul 23 10:02:21 ubuntu-phablet powerd[973]: void {anonymous}::reset_alarm_clock() found 1 remaining wakeup requests
Jul 23 10:02:21 ubuntu-phablet powerd[973]: setting hardware wakeup time to 2015-07-23 10:07:21 for ubuntu push client
Jul 23 10:02:21 ubuntu-phablet powerd[973]: starting hardware alarm worker thread
Jul 23 10:02:21 ubuntu-phablet powerd[973]: handle_clearSysState from :1.76, cookie: 460e5415-6a64-460b-8f08-f18a77a88ba8
Jul 23 10:02:21 ubuntu-phablet powerd[973]: clear_sys_request: ubuntu push client - :1.76
Jul 23 10:02:21 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.76
Jul 23 10:02:21 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.76 is now 0
Jul 23 10:02:21 ubuntu-phablet powerd[973]: no longer watching :1.76, there are no more requests
Jul 23 10:02:21 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:02:21 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:02:21 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:02:21 ubuntu-phablet powerd[973]: libsuspend: release_wake_lock: powerd_power_request
Jul 23 10:02:21 ubuntu-phablet powerd[973]: calling wait_for_next_alarm
Jul 23 10:02:25 ubuntu-phablet powerd[973]: handle_clearSysState from :1.63, cookie: dcf98757-72e6-4aaf-a3d8-c8608566e4be
Jul 23 10:02:25 ubuntu-phablet powerd[973]: clear_sys_request: active - :1.63
Jul 23 10:02:25 ubuntu-phablet powerd[973]: name_watch_remove: looking for :1.63
Jul 23 10:02:25 ubuntu-phablet powerd[973]: name_watch: ref_count for :1.63 is now 0
Jul 23 10:02:25 ubuntu-phablet powerd[973]: no longer watching :1.63, there are no more requests
Jul 23 10:02:25 ubuntu-phablet powerd[973]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 23 10:02:25 ubuntu-phablet powerd[973]: Enqueue state change to ACTIVE
Jul 23 10:02:25 ubuntu-phablet powerd[973]: queue empty && state == current, discarding
Jul 23 10:02:25 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'
Testability driver loaded. Wire protocol version is "1.4".
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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
10:02:01.589 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
10:02:01.594 INFO _launcher:373 - Attempting to launch application '/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher' with arguments '-I
/home/modules /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml
--desktop_file_hint=/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop' as a normal process
10:02:01.617 INFO _launcher:431 - Launching process: ['/usr/lib/arm-linux-gnueabihf/ubuntu-ui-toolkit/launcher', '-testability', '-I',
'/home/modules', '/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml',
'--desktop_file_hint=/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.desktop']
10:02:06.284 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('textinputsElement',). Keyword arguments: {}.
10:02:06.583 INFO logging:45 - QQuickListView: Make the child visible. Arguments (<ubuntuuitoolkit._custom_proxy_objects.listitems.Standard object at
0xb4790710>,). Keyword arguments: {}.
10:02:07.715 DEBUG _flickable:122 - The element is already visible.
10:02:07.760 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:02:07.761 DEBUG _uinput:485 - Tapping at: 540,784
10:02:12.073 INFO logging:45 - TextField: Write into the text field. Arguments ('Hello World',). Keyword arguments: {}.
10:02:12.079 DEBUG logging:45 - TextField: _ensure_focused. Arguments (). Keyword arguments: {}.
10:02:12.201 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:02:12.203 DEBUG _uinput:485 - Tapping at: 648,341
10:02:25.012 INFO _launcher:544 - waiting for process to exit.
10:02:25.014 INFO _launcher:567 - Killing process 16939
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/gallery/test_textinput.py", line 75, in test_clear_textfield_must_remove_text
    textfield.write(self.text_to_write())
  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 43, in write
    self._ensure_focused()
  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 141, in _ensure_focused
    self.activeFocus.wait_for(True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 180, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on TextField.activeFocus failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test

Artifacts ›   Console Log ›