Testcase: test_get_selected_text

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

/var/log/syslog: {{{
Jul  5 13:14:18 ubuntu-phablet powerd[967]: handle_requestSysState from :1.83 (active) - ACTIVE (1)
Jul  5 13:14:18 ubuntu-phablet powerd[967]: name_watch_add: looking for :1.83
Jul  5 13:14:18 ubuntu-phablet powerd[967]: watching :1.83 to see when it disappears on dbus
Jul  5 13:14:18 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:14:18 ubuntu-phablet powerd[967]: handle_requestSysState - SUCCESS
Jul  5 13:14:18 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:14:18 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:14:18 ubuntu-phablet powerd[967]: libsuspend: release_wake_lock: powerd_power_request
Jul  5 13:14:24 ubuntu-phablet powerd[967]: handle_requestSysState from :1.19 (usensord) - ACTIVE (1)
Jul  5 13:14:24 ubuntu-phablet powerd[967]: name_watch_add: looking for :1.19
Jul  5 13:14:24 ubuntu-phablet powerd[967]: watching :1.19 to see when it disappears on dbus
Jul  5 13:14:24 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:14:24 ubuntu-phablet powerd[967]: handle_requestSysState - SUCCESS
Jul  5 13:14:24 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:14:24 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:14:24 ubuntu-phablet powerd[967]: libsuspend: release_wake_lock: powerd_power_request
Jul  5 13:14:25 ubuntu-phablet powerd[967]: handle_clearSysState from :1.19, cookie: c9139f1e-37d1-4e4a-8b18-481ee0355328
Jul  5 13:14:25 ubuntu-phablet powerd[967]: clear_sys_request: usensord - :1.19
Jul  5 13:14:25 ubuntu-phablet powerd[967]: name_watch_remove: looking for :1.19
Jul  5 13:14:25 ubuntu-phablet powerd[967]: name_watch: ref_count for :1.19 is now 0
Jul  5 13:14:25 ubuntu-phablet powerd[967]: no longer watching :1.19, there are no more requests
Jul  5 13:14:25 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:14:25 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:14:25 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:14:25 ubuntu-phablet powerd[967]: libsuspend: release_wake_lock: powerd_power_request
Jul  5 13:14:26 ubuntu-phablet powerd[967]: handle_clearSysState from :1.83, cookie: 23a5b900-e1cf-4d77-9912-69c6a58f65d4
Jul  5 13:14:26 ubuntu-phablet powerd[967]: clear_sys_request: active - :1.83
Jul  5 13:14:26 ubuntu-phablet powerd[967]: name_watch_remove: looking for :1.83
Jul  5 13:14:26 ubuntu-phablet powerd[967]: name_watch: ref_count for :1.83 is now 0
Jul  5 13:14:26 ubuntu-phablet powerd[967]: no longer watching :1.83, there are no more requests
Jul  5 13:14:26 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:14:26 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:14:26 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:14:26 ubuntu-phablet powerd[967]: libsuspend: release_wake_lock: powerd_power_request
Jul  5 13:14:26 ubuntu-phablet dbus[844]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul  5 13:14:27 ubuntu-phablet dbus[844]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

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

test-log: {{{
13:14:17.944 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
13:14:17.949 INFO _launcher:120 - Attempting to launch application 'tmpas0gbkh3' with URIs '' via upstart-app-launch
13:14:23.904 DEBUG _common:45 - Moving to object's globalRect coordinates.
13:14:23.905 DEBUG _uinput:485 - Tapping at: 71,271
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_optionselector.py", line 185, in test_get_selected_text
    self.assertEqual(1, self.option_selector.selectedIndex)
  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: 1 != 0

command_type
testcase_test

Artifacts ›   Console Log ›