Testcase: test_write_without_clear_writes_at_the_end

Build #:238:20150627: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 27 15:12:18 ubuntu-phablet powerd[928]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jun 27 15:12:18 ubuntu-phablet powerd[928]: name_watch_add: looking for :1.64
Jun 27 15:12:18 ubuntu-phablet powerd[928]: watching :1.64 to see when it disappears on dbus
Jun 27 15:12:18 ubuntu-phablet powerd[928]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 27 15:12:18 ubuntu-phablet powerd[928]: handle_requestSysState - SUCCESS
Jun 27 15:12:18 ubuntu-phablet powerd[928]: Enqueue state change to ACTIVE
Jun 27 15:12:18 ubuntu-phablet powerd[928]: queue empty && state == current, discarding
Jun 27 15:12:18 ubuntu-phablet powerd[928]: libsuspend: release_wake_lock: powerd_power_request
Jun 27 15:12:18 ubuntu-phablet powerd[928]: handle_clearSysState from :1.28, cookie: d30ae522-1642-4408-a79c-ffa59371a0b6
Jun 27 15:12:18 ubuntu-phablet powerd[928]: clear_sys_request: usensord - :1.28
Jun 27 15:12:18 ubuntu-phablet powerd[928]: name_watch_remove: looking for :1.28
Jun 27 15:12:18 ubuntu-phablet powerd[928]: name_watch: ref_count for :1.28 is now 0
Jun 27 15:12:18 ubuntu-phablet powerd[928]: no longer watching :1.28, there are no more requests
Jun 27 15:12:18 ubuntu-phablet powerd[928]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 27 15:12:18 ubuntu-phablet powerd[928]: Enqueue state change to ACTIVE
Jun 27 15:12:18 ubuntu-phablet powerd[928]: queue empty && state == current, discarding
Jun 27 15:12:18 ubuntu-phablet powerd[928]: libsuspend: release_wake_lock: powerd_power_request
Jun 27 15:12:38 ubuntu-phablet powerd[928]: handle_clearSysState from :1.64, cookie: cf8f9c8c-9894-4b56-a377-7d55a85d0ae0
Jun 27 15:12:38 ubuntu-phablet powerd[928]: clear_sys_request: active - :1.64
Jun 27 15:12:38 ubuntu-phablet powerd[928]: name_watch_remove: looking for :1.64
Jun 27 15:12:38 ubuntu-phablet powerd[928]: name_watch: ref_count for :1.64 is now 0
Jun 27 15:12:38 ubuntu-phablet powerd[928]: no longer watching :1.64, there are no more requests
Jun 27 15:12:38 ubuntu-phablet powerd[928]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 27 15:12:38 ubuntu-phablet powerd[928]: Enqueue state change to ACTIVE
Jun 27 15:12:38 ubuntu-phablet powerd[928]: queue empty && state == current, discarding
Jun 27 15:12:38 ubuntu-phablet powerd[928]: libsuspend: release_wake_lock: powerd_power_request
Jun 27 15:12:38 ubuntu-phablet dbus[853]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jun 27 15:12:38 ubuntu-phablet dbus[853]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmp35zsfb89): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.2.9.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/tmpargadmu8.qml:15:9: QML TextField: 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.
}}}

