Testcase: test_validating_url_hides_activity_view

Build #:210:20140227:20140224
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_validating_url_hides_activity_view
testsuite
webbrowser_app.tests.test_activity.TestActivity
returncode
1
command
autopilot
stderr
_StringException: Empty attachments:
  process-stdout

/var/log/syslog: {{{
Feb 27 05:27:14 ubuntu-phablet kernel: [  362.088753] adjust_soc: ibat_ua = 500, vbat_uv = 4305630, soc = 100, batt_temp=242
Feb 27 05:27:14 ubuntu-phablet kernel: [  362.090462] healthd: battery l=100 v=4305 t=24.2 h=2 st=5 c=0 chg=u
Feb 27 05:27:14 ubuntu-phablet kernel: [  362.178635] healthd: battery l=100 v=4305 t=24.2 h=2 st=5 c=0 chg=u
Feb 27 05:27:24 ubuntu-phablet kernel: [  372.086128] healthd: battery l=100 v=4250 t=24.2 h=2 st=5 c=0 chg=u
Feb 27 05:27:34 ubuntu-phablet kernel: [  382.126140] adjust_soc: ibat_ua = 201800, vbat_uv = 4298850, soc = 100, batt_temp=242
Feb 27 05:27:34 ubuntu-phablet kernel: [  382.128338] healthd: battery l=100 v=4302 t=24.3 h=2 st=5 c=201 chg=u
Feb 27 05:27:44 ubuntu-phablet kernel: [  392.079352] healthd: battery l=100 v=4302 t=24.2 h=2 st=5 c=2 chg=u
Feb 27 05:27:54 ubuntu-phablet kernel: [  402.077765] healthd: battery l=100 v=4299 t=24.2 h=2 st=5 c=7 chg=u
Feb 27 05:27:54 ubuntu-phablet kernel: [  402.080329] adjust_soc: ibat_ua = 7900, vbat_uv = 4302387, soc = 100, batt_temp=242
}}}

process-return-code: {{{-11}}}
process-stderr: {{{
/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 '--fullscreen'
Testability driver loaded. Wire protocol version is "1.4".

WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

callbacks 0xb4013ead 0xb4013e59
creating surface at (0, 58) with size (768, 1222) with title 'Window 1'
QUbuntuWindow::moveResize (this=0xb75b2478, x=0, y=0, w=768, h=1280)
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
Detectable autorepeat not supported. 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
"
}}}

