Testcase: test_resize_selection

Build #:232:20150621: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 21 23:20:25 ubuntu-phablet powerd[922]: handle_requestSysState from :1.63 (active) - ACTIVE (1)
Jun 21 23:20:25 ubuntu-phablet powerd[922]: name_watch_add: looking for :1.63
Jun 21 23:20:25 ubuntu-phablet powerd[922]: watching :1.63 to see when it disappears on dbus
Jun 21 23:20:25 ubuntu-phablet powerd[922]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 21 23:20:25 ubuntu-phablet powerd[922]: handle_requestSysState - SUCCESS
Jun 21 23:20:25 ubuntu-phablet powerd[922]: Enqueue state change to ACTIVE
Jun 21 23:20:25 ubuntu-phablet powerd[922]: queue empty && state == current, discarding
Jun 21 23:20:25 ubuntu-phablet powerd[922]: libsuspend: release_wake_lock: powerd_power_request
Jun 21 23:20:35 ubuntu-phablet kernel: [ 2115.504959] rmnet_usb 1-1:1.8: [enxba47d8cad31e] error: rmnet_ioct called for unsupported cmd[35585]
Jun 21 23:20:35 ubuntu-phablet kernel: [ 2140.992033] rmnet_usb 1-1:1.7: [enx068b6f68b511] error: rmnet_ioct called for unsupported cmd[35585]
Jun 21 23:20:35 ubuntu-phablet kernel: [ 2140.992430] rmnet_usb 1-1:1.6: [enx7a7da0db4784] error: rmnet_ioct called for unsupported cmd[35585]
Jun 21 23:20:35 ubuntu-phablet kernel: [ 2140.992857] rmnet_usb 1-1:1.5: [enx8e29be740eec] error: rmnet_ioct called for unsupported cmd[35585]
Jun 21 23:20:38 ubuntu-phablet powerd[922]: handle_requestSysState from :1.22 (usensord) - ACTIVE (1)
Jun 21 23:20:38 ubuntu-phablet powerd[922]: name_watch_add: looking for :1.22
Jun 21 23:20:38 ubuntu-phablet powerd[922]: watching :1.22 to see when it disappears on dbus
Jun 21 23:20:38 ubuntu-phablet powerd[922]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 21 23:20:38 ubuntu-phablet powerd[922]: handle_requestSysState - SUCCESS
Jun 21 23:20:38 ubuntu-phablet powerd[922]: Enqueue state change to ACTIVE
Jun 21 23:20:38 ubuntu-phablet powerd[922]: queue empty && state == current, discarding
Jun 21 23:20:38 ubuntu-phablet powerd[922]: libsuspend: release_wake_lock: powerd_power_request
Jun 21 23:20:40 ubuntu-phablet powerd[922]: handle_clearSysState from :1.22, cookie: f1b04771-7e17-4ffb-8f21-63c6d01d008d
Jun 21 23:20:40 ubuntu-phablet powerd[922]: clear_sys_request: usensord - :1.22
Jun 21 23:20:40 ubuntu-phablet powerd[922]: name_watch_remove: looking for :1.22
Jun 21 23:20:40 ubuntu-phablet powerd[922]: name_watch: ref_count for :1.22 is now 0
Jun 21 23:20:40 ubuntu-phablet powerd[922]: no longer watching :1.22, there are no more requests
Jun 21 23:20:40 ubuntu-phablet powerd[922]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 21 23:20:40 ubuntu-phablet powerd[922]: Enqueue state change to ACTIVE
Jun 21 23:20:40 ubuntu-phablet powerd[922]: queue empty && state == current, discarding
Jun 21 23:20:40 ubuntu-phablet powerd[922]: libsuspend: release_wake_lock: powerd_power_request
Jun 21 23:20:54 ubuntu-phablet powerd[922]: worker thread finished waiting for hw alarm
Jun 21 23:20:54 ubuntu-phablet powerd[922]: Emitting wakeup signal
Jun 21 23:20:54 ubuntu-phablet powerd[922]: worker thread is finished working; calling join()
Jun 21 23:20:54 ubuntu-phablet powerd[922]: worker thread is destroyed.
Jun 21 23:20:54 ubuntu-phablet powerd[922]: handle_requestSysState from :1.75 (ubuntu push client) - ACTIVE (1)
Jun 21 23:20:54 ubuntu-phablet powerd[922]: name_watch_add: looking for :1.75
Jun 21 23:20:54 ubuntu-phablet powerd[922]: watching :1.75 to see when it disappears on dbus
Jun 21 23:20:54 ubuntu-phablet powerd[922]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 21 23:20:54 ubuntu-phablet powerd[922]: handle_requestSysState - SUCCESS
Jun 21 23:20:54 ubuntu-phablet powerd[922]: Enqueue state change to ACTIVE
Jun 21 23:20:54 ubuntu-phablet powerd[922]: queue empty && state == current, discarding
Jun 21 23:20:54 ubuntu-phablet powerd[922]: libsuspend: release_wake_lock: powerd_power_request
Jun 21 23:20:55 ubuntu-phablet powerd[922]: handle_clearSysState from :1.63, cookie: 06e22b90-4a9e-410d-a93b-3c0e00ac0df5
Jun 21 23:20:55 ubuntu-phablet powerd[922]: clear_sys_request: active - :1.63
Jun 21 23:20:55 ubuntu-phablet powerd[922]: name_watch_remove: looking for :1.63
Jun 21 23:20:55 ubuntu-phablet powerd[922]: name_watch: ref_count for :1.63 is now 0
Jun 21 23:20:55 ubuntu-phablet powerd[922]: no longer watching :1.63, there are no more requests
Jun 21 23:20:55 ubuntu-phablet powerd[922]: libsuspend: acquire_wake_lock: powerd_power_request
Jun 21 23:20:55 ubuntu-phablet powerd[922]: Enqueue state change to ACTIVE
Jun 21 23:20:55 ubuntu-phablet powerd[922]: queue empty && state == current, discarding
Jun 21 23:20:55 ubuntu-phablet powerd[922]: 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".
<Unknown File>: QML UCDeprecatedTheme: Theme.palette 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)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
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
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/1.2/Base.qml:173:5: QML ProgressionVisual: Theme.createStyleComponent() is
deprecated. Use ThemeSettings instead.
Failed to download  QUrl( "http://test/favicon.ico" )  : "Host test not found"
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/1.2/TextField.qml:988:29: QML TextCursor: Theme.createStyleComponent() is deprecated.
Use ThemeSettings instead.
}}}

