Testcase: test_write_without_clear_writes_at_the_end

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_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: {{{
Jun 24 02:52:00 ubuntu-phablet powerd[975]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jun 24 02:52:00 ubuntu-phablet powerd[975]: name_watch_add: looking for :1.63
Jun 24 02:52:00 ubuntu-phablet powerd[975]: watching :1.63 to see when it disappears on dbus
Jun 24 02:52:00 ubuntu-phablet powerd[975]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 24 02:52:00 ubuntu-phablet powerd[975]: handle_requestSysState - SUCCESS
Jun 24 02:52:00 ubuntu-phablet powerd[975]: Enqueue state change to ACTIVE
Jun 24 02:52:00 ubuntu-phablet powerd[975]: queue empty && state == current, discarding
Jun 24 02:52:00 ubuntu-phablet powerd[975]: libsuspend: release_wake_lock: powerd_power_request
Jun 24 02:52:01 ubuntu-phablet powerd[975]: handle_clearSysState from :1.27, cookie: bea6b9e3-920e-4693-9160-c8c46908df23
Jun 24 02:52:01 ubuntu-phablet powerd[975]: clear_sys_request: usensord - :1.27
Jun 24 02:52:01 ubuntu-phablet powerd[975]: name_watch_remove: looking for :1.27
Jun 24 02:52:01 ubuntu-phablet powerd[975]: name_watch: ref_count for :1.27 is now 0
Jun 24 02:52:01 ubuntu-phablet powerd[975]: no longer watching :1.27, there are no more requests
Jun 24 02:52:01 ubuntu-phablet powerd[975]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 24 02:52:01 ubuntu-phablet powerd[975]: Enqueue state change to ACTIVE
Jun 24 02:52:01 ubuntu-phablet powerd[975]: queue empty && state == current, discarding
Jun 24 02:52:01 ubuntu-phablet powerd[975]: libsuspend: release_wake_lock: powerd_power_request
Jun 24 02:52:20 ubuntu-phablet powerd[975]: handle_clearSysState from :1.63, cookie: afd003ea-25cd-4304-ba18-04a2bd67b676
Jun 24 02:52:20 ubuntu-phablet powerd[975]: clear_sys_request: active - :1.63
Jun 24 02:52:20 ubuntu-phablet powerd[975]: name_watch_remove: looking for :1.63
Jun 24 02:52:20 ubuntu-phablet powerd[975]: name_watch: ref_count for :1.63 is now 0
Jun 24 02:52:20 ubuntu-phablet powerd[975]: no longer watching :1.63, there are no more requests
Jun 24 02:52:20 ubuntu-phablet powerd[975]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 24 02:52:20 ubuntu-phablet powerd[975]: Enqueue state change to ACTIVE
Jun 24 02:52:20 ubuntu-phablet powerd[975]: queue empty && state == current, discarding
Jun 24 02:52:20 ubuntu-phablet powerd[975]: libsuspend: release_wake_lock: powerd_power_request
Jun 24 02:52:21 ubuntu-phablet dbus[781]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jun 24 02:52:21 ubuntu-phablet dbus[781]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmpdcqdzk2u): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.2.9.0'
Testability driver loaded. Wire protocol version is "1.4".
<Unknown File>: QML UCDeprecatedTheme: Theme.palette is deprecated. Use ThemeSettings instead.
file:///tmp/tmpd55r6aa2.qml:15:9: QML TextField: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.2/MainView.qml:124:9: QML AppHeader: 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.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.2/Toolbar.qml:121:5: QML StyledItem: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
UbuntuWindow - regular geometry
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:52:00.269 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
02:52:00.273 WARNING base:52 - This function is deprecated. Use get_toolkit_launcher_command() instead.
02:52:00.276 INFO _launcher:120 - Attempting to launch application 'tmpdcqdzk2u' with URIs '' via upstart-app-launch
02:52:04.490 INFO logging:45 - TextField: Write into the text field. Arguments ('long text that will fill more than half of the text field.',).
Keyword arguments: {}.
02:52:04.530 DEBUG _common:45 - Moving to object's globalRect coordinates.
02:52:04.531 DEBUG _uinput:485 - Tapping at: 225,94
02:52:04.742 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
02:52:04.805 DEBUG _uinput:195 - Typing text 'long text that will fill more than half of the text field.'
02:52:04.806 DEBUG _uinput:57 - Pressing l (38).
02:52:04.908 DEBUG _uinput:88 - Releasing l (38).
02:52:05.009 DEBUG _uinput:57 - Pressing o (24).
02:52:05.112 DEBUG _uinput:88 - Releasing o (24).
02:52:05.244 DEBUG _uinput:57 - Pressing n (49).
02:52:05.349 DEBUG _uinput:88 - Releasing n (49).
02:52:05.455 DEBUG _uinput:57 - Pressing g (34).
02:52:05.560 DEBUG _uinput:88 - Releasing g (34).
02:52:05.667 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:05.782 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:05.890 DEBUG _uinput:57 - Pressing t (20).
02:52:05.993 DEBUG _uinput:88 - Releasing t (20).
02:52:06.101 DEBUG _uinput:57 - Pressing e (18).
02:52:06.208 DEBUG _uinput:88 - Releasing e (18).
02:52:06.320 DEBUG _uinput:57 - Pressing x (45).
02:52:06.427 DEBUG _uinput:88 - Releasing x (45).
02:52:06.535 DEBUG _uinput:57 - Pressing t (20).
02:52:06.642 DEBUG _uinput:88 - Releasing t (20).
02:52:06.748 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:06.864 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:06.972 DEBUG _uinput:57 - Pressing t (20).
02:52:07.079 DEBUG _uinput:88 - Releasing t (20).
02:52:07.187 DEBUG _uinput:57 - Pressing h (35).
02:52:07.297 DEBUG _uinput:88 - Releasing h (35).
02:52:07.414 DEBUG _uinput:57 - Pressing a (30).
02:52:07.516 DEBUG _uinput:88 - Releasing a (30).
02:52:07.623 DEBUG _uinput:57 - Pressing t (20).
02:52:07.730 DEBUG _uinput:88 - Releasing t (20).
02:52:07.837 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:07.955 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:08.063 DEBUG _uinput:57 - Pressing w (17).
02:52:08.170 DEBUG _uinput:88 - Releasing w (17).
02:52:08.277 DEBUG _uinput:57 - Pressing i (23).
02:52:08.385 DEBUG _uinput:88 - Releasing i (23).
02:52:08.492 DEBUG _uinput:57 - Pressing l (38).
02:52:08.596 DEBUG _uinput:88 - Releasing l (38).
02:52:08.702 DEBUG _uinput:57 - Pressing l (38).
02:52:08.811 DEBUG _uinput:88 - Releasing l (38).
02:52:08.919 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:09.026 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:09.133 DEBUG _uinput:57 - Pressing f (33).
02:52:09.240 DEBUG _uinput:88 - Releasing f (33).
02:52:09.347 DEBUG _uinput:57 - Pressing i (23).
02:52:09.458 DEBUG _uinput:88 - Releasing i (23).
02:52:09.562 DEBUG _uinput:57 - Pressing l (38).
02:52:09.672 DEBUG _uinput:88 - Releasing l (38).
02:52:09.781 DEBUG _uinput:57 - Pressing l (38).
02:52:09.884 DEBUG _uinput:88 - Releasing l (38).
02:52:09.992 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:10.099 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:10.205 DEBUG _uinput:57 - Pressing m (50).
02:52:10.312 DEBUG _uinput:88 - Releasing m (50).
02:52:10.436 DEBUG _uinput:57 - Pressing o (24).
02:52:10.539 DEBUG _uinput:88 - Releasing o (24).
02:52:10.646 DEBUG _uinput:57 - Pressing r (19).
02:52:10.753 DEBUG _uinput:88 - Releasing r (19).
02:52:10.860 DEBUG _uinput:57 - Pressing e (18).
02:52:10.968 DEBUG _uinput:88 - Releasing e (18).
02:52:11.077 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:11.184 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:11.286 DEBUG _uinput:57 - Pressing t (20).
02:52:11.395 DEBUG _uinput:88 - Releasing t (20).
02:52:11.503 DEBUG _uinput:57 - Pressing h (35).
02:52:11.606 DEBUG _uinput:88 - Releasing h (35).
02:52:11.708 DEBUG _uinput:57 - Pressing a (30).
02:52:11.813 DEBUG _uinput:88 - Releasing a (30).
02:52:11.919 DEBUG _uinput:57 - Pressing n (49).
02:52:12.022 DEBUG _uinput:88 - Releasing n (49).
02:52:12.131 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:12.238 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:12.346 DEBUG _uinput:57 - Pressing h (35).
02:52:12.448 DEBUG _uinput:88 - Releasing h (35).
02:52:12.555 DEBUG _uinput:57 - Pressing a (30).
02:52:12.657 DEBUG _uinput:88 - Releasing a (30).
02:52:12.765 DEBUG _uinput:57 - Pressing l (38).
02:52:12.872 DEBUG _uinput:88 - Releasing l (38).
02:52:12.980 DEBUG _uinput:57 - Pressing f (33).
02:52:13.082 DEBUG _uinput:88 - Releasing f (33).
02:52:13.190 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:13.297 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:13.404 DEBUG _uinput:57 - Pressing o (24).
02:52:13.507 DEBUG _uinput:88 - Releasing o (24).
02:52:13.615 DEBUG _uinput:57 - Pressing f (33).
02:52:13.733 DEBUG _uinput:88 - Releasing f (33).
02:52:13.840 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:13.947 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:14.055 DEBUG _uinput:57 - Pressing t (20).
02:52:14.166 DEBUG _uinput:88 - Releasing t (20).
02:52:14.273 DEBUG _uinput:57 - Pressing h (35).
02:52:14.381 DEBUG _uinput:88 - Releasing h (35).
02:52:14.487 DEBUG _uinput:57 - Pressing e (18).
02:52:14.596 DEBUG _uinput:88 - Releasing e (18).
02:52:14.702 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:14.810 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:14.916 DEBUG _uinput:57 - Pressing t (20).
02:52:15.019 DEBUG _uinput:88 - Releasing t (20).
02:52:15.125 DEBUG _uinput:57 - Pressing e (18).
02:52:15.233 DEBUG _uinput:88 - Releasing e (18).
02:52:15.340 DEBUG _uinput:57 - Pressing x (45).
02:52:15.447 DEBUG _uinput:88 - Releasing x (45).
02:52:15.553 DEBUG _uinput:57 - Pressing t (20).
02:52:15.660 DEBUG _uinput:88 - Releasing t (20).
02:52:15.767 DEBUG _uinput:57 - Pressing SPACE (57).
02:52:15.875 DEBUG _uinput:88 - Releasing SPACE (57).
02:52:15.977 DEBUG _uinput:57 - Pressing f (33).
02:52:16.084 DEBUG _uinput:88 - Releasing f (33).
02:52:16.190 DEBUG _uinput:57 - Pressing i (23).
02:52:16.293 DEBUG _uinput:88 - Releasing i (23).
02:52:16.407 DEBUG _uinput:57 - Pressing e (18).
02:52:16.510 DEBUG _uinput:88 - Releasing e (18).
02:52:16.612 DEBUG _uinput:57 - Pressing l (38).
02:52:16.719 DEBUG _uinput:88 - Releasing l (38).
02:52:16.825 DEBUG _uinput:57 - Pressing d (32).
02:52:16.934 DEBUG _uinput:88 - Releasing d (32).
02:52:17.041 DEBUG _uinput:57 - Pressing DOT (52).
02:52:17.143 DEBUG _uinput:88 - Releasing DOT (52).
02:52:17.251 INFO logging:45 - TextField: Write into the text field. Arguments ('append',). Keyword arguments: {'clear': False}.
02:52:17.349 DEBUG _common:45 - Moving to object's globalRect coordinates.
02:52:17.350 DEBUG _uinput:485 - Tapping at: 225,94
02:52:17.599 DEBUG _uinput:195 - Typing text 'append'
02:52:17.604 DEBUG _uinput:57 - Pressing a (30).
02:52:17.708 DEBUG _uinput:88 - Releasing a (30).
02:52:17.810 DEBUG _uinput:57 - Pressing p (25).
02:52:17.917 DEBUG _uinput:88 - Releasing p (25).
02:52:18.022 DEBUG _uinput:57 - Pressing p (25).
02:52:18.136 DEBUG _uinput:88 - Releasing p (25).
02:52:18.250 DEBUG _uinput:57 - Pressing e (18).
02:52:18.358 DEBUG _uinput:88 - Releasing e (18).
02:52:18.465 DEBUG _uinput:57 - Pressing n (49).
02:52:18.569 DEBUG _uinput:88 - Releasing n (49).
02:52:18.671 DEBUG _uinput:57 - Pressing d (32).
02:52:18.775 DEBUG _uinput:88 - Releasing d (32).
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_textfield.py", line 93, in test_write_without_clear_writes_at_the_end
    'long text that will fill more than half of the text field.append')
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 338, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 423, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: '' != 'long text that will fill more than half of the text field.append'

command_type
testcase_test

Artifacts ›   Console Log ›