Testcase: test_selecting_tab_focuses_webview

Build #:254:20150713: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_selecting_tab_focuses_webview
testsuite
webbrowser_app.tests.test_tabs.TestTabsManagement
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  process-stdout (/usr/bin/webbrowser-app)

/var/log/syslog: {{{
Jul 13 04:10:37 ubuntu-phablet powerd[891]: handle_requestSysState from :1.65 (active) - ACTIVE (1)
Jul 13 04:10:37 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.65
Jul 13 04:10:37 ubuntu-phablet powerd[891]: watching :1.65 to see when it disappears on dbus
Jul 13 04:10:37 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 04:10:37 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 13 04:10:37 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 13 04:10:37 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 13 04:10:37 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 13 04:10:47 ubuntu-phablet kernel: [  848.196642] rmnet_usb 1-1:1.8: [enxf6b9fc391e25] error: rmnet_ioct called for unsupported cmd[35585]
Jul 13 04:10:47 ubuntu-phablet kernel: [  874.998382] rmnet_usb 1-1:1.5: [enx4ef3ded013c3] error: rmnet_ioct called for unsupported cmd[35585]
Jul 13 04:10:47 ubuntu-phablet kernel: [  874.998809] rmnet_usb 1-1:1.6: [enx7e1e68ba1cee] error: rmnet_ioct called for unsupported cmd[35585]
Jul 13 04:10:47 ubuntu-phablet kernel: [  874.999145] rmnet_usb 1-1:1.7: [enxe63dabbc46cd] error: rmnet_ioct called for unsupported cmd[35585]
Jul 13 04:11:07 ubuntu-phablet powerd[891]: handle_clearSysState from :1.65, cookie: 2814a82e-11d2-42a2-aab1-756e38c294d6
Jul 13 04:11:07 ubuntu-phablet powerd[891]: clear_sys_request: active - :1.65
Jul 13 04:11:07 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.65
Jul 13 04:11:07 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.65 is now 0
Jul 13 04:11:07 ubuntu-phablet powerd[891]: no longer watching :1.65, there are no more requests
Jul 13 04:11:07 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 04:11:07 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 13 04:11:07 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 13 04:11:07 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
}}}

