Testcase: test_looses_focus_when_reloading

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_looses_focus_when_reloading
testsuite
webbrowser_app.tests.test_addressbar_states.TestAddressBarStates
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  process-stdout (/usr/bin/webbrowser-app)

/var/log/syslog: {{{Jan  8 04:50:42 ubuntu-phablet PackageKit: daemon quit}}}
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/045042:WARNING:proxy_service.cc(909)] PAC support disabled because there is no system implementation
[0108/045042:WARNING:gpu_control_list.cc(760)] Entry with unknown fields 0
[0108/045042: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.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Failed to download  QUrl( "http://localhost:33149/favicon.ico" )  : "Error downloading http://localhost:33149/favicon.ico - server replied: Not Found"
}}}

test-log: {{{
04:50:37.437 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:50:37.446 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:50:37.448 INFO _launcher:373 - Attempting to launch application 'webbrowser-app' with arguments
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop --new-session http://localhost:33149/loremipsum' as a normal process
04:50:37.462 INFO _launcher:431 - Launching process: ['/usr/bin/webbrowser-app', '-testability',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', '--new-session', 'http://localhost:33149/loremipsum']
04:50:42.919 INFO http_server:124 - "GET /loremipsum HTTP/1.1" 200 -
04:50:43.410 ERROR http_server:127 - code 404, message Not Found
04:50:43.411 INFO http_server:124 - "GET /favicon.ico HTTP/1.1" 404 -
04:50:43.925 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:50:43.925 DEBUG _uinput:470 - Tapping at: 384,112
04:50:44.557 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:50:44.558 DEBUG _uinput:470 - Tapping at: 153,112
04:50:56.160 INFO _launcher:544 - waiting for process to exit.
04:50:56.161 INFO _launcher:567 - Killing process 6603
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_addressbar_states.py", line 78, in test_looses_focus_when_reloading
    self.assertThat(address_bar.state, Eventually(Equals("")))
  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 AddressBar.state failed: '' != dbus.String('editing', variant_level=1)

command_type
testcase_test