Testcase: test_write_without_clear_writes_at_the_end

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_write_without_clear_writes_at_the_end
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_textfield.TextFieldTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 19 05:38:41 ubuntu-phablet powerd[945]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jul 19 05:38:41 ubuntu-phablet powerd[945]: name_watch_add: looking for :1.64
Jul 19 05:38:41 ubuntu-phablet powerd[945]: watching :1.64 to see when it disappears on dbus
Jul 19 05:38:41 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 19 05:38:41 ubuntu-phablet powerd[945]: handle_requestSysState - SUCCESS
Jul 19 05:38:41 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jul 19 05:38:41 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jul 19 05:38:41 ubuntu-phablet powerd[945]: libsuspend: release_wake_lock: powerd_power_request
Jul 19 05:38:48 ubuntu-phablet kernel: [  131.152296] amp_enable: AMP_EN is set to 1
Jul 19 05:38:48 ubuntu-phablet kernel: [  131.175247] setting pm_qos in msm_pcm_playback_copy with 1000
Jul 19 05:38:48 ubuntu-phablet kernel: [  131.175247] done setting pm_qos in msm_pcm_playback_copy
Jul 19 05:38:53 ubuntu-phablet kernel: [  136.182542] updating pm_qos value to default msm_pcm_playback_close
Jul 19 05:38:53 ubuntu-phablet kernel: [  136.182572] done updating pm_qos value to default msm_pcm_playback_close
Jul 19 05:38:53 ubuntu-phablet kernel: [  136.213673] SLIM_CL: skip reconfig sequence
Jul 19 05:38:53 ubuntu-phablet kernel: [  136.222859] amp_enable: amp enable bypass(2)
Jul 19 05:38:53 ubuntu-phablet kernel: [  136.222920] amp_enable: AMP_EN is set to 0
Jul 19 05:39:05 ubuntu-phablet powerd[945]: handle_clearSysState from :1.64, cookie: 33c78bd4-0f8b-49ea-ab62-7741aa4686b5
Jul 19 05:39:05 ubuntu-phablet powerd[945]: clear_sys_request: active - :1.64
Jul 19 05:39:05 ubuntu-phablet powerd[945]: name_watch_remove: looking for :1.64
Jul 19 05:39:05 ubuntu-phablet powerd[945]: name_watch: ref_count for :1.64 is now 0
Jul 19 05:39:05 ubuntu-phablet powerd[945]: no longer watching :1.64, there are no more requests
Jul 19 05:39:05 ubuntu-phablet powerd[945]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 19 05:39:05 ubuntu-phablet powerd[945]: Enqueue state change to ACTIVE
Jul 19 05:39:05 ubuntu-phablet powerd[945]: queue empty && state == current, discarding
Jul 19 05:39:05 ubuntu-phablet powerd[945]: libsuspend: release_wake_lock: powerd_power_request
Jul 19 05:39:05 ubuntu-phablet dbus[794]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 19 05:39:06 ubuntu-phablet dbus[794]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmpl60vh7ad): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
file:///tmp/tmp2zgsaea9.qml:15:9: QML TextField: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuWindow - regular geometry
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:38:41.514 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
05:38:41.521 INFO _launcher:120 - Attempting to launch application 'tmpl60vh7ad' with URIs '' via upstart-app-launch
05:38:45.891 INFO _common:107 - Stoping process maliit-server.
05:38:46.205 INFO _common:115 - maliit-server stop/waiting

05:38:46.207 INFO _common:130 - Starting job maliit-server with arguments ('QT_LOAD_TESTABILITY=1',).
05:38:46.296 INFO _common:138 - maliit-server start/running, process 5218

05:38:52.427 INFO logging:45 - TextField: Write into the text field. Arguments ('long text that will fill more than half of the text field.',).
Keyword arguments: {}.
05:38:52.428 DEBUG logging:45 - TextField: _ensure_focused. Arguments (). Keyword arguments: {}.
05:38:52.506 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:38:52.507 DEBUG _uinput:485 - Tapping at: 225,94
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textfield.py", line 89, in test_write_without_clear_writes_at_the_end
    'long text that will fill more than half of the text field.')
  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