Testcase: test_resize_selection

Build #:251:20150710: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_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: {{{
Jul 10 13:29:01 ubuntu-phablet powerd[891]: handle_requestSysState from :1.82 (active) - ACTIVE (1)
Jul 10 13:29:01 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.82
Jul 10 13:29:01 ubuntu-phablet powerd[891]: watching :1.82 to see when it disappears on dbus
Jul 10 13:29:01 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 10 13:29:01 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 10 13:29:01 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 10 13:29:01 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 10 13:29:01 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 10 13:29:05 ubuntu-phablet kernel: [ 2215.266747] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=0
Jul 10 13:29:05 ubuntu-phablet kernel: [ 2215.266747] mmc0: mmc_start_bkops: Starting bkops
Jul 10 13:29:11 ubuntu-phablet powerd[891]: worker thread finished waiting for hw alarm
Jul 10 13:29:11 ubuntu-phablet powerd[891]: Emitting wakeup signal
Jul 10 13:29:11 ubuntu-phablet powerd[891]: worker thread is finished working; calling join()
Jul 10 13:29:11 ubuntu-phablet powerd[891]: worker thread is destroyed.
Jul 10 13:29:11 ubuntu-phablet powerd[891]: handle_requestSysState from :1.90 (ubuntu push client) - ACTIVE (1)
Jul 10 13:29:11 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.90
Jul 10 13:29:11 ubuntu-phablet powerd[891]: watching :1.90 to see when it disappears on dbus
Jul 10 13:29:11 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 10 13:29:11 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 10 13:29:11 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 10 13:29:11 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 10 13:29:11 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 10 13:29:11 ubuntu-phablet kernel: [ 2221.124004] rmnet_usb 1-1:1.6: [enx625d8a0dbe8b] error: rmnet_ioct called for unsupported cmd[35585]
Jul 10 13:29:11 ubuntu-phablet kernel: [ 2221.124370] rmnet_usb 1-1:1.5: [enx6e9922b3a89a] error: rmnet_ioct called for unsupported cmd[35585]
Jul 10 13:29:11 ubuntu-phablet kernel: [ 2221.124828] rmnet_usb 1-1:1.7: [enx7efe190b7c36] error: rmnet_ioct called for unsupported cmd[35585]
Jul 10 13:29:16 ubuntu-phablet powerd[891]: handle_requestWakeup from :1.90 - ubuntu push client, 1436535256
Jul 10 13:29:16 ubuntu-phablet powerd[891]: void {anonymous}::reset_alarm_clock() found 1 remaining wakeup requests
Jul 10 13:29:16 ubuntu-phablet powerd[891]: setting hardware wakeup time to 2015-07-10 13:34:16 for ubuntu push client
Jul 10 13:29:16 ubuntu-phablet powerd[891]: starting hardware alarm worker thread
Jul 10 13:29:16 ubuntu-phablet powerd[891]: calling wait_for_next_alarm
Jul 10 13:29:16 ubuntu-phablet powerd[891]: handle_clearSysState from :1.90, cookie: 12ca94e1-ba83-4e72-9e5d-455046b8c31e
Jul 10 13:29:16 ubuntu-phablet powerd[891]: clear_sys_request: ubuntu push client - :1.90
Jul 10 13:29:16 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.90
Jul 10 13:29:16 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.90 is now 0
Jul 10 13:29:16 ubuntu-phablet powerd[891]: no longer watching :1.90, there are no more requests
Jul 10 13:29:16 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 10 13:29:16 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 10 13:29:16 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 10 13:29:16 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 10 13:29:26 ubuntu-phablet kernel: [ 2221.125224] rmnet_usb 1-1:1.8: [enxb60e57a588c8] error: rmnet_ioct called for unsupported cmd[35585]
Jul 10 13:29:26 ubuntu-phablet kernel: [ 2235.520341] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Jul 10 13:29:26 ubuntu-phablet powerd[891]: handle_clearSysState from :1.82, cookie: 652c40a8-93ee-487f-a0b6-89a6722334f4
Jul 10 13:29:26 ubuntu-phablet powerd[891]: clear_sys_request: active - :1.82
Jul 10 13:29:26 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.82
Jul 10 13:29:26 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.82 is now 0
Jul 10 13:29:26 ubuntu-phablet powerd[891]: no longer watching :1.82, there are no more requests
Jul 10 13:29:26 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 10 13:29:26 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 10 13:29:26 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 10 13:29:26 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 10 13:29:26 ubuntu-phablet kernel: [ 2235.726506] mmc0: mmc_start_bkops: Starting bkops
}}}

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: {{{
13:29:00.761 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
13:29:00.762 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
13:29:00.786 INFO _launcher:431 - Launching process: ['/usr/bin/webbrowser-app', '-testability',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', '--new-session', 'http://test/test1']
13:29:12.632 INFO http_server:151 - "GET /test1 HTTP/1.1" 200 -
13:29:13.841 INFO logging:45 - AddressBar: go_to_url. Arguments ('http://test/selection',). Keyword arguments: {}.
13:29:13.843 INFO logging:45 - TextField: Write into the text field. Arguments ('http://test/selection', True). Keyword arguments: {}.
13:29:13.883 DEBUG _common:45 - Moving to object's globalRect coordinates.
13:29:13.884 DEBUG _uinput:485 - Tapping at: 539,112
13:29:14.029 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
13:29:14.115 DEBUG logging:45 - TextField: _click_clear_button. Arguments (). Keyword arguments: {}.
13:29:14.342 DEBUG _common:45 - Moving to object's globalRect coordinates.
13:29:14.343 DEBUG _uinput:485 - Tapping at: 539,112
13:29:14.473 DEBUG _common:45 - Moving to object's globalRect coordinates.
13:29:14.474 DEBUG _uinput:485 - Tapping at: 868,112
13:29:26.032 INFO _launcher:544 - waiting for process to exit.
13:29:26.034 INFO _launcher:567 - Killing process 8343
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_selection.py", line 30, in setUp
    self.main_window.go_to_url(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 53, in write
    self.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 67, in clear
    self.text.wait_for('')
  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.text failed: '' != dbus.String('test', variant_level=1)

command_type
testcase_test