Testcase: test_select_suggestion

Build #:215:20140830:20140811.1
Arch:flo (Nexus 7 2013)
Release:utopic
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_select_suggestion
testsuite
webbrowser_app.tests.test_history.TestHistorySuggestions
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

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=1200, height=1866)
[0830/041845:WARNING:proxy_service.cc(911)] PAC support disabled because there is no system implementation
qml: Loaded 3 UA override(s) from file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
file:///usr/share/webbrowser-app/webbrowser/AddressBar.qml:60:13: QML Favicon: Error downloading http://localhost:32935/favicon.ico - server replied:
Not Found
}}}

process-stdout (/usr/bin/webbrowser-app): {{{
UbuntuWindow - regular geometry
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
}}}

test-log: {{{
04:18:41.774 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:18:41.780 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:18:41.781 INFO _launcher:373 - Attempting to launch application 'webbrowser-app' with arguments
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop --new-session http://localhost:32935/loremipsum' as a normal process
04:18:41.794 INFO _launcher:431 - Launching process: ['/usr/bin/webbrowser-app', '-testability',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', '--new-session', 'http://localhost:32935/loremipsum']
04:18:46.153 INFO http_server:124 - "GET /loremipsum HTTP/1.1" 200 -
04:18:49.846 ERROR http_server:127 - code 404, message Not Found
04:18:49.848 INFO http_server:124 - "GET /favicon.ico HTTP/1.1" 404 -
04:18:50.327 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:18:50.328 DEBUG _uinput:470 - Tapping at: 600,112
04:18:52.203 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:18:52.204 DEBUG _uinput:470 - Tapping at: 600,112
04:18:52.691 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:18:52.692 DEBUG _uinput:470 - Tapping at: 1051,112
04:18:53.064 DEBUG _uinput:195 - Typing text 'ubuntu'
04:18:53.065 DEBUG _uinput:57 - Pressing u (22).
04:18:53.167 DEBUG _uinput:88 - Releasing u (22).
04:18:53.268 DEBUG _uinput:57 - Pressing b (48).
04:18:53.369 DEBUG _uinput:88 - Releasing b (48).
04:18:53.470 DEBUG _uinput:57 - Pressing u (22).
04:18:53.571 DEBUG _uinput:88 - Releasing u (22).
04:18:53.673 DEBUG _uinput:57 - Pressing n (49).
04:18:53.776 DEBUG _uinput:88 - Releasing n (49).
04:18:53.878 DEBUG _uinput:57 - Pressing t (20).
04:18:53.980 DEBUG _uinput:88 - Releasing t (20).
04:18:54.082 DEBUG _uinput:57 - Pressing u (22).
04:18:54.193 DEBUG _uinput:88 - Releasing u (22).
04:18:54.684 DEBUG dbus:352 - Selecting objects of type Base with attributes: {}
04:18:54.961 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:18:54.962 DEBUG _uinput:470 - Tapping at: 600,446
04:19:07.302 INFO _launcher:544 - waiting for process to exit.
04:19:07.303 INFO _launcher:567 - Killing process 5466
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_history.py", line 156, in test_select_suggestion
    self.assertThat(webview.url, Eventually(Contains(url)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 423, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test on WebViewImpl.url failed: 'wikipedia.org/wiki/Ubuntu_(operating_system)' not in
dbus.String('http://localhost:32935/loremipsum', variant_level=1)
Traceback (most recent call last):
testtools.testresult.real._StringException: Binary content:
  FailedTestScreenshot (image/png)
Empty attachments:
  /var/log/syslog

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=1200, height=1866)
[0830/041845:WARNING:proxy_service.cc(911)] PAC support disabled because there is no system implementation
qml: Loaded 3 UA override(s) from file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
file:///usr/share/webbrowser-app/webbrowser/AddressBar.qml:60:13: QML Favicon: Error downloading http://localhost:32935/favicon.ico - server replied:
Not Found
}}}

process-stdout (/usr/bin/webbrowser-app): {{{
UbuntuWindow - regular geometry
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
com.canonical.usensord.Error: open /sys/class/timed_output/vibrator/enable: no such file or directory
}}}

test-log: {{{
04:18:41.774 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
04:18:41.780 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
04:18:41.781 INFO _launcher:373 - Attempting to launch application 'webbrowser-app' with arguments
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop --new-session http://localhost:32935/loremipsum' as a normal process
04:18:41.794 INFO _launcher:431 - Launching process: ['/usr/bin/webbrowser-app', '-testability',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', '--new-session', 'http://localhost:32935/loremipsum']
04:18:46.153 INFO http_server:124 - "GET /loremipsum HTTP/1.1" 200 -
04:18:49.846 ERROR http_server:127 - code 404, message Not Found
04:18:49.848 INFO http_server:124 - "GET /favicon.ico HTTP/1.1" 404 -
04:18:50.327 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:18:50.328 DEBUG _uinput:470 - Tapping at: 600,112
04:18:52.203 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:18:52.204 DEBUG _uinput:470 - Tapping at: 600,112
04:18:52.691 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:18:52.692 DEBUG _uinput:470 - Tapping at: 1051,112
04:18:53.064 DEBUG _uinput:195 - Typing text 'ubuntu'
04:18:53.065 DEBUG _uinput:57 - Pressing u (22).
04:18:53.167 DEBUG _uinput:88 - Releasing u (22).
04:18:53.268 DEBUG _uinput:57 - Pressing b (48).
04:18:53.369 DEBUG _uinput:88 - Releasing b (48).
04:18:53.470 DEBUG _uinput:57 - Pressing u (22).
04:18:53.571 DEBUG _uinput:88 - Releasing u (22).
04:18:53.673 DEBUG _uinput:57 - Pressing n (49).
04:18:53.776 DEBUG _uinput:88 - Releasing n (49).
04:18:53.878 DEBUG _uinput:57 - Pressing t (20).
04:18:53.980 DEBUG _uinput:88 - Releasing t (20).
04:18:54.082 DEBUG _uinput:57 - Pressing u (22).
04:18:54.193 DEBUG _uinput:88 - Releasing u (22).
04:18:54.684 DEBUG dbus:352 - Selecting objects of type Base with attributes: {}
04:18:54.961 DEBUG _common:45 - Moving to object's globalRect coordinates.
04:18:54.962 DEBUG _uinput:470 - Tapping at: 600,446
04:19:07.302 INFO _launcher:544 - waiting for process to exit.
04:19:07.303 INFO _launcher:567 - Killing process 5466
}}}

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_history.py", line 156, in test_select_suggestion
    self.assertThat(webview.url, Eventually(Contains(url)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 423, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test on WebViewImpl.url failed: 'wikipedia.org/wiki/Ubuntu_(operating_system)' not in
dbus.String('http://localhost:32935/loremipsum', variant_level=1)

command_type
testcase_test