Testcase: test_navigating_back_discards_error_message

Build #:255:20150714: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_navigating_back_discards_error_message
testsuite
webbrowser_app.tests.test_errorsheet.TestErrorSheet
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  process-stdout (/usr/bin/webbrowser-app)

/var/log/syslog: {{{
Jul 14 04:00:47 ubuntu-phablet kernel: [   97.863146] input: py-evdev-uinput as /devices/virtual/input/input7
Jul 14 04:00:47 ubuntu-phablet kernel: [   97.863909] keychord: using input dev py-evdev-uinput for fevent
Jul 14 04:00:48 ubuntu-phablet powerd[891]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jul 14 04:00:48 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.63
Jul 14 04:00:48 ubuntu-phablet powerd[891]: watching :1.63 to see when it disappears on dbus
Jul 14 04:00:48 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 04:00:48 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 14 04:00:48 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 14 04:00:48 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 14 04:00:48 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 14 04:00:59 ubuntu-phablet kernel: [  109.554372] rmnet_usb 1-1:1.6: [enx8675d0d7c0a7] error: rmnet_ioct called for unsupported cmd[35585]
Jul 14 04:00:59 ubuntu-phablet kernel: [  109.554707] rmnet_usb 1-1:1.7: [enxb6fe3e8007b7] error: rmnet_ioct called for unsupported cmd[35585]
Jul 14 04:00:59 ubuntu-phablet kernel: [  109.555135] rmnet_usb 1-1:1.5: [enxde98517a0239] error: rmnet_ioct called for unsupported cmd[35585]
Jul 14 04:01:03 ubuntu-phablet kernel: [  109.555592] rmnet_usb 1-1:1.8: [enxeed3e0fdd42d] error: rmnet_ioct called for unsupported cmd[35585]
Jul 14 04:01:03 ubuntu-phablet kernel: [  113.224355] amp_enable: AMP_EN is set to 1
Jul 14 04:01:03 ubuntu-phablet kernel: [  113.247337] setting pm_qos in msm_pcm_playback_copy with 1000
Jul 14 04:01:03 ubuntu-phablet kernel: [  113.247367] done setting pm_qos in msm_pcm_playback_copy
Jul 14 04:01:08 ubuntu-phablet kernel: [  118.259178] updating pm_qos value to default msm_pcm_playback_close
Jul 14 04:01:08 ubuntu-phablet kernel: [  118.259209] done updating pm_qos value to default msm_pcm_playback_close
Jul 14 04:01:08 ubuntu-phablet kernel: [  118.290309] SLIM_CL: skip reconfig sequence
Jul 14 04:01:08 ubuntu-phablet kernel: [  118.301480] amp_enable: amp enable bypass(2)
Jul 14 04:01:08 ubuntu-phablet kernel: [  118.301541] amp_enable: AMP_EN is set to 0
Jul 14 04:01:20 ubuntu-phablet powerd[891]: handle_clearSysState from :1.63, cookie: 9fdcff2c-94b6-4255-9424-fedbca3fdd80
Jul 14 04:01:20 ubuntu-phablet powerd[891]: clear_sys_request: active - :1.63
Jul 14 04:01:20 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.63
Jul 14 04:01:20 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.63 is now 0
Jul 14 04:01:20 ubuntu-phablet powerd[891]: no longer watching :1.63, there are no more requests
Jul 14 04:01:20 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 14 04:01:20 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 14 04:01:20 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 14 04:01:20 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:00:48.105 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
04:00:48.106 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:00:48.123 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:01:00.747 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
04:01:00.815 INFO _common:107 - Stoping process maliit-server.
04:01:01.007 INFO _common:115 - maliit-server stop/waiting

04:01:01.009 INFO _common:130 - Starting job maliit-server with arguments ('QT_LOAD_TESTABILITY=1',).
04:01:01.079 INFO _common:138 - maliit-server start/running, process 4868

04:01:08.453 INFO logging:45 - AddressBar: go_to_url. Arguments ('http://invalid/',). Keyword arguments: {}.
04:01:08.455 INFO logging:45 - TextField: Write into the text field. Arguments ('http://invalid/', True). Keyword arguments: {}.
04:01:08.456 DEBUG logging:45 - TextField: _ensure_focused. Arguments (). Keyword arguments: {}.
04:01:08.557 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:01:08.558 DEBUG _uinput:485 - Tapping at: 539,112
04:01:20.336 INFO _launcher:544 - waiting for process to exit.
04:01:20.338 INFO _launcher:567 - Killing process 4615
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_errorsheet.py", line 44, in test_navigating_back_discards_error_message
    self.main_window.go_to_url(INVALID_URL)
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 39, in go_to_url
    self.address_bar.go_to_url(url)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 251, in go_to_url
    self.write(url)
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 255, in write
    self.text_field.write(text, clear)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 43, in write
    self._ensure_focused()
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 141, in _ensure_focused
    self.activeFocus.wait_for(True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 180, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on TextField.activeFocus failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test