Testcase: test_close_current_tab

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

/var/log/syslog: {{{
Jul 14 04:19:28 ubuntu-phablet powerd[891]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 14 04:19:28 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.63
Jul 14 04:19:28 ubuntu-phablet powerd[891]: watching :1.63 to see when it disappears on dbus
Jul 14 04:19:28 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 04:19:28 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 14 04:19:28 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 14 04:19:28 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 14 04:19:28 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 04:19:39 ubuntu-phablet kernel: [ 1196.318693] rmnet_usb 1-1:1.8: [enxeed3e0fdd42d] error: rmnet_ioct called for unsupported cmd[35585]
Jul 14 04:19:39 ubuntu-phablet kernel: [ 1229.349641] rmnet_usb 1-1:1.6: [enx8675d0d7c0a7] error: rmnet_ioct called for unsupported cmd[35585]
Jul 14 04:19:39 ubuntu-phablet kernel: [ 1229.350099] rmnet_usb 1-1:1.7: [enxb6fe3e8007b7] error: rmnet_ioct called for unsupported cmd[35585]
Jul 14 04:19:39 ubuntu-phablet kernel: [ 1229.350465] rmnet_usb 1-1:1.5: [enxde98517a0239] error: rmnet_ioct called for unsupported cmd[35585]
Jul 14 04:19:57 ubuntu-phablet powerd[891]: worker thread finished waiting for hw alarm
Jul 14 04:19:57 ubuntu-phablet powerd[891]: Emitting wakeup signal
Jul 14 04:19:57 ubuntu-phablet powerd[891]: worker thread is finished working; calling join()
Jul 14 04:19:57 ubuntu-phablet powerd[891]: worker thread is destroyed.
Jul 14 04:19:57 ubuntu-phablet powerd[891]: handle_requestSysState from :1.76 (ubuntu push client) - ACTIVE (1)
Jul 14 04:19:57 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.76
Jul 14 04:19:57 ubuntu-phablet powerd[891]: watching :1.76 to see when it disappears on dbus
Jul 14 04:19:57 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 04:19:57 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 14 04:19:57 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 14 04:19:57 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 14 04:19:57 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 04:19:58 ubuntu-phablet powerd[891]: handle_clearSysState from :1.63, cookie: dc6e0807-a2bd-4c8d-b4a0-cfa767450cd3
Jul 14 04:19:58 ubuntu-phablet powerd[891]: clear_sys_request: active - :1.63
Jul 14 04:19:58 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.63
Jul 14 04:19:58 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.63 is now 0
Jul 14 04:19:58 ubuntu-phablet powerd[891]: no longer watching :1.63, there are no more requests
Jul 14 04:19:58 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 04:19:58 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 14 04:19:58 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 14 04:19:58 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)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
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"
}}}

test-log: {{{
04:19:27.954 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
04:19:27.959 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:19:27.981 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:19:40.002 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
04:19:43.114 DEBUG _uinput:610 - Dragging from 539,878 to 539,244
04:19:43.116 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,868.
04:19:43.117 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,868.
04:19:43.128 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,858.
04:19:43.129 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,858.
04:19:43.140 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,848.
04:19:43.141 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,848.
04:19:43.152 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,838.
04:19:43.153 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,838.
04:19:43.164 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,828.
04:19:43.165 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,828.
04:19:43.176 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,818.
04:19:43.177 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,818.
04:19:43.188 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,808.
04:19:43.189 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,808.
04:19:43.200 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,798.
04:19:43.201 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,798.
04:19:43.212 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,788.
04:19:43.213 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,788.
04:19:43.224 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,778.
04:19:43.225 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,778.
04:19:43.236 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,768.
04:19:43.237 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,768.
04:19:43.248 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,758.
04:19:43.249 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,758.
04:19:43.260 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,748.
04:19:43.261 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,748.
04:19:43.272 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,738.
04:19:43.273 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,738.
04:19:43.284 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,728.
04:19:43.288 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,728.
04:19:43.301 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,718.
04:19:43.304 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,718.
04:19:43.314 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,708.
04:19:43.316 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,708.
04:19:43.326 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,698.
04:19:43.327 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,698.
04:19:43.339 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,688.
04:19:43.342 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,688.
04:19:43.354 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,678.
04:19:43.355 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,678.
04:19:43.369 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,668.
04:19:43.370 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,668.
04:19:43.384 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,658.
04:19:43.389 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,658.
04:19:43.400 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,648.
04:19:43.401 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,648.
04:19:43.412 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,638.
04:19:43.413 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,638.
04:19:43.424 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,628.
04:19:43.425 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,628.
04:19:43.436 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,618.
04:19:43.437 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,618.
04:19:43.448 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,608.
04:19:43.450 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,608.
04:19:43.462 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,598.
04:19:43.463 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,598.
04:19:43.474 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,588.
04:19:43.476 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,588.
04:19:43.489 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,578.
04:19:43.492 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,578.
04:19:43.505 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,568.
04:19:43.506 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,568.
04:19:43.517 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,558.
04:19:43.518 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,558.
04:19:43.529 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,548.
04:19:43.530 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,548.
04:19:43.541 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,538.
04:19:43.543 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,538.
04:19:43.554 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,528.
04:19:43.556 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,528.
04:19:43.567 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,518.
04:19:43.568 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,518.
04:19:43.579 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,508.
04:19:43.581 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,508.
04:19:43.592 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,498.
04:19:43.593 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,498.
04:19:43.606 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,488.
04:19:43.607 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,488.
04:19:43.618 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,478.
04:19:43.621 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,478.
04:19:43.632 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,468.
04:19:43.633 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,468.
04:19:43.644 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,458.
04:19:43.648 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,458.
04:19:43.662 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,448.
04:19:43.663 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,448.
04:19:43.674 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,438.
04:19:43.675 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,438.
04:19:43.686 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,428.
04:19:43.687 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,428.
04:19:43.698 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,418.
04:19:43.700 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,418.
04:19:43.711 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,408.
04:19:43.713 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,408.
04:19:43.723 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,398.
04:19:43.724 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,398.
04:19:43.735 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,388.
04:19:43.736 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,388.
04:19:43.748 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,378.
04:19:43.752 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,378.
04:19:43.763 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,368.
04:19:43.765 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,368.
04:19:43.776 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,358.
04:19:43.777 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,358.
04:19:43.788 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,348.
04:19:43.790 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,348.
04:19:43.802 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,338.
04:19:43.803 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,338.
04:19:43.815 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,328.
04:19:43.816 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,328.
04:19:43.827 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,318.
04:19:43.828 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,318.
04:19:43.839 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,308.
04:19:43.843 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,308.
04:19:43.856 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,298.
04:19:43.857 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,298.
04:19:43.869 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,288.
04:19:43.870 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,288.
04:19:43.881 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,278.
04:19:43.882 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,278.
04:19:43.893 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,268.
04:19:43.896 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,268.
04:19:43.908 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,258.
04:19:43.909 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,258.
04:19:43.920 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,248.
04:19:43.921 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,248.
04:19:43.931 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,244.
04:19:43.932 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,244.
04:19:58.427 INFO _launcher:544 - waiting for process to exit.
04:19:58.429 INFO _launcher:567 - Killing process 24374
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_tabs.py", line 39, in setUp
    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