process-return-code (/usr/bin/webbrowser-app): {{{-15}}}
process-stderr (/usr/bin/webbrowser-app): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
/usr/bin/webbrowser-app: invalid option -- 't'
/usr/bin/webbrowser-app: invalid option -- 'e'
/usr/bin/webbrowser-app: invalid option -- 's'
/usr/bin/webbrowser-app: invalid option -- 't'
/usr/bin/webbrowser-app: invalid option -- 'a'
/usr/bin/webbrowser-app: invalid option -- 'b'
/usr/bin/webbrowser-app: invalid option -- 'i'
/usr/bin/webbrowser-app: invalid option -- 'l'
/usr/bin/webbrowser-app: invalid option -- 'i'
/usr/bin/webbrowser-app: invalid option -- 't'
/usr/bin/webbrowser-app: invalid option -- 'y'
/usr/bin/webbrowser-app: unrecognized option '--new-session'
Testability driver loaded. Wire protocol version is "1.4".
file:///usr/share/webbrowser-app/webbrowser/Browser.qml:572:13: QML Button: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/webbrowser-app/webbrowser/Suggestions.qml:81:5: QML Scrollbar: Theme.createStyleComponent() is deprecated. Use ThemeSettings
instead.
file:///usr/share/webbrowser-app/webbrowser/AddressBar.qml:60:5: QML TextField: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
file:///usr/share/webbrowser-app/ChromeBase.qml:53:5: QML ThinProgressBar: Theme.createStyleComponent() is deprecated. Use ThemeSettings instead.
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
OxideQQuickLocationBarController::show: height is not greater than zero
qml: Loaded 5 UA override(s) from file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Failed to download  QUrl( "http://test/favicon.ico" )  : "Host test not found"
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
04:10:37.284 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
04:10:37.286 INFO _launcher:373 - Attempting to launch application 'webbrowser-app' with arguments
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop --new-session http://test/test1' as a normal process
04:10:37.306 INFO _launcher:431 - Launching process: ['/usr/bin/webbrowser-app', '-testability',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', '--new-session', 'http://test/test1']
04:10:48.952 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
04:10:52.085 DEBUG _uinput:610 - Dragging from 539,878 to 539,244
04:10:52.087 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,868.
04:10:52.088 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,868.
04:10:52.099 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,858.
04:10:52.101 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,858.
04:10:52.112 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,848.
04:10:52.113 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,848.
04:10:52.124 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,838.
04:10:52.125 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,838.
04:10:52.136 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,828.
04:10:52.137 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,828.
04:10:52.149 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,818.
04:10:52.150 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,818.
04:10:52.161 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,808.
04:10:52.162 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,808.
04:10:52.173 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,798.
04:10:52.174 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,798.
04:10:52.185 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,788.
04:10:52.186 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,788.
04:10:52.197 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,778.
04:10:52.198 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,778.
04:10:52.209 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,768.
04:10:52.211 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,768.
04:10:52.222 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,758.
04:10:52.224 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,758.
04:10:52.235 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,748.
04:10:52.236 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,748.
04:10:52.247 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,738.
04:10:52.248 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,738.
04:10:52.259 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,728.
04:10:52.261 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,728.
04:10:52.272 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,718.
04:10:52.274 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,718.
04:10:52.285 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,708.
04:10:52.286 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,708.
04:10:52.297 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,698.
04:10:52.298 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,698.
04:10:52.309 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,688.
04:10:52.311 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,688.
04:10:52.322 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,678.
04:10:52.323 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,678.
04:10:52.334 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,668.
04:10:52.335 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,668.
04:10:52.347 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,658.
04:10:52.348 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,658.
04:10:52.359 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,648.
04:10:52.360 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,648.
04:10:52.371 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,638.
04:10:52.374 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,638.
04:10:52.385 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,628.
04:10:52.388 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,628.
04:10:52.400 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,618.
04:10:52.401 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,618.
04:10:52.412 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,608.
04:10:52.413 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,608.
04:10:52.424 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,598.
04:10:52.425 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,598.
04:10:52.436 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,588.
04:10:52.438 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,588.
04:10:52.450 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,578.
04:10:52.451 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,578.
04:10:52.463 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,568.
04:10:52.463 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,568.
04:10:52.474 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,558.
04:10:52.475 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,558.
04:10:52.487 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,548.
04:10:52.491 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,548.
04:10:52.504 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,538.
04:10:52.506 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,538.
04:10:52.517 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,528.
04:10:52.518 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,528.
04:10:52.529 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,518.
04:10:52.531 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,518.
04:10:52.542 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,508.
04:10:52.543 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,508.
04:10:52.554 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,498.
04:10:52.556 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,498.
04:10:52.567 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,488.
04:10:52.568 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,488.
04:10:52.579 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,478.
04:10:52.581 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,478.
04:10:52.592 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,468.
04:10:52.593 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,468.
04:10:52.604 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,458.
04:10:52.605 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,458.
04:10:52.616 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,448.
04:10:52.617 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,448.
04:10:52.628 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,438.
04:10:52.629 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,438.
04:10:52.640 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,428.
04:10:52.645 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,428.
04:10:52.661 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,418.
04:10:52.663 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,418.
04:10:52.674 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,408.
04:10:52.675 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,408.
04:10:52.686 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,398.
04:10:52.687 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,398.
04:10:52.697 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,388.
04:10:52.699 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,388.
04:10:52.710 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,378.
04:10:52.711 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,378.
04:10:52.722 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,368.
04:10:52.723 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,368.
04:10:52.734 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,358.
04:10:52.735 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,358.
04:10:52.746 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,348.
04:10:52.747 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,348.
04:10:52.758 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,338.
04:10:52.761 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,338.
04:10:52.772 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,328.
04:10:52.773 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,328.
04:10:52.784 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,318.
04:10:52.786 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,318.
04:10:52.796 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,308.
04:10:52.798 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,308.
04:10:52.809 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,298.
04:10:52.811 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,298.
04:10:52.822 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,288.
04:10:52.823 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,288.
04:10:52.834 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,278.
04:10:52.836 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,278.
04:10:52.847 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,268.
04:10:52.848 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,268.
04:10:52.861 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,258.
04:10:52.862 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,258.
04:10:52.873 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,248.
04:10:52.874 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,248.
04:10:52.890 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,244.
04:10:52.893 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,244.
04:11:07.507 INFO _launcher:544 - waiting for process to exit.
04:11:07.509 INFO _launcher:567 - Killing process 18092
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_tabs.py", line 157, in test_selecting_tab_focuses_webview
    tabs_view = self.open_tabs_view()
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/__init__.py", line 139, in open_tabs_view
    tabs_view = self.main_window.get_tabs_view()
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 126, in get_tabs_view
    return self.wait_select_single(TabsList, visible=True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 295, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 244, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name 'TabsList' and properties {'visible': True}.

Tips on minimizing the occurrence of this failureare available here:
http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html

command_type
testcase_test