test-log: {{{
05:27:10.234 INFO globals:57 - ************************************************************
05:27:10.234 INFO globals:58 - Starting test webbrowser_app.tests.test_activity.TestActivity.test_validating_url_hides_activity_view
05:27:10.235 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:27:10.240 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
05:27:10.270 INFO _launcher:159 - Launching process: ['/usr/bin/webbrowser-app', '-testability', '--fullscreen',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', 'http://localhost:12345/loremipsum']
05:27:15.432 ERROR proxies:410 - Introspect error on :1.117:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.UnknownObject: No such object path '/com/canonical/Autopilot/Introspection'
05:27:15.433 DEBUG proxies:413 - Executing introspect queue due to error
05:27:15.458 INFO http_server:93 - "GET /loremipsum HTTP/1.1" 200 -
05:27:15.474 INFO http_server:93 - "GET /loremipsum HTTP/1.1" 200 -
05:27:15.602 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:15.708 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:15.747 DEBUG dbus:431 - Selecting objects of type WebViewImpl with attributes: {}
05:27:16.109 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:16.155 DEBUG dbus:431 - Selecting objects of type WebViewImpl with attributes: {}
05:27:16.328 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:27:16.330 DEBUG _uinput:475 - Tapping at: 384,640
05:27:16.438 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:16.468 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
05:27:16.591 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:16.625 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
05:27:16.743 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:16.810 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:27:16.812 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
05:27:16.879 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:27:17.005 DEBUG _uinput:546 - Dragging from 384,1279 to 384,1136
05:27:18.305 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
05:27:18.306 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
05:27:18.468 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:27:18.469 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:27:18.543 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:27:18.545 DEBUG _uinput:475 - Tapping at: 687,1208
05:27:18.646 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:19.331 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
05:27:19.365 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:19.429 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
05:27:19.578 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:19.640 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:27:19.641 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
05:27:19.694 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:27:19.833 DEBUG _uinput:546 - Dragging from 384,1279 to 384,1136
05:27:21.142 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:21.182 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
05:27:21.693 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:27:21.693 DEBUG _uinput:475 - Tapping at: 384,1208
05:27:21.863 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:21.919 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
05:27:23.095 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:23.171 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
05:27:23.253 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:23.329 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
05:27:23.820 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
05:27:23.922 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
05:27:24.015 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:27:24.017 DEBUG _uinput:475 - Tapping at: 570,762
05:27:24.120 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:24.193 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
05:27:24.646 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
05:27:24.793 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:24.842 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
05:27:25.368 DEBUG _uinput:200 - Typing text 'http://localhost:12345/aleaiactaest'
05:27:25.368 DEBUG _uinput:62 - Pressing h (35).
05:27:25.470 DEBUG _uinput:93 - Releasing h (35).
05:27:25.571 DEBUG _uinput:62 - Pressing t (20).
05:27:25.672 DEBUG _uinput:93 - Releasing t (20).
05:27:25.773 DEBUG _uinput:62 - Pressing t (20).
05:27:25.874 DEBUG _uinput:93 - Releasing t (20).
05:27:25.976 DEBUG _uinput:62 - Pressing p (25).
05:27:26.079 DEBUG _uinput:93 - Releasing p (25).
05:27:26.181 DEBUG _uinput:62 - Pressing KEY_LEFTSHIFT (42).
05:27:26.289 DEBUG _uinput:62 - Pressing SEMICOLON (39).
05:27:26.393 DEBUG _uinput:93 - Releasing SEMICOLON (39).
05:27:26.495 DEBUG _uinput:93 - Releasing KEY_LEFTSHIFT (42).
05:27:26.600 DEBUG _uinput:62 - Pressing SLASH (53).
05:27:26.702 DEBUG _uinput:93 - Releasing SLASH (53).
05:27:26.805 DEBUG _uinput:62 - Pressing SLASH (53).
05:27:26.908 DEBUG _uinput:93 - Releasing SLASH (53).
05:27:27.010 DEBUG _uinput:62 - Pressing l (38).
05:27:27.114 DEBUG _uinput:93 - Releasing l (38).
05:27:27.215 DEBUG _uinput:62 - Pressing o (24).
05:27:27.317 DEBUG _uinput:93 - Releasing o (24).
05:27:27.420 DEBUG _uinput:62 - Pressing c (46).
05:27:27.522 DEBUG _uinput:93 - Releasing c (46).
05:27:27.623 DEBUG _uinput:62 - Pressing a (30).
05:27:27.726 DEBUG _uinput:93 - Releasing a (30).
05:27:27.832 DEBUG _uinput:62 - Pressing l (38).
05:27:27.935 DEBUG _uinput:93 - Releasing l (38).
05:27:28.038 DEBUG _uinput:62 - Pressing h (35).
05:27:28.141 DEBUG _uinput:93 - Releasing h (35).
05:27:28.248 DEBUG _uinput:62 - Pressing o (24).
05:27:28.355 DEBUG _uinput:93 - Releasing o (24).
05:27:28.457 DEBUG _uinput:62 - Pressing s (31).
05:27:28.559 DEBUG _uinput:93 - Releasing s (31).
05:27:28.662 DEBUG _uinput:62 - Pressing t (20).
05:27:28.766 DEBUG _uinput:93 - Releasing t (20).
05:27:28.867 DEBUG _uinput:62 - Pressing KEY_LEFTSHIFT (42).
05:27:28.968 DEBUG _uinput:62 - Pressing SEMICOLON (39).
05:27:29.069 DEBUG _uinput:93 - Releasing SEMICOLON (39).
05:27:29.171 DEBUG _uinput:93 - Releasing KEY_LEFTSHIFT (42).
05:27:29.272 DEBUG _uinput:62 - Pressing 1 (2).
05:27:29.380 DEBUG _uinput:93 - Releasing 1 (2).
05:27:29.483 DEBUG _uinput:62 - Pressing 2 (3).
05:27:29.585 DEBUG _uinput:93 - Releasing 2 (3).
05:27:29.686 DEBUG _uinput:62 - Pressing 3 (4).
05:27:29.787 DEBUG _uinput:93 - Releasing 3 (4).
05:27:29.888 DEBUG _uinput:62 - Pressing 4 (5).
05:27:29.989 DEBUG _uinput:93 - Releasing 4 (5).
05:27:30.093 DEBUG _uinput:62 - Pressing 5 (6).
05:27:30.195 DEBUG _uinput:93 - Releasing 5 (6).
05:27:30.298 DEBUG _uinput:62 - Pressing SLASH (53).
05:27:30.400 DEBUG _uinput:93 - Releasing SLASH (53).
05:27:30.502 DEBUG _uinput:62 - Pressing a (30).
05:27:30.604 DEBUG _uinput:93 - Releasing a (30).
05:27:30.705 DEBUG _uinput:62 - Pressing l (38).
05:27:30.807 DEBUG _uinput:93 - Releasing l (38).
05:27:30.908 DEBUG _uinput:62 - Pressing e (18).
05:27:31.010 DEBUG _uinput:93 - Releasing e (18).
05:27:31.112 DEBUG _uinput:62 - Pressing a (30).
05:27:31.218 DEBUG _uinput:93 - Releasing a (30).
05:27:31.322 DEBUG _uinput:62 - Pressing i (23).
05:27:31.425 DEBUG _uinput:93 - Releasing i (23).
05:27:31.527 DEBUG _uinput:62 - Pressing a (30).
05:27:31.628 DEBUG _uinput:93 - Releasing a (30).
05:27:31.729 DEBUG _uinput:62 - Pressing c (46).
05:27:31.831 DEBUG _uinput:93 - Releasing c (46).
05:27:31.934 DEBUG _uinput:62 - Pressing t (20).
05:27:32.039 DEBUG _uinput:93 - Releasing t (20).
05:27:32.141 DEBUG _uinput:62 - Pressing a (30).
05:27:32.244 DEBUG _uinput:93 - Releasing a (30).
05:27:32.346 DEBUG _uinput:62 - Pressing e (18).
05:27:32.447 DEBUG _uinput:93 - Releasing e (18).
05:27:32.552 DEBUG _uinput:62 - Pressing s (31).
05:27:32.655 DEBUG _uinput:93 - Releasing s (31).
05:27:32.756 DEBUG _uinput:62 - Pressing t (20).
05:27:32.858 DEBUG _uinput:93 - Releasing t (20).
05:27:32.959 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:33.043 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
05:27:33.503 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
05:27:33.655 DEBUG _uinput:185 - Pressing and Releasing: Enter
05:27:33.656 DEBUG _uinput:62 - Pressing Enter (28).
05:27:33.688 INFO http_server:93 - "GET /aleaiactaest HTTP/1.1" 200 -
05:27:33.757 DEBUG _uinput:93 - Releasing Enter (28).
05:27:33.859 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
05:27:58.887 ERROR proxies:410 - Introspect error on :1.115:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the network connection was broken.
05:27:58.888 DEBUG proxies:413 - Executing introspect queue due to error
05:28:03.999 INFO _launcher:346 - waiting for process to exit.
05:28:04.001 INFO _launcher:273 - Killing process 6086
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/webbrowser_app/tests/test_activity.py", line 26, in test_validating_url_hides_activity_view
    self.assert_activity_view_eventually_hidden()
  File "/usr/lib/python2.7/dist-packages/webbrowser_app/tests/__init__.py", line 150, in assert_activity_view_eventually_hidden
    self.assertThat(self.main_window.get_many_activity_view,
  File "/usr/lib/python2.7/dist-packages/webbrowser_app/tests/__init__.py", line 78, in main_window
    return self.app.select_single(Browser)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 318, in select_single
    instances = self.select_many(type_name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 456, in select_many
    state_dicts = self.get_state_by_path(query_path)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 540, in get_state_by_path
    data = self._backend.introspection_iface.GetState(piece)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

command_type
testcase_test