Testcase: test_new_tab_view_not_destroyed_when_closing_last_open_tab

Build #:253:20150712: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_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 12 04:20:12 ubuntu-phablet powerd[890]: handle_requestSysState from :1.62 (active) - ACTIVE (1)
Jul 12 04:20:12 ubuntu-phablet powerd[890]: name_watch_add: looking for :1.62
Jul 12 04:20:12 ubuntu-phablet powerd[890]: watching :1.62 to see when it disappears on dbus
Jul 12 04:20:12 ubuntu-phablet powerd[890]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 12 04:20:12 ubuntu-phablet powerd[890]: handle_requestSysState - SUCCESS
Jul 12 04:20:12 ubuntu-phablet powerd[890]: Enqueue state change to ACTIVE
Jul 12 04:20:12 ubuntu-phablet powerd[890]: queue empty && state == current, discarding
Jul 12 04:20:12 ubuntu-phablet powerd[890]: libsuspend: release_wake_lock: powerd_power_request
Jul 12 04:20:22 ubuntu-phablet kernel: [  948.932885] rmnet_usb 1-1:1.8: [enxa22741a063d3] error: rmnet_ioct called for unsupported cmd[35585]
Jul 12 04:20:22 ubuntu-phablet kernel: [  975.509201] rmnet_usb 1-1:1.6: [enx2e42184a4057] error: rmnet_ioct called for unsupported cmd[35585]
Jul 12 04:20:22 ubuntu-phablet kernel: [  975.509629] rmnet_usb 1-1:1.7: [enx6ab5f1c1f632] error: rmnet_ioct called for unsupported cmd[35585]
Jul 12 04:20:22 ubuntu-phablet kernel: [  975.510086] rmnet_usb 1-1:1.5: [enx8ee103213e26] error: rmnet_ioct called for unsupported cmd[35585]
Jul 12 04:20:41 ubuntu-phablet powerd[890]: handle_clearSysState from :1.62, cookie: b5e0f2fb-6c49-4021-9251-702c8fdda12b
Jul 12 04:20:41 ubuntu-phablet powerd[890]: clear_sys_request: active - :1.62
Jul 12 04:20:41 ubuntu-phablet powerd[890]: name_watch_remove: looking for :1.62
Jul 12 04:20:41 ubuntu-phablet powerd[890]: name_watch: ref_count for :1.62 is now 0
Jul 12 04:20:41 ubuntu-phablet powerd[890]: no longer watching :1.62, there are no more requests
Jul 12 04:20:41 ubuntu-phablet powerd[890]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 12 04:20:41 ubuntu-phablet powerd[890]: Enqueue state change to ACTIVE
Jul 12 04:20:41 ubuntu-phablet powerd[890]: queue empty && state == current, discarding
Jul 12 04:20:41 ubuntu-phablet powerd[890]: 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:20:11.791 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
04:20:11.793 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:20:11.814 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:20:23.285 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
04:20:26.130 DEBUG _uinput:610 - Dragging from 539,878 to 539,244
04:20:26.132 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,868.
04:20:26.134 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,868.
04:20:26.145 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,858.
04:20:26.146 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,858.
04:20:26.157 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,848.
04:20:26.158 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,848.
04:20:26.169 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,838.
04:20:26.170 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,838.
04:20:26.181 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,828.
04:20:26.182 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,828.
04:20:26.193 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,818.
04:20:26.194 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,818.
04:20:26.205 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,808.
04:20:26.206 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,808.
04:20:26.217 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,798.
04:20:26.218 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,798.
04:20:26.230 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,788.
04:20:26.231 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,788.
04:20:26.242 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,778.
04:20:26.244 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,778.
04:20:26.255 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,768.
04:20:26.256 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,768.
04:20:26.267 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,758.
04:20:26.268 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,758.
04:20:26.279 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,748.
04:20:26.280 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,748.
04:20:26.291 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,738.
04:20:26.294 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,738.
04:20:26.305 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,728.
04:20:26.306 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,728.
04:20:26.317 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,718.
04:20:26.318 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,718.
04:20:26.329 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,708.
04:20:26.330 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,708.
04:20:26.341 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,698.
04:20:26.342 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,698.
04:20:26.353 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,688.
04:20:26.354 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,688.
04:20:26.365 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,678.
04:20:26.368 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,678.
04:20:26.379 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,668.
04:20:26.380 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,668.
04:20:26.391 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,658.
04:20:26.392 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,658.
04:20:26.403 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,648.
04:20:26.404 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,648.
04:20:26.414 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,638.
04:20:26.417 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,638.
04:20:26.430 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,628.
04:20:26.432 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,628.
04:20:26.450 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,618.
04:20:26.453 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,618.
04:20:26.465 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,608.
04:20:26.467 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,608.
04:20:26.478 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,598.
04:20:26.479 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,598.
04:20:26.491 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,588.
04:20:26.493 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,588.
04:20:26.504 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,578.
04:20:26.506 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,578.
04:20:26.517 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,568.
04:20:26.518 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,568.
04:20:26.529 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,558.
04:20:26.531 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,558.
04:20:26.542 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,548.
04:20:26.546 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,548.
04:20:26.558 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,538.
04:20:26.559 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,538.
04:20:26.570 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,528.
04:20:26.571 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,528.
04:20:26.582 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,518.
04:20:26.583 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,518.
04:20:26.595 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,508.
04:20:26.597 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,508.
04:20:26.612 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,498.
04:20:26.613 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,498.
04:20:26.624 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,488.
04:20:26.625 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,488.
04:20:26.637 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,478.
04:20:26.640 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,478.
04:20:26.651 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,468.
04:20:26.652 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,468.
04:20:26.663 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,458.
04:20:26.666 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,458.
04:20:26.678 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,448.
04:20:26.679 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,448.
04:20:26.690 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,438.
04:20:26.692 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,438.
04:20:26.704 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,428.
04:20:26.705 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,428.
04:20:26.716 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,418.
04:20:26.717 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,418.
04:20:26.728 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,408.
04:20:26.729 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,408.
04:20:26.741 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,398.
04:20:26.743 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,398.
04:20:26.757 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,388.
04:20:26.758 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,388.
04:20:26.769 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,378.
04:20:26.770 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,378.
04:20:26.781 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,368.
04:20:26.782 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,368.
04:20:26.794 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,358.
04:20:26.796 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,358.
04:20:26.812 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,348.
04:20:26.814 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,348.
04:20:26.825 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,338.
04:20:26.826 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,338.
04:20:26.837 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,328.
04:20:26.840 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,328.
04:20:26.851 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,318.
04:20:26.853 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,318.
04:20:26.864 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,308.
04:20:26.866 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,308.
04:20:26.877 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,298.
04:20:26.878 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,298.
04:20:26.889 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,288.
04:20:26.891 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,288.
04:20:26.902 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,278.
04:20:26.903 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,278.
04:20:26.914 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,268.
04:20:26.916 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,268.
04:20:26.927 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,258.
04:20:26.928 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,258.
04:20:26.939 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,248.
04:20:26.942 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,248.
04:20:26.953 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,244.
04:20:26.954 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,244.
04:20:41.277 INFO _launcher:544 - waiting for process to exit.
04:20:41.279 INFO _launcher:567 - Killing process 19787
}}}

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