Testcase: test_write_without_clear_writes_at_the_end

Build #:236:20150625: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 25 22:10:10 ubuntu-phablet powerd[941]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jun 25 22:10:10 ubuntu-phablet powerd[941]: name_watch_add: looking for :1.64
Jun 25 22:10:10 ubuntu-phablet powerd[941]: watching :1.64 to see when it disappears on dbus
Jun 25 22:10:10 ubuntu-phablet powerd[941]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 25 22:10:10 ubuntu-phablet powerd[941]: handle_requestSysState - SUCCESS
Jun 25 22:10:10 ubuntu-phablet powerd[941]: Enqueue state change to ACTIVE
Jun 25 22:10:10 ubuntu-phablet powerd[941]: queue empty && state == current, discarding
Jun 25 22:10:10 ubuntu-phablet powerd[941]: libsuspend: release_wake_lock: powerd_power_request
Jun 25 22:10:13 ubuntu-phablet dhclient: DHCPREQUEST of 10.99.248.36 on wlan0 to 10.99.248.1 port 67 (xid=0x598a40cd)
Jun 25 22:10:13 ubuntu-phablet dhclient: DHCPACK of 10.99.248.36 from 10.99.248.1
Jun 25 22:10:13 ubuntu-phablet NetworkManager[1592]: <info> (wlan0): DHCPv4 state changed renew -> renew
Jun 25 22:10:13 ubuntu-phablet NetworkManager[1592]: <info>   address 10.99.248.36
Jun 25 22:10:13 ubuntu-phablet NetworkManager[1592]: <info>   plen 22 (255.255.252.0)
Jun 25 22:10:13 ubuntu-phablet NetworkManager[1592]: <info>   gateway 10.99.248.1
Jun 25 22:10:13 ubuntu-phablet NetworkManager[1592]: <info>   server identifier 10.99.248.1
Jun 25 22:10:13 ubuntu-phablet NetworkManager[1592]: <info>   lease time 600
Jun 25 22:10:13 ubuntu-phablet NetworkManager[1592]: <info>   nameserver '10.99.248.1'
Jun 25 22:10:13 ubuntu-phablet NetworkManager[1592]: <info>   domain name 'example.org'
Jun 25 22:10:13 ubuntu-phablet dbus[847]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Jun 25 22:10:14 ubuntu-phablet dhclient: bound to 10.99.248.36 -- renewal in 231 seconds.
Jun 25 22:10:14 ubuntu-phablet dbus[847]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jun 25 22:10:14 ubuntu-phablet nm-dispatcher: Dispatching action 'dhcp4-change' for wlan0
Jun 25 22:10:14 ubuntu-phablet /03mmsproxy: Cannot add MMS route, wrong connection name (ubuntu-qa-g-wpa-d)
Jun 25 22:10:30 ubuntu-phablet powerd[941]: handle_clearSysState from :1.64, cookie: 7027b074-17a3-4974-8457-b58c8ffc8d33
Jun 25 22:10:30 ubuntu-phablet powerd[941]: clear_sys_request: active - :1.64
Jun 25 22:10:30 ubuntu-phablet powerd[941]: name_watch_remove: looking for :1.64
Jun 25 22:10:30 ubuntu-phablet powerd[941]: name_watch: ref_count for :1.64 is now 0
Jun 25 22:10:30 ubuntu-phablet powerd[941]: no longer watching :1.64, there are no more requests
Jun 25 22:10:30 ubuntu-phablet powerd[941]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 25 22:10:30 ubuntu-phablet powerd[941]: Enqueue state change to ACTIVE
Jun 25 22:10:30 ubuntu-phablet powerd[941]: queue empty && state == current, discarding
Jun 25 22:10:30 ubuntu-phablet powerd[941]: libsuspend: release_wake_lock: powerd_power_request
Jun 25 22:10:31 ubuntu-phablet dbus[847]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jun 25 22:10:31 ubuntu-phablet dbus[847]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmpgi4pho1v): {{{
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/tmpfe9cng26.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: {{{
22:10:09.898 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
22:10:09.902 WARNING base:52 - This function is deprecated. Use get_toolkit_launcher_command() instead.
22:10:09.904 INFO _launcher:120 - Attempting to launch application 'tmpgi4pho1v' with URIs '' via upstart-app-launch
22:10:14.371 INFO logging:45 - TextField: Write into the text field. Arguments ('long text that will fill more than half of the text field.',).
Keyword arguments: {}.
22:10:14.420 DEBUG _common:45 - Moving to object's globalRect coordinates.
22:10:14.422 DEBUG _uinput:485 - Tapping at: 225,94
22:10:14.656 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
22:10:14.772 DEBUG _uinput:195 - Typing text 'long text that will fill more than half of the text field.'
22:10:14.774 DEBUG _uinput:57 - Pressing l (38).
22:10:14.875 DEBUG _uinput:88 - Releasing l (38).
22:10:14.978 DEBUG _uinput:57 - Pressing o (24).
22:10:15.088 DEBUG _uinput:88 - Releasing o (24).
22:10:15.228 DEBUG _uinput:57 - Pressing n (49).
22:10:15.336 DEBUG _uinput:88 - Releasing n (49).
22:10:15.444 DEBUG _uinput:57 - Pressing g (34).
22:10:15.551 DEBUG _uinput:88 - Releasing g (34).
22:10:15.661 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:15.776 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:15.883 DEBUG _uinput:57 - Pressing t (20).
22:10:15.990 DEBUG _uinput:88 - Releasing t (20).
22:10:16.097 DEBUG _uinput:57 - Pressing e (18).
22:10:16.199 DEBUG _uinput:88 - Releasing e (18).
22:10:16.301 DEBUG _uinput:57 - Pressing x (45).
22:10:16.409 DEBUG _uinput:88 - Releasing x (45).
22:10:16.527 DEBUG _uinput:57 - Pressing t (20).
22:10:16.635 DEBUG _uinput:88 - Releasing t (20).
22:10:16.742 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:16.863 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:16.966 DEBUG _uinput:57 - Pressing t (20).
22:10:17.073 DEBUG _uinput:88 - Releasing t (20).
22:10:17.182 DEBUG _uinput:57 - Pressing h (35).
22:10:17.289 DEBUG _uinput:88 - Releasing h (35).
22:10:17.397 DEBUG _uinput:57 - Pressing a (30).
22:10:17.504 DEBUG _uinput:88 - Releasing a (30).
22:10:17.611 DEBUG _uinput:57 - Pressing t (20).
22:10:17.720 DEBUG _uinput:88 - Releasing t (20).
22:10:17.827 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:17.937 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:18.044 DEBUG _uinput:57 - Pressing w (17).
22:10:18.152 DEBUG _uinput:88 - Releasing w (17).
22:10:18.261 DEBUG _uinput:57 - Pressing i (23).
22:10:18.368 DEBUG _uinput:88 - Releasing i (23).
22:10:18.474 DEBUG _uinput:57 - Pressing l (38).
22:10:18.577 DEBUG _uinput:88 - Releasing l (38).
22:10:18.683 DEBUG _uinput:57 - Pressing l (38).
22:10:18.786 DEBUG _uinput:88 - Releasing l (38).
22:10:18.888 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:18.997 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:19.107 DEBUG _uinput:57 - Pressing f (33).
22:10:19.213 DEBUG _uinput:88 - Releasing f (33).
22:10:19.316 DEBUG _uinput:57 - Pressing i (23).
22:10:19.423 DEBUG _uinput:88 - Releasing i (23).
22:10:19.536 DEBUG _uinput:57 - Pressing l (38).
22:10:19.644 DEBUG _uinput:88 - Releasing l (38).
22:10:19.756 DEBUG _uinput:57 - Pressing l (38).
22:10:19.863 DEBUG _uinput:88 - Releasing l (38).
22:10:19.971 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:20.079 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:20.190 DEBUG _uinput:57 - Pressing m (50).
22:10:20.297 DEBUG _uinput:88 - Releasing m (50).
22:10:20.402 DEBUG _uinput:57 - Pressing o (24).
22:10:20.508 DEBUG _uinput:88 - Releasing o (24).
22:10:20.612 DEBUG _uinput:57 - Pressing r (19).
22:10:20.725 DEBUG _uinput:88 - Releasing r (19).
22:10:20.829 DEBUG _uinput:57 - Pressing e (18).
22:10:20.936 DEBUG _uinput:88 - Releasing e (18).
22:10:21.042 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:21.145 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:21.254 DEBUG _uinput:57 - Pressing t (20).
22:10:21.360 DEBUG _uinput:88 - Releasing t (20).
22:10:21.466 DEBUG _uinput:57 - Pressing h (35).
22:10:21.574 DEBUG _uinput:88 - Releasing h (35).
22:10:21.683 DEBUG _uinput:57 - Pressing a (30).
22:10:21.790 DEBUG _uinput:88 - Releasing a (30).
22:10:21.897 DEBUG _uinput:57 - Pressing n (49).
22:10:22.004 DEBUG _uinput:88 - Releasing n (49).
22:10:22.111 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:22.220 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:22.329 DEBUG _uinput:57 - Pressing h (35).
22:10:22.436 DEBUG _uinput:88 - Releasing h (35).
22:10:22.542 DEBUG _uinput:57 - Pressing a (30).
22:10:22.648 DEBUG _uinput:88 - Releasing a (30).
22:10:22.769 DEBUG _uinput:57 - Pressing l (38).
22:10:22.871 DEBUG _uinput:88 - Releasing l (38).
22:10:22.975 DEBUG _uinput:57 - Pressing f (33).
22:10:23.079 DEBUG _uinput:88 - Releasing f (33).
22:10:23.187 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:23.292 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:23.399 DEBUG _uinput:57 - Pressing o (24).
22:10:23.505 DEBUG _uinput:88 - Releasing o (24).
22:10:23.607 DEBUG _uinput:57 - Pressing f (33).
22:10:23.709 DEBUG _uinput:88 - Releasing f (33).
22:10:23.812 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:23.919 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:24.026 DEBUG _uinput:57 - Pressing t (20).
22:10:24.132 DEBUG _uinput:88 - Releasing t (20).
22:10:24.235 DEBUG _uinput:57 - Pressing h (35).
22:10:24.345 DEBUG _uinput:88 - Releasing h (35).
22:10:24.452 DEBUG _uinput:57 - Pressing e (18).
22:10:24.559 DEBUG _uinput:88 - Releasing e (18).
22:10:24.674 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:24.798 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:24.900 DEBUG _uinput:57 - Pressing t (20).
22:10:25.004 DEBUG _uinput:88 - Releasing t (20).
22:10:25.111 DEBUG _uinput:57 - Pressing e (18).
22:10:25.219 DEBUG _uinput:88 - Releasing e (18).
22:10:25.327 DEBUG _uinput:57 - Pressing x (45).
22:10:25.435 DEBUG _uinput:88 - Releasing x (45).
22:10:25.546 DEBUG _uinput:57 - Pressing t (20).
22:10:25.654 DEBUG _uinput:88 - Releasing t (20).
22:10:25.761 DEBUG _uinput:57 - Pressing SPACE (57).
22:10:25.868 DEBUG _uinput:88 - Releasing SPACE (57).
22:10:25.975 DEBUG _uinput:57 - Pressing f (33).
22:10:26.082 DEBUG _uinput:88 - Releasing f (33).
22:10:26.189 DEBUG _uinput:57 - Pressing i (23).
22:10:26.295 DEBUG _uinput:88 - Releasing i (23).
22:10:26.403 DEBUG _uinput:57 - Pressing e (18).
22:10:26.521 DEBUG _uinput:88 - Releasing e (18).
22:10:26.628 DEBUG _uinput:57 - Pressing l (38).
22:10:26.731 DEBUG _uinput:88 - Releasing l (38).
22:10:26.837 DEBUG _uinput:57 - Pressing d (32).
22:10:26.944 DEBUG _uinput:88 - Releasing d (32).
22:10:27.059 DEBUG _uinput:57 - Pressing DOT (52).
22:10:27.166 DEBUG _uinput:88 - Releasing DOT (52).
22:10:27.270 INFO logging:45 - TextField: Write into the text field. Arguments ('append',). Keyword arguments: {'clear': False}.
22:10:27.379 DEBUG _common:45 - Moving to object's globalRect coordinates.
22:10:27.381 DEBUG _uinput:485 - Tapping at: 225,94
22:10:27.628 DEBUG _uinput:195 - Typing text 'append'
22:10:27.643 DEBUG _uinput:57 - Pressing a (30).
22:10:27.747 DEBUG _uinput:88 - Releasing a (30).
22:10:27.849 DEBUG _uinput:57 - Pressing p (25).
22:10:27.953 DEBUG _uinput:88 - Releasing p (25).
22:10:28.058 DEBUG _uinput:57 - Pressing p (25).
22:10:28.162 DEBUG _uinput:88 - Releasing p (25).
22:10:28.266 DEBUG _uinput:57 - Pressing e (18).
22:10:28.372 DEBUG _uinput:88 - Releasing e (18).
22:10:28.479 DEBUG _uinput:57 - Pressing n (49).
22:10:28.581 DEBUG _uinput:88 - Releasing n (49).
22:10:28.688 DEBUG _uinput:57 - Pressing d (32).
22:10:28.795 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 ›