Testcase: test_new_tab_view_not_destroyed_when_closing_last_open_tab

Build #:247:20150706: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_new_tab_view_not_destroyed_when_closing_last_open_tab
testsuite
webbrowser_app.tests.test_new_tab_view.TestNewTabViewLifetime
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  process-stdout (/usr/bin/webbrowser-app)

/var/log/syslog: {{{
Jul  7 01:45:50 ubuntu-phablet powerd[920]: handle_requestSysState from :1.94 (active) - ACTIVE (1)
Jul  7 01:45:50 ubuntu-phablet powerd[920]: name_watch_add: looking for :1.94
Jul  7 01:45:50 ubuntu-phablet powerd[920]: watching :1.94 to see when it disappears on dbus
Jul  7 01:45:50 ubuntu-phablet powerd[920]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  7 01:45:50 ubuntu-phablet powerd[920]: handle_requestSysState - SUCCESS
Jul  7 01:45:50 ubuntu-phablet powerd[920]: Enqueue state change to ACTIVE
Jul  7 01:45:50 ubuntu-phablet powerd[920]: queue empty && state == current, discarding
Jul  7 01:45:50 ubuntu-phablet powerd[920]: libsuspend: release_wake_lock: powerd_power_request
Jul  7 01:46:01 ubuntu-phablet kernel: [ 2044.953761] rmnet_usb 1-1:1.8: [enxae1f393d969b] error: rmnet_ioct called for unsupported cmd[35585]
Jul  7 01:46:01 ubuntu-phablet kernel: [ 2074.933740] rmnet_usb 1-1:1.7: [enx2a052b372cc7] error: rmnet_ioct called for unsupported cmd[35585]
Jul  7 01:46:01 ubuntu-phablet kernel: [ 2074.934228] rmnet_usb 1-1:1.5: [enx8e997158309f] error: rmnet_ioct called for unsupported cmd[35585]
Jul  7 01:46:01 ubuntu-phablet kernel: [ 2074.934655] rmnet_usb 1-1:1.6: [enxa280f1173b4b] error: rmnet_ioct called for unsupported cmd[35585]
Jul  7 01:46:19 ubuntu-phablet powerd[920]: handle_clearSysState from :1.94, cookie: f6b41829-15e0-423b-851a-ced8cfce03e6
Jul  7 01:46:19 ubuntu-phablet powerd[920]: clear_sys_request: active - :1.94
Jul  7 01:46:19 ubuntu-phablet powerd[920]: name_watch_remove: looking for :1.94
Jul  7 01:46:19 ubuntu-phablet powerd[920]: name_watch: ref_count for :1.94 is now 0
Jul  7 01:46:19 ubuntu-phablet powerd[920]: no longer watching :1.94, there are no more requests
Jul  7 01:46:19 ubuntu-phablet powerd[920]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  7 01:46:19 ubuntu-phablet powerd[920]: Enqueue state change to ACTIVE
Jul  7 01:46:19 ubuntu-phablet powerd[920]: queue empty && state == current, discarding
Jul  7 01:46:19 ubuntu-phablet powerd[920]: 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.2.9.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:550: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:56: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: {{{
01:45:50.565 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
01:45:50.566 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
01:45:50.585 INFO _launcher:431 - Launching process: ['/usr/bin/webbrowser-app', '-testability',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', '--new-session', 'http://test/test1']
01:46:01.924 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
01:46:03.979 DEBUG _uinput:610 - Dragging from 539,878 to 539,244
01:46:03.980 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,868.
01:46:03.982 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,868.
01:46:03.993 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,858.
01:46:03.994 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,858.
01:46:04.005 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,848.
01:46:04.006 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,848.
01:46:04.017 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,838.
01:46:04.018 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,838.
01:46:04.031 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,828.
01:46:04.039 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,828.
01:46:04.050 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,818.
01:46:04.053 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,818.
01:46:04.065 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,808.
01:46:04.066 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,808.
01:46:04.077 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,798.
01:46:04.078 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,798.
01:46:04.090 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,788.
01:46:04.091 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,788.
01:46:04.103 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,778.
01:46:04.108 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,778.
01:46:04.122 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,768.
01:46:04.123 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,768.
01:46:04.134 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,758.
01:46:04.135 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,758.
01:46:04.146 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,748.
01:46:04.147 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,748.
01:46:04.158 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,738.
01:46:04.161 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,738.
01:46:04.175 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,728.
01:46:04.176 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,728.
01:46:04.187 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,718.
01:46:04.188 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,718.
01:46:04.199 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,708.
01:46:04.201 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,708.
01:46:04.213 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,698.
01:46:04.214 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,698.
01:46:04.225 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,688.
01:46:04.226 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,688.
01:46:04.237 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,678.
01:46:04.238 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,678.
01:46:04.249 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,668.
01:46:04.253 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,668.
01:46:04.265 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,658.
01:46:04.267 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,658.
01:46:04.279 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,648.
01:46:04.280 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,648.
01:46:04.291 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,638.
01:46:04.292 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,638.
01:46:04.303 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,628.
01:46:04.304 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,628.
01:46:04.315 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,618.
01:46:04.316 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,618.
01:46:04.327 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,608.
01:46:04.328 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,608.
01:46:04.340 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,598.
01:46:04.343 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,598.
01:46:04.354 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,588.
01:46:04.356 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,588.
01:46:04.366 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,578.
01:46:04.367 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,578.
01:46:04.379 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,568.
01:46:04.380 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,568.
01:46:04.392 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,558.
01:46:04.393 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,558.
01:46:04.404 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,548.
01:46:04.405 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,548.
01:46:04.417 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,538.
01:46:04.418 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,538.
01:46:04.430 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,528.
01:46:04.431 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,528.
01:46:04.442 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,518.
01:46:04.443 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,518.
01:46:04.454 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,508.
01:46:04.455 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,508.
01:46:04.466 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,498.
01:46:04.469 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,498.
01:46:04.480 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,488.
01:46:04.481 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,488.
01:46:04.492 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,478.
01:46:04.494 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,478.
01:46:04.505 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,468.
01:46:04.506 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,468.
01:46:04.517 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,458.
01:46:04.518 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,458.
01:46:04.529 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,448.
01:46:04.530 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,448.
01:46:04.542 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,438.
01:46:04.545 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,438.
01:46:04.560 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,428.
01:46:04.563 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,428.
01:46:04.574 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,418.
01:46:04.575 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,418.
01:46:04.586 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,408.
01:46:04.587 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,408.
01:46:04.598 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,398.
01:46:04.599 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,398.
01:46:04.610 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,388.
01:46:04.612 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,388.
01:46:04.626 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,378.
01:46:04.627 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,378.
01:46:04.638 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,368.
01:46:04.639 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,368.
01:46:04.651 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,358.
01:46:04.654 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,358.
01:46:04.666 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,348.
01:46:04.668 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,348.
01:46:04.679 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,338.
01:46:04.681 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,338.
01:46:04.692 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,328.
01:46:04.693 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,328.
01:46:04.704 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,318.
01:46:04.705 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,318.
01:46:04.716 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,308.
01:46:04.719 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,308.
01:46:04.730 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,298.
01:46:04.731 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,298.
01:46:04.742 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,288.
01:46:04.744 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,288.
01:46:04.755 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,278.
01:46:04.756 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,278.
01:46:04.767 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,268.
01:46:04.768 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,268.
01:46:04.779 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,258.
01:46:04.780 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,258.
01:46:04.793 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,248.
01:46:04.794 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,248.
01:46:04.805 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,244.
01:46:04.807 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,244.
01:46:19.144 INFO _launcher:544 - waiting for process to exit.
01:46:19.146 INFO _launcher:567 - Killing process 8188
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_new_tab_view.py", line 67, in
test_new_tab_view_not_destroyed_when_closing_last_open_tab
    tabs_view = self.open_tabs_view()
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/__init__.py", line 137, in open_tabs_view
    return 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