Testcase: test_get_selected_text

Build #:255:20150714: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_get_selected_text
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_optionselector.OptionSelectorCustomDelegateTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 14 06:12:20 ubuntu-phablet powerd[978]: handle_requestSysState from :1.76 (active) - ACTIVE (1)
Jul 14 06:12:20 ubuntu-phablet powerd[978]: name_watch_add: looking for :1.76
Jul 14 06:12:20 ubuntu-phablet powerd[978]: watching :1.76 to see when it disappears on dbus
Jul 14 06:12:20 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:12:20 ubuntu-phablet powerd[978]: handle_requestSysState - SUCCESS
Jul 14 06:12:20 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:12:20 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:12:20 ubuntu-phablet powerd[978]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 06:12:26 ubuntu-phablet powerd[978]: handle_requestSysState from :1.24 (usensord) - ACTIVE (1)
Jul 14 06:12:26 ubuntu-phablet powerd[978]: name_watch_add: looking for :1.24
Jul 14 06:12:26 ubuntu-phablet powerd[978]: watching :1.24 to see when it disappears on dbus
Jul 14 06:12:26 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:12:26 ubuntu-phablet powerd[978]: handle_requestSysState - SUCCESS
Jul 14 06:12:26 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:12:26 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:12:26 ubuntu-phablet powerd[978]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 06:12:28 ubuntu-phablet powerd[978]: handle_clearSysState from :1.24, cookie: fab7f0dc-f8ad-4796-a061-03ecf9618eb9
Jul 14 06:12:28 ubuntu-phablet powerd[978]: clear_sys_request: usensord - :1.24
Jul 14 06:12:28 ubuntu-phablet powerd[978]: name_watch_remove: looking for :1.24
Jul 14 06:12:28 ubuntu-phablet powerd[978]: name_watch: ref_count for :1.24 is now 0
Jul 14 06:12:28 ubuntu-phablet powerd[978]: no longer watching :1.24, there are no more requests
Jul 14 06:12:28 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:12:28 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:12:28 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:12:28 ubuntu-phablet powerd[978]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 06:12:39 ubuntu-phablet powerd[978]: handle_clearSysState from :1.76, cookie: 57d463a9-7851-451c-97af-ddbdc66274a9
Jul 14 06:12:39 ubuntu-phablet powerd[978]: clear_sys_request: active - :1.76
Jul 14 06:12:39 ubuntu-phablet powerd[978]: name_watch_remove: looking for :1.76
Jul 14 06:12:39 ubuntu-phablet powerd[978]: name_watch: ref_count for :1.76 is now 0
Jul 14 06:12:39 ubuntu-phablet powerd[978]: no longer watching :1.76, there are no more requests
Jul 14 06:12:39 ubuntu-phablet powerd[978]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 06:12:39 ubuntu-phablet powerd[978]: Enqueue state change to ACTIVE
Jul 14 06:12:39 ubuntu-phablet powerd[978]: queue empty && state == current, discarding
Jul 14 06:12:39 ubuntu-phablet powerd[978]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 06:12:39 ubuntu-phablet dbus[770]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 14 06:12:40 ubuntu-phablet dbus[770]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmpbukyvi60): {{{
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.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
06:12:20.481 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
06:12:20.488 INFO _launcher:120 - Attempting to launch application 'tmpbukyvi60' with URIs '' via upstart-app-launch
06:12:26.512 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:12:26.513 DEBUG _uinput:485 - Tapping at: 93,179
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_optionselector.py", line 105, in test_get_selected_text
    self.option_selector.select_option(text="Value 2")
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_optionselector.py", line 103, in select_option
    self._expand()
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_optionselector.py", line 61, in _expand
    self.currentlyExpanded.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 OptionSelector.currentlyExpanded failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test