Testcase: test_resize_selection

Build #:240:20150629:20150529.1
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_resize_selection
testsuite
webbrowser_app.tests.test_selection.TestSelection
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  process-stdout (/usr/bin/webbrowser-app)

/var/log/syslog: {{{
Jun 30 01:14:37 ubuntu-phablet powerd[976]: handle_requestSysState from :1.64 (active) - ACTIVE (1)
Jun 30 01:14:37 ubuntu-phablet powerd[976]: name_watch_add: looking for :1.64
Jun 30 01:14:37 ubuntu-phablet powerd[976]: watching :1.64 to see when it disappears on dbus
Jun 30 01:14:37 ubuntu-phablet powerd[976]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 30 01:14:37 ubuntu-phablet powerd[976]: handle_requestSysState - SUCCESS
Jun 30 01:14:37 ubuntu-phablet powerd[976]: Enqueue state change to ACTIVE
Jun 30 01:14:37 ubuntu-phablet powerd[976]: queue empty && state == current, discarding
Jun 30 01:14:37 ubuntu-phablet powerd[976]: libsuspend: release_wake_lock: powerd_power_request
Jun 30 01:14:47 ubuntu-phablet kernel: [  913.235739] rmnet_usb 1-1:1.6: [enx1e0227b4f09a] error: rmnet_ioct called for unsupported cmd[35585]
Jun 30 01:14:47 ubuntu-phablet kernel: [  913.236105] rmnet_usb 1-1:1.7: [enx6a1d36fd0a8b] error: rmnet_ioct called for unsupported cmd[35585]
Jun 30 01:14:51 ubuntu-phablet powerd[976]: handle_requestSysState from :1.25 (usensord) - ACTIVE (1)
Jun 30 01:14:51 ubuntu-phablet powerd[976]: name_watch_add: looking for :1.25
Jun 30 01:14:51 ubuntu-phablet powerd[976]: watching :1.25 to see when it disappears on dbus
Jun 30 01:14:51 ubuntu-phablet powerd[976]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 30 01:14:51 ubuntu-phablet powerd[976]: handle_requestSysState - SUCCESS
Jun 30 01:14:51 ubuntu-phablet powerd[976]: Enqueue state change to ACTIVE
Jun 30 01:14:51 ubuntu-phablet powerd[976]: queue empty && state == current, discarding
Jun 30 01:14:51 ubuntu-phablet powerd[976]: libsuspend: release_wake_lock: powerd_power_request
Jun 30 01:14:52 ubuntu-phablet powerd[976]: handle_clearSysState from :1.25, cookie: e340f0d6-a0c3-43a2-808f-c299251019be
Jun 30 01:14:52 ubuntu-phablet powerd[976]: clear_sys_request: usensord - :1.25
Jun 30 01:14:52 ubuntu-phablet powerd[976]: name_watch_remove: looking for :1.25
Jun 30 01:14:52 ubuntu-phablet powerd[976]: name_watch: ref_count for :1.25 is now 0
Jun 30 01:14:52 ubuntu-phablet powerd[976]: no longer watching :1.25, there are no more requests
Jun 30 01:14:52 ubuntu-phablet powerd[976]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 30 01:14:52 ubuntu-phablet powerd[976]: Enqueue state change to ACTIVE
Jun 30 01:14:52 ubuntu-phablet powerd[976]: queue empty && state == current, discarding
Jun 30 01:14:52 ubuntu-phablet powerd[976]: libsuspend: release_wake_lock: powerd_power_request
Jun 30 01:15:08 ubuntu-phablet powerd[976]: handle_clearSysState from :1.64, cookie: c4ee9a31-5c94-46d3-a356-6d6d9077c01c
Jun 30 01:15:08 ubuntu-phablet powerd[976]: clear_sys_request: active - :1.64
Jun 30 01:15:08 ubuntu-phablet powerd[976]: name_watch_remove: looking for :1.64
Jun 30 01:15:08 ubuntu-phablet powerd[976]: name_watch: ref_count for :1.64 is now 0
Jun 30 01:15:08 ubuntu-phablet powerd[976]: no longer watching :1.64, there are no more requests
Jun 30 01:15:08 ubuntu-phablet powerd[976]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 30 01:15:08 ubuntu-phablet powerd[976]: Enqueue state change to ACTIVE
Jun 30 01:15:08 ubuntu-phablet powerd[976]: queue empty && state == current, discarding
Jun 30 01:15:08 ubuntu-phablet powerd[976]: 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.2.9.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:498: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:54: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)
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
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Failed to download  QUrl( "http://test/favicon.ico" )  : "Host test not found"
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
01:14:37.376 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
01:14:37.379 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
01:14:37.398 INFO _launcher:431 - Launching process: ['/usr/bin/webbrowser-app', '-testability',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', '--new-session', 'http://test/test1']
01:14:48.878 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
01:14:50.315 INFO logging:45 - AddressBar: go_to_url. Arguments ('http://test/selection',). Keyword arguments: {}.
01:14:50.316 INFO logging:45 - TextField: Write into the text field. Arguments ('http://test/selection', True). Keyword arguments: {}.
01:14:50.356 DEBUG _common:45 - Moving to object's globalRect coordinates.
01:14:50.357 DEBUG _uinput:485 - Tapping at: 383,112
01:14:50.718 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
01:14:50.878 DEBUG logging:45 - TextField: _click_clear_button. Arguments (). Keyword arguments: {}.
01:14:51.062 DEBUG _common:45 - Moving to object's globalRect coordinates.
01:14:51.063 DEBUG _uinput:485 - Tapping at: 605,112
01:14:51.227 DEBUG _uinput:195 - Typing text 'http://test/selection'
01:14:51.228 DEBUG _uinput:57 - Pressing h (35).
01:14:51.330 DEBUG _uinput:88 - Releasing h (35).
01:14:51.434 DEBUG _uinput:57 - Pressing t (20).
01:14:51.538 DEBUG _uinput:88 - Releasing t (20).
01:14:51.648 DEBUG _uinput:57 - Pressing t (20).
01:14:51.779 DEBUG _uinput:88 - Releasing t (20).
01:14:51.885 DEBUG _uinput:57 - Pressing p (25).
01:14:51.991 DEBUG _uinput:88 - Releasing p (25).
01:14:52.110 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
01:14:52.215 DEBUG _uinput:57 - Pressing SEMICOLON (39).
01:14:52.321 DEBUG _uinput:88 - Releasing SEMICOLON (39).
01:14:52.423 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
01:14:52.536 DEBUG _uinput:57 - Pressing SLASH (53).
01:14:52.642 DEBUG _uinput:88 - Releasing SLASH (53).
01:14:52.748 DEBUG _uinput:57 - Pressing SLASH (53).
01:14:52.856 DEBUG _uinput:88 - Releasing SLASH (53).
01:14:52.962 DEBUG _uinput:57 - Pressing t (20).
01:14:53.067 DEBUG _uinput:88 - Releasing t (20).
01:14:53.171 DEBUG _uinput:57 - Pressing e (18).
01:14:53.283 DEBUG _uinput:88 - Releasing e (18).
01:14:53.389 DEBUG _uinput:57 - Pressing s (31).
01:14:53.498 DEBUG _uinput:88 - Releasing s (31).
01:14:53.604 DEBUG _uinput:57 - Pressing t (20).
01:14:53.716 DEBUG _uinput:88 - Releasing t (20).
01:14:53.824 DEBUG _uinput:57 - Pressing SLASH (53).
01:14:53.930 DEBUG _uinput:88 - Releasing SLASH (53).
01:14:54.036 DEBUG _uinput:57 - Pressing s (31).
01:14:54.142 DEBUG _uinput:88 - Releasing s (31).
01:14:54.248 DEBUG _uinput:57 - Pressing e (18).
01:14:54.349 DEBUG _uinput:88 - Releasing e (18).
01:14:54.450 DEBUG _uinput:57 - Pressing l (38).
01:14:54.555 DEBUG _uinput:88 - Releasing l (38).
01:14:54.675 DEBUG _uinput:57 - Pressing e (18).
01:14:54.783 DEBUG _uinput:88 - Releasing e (18).
01:14:54.890 DEBUG _uinput:57 - Pressing c (46).
01:14:54.997 DEBUG _uinput:88 - Releasing c (46).
01:14:55.104 DEBUG _uinput:57 - Pressing t (20).
01:14:55.212 DEBUG _uinput:88 - Releasing t (20).
01:14:55.321 DEBUG _uinput:57 - Pressing i (23).
01:14:55.433 DEBUG _uinput:88 - Releasing i (23).
01:14:55.537 DEBUG _uinput:57 - Pressing o (24).
01:14:55.643 DEBUG _uinput:88 - Releasing o (24).
01:14:55.750 DEBUG _uinput:57 - Pressing n (49).
01:14:55.855 DEBUG _uinput:88 - Releasing n (49).
01:14:55.957 DEBUG _uinput:180 - Pressing and Releasing: Enter
01:14:55.960 DEBUG _uinput:57 - Pressing Enter (28).
01:14:56.066 DEBUG _uinput:88 - Releasing Enter (28).
01:15:08.187 INFO _launcher:544 - waiting for process to exit.
01:15:08.189 INFO _launcher:567 - Killing process 16079
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_selection.py", line 31, in setUp
    self.main_window.wait_until_page_loaded(url)
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 43, in wait_until_page_loaded
    webview.url.wait_for(url)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 180, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on WebViewImpl.url failed: !=:
reference = 'http://test/selection'
actual    = dbus.String('http://test/test1', variant_level=1)

command_type
testcase_test