Testcase: test_selecting_tab_focuses_webview

Build #:156:20150108:20141119
Arch:mako (Nexus 4)
Release:utopic
Variant:touch_stable
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_selecting_tab_focuses_webview
testsuite
webbrowser_app.tests.test_tabs.TestTabsManagement
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  /var/log/syslog
  process-stdout (/usr/bin/webbrowser-app)

process-return-code (/usr/bin/webbrowser-app): {{{-15}}}
process-stderr (/usr/bin/webbrowser-app): {{{
/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".
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
[0108/045018:WARNING:proxy_service.cc(909)] PAC support disabled because there is no system implementation
[0108/045018:WARNING:gpu_control_list.cc(760)] Entry with unknown fields 0
[0108/045018:WARNING:gpu_control_list.cc(746)] Malformed exceptions entry 24
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://localhost:36566/favicon.ico" )  : "Error downloading http://localhost:36566/favicon.ico - server replied: Not Found"
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
04:50:13.712 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:50:13.735 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:50:13.738 INFO _launcher:373 - Attempting to launch application 'webbrowser-app' with arguments
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop --new-session http://localhost:36566/loremipsum' as a normal process
04:50:13.779 INFO _launcher:431 - Launching process: ['/usr/bin/webbrowser-app', '-testability',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', '--new-session', 'http://localhost:36566/loremipsum']
04:50:19.069 INFO http_server:124 - "GET /loremipsum HTTP/1.1" 200 -
04:50:19.312 ERROR http_server:127 - code 404, message Not Found
04:50:19.313 INFO http_server:124 - "GET /favicon.ico HTTP/1.1" 404 -
04:50:20.084 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:50:20.085 DEBUG _uinput:470 - Tapping at: 384,112
04:50:21.866 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:50:21.866 DEBUG _uinput:470 - Tapping at: 714,112
04:50:24.122 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:50:24.123 DEBUG _uinput:470 - Tapping at: 588,436
04:50:24.465 DEBUG dbus:352 - Selecting objects of type TabPreview with attributes: {}
04:50:24.568 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:50:24.569 DEBUG _uinput:470 - Tapping at: 384,606
04:50:36.538 INFO _launcher:544 - waiting for process to exit.
04:50:36.540 INFO _launcher:567 - Killing process 6469
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_tabs.py", line 167, in test_selecting_tab_focuses_webview
    self.assertThat(webview.activeFocus, Eventually(Equals(True)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test on WebViewImpl.activeFocus failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test