Testcase: test_write

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

/var/log/syslog: {{{
Jul  7 03:12:27 ubuntu-phablet powerd[921]: handle_requestSysState from :1.83 (active) - ACTIVE (1)
Jul  7 03:12:27 ubuntu-phablet powerd[921]: name_watch_add: looking for :1.83
Jul  7 03:12:27 ubuntu-phablet powerd[921]: watching :1.83 to see when it disappears on dbus
Jul  7 03:12:27 ubuntu-phablet powerd[921]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  7 03:12:27 ubuntu-phablet powerd[921]: handle_requestSysState - SUCCESS
Jul  7 03:12:27 ubuntu-phablet powerd[921]: Enqueue state change to ACTIVE
Jul  7 03:12:27 ubuntu-phablet powerd[921]: queue empty && state == current, discarding
Jul  7 03:12:27 ubuntu-phablet powerd[921]: libsuspend: release_wake_lock: powerd_power_request
Jul  7 03:12:35 ubuntu-phablet dhclient: DHCPREQUEST of 10.99.248.36 on wlan0 to 10.99.248.1 port 67 (xid=0x55d6fb15)
Jul  7 03:12:35 ubuntu-phablet dhclient: DHCPACK of 10.99.248.36 from 10.99.248.1
Jul  7 03:12:35 ubuntu-phablet NetworkManager[1710]: <info> (wlan0): DHCPv4 state changed renew -> renew
Jul  7 03:12:35 ubuntu-phablet NetworkManager[1710]: <info>   address 10.99.248.36
Jul  7 03:12:35 ubuntu-phablet NetworkManager[1710]: <info>   plen 22 (255.255.252.0)
Jul  7 03:12:35 ubuntu-phablet NetworkManager[1710]: <info>   gateway 10.99.248.1
Jul  7 03:12:35 ubuntu-phablet NetworkManager[1710]: <info>   server identifier 10.99.248.1
Jul  7 03:12:35 ubuntu-phablet NetworkManager[1710]: <info>   lease time 600
Jul  7 03:12:35 ubuntu-phablet NetworkManager[1710]: <info>   nameserver '10.99.248.1'
Jul  7 03:12:35 ubuntu-phablet NetworkManager[1710]: <info>   domain name 'example.org'
Jul  7 03:12:35 ubuntu-phablet dhclient: bound to 10.99.248.36 -- renewal in 235 seconds.
Jul  7 03:12:35 ubuntu-phablet dbus[850]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Jul  7 03:12:35 ubuntu-phablet dbus[850]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul  7 03:12:35 ubuntu-phablet nm-dispatcher: Dispatching action 'dhcp4-change' for wlan0
Jul  7 03:12:35 ubuntu-phablet /03mmsproxy: Cannot add MMS route, wrong connection name (ubuntu-qa-g-wpa-d)
Jul  7 03:12:44 ubuntu-phablet powerd[921]: handle_clearSysState from :1.83, cookie: aa6b2b2a-786d-4d14-9eae-5792721b0fa0
Jul  7 03:12:44 ubuntu-phablet powerd[921]: clear_sys_request: active - :1.83
Jul  7 03:12:44 ubuntu-phablet powerd[921]: name_watch_remove: looking for :1.83
Jul  7 03:12:44 ubuntu-phablet powerd[921]: name_watch: ref_count for :1.83 is now 0
Jul  7 03:12:44 ubuntu-phablet powerd[921]: no longer watching :1.83, there are no more requests
Jul  7 03:12:44 ubuntu-phablet powerd[921]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  7 03:12:44 ubuntu-phablet powerd[921]: Enqueue state change to ACTIVE
Jul  7 03:12:44 ubuntu-phablet powerd[921]: queue empty && state == current, discarding
Jul  7 03:12:44 ubuntu-phablet powerd[921]: libsuspend: release_wake_lock: powerd_power_request
Jul  7 03:12:44 ubuntu-phablet dbus[850]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul  7 03:12:45 ubuntu-phablet dbus[850]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmphpvrlo84): {{{
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/tmpl8nc2mlu.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: {{{
03:12:27.510 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
03:12:27.515 INFO _launcher:120 - Attempting to launch application 'tmphpvrlo84' with URIs '' via upstart-app-launch
03:12:31.609 INFO logging:45 - TextField: Write into the text field. Arguments ('test',). Keyword arguments: {}.
03:12:31.663 DEBUG _common:45 - Moving to object's globalRect coordinates.
03:12:31.664 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 61, in test_write
    self.simple_text_field.write('test')
  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 51, in write
    self.focus.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.focus failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test

Artifacts ›   Console Log ›