Testcase: test_is_empty

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

/var/log/syslog: {{{
Jul 10 15:03:52 ubuntu-phablet powerd[941]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 10 15:03:52 ubuntu-phablet powerd[941]: name_watch_add: looking for :1.63
Jul 10 15:03:52 ubuntu-phablet powerd[941]: watching :1.63 to see when it disappears on dbus
Jul 10 15:03:52 ubuntu-phablet powerd[941]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 10 15:03:52 ubuntu-phablet powerd[941]: handle_requestSysState - SUCCESS
Jul 10 15:03:52 ubuntu-phablet powerd[941]: Enqueue state change to ACTIVE
Jul 10 15:03:52 ubuntu-phablet powerd[941]: queue empty && state == current, discarding
Jul 10 15:03:52 ubuntu-phablet powerd[941]: libsuspend: release_wake_lock: powerd_power_request
Jul 10 15:04:09 ubuntu-phablet powerd[941]: handle_clearSysState from :1.63, cookie: 91a9cefe-ac3e-4c21-9ed0-884315332f19
Jul 10 15:04:09 ubuntu-phablet powerd[941]: clear_sys_request: active - :1.63
Jul 10 15:04:09 ubuntu-phablet powerd[941]: name_watch_remove: looking for :1.63
Jul 10 15:04:09 ubuntu-phablet powerd[941]: name_watch: ref_count for :1.63 is now 0
Jul 10 15:04:09 ubuntu-phablet powerd[941]: no longer watching :1.63, there are no more requests
Jul 10 15:04:09 ubuntu-phablet powerd[941]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 10 15:04:09 ubuntu-phablet powerd[941]: Enqueue state change to ACTIVE
Jul 10 15:04:09 ubuntu-phablet powerd[941]: queue empty && state == current, discarding
Jul 10 15:04:09 ubuntu-phablet powerd[941]: libsuspend: release_wake_lock: powerd_power_request
Jul 10 15:04:09 ubuntu-phablet dbus[859]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 10 15:04:10 ubuntu-phablet dbus[859]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmpxo47702t): {{{
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/tmpr3lysdbb.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: {{{
15:03:52.006 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
15:03:52.019 INFO _launcher:120 - Attempting to launch application 'tmpxo47702t' with URIs '' via upstart-app-launch
15:03:56.546 INFO logging:45 - TextField: Write into the text field. Arguments ('test',). Keyword arguments: {}.
15:03:56.597 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:03:56.598 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 97, in test_is_empty
    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