test-log: {{{
15:12:17.923 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
15:12:17.928 INFO _launcher:120 - Attempting to launch application 'tmp35zsfb89' with URIs '' via upstart-app-launch
15:12:22.204 INFO logging:45 - TextField: Write into the text field. Arguments ('long text that will fill more than half of the text field.',).
Keyword arguments: {}.
15:12:22.244 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:12:22.244 DEBUG _uinput:485 - Tapping at: 225,94
15:12:22.444 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
15:12:22.495 DEBUG _uinput:195 - Typing text 'long text that will fill more than half of the text field.'
15:12:22.498 DEBUG _uinput:57 - Pressing l (38).
15:12:22.600 DEBUG _uinput:88 - Releasing l (38).
15:12:22.703 DEBUG _uinput:57 - Pressing o (24).
15:12:22.807 DEBUG _uinput:88 - Releasing o (24).
15:12:22.913 DEBUG _uinput:57 - Pressing n (49).
15:12:23.015 DEBUG _uinput:88 - Releasing n (49).
15:12:23.116 DEBUG _uinput:57 - Pressing g (34).
15:12:23.221 DEBUG _uinput:88 - Releasing g (34).
15:12:23.330 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:23.443 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:23.550 DEBUG _uinput:57 - Pressing t (20).
15:12:23.655 DEBUG _uinput:88 - Releasing t (20).
15:12:23.761 DEBUG _uinput:57 - Pressing e (18).
15:12:23.868 DEBUG _uinput:88 - Releasing e (18).
15:12:23.973 DEBUG _uinput:57 - Pressing x (45).
15:12:24.078 DEBUG _uinput:88 - Releasing x (45).
15:12:24.180 DEBUG _uinput:57 - Pressing t (20).
15:12:24.288 DEBUG _uinput:88 - Releasing t (20).
15:12:24.390 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:24.495 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:24.602 DEBUG _uinput:57 - Pressing t (20).
15:12:24.704 DEBUG _uinput:88 - Releasing t (20).
15:12:24.810 DEBUG _uinput:57 - Pressing h (35).
15:12:24.912 DEBUG _uinput:88 - Releasing h (35).
15:12:25.019 DEBUG _uinput:57 - Pressing a (30).
15:12:25.125 DEBUG _uinput:88 - Releasing a (30).
15:12:25.231 DEBUG _uinput:57 - Pressing t (20).
15:12:25.333 DEBUG _uinput:88 - Releasing t (20).
15:12:25.441 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:25.545 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:25.653 DEBUG _uinput:57 - Pressing w (17).
15:12:25.759 DEBUG _uinput:88 - Releasing w (17).
15:12:25.865 DEBUG _uinput:57 - Pressing i (23).
15:12:25.971 DEBUG _uinput:88 - Releasing i (23).
15:12:26.077 DEBUG _uinput:57 - Pressing l (38).
15:12:26.183 DEBUG _uinput:88 - Releasing l (38).
15:12:26.285 DEBUG _uinput:57 - Pressing l (38).
15:12:26.387 DEBUG _uinput:88 - Releasing l (38).
15:12:26.494 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:26.599 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:26.706 DEBUG _uinput:57 - Pressing f (33).
15:12:26.812 DEBUG _uinput:88 - Releasing f (33).
15:12:26.914 DEBUG _uinput:57 - Pressing i (23).
15:12:27.021 DEBUG _uinput:88 - Releasing i (23).
15:12:27.128 DEBUG _uinput:57 - Pressing l (38).
15:12:27.235 DEBUG _uinput:88 - Releasing l (38).
15:12:27.345 DEBUG _uinput:57 - Pressing l (38).
15:12:27.454 DEBUG _uinput:88 - Releasing l (38).
15:12:27.556 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:27.663 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:27.769 DEBUG _uinput:57 - Pressing m (50).
15:12:27.871 DEBUG _uinput:88 - Releasing m (50).
15:12:27.980 DEBUG _uinput:57 - Pressing o (24).
15:12:28.082 DEBUG _uinput:88 - Releasing o (24).
15:12:28.190 DEBUG _uinput:57 - Pressing r (19).
15:12:28.295 DEBUG _uinput:88 - Releasing r (19).
15:12:28.400 DEBUG _uinput:57 - Pressing e (18).
15:12:28.505 DEBUG _uinput:88 - Releasing e (18).
15:12:28.613 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:28.720 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:28.825 DEBUG _uinput:57 - Pressing t (20).
15:12:28.928 DEBUG _uinput:88 - Releasing t (20).
15:12:29.033 DEBUG _uinput:57 - Pressing h (35).
15:12:29.136 DEBUG _uinput:88 - Releasing h (35).
15:12:29.241 DEBUG _uinput:57 - Pressing a (30).
15:12:29.351 DEBUG _uinput:88 - Releasing a (30).
15:12:29.460 DEBUG _uinput:57 - Pressing n (49).
15:12:29.566 DEBUG _uinput:88 - Releasing n (49).
15:12:29.673 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:29.780 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:29.884 DEBUG _uinput:57 - Pressing h (35).
15:12:29.989 DEBUG _uinput:88 - Releasing h (35).
15:12:30.090 DEBUG _uinput:57 - Pressing a (30).
15:12:30.210 DEBUG _uinput:88 - Releasing a (30).
15:12:30.333 DEBUG _uinput:57 - Pressing l (38).
15:12:30.436 DEBUG _uinput:88 - Releasing l (38).
15:12:30.543 DEBUG _uinput:57 - Pressing f (33).
15:12:30.649 DEBUG _uinput:88 - Releasing f (33).
15:12:30.752 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:30.859 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:30.966 DEBUG _uinput:57 - Pressing o (24).
15:12:31.073 DEBUG _uinput:88 - Releasing o (24).
15:12:31.174 DEBUG _uinput:57 - Pressing f (33).
15:12:31.277 DEBUG _uinput:88 - Releasing f (33).
15:12:31.382 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:31.487 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:31.592 DEBUG _uinput:57 - Pressing t (20).
15:12:31.697 DEBUG _uinput:88 - Releasing t (20).
15:12:31.803 DEBUG _uinput:57 - Pressing h (35).
15:12:31.912 DEBUG _uinput:88 - Releasing h (35).
15:12:32.017 DEBUG _uinput:57 - Pressing e (18).
15:12:32.133 DEBUG _uinput:88 - Releasing e (18).
15:12:32.246 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:32.354 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:32.459 DEBUG _uinput:57 - Pressing t (20).
15:12:32.565 DEBUG _uinput:88 - Releasing t (20).
15:12:32.672 DEBUG _uinput:57 - Pressing e (18).
15:12:32.774 DEBUG _uinput:88 - Releasing e (18).
15:12:32.883 DEBUG _uinput:57 - Pressing x (45).
15:12:32.991 DEBUG _uinput:88 - Releasing x (45).
15:12:33.092 DEBUG _uinput:57 - Pressing t (20).
15:12:33.194 DEBUG _uinput:88 - Releasing t (20).
15:12:33.296 DEBUG _uinput:57 - Pressing SPACE (57).
15:12:33.402 DEBUG _uinput:88 - Releasing SPACE (57).
15:12:33.508 DEBUG _uinput:57 - Pressing f (33).
15:12:33.613 DEBUG _uinput:88 - Releasing f (33).
15:12:33.719 DEBUG _uinput:57 - Pressing i (23).
15:12:33.824 DEBUG _uinput:88 - Releasing i (23).
15:12:33.926 DEBUG _uinput:57 - Pressing e (18).
15:12:34.032 DEBUG _uinput:88 - Releasing e (18).
15:12:34.141 DEBUG _uinput:57 - Pressing l (38).
15:12:34.249 DEBUG _uinput:88 - Releasing l (38).
15:12:34.351 DEBUG _uinput:57 - Pressing d (32).
15:12:34.460 DEBUG _uinput:88 - Releasing d (32).
15:12:34.571 DEBUG _uinput:57 - Pressing DOT (52).
15:12:34.676 DEBUG _uinput:88 - Releasing DOT (52).
15:12:34.783 INFO logging:45 - TextField: Write into the text field. Arguments ('append',). Keyword arguments: {'clear': False}.
15:12:34.866 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:12:34.867 DEBUG _uinput:485 - Tapping at: 225,94
15:12:35.146 DEBUG _uinput:195 - Typing text 'append'
15:12:35.147 DEBUG _uinput:57 - Pressing a (30).
15:12:35.248 DEBUG _uinput:88 - Releasing a (30).
15:12:35.350 DEBUG _uinput:57 - Pressing p (25).
15:12:35.454 DEBUG _uinput:88 - Releasing p (25).
15:12:35.557 DEBUG _uinput:57 - Pressing p (25).
15:12:35.661 DEBUG _uinput:88 - Releasing p (25).
15:12:35.766 DEBUG _uinput:57 - Pressing e (18).
15:12:35.873 DEBUG _uinput:88 - Releasing e (18).
15:12:35.980 DEBUG _uinput:57 - Pressing n (49).
15:12:36.086 DEBUG _uinput:88 - Releasing n (49).
15:12:36.193 DEBUG _uinput:57 - Pressing d (32).
15:12:36.299 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 ›