test-log: {{{
23:20:25.210 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
23:20:25.212 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
23:20:25.238 INFO _launcher:431 - Launching process: ['/usr/bin/webbrowser-app', '-testability',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', '--new-session', 'http://test/test1']
23:20:36.426 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
23:20:37.639 INFO logging:45 - AddressBar: go_to_url. Arguments ('http://test/selection',). Keyword arguments: {}.
23:20:37.640 INFO logging:45 - TextField: Write into the text field. Arguments ('http://test/selection', True). Keyword arguments: {}.
23:20:37.683 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:20:37.684 DEBUG _uinput:485 - Tapping at: 383,112
23:20:37.998 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
23:20:38.171 DEBUG logging:45 - TextField: _click_clear_button. Arguments (). Keyword arguments: {}.
23:20:38.380 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:20:38.381 DEBUG _uinput:485 - Tapping at: 605,112
23:20:38.563 DEBUG _uinput:195 - Typing text 'http://test/selection'
23:20:38.564 DEBUG _uinput:57 - Pressing h (35).
23:20:38.666 DEBUG _uinput:88 - Releasing h (35).
23:20:38.770 DEBUG _uinput:57 - Pressing t (20).
23:20:38.894 DEBUG _uinput:88 - Releasing t (20).
23:20:39.009 DEBUG _uinput:57 - Pressing t (20).
23:20:39.116 DEBUG _uinput:88 - Releasing t (20).
23:20:39.218 DEBUG _uinput:57 - Pressing p (25).
23:20:39.333 DEBUG _uinput:88 - Releasing p (25).
23:20:39.447 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
23:20:39.553 DEBUG _uinput:57 - Pressing SEMICOLON (39).
23:20:39.660 DEBUG _uinput:88 - Releasing SEMICOLON (39).
23:20:39.766 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
23:20:39.872 DEBUG _uinput:57 - Pressing SLASH (53).
23:20:39.977 DEBUG _uinput:88 - Releasing SLASH (53).
23:20:40.084 DEBUG _uinput:57 - Pressing SLASH (53).
23:20:40.187 DEBUG _uinput:88 - Releasing SLASH (53).
23:20:40.295 DEBUG _uinput:57 - Pressing t (20).
23:20:40.404 DEBUG _uinput:88 - Releasing t (20).
23:20:40.507 DEBUG _uinput:57 - Pressing e (18).
23:20:40.609 DEBUG _uinput:88 - Releasing e (18).
23:20:40.717 DEBUG _uinput:57 - Pressing s (31).
23:20:40.823 DEBUG _uinput:88 - Releasing s (31).
23:20:40.929 DEBUG _uinput:57 - Pressing t (20).
23:20:41.049 DEBUG _uinput:88 - Releasing t (20).
23:20:41.155 DEBUG _uinput:57 - Pressing SLASH (53).
23:20:41.256 DEBUG _uinput:88 - Releasing SLASH (53).
23:20:41.359 DEBUG _uinput:57 - Pressing s (31).
23:20:41.466 DEBUG _uinput:88 - Releasing s (31).
23:20:41.571 DEBUG _uinput:57 - Pressing e (18).
23:20:41.673 DEBUG _uinput:88 - Releasing e (18).
23:20:41.777 DEBUG _uinput:57 - Pressing l (38).
23:20:41.884 DEBUG _uinput:88 - Releasing l (38).
23:20:41.990 DEBUG _uinput:57 - Pressing e (18).
23:20:42.097 DEBUG _uinput:88 - Releasing e (18).
23:20:42.203 DEBUG _uinput:57 - Pressing c (46).
23:20:42.309 DEBUG _uinput:88 - Releasing c (46).
23:20:42.416 DEBUG _uinput:57 - Pressing t (20).
23:20:42.525 DEBUG _uinput:88 - Releasing t (20).
23:20:42.632 DEBUG _uinput:57 - Pressing i (23).
23:20:42.734 DEBUG _uinput:88 - Releasing i (23).
23:20:42.836 DEBUG _uinput:57 - Pressing o (24).
23:20:42.945 DEBUG _uinput:88 - Releasing o (24).
23:20:43.067 DEBUG _uinput:57 - Pressing n (49).
23:20:43.168 DEBUG _uinput:88 - Releasing n (49).
23:20:43.275 DEBUG _uinput:180 - Pressing and Releasing: Enter
23:20:43.279 DEBUG _uinput:57 - Pressing Enter (28).
23:20:43.386 DEBUG _uinput:88 - Releasing Enter (28).
23:20:55.534 INFO _launcher:544 - waiting for process to exit.
23:20:55.536 INFO _launcher:567 - Killing process 1482
}}}

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