Testcase: test_switching_tabs_updates_bookmark_toggle

Build #:252:20150711: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_switching_tabs_updates_bookmark_toggle
testsuite
webbrowser_app.tests.test_addressbar_bookmark.TestAddressBarBookmark
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  process-stdout (/usr/bin/webbrowser-app)

/var/log/syslog: {{{
Jul 11 04:10:47 ubuntu-phablet powerd[925]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 11 04:10:47 ubuntu-phablet powerd[925]: name_watch_add: looking for :1.63
Jul 11 04:10:47 ubuntu-phablet powerd[925]: watching :1.63 to see when it disappears on dbus
Jul 11 04:10:47 ubuntu-phablet powerd[925]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 11 04:10:47 ubuntu-phablet powerd[925]: handle_requestSysState - SUCCESS
Jul 11 04:10:47 ubuntu-phablet powerd[925]: Enqueue state change to ACTIVE
Jul 11 04:10:47 ubuntu-phablet powerd[925]: queue empty && state == current, discarding
Jul 11 04:10:47 ubuntu-phablet powerd[925]: libsuspend: release_wake_lock: powerd_power_request
Jul 11 04:10:48 ubuntu-phablet powerd[925]: worker thread finished waiting for hw alarm
Jul 11 04:10:48 ubuntu-phablet powerd[925]: Emitting wakeup signal
Jul 11 04:10:48 ubuntu-phablet powerd[925]: worker thread is finished working; calling join()
Jul 11 04:10:48 ubuntu-phablet powerd[925]: worker thread is destroyed.
Jul 11 04:10:48 ubuntu-phablet powerd[925]: handle_requestSysState from :1.76 (ubuntu push client) - ACTIVE (1)
Jul 11 04:10:48 ubuntu-phablet powerd[925]: name_watch_add: looking for :1.76
Jul 11 04:10:48 ubuntu-phablet powerd[925]: watching :1.76 to see when it disappears on dbus
Jul 11 04:10:48 ubuntu-phablet powerd[925]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 11 04:10:48 ubuntu-phablet powerd[925]: handle_requestSysState - SUCCESS
Jul 11 04:10:48 ubuntu-phablet powerd[925]: Enqueue state change to ACTIVE
Jul 11 04:10:48 ubuntu-phablet powerd[925]: queue empty && state == current, discarding
Jul 11 04:10:48 ubuntu-phablet powerd[925]: libsuspend: release_wake_lock: powerd_power_request
Jul 11 04:10:53 ubuntu-phablet powerd[925]: handle_requestWakeup from :1.76 - ubuntu push client, 1436588153
Jul 11 04:10:53 ubuntu-phablet powerd[925]: void {anonymous}::reset_alarm_clock() found 1 remaining wakeup requests
Jul 11 04:10:53 ubuntu-phablet powerd[925]: setting hardware wakeup time to 2015-07-11 04:15:53 for ubuntu push client
Jul 11 04:10:53 ubuntu-phablet powerd[925]: starting hardware alarm worker thread
Jul 11 04:10:53 ubuntu-phablet powerd[925]: calling wait_for_next_alarm
Jul 11 04:10:53 ubuntu-phablet powerd[925]: handle_clearSysState from :1.76, cookie: bf86c0d9-bac0-4755-bfaf-a8d1ddb4fab5
Jul 11 04:10:53 ubuntu-phablet powerd[925]: clear_sys_request: ubuntu push client - :1.76
Jul 11 04:10:53 ubuntu-phablet powerd[925]: name_watch_remove: looking for :1.76
Jul 11 04:10:53 ubuntu-phablet powerd[925]: name_watch: ref_count for :1.76 is now 0
Jul 11 04:10:53 ubuntu-phablet powerd[925]: no longer watching :1.76, there are no more requests
Jul 11 04:10:53 ubuntu-phablet powerd[925]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 11 04:10:53 ubuntu-phablet powerd[925]: Enqueue state change to ACTIVE
Jul 11 04:10:53 ubuntu-phablet powerd[925]: queue empty && state == current, discarding
Jul 11 04:10:53 ubuntu-phablet powerd[925]: libsuspend: release_wake_lock: powerd_power_request
Jul 11 04:10:58 ubuntu-phablet kernel: [  919.371554] rmnet_usb 1-1:1.8: [enx86e20ab77549] error: rmnet_ioct called for unsupported cmd[35585]
Jul 11 04:10:58 ubuntu-phablet kernel: [  951.380375] rmnet_usb 1-1:1.5: [enx024aa1bea88d] error: rmnet_ioct called for unsupported cmd[35585]
Jul 11 04:10:58 ubuntu-phablet kernel: [  951.383793] rmnet_usb 1-1:1.6: [enx0a171b35e76a] error: rmnet_ioct called for unsupported cmd[35585]
Jul 11 04:10:58 ubuntu-phablet kernel: [  951.384159] rmnet_usb 1-1:1.7: [enx3a5f1d95b9a2] error: rmnet_ioct called for unsupported cmd[35585]
Jul 11 04:11:01 ubuntu-phablet powerd[925]: handle_clearSysState from :1.63, cookie: eaddfe2b-f409-44c6-be12-bd89d34bde35
Jul 11 04:11:01 ubuntu-phablet powerd[925]: clear_sys_request: active - :1.63
Jul 11 04:11:01 ubuntu-phablet powerd[925]: name_watch_remove: looking for :1.63
Jul 11 04:11:01 ubuntu-phablet powerd[925]: name_watch: ref_count for :1.63 is now 0
Jul 11 04:11:01 ubuntu-phablet powerd[925]: no longer watching :1.63, there are no more requests
Jul 11 04:11:01 ubuntu-phablet powerd[925]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 11 04:11:01 ubuntu-phablet powerd[925]: Enqueue state change to ACTIVE
Jul 11 04:11:01 ubuntu-phablet powerd[925]: queue empty && state == current, discarding
Jul 11 04:11:01 ubuntu-phablet powerd[925]: 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:10:47.183 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
04:10:47.186 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:47.241 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:58.651 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
04:11:00.380 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:11:00.381 DEBUG _uinput:485 - Tapping at: 913,112
04:11:01.562 INFO _launcher:544 - waiting for process to exit.
04:11:01.563 INFO _launcher:567 - Killing process 19563
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_addressbar_bookmark.py", line 30, in test_switching_tabs_updates_bookmark_toggle
    bookmark_options = self.main_window.get_bookmark_options()
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 155, in get_bookmark_options
    return self.select_single(BookmarkOptions)
  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 'BookmarkOptions'.

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