Testcase: test_switch_tabs

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_switch_tabs
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 13 04:06:46 ubuntu-phablet powerd[891]: handle_requestSysState from :1.65 (active) - ACTIVE (1)
Jul 13 04:06:46 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.65
Jul 13 04:06:46 ubuntu-phablet powerd[891]: watching :1.65 to see when it disappears on dbus
Jul 13 04:06:46 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 04:06:46 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 13 04:06:46 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 13 04:06:46 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 13 04:06:46 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 13 04:06:47 ubuntu-phablet powerd[891]: worker thread finished waiting for hw alarm
Jul 13 04:06:47 ubuntu-phablet powerd[891]: Emitting wakeup signal
Jul 13 04:06:47 ubuntu-phablet powerd[891]: worker thread is finished working; calling join()
Jul 13 04:06:47 ubuntu-phablet powerd[891]: worker thread is destroyed.
Jul 13 04:06:47 ubuntu-phablet powerd[891]: handle_requestSysState from :1.81 (ubuntu push client) - ACTIVE (1)
Jul 13 04:06:47 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.81
Jul 13 04:06:47 ubuntu-phablet powerd[891]: watching :1.81 to see when it disappears on dbus
Jul 13 04:06:47 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 04:06:47 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 13 04:06:47 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 13 04:06:47 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 13 04:06:47 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 13 04:06:52 ubuntu-phablet powerd[891]: handle_requestWakeup from :1.81 - ubuntu push client, 1436760712
Jul 13 04:06:52 ubuntu-phablet powerd[891]: void {anonymous}::reset_alarm_clock() found 1 remaining wakeup requests
Jul 13 04:06:52 ubuntu-phablet powerd[891]: setting hardware wakeup time to 2015-07-13 04:11:52 for ubuntu push client
Jul 13 04:06:52 ubuntu-phablet powerd[891]: starting hardware alarm worker thread
Jul 13 04:06:52 ubuntu-phablet powerd[891]: calling wait_for_next_alarm
Jul 13 04:06:52 ubuntu-phablet powerd[891]: handle_clearSysState from :1.81, cookie: 9c6355f2-20cf-461f-a6b8-e9914be4a468
Jul 13 04:06:52 ubuntu-phablet powerd[891]: clear_sys_request: ubuntu push client - :1.81
Jul 13 04:06:52 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.81
Jul 13 04:06:52 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.81 is now 0
Jul 13 04:06:52 ubuntu-phablet powerd[891]: no longer watching :1.81, there are no more requests
Jul 13 04:06:52 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 04:06:52 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 13 04:06:52 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 13 04:06:52 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 13 04:06:56 ubuntu-phablet kernel: [  616.092842] rmnet_usb 1-1:1.8: [enxf6b9fc391e25] error: rmnet_ioct called for unsupported cmd[35585]
Jul 13 04:06:56 ubuntu-phablet kernel: [  643.848496] rmnet_usb 1-1:1.5: [enx4ef3ded013c3] error: rmnet_ioct called for unsupported cmd[35585]
Jul 13 04:06:56 ubuntu-phablet kernel: [  643.848893] rmnet_usb 1-1:1.6: [enx7e1e68ba1cee] error: rmnet_ioct called for unsupported cmd[35585]
Jul 13 04:06:56 ubuntu-phablet kernel: [  643.849320] rmnet_usb 1-1:1.7: [enxe63dabbc46cd] error: rmnet_ioct called for unsupported cmd[35585]
Jul 13 04:07:15 ubuntu-phablet powerd[891]: handle_clearSysState from :1.65, cookie: e654c9e3-a566-4828-bb2c-f689d54b5b64
Jul 13 04:07:15 ubuntu-phablet powerd[891]: clear_sys_request: active - :1.65
Jul 13 04:07:15 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.65
Jul 13 04:07:15 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.65 is now 0
Jul 13 04:07:15 ubuntu-phablet powerd[891]: no longer watching :1.65, there are no more requests
Jul 13 04:07:15 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 13 04:07:15 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 13 04:07:15 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 13 04:07:15 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:06:45.885 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
04:06:45.887 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:06:45.908 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:06:57.341 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
04:07:00.321 DEBUG _uinput:610 - Dragging from 539,878 to 539,244
04:07:00.324 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,868.
04:07:00.332 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,868.
04:07:00.344 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,858.
04:07:00.345 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,858.
04:07:00.356 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,848.
04:07:00.358 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,848.
04:07:00.369 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,838.
04:07:00.370 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,838.
04:07:00.381 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,828.
04:07:00.382 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,828.
04:07:00.393 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,818.
04:07:00.396 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,818.
04:07:00.407 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,808.
04:07:00.407 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,808.
04:07:00.418 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,798.
04:07:00.419 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,798.
04:07:00.430 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,788.
04:07:00.431 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,788.
04:07:00.442 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,778.
04:07:00.443 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,778.
04:07:00.454 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,768.
04:07:00.455 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,768.
04:07:00.466 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,758.
04:07:00.467 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,758.
04:07:00.478 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,748.
04:07:00.479 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,748.
04:07:00.490 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,738.
04:07:00.492 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,738.
04:07:00.503 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,728.
04:07:00.504 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,728.
04:07:00.515 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,718.
04:07:00.516 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,718.
04:07:00.527 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,708.
04:07:00.528 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,708.
04:07:00.539 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,698.
04:07:00.540 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,698.
04:07:00.552 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,688.
04:07:00.554 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,688.
04:07:00.566 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,678.
04:07:00.567 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,678.
04:07:00.578 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,668.
04:07:00.579 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,668.
04:07:00.590 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,658.
04:07:00.592 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,658.
04:07:00.603 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,648.
04:07:00.604 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,648.
04:07:00.615 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,638.
04:07:00.616 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,638.
04:07:00.627 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,628.
04:07:00.628 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,628.
04:07:00.639 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,618.
04:07:00.640 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,618.
04:07:00.651 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,608.
04:07:00.654 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,608.
04:07:00.664 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,598.
04:07:00.665 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,598.
04:07:00.676 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,588.
04:07:00.677 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,588.
04:07:00.688 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,578.
04:07:00.689 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,578.
04:07:00.700 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,568.
04:07:00.702 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,568.
04:07:00.712 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,558.
04:07:00.713 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,558.
04:07:00.724 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,548.
04:07:00.726 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,548.
04:07:00.737 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,538.
04:07:00.739 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,538.
04:07:00.752 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,528.
04:07:00.753 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,528.
04:07:00.764 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,518.
04:07:00.765 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,518.
04:07:00.776 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,508.
04:07:00.777 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,508.
04:07:00.788 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,498.
04:07:00.791 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,498.
04:07:00.804 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,488.
04:07:00.805 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,488.
04:07:00.815 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,478.
04:07:00.817 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,478.
04:07:00.827 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,468.
04:07:00.828 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,468.
04:07:00.839 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,458.
04:07:00.841 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,458.
04:07:00.852 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,448.
04:07:00.853 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,448.
04:07:00.864 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,438.
04:07:00.865 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,438.
04:07:00.876 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,428.
04:07:00.877 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,428.
04:07:00.888 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,418.
04:07:00.890 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,418.
04:07:00.903 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,408.
04:07:00.904 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,408.
04:07:00.915 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,398.
04:07:00.916 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,398.
04:07:00.927 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,388.
04:07:00.928 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,388.
04:07:00.939 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,378.
04:07:00.941 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,378.
04:07:00.954 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,368.
04:07:00.955 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,368.
04:07:00.966 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,358.
04:07:00.966 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,358.
04:07:00.977 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,348.
04:07:00.979 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,348.
04:07:00.991 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,338.
04:07:00.993 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,338.
04:07:01.006 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,328.
04:07:01.007 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,328.
04:07:01.018 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,318.
04:07:01.020 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,318.
04:07:01.031 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,308.
04:07:01.032 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,308.
04:07:01.043 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,298.
04:07:01.044 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,298.
04:07:01.055 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,288.
04:07:01.056 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,288.
04:07:01.067 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,278.
04:07:01.068 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,278.
04:07:01.079 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,268.
04:07:01.083 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,268.
04:07:01.099 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,258.
04:07:01.100 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,258.
04:07:01.111 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,248.
04:07:01.112 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,248.
04:07:01.123 DEBUG _uinput:414 - Moving pointing 'finger' to position 539,244.
04:07:01.124 DEBUG _uinput:419 - The pointing 'finger' is now at position 539,244.
04:07:15.495 INFO _launcher:544 - waiting for process to exit.
04:07:15.497 INFO _launcher:567 - Killing process 14033
}}}

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