Testcase: test_validating_url_hides_activity_view

Build #:226:20140307.2:20140304
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: {{{
Mar  7 17:14:19 ubuntu-phablet kernel: [  412.085456] healthd: battery l=99 v=4335 t=22.7 h=2 st=2 c=-215 chg=u
Mar  7 17:14:29 ubuntu-phablet kernel: [  422.111002] adjust_soc: ibat_ua = -42800, vbat_uv = 4309450, soc = 99, batt_temp=227
Mar  7 17:14:29 ubuntu-phablet kernel: [  422.141431] healthd: battery l=99 v=4315 t=22.7 h=2 st=2 c=-42 chg=u
Mar  7 17:14:29 ubuntu-phablet kernel: [  422.170425] healthd: battery l=99 v=4305 t=22.7 h=2 st=2 c=-22 chg=u
Mar  7 17:14:39 ubuntu-phablet kernel: [  432.086708] healthd: battery l=99 v=4326 t=22.7 h=2 st=2 c=-91 chg=u
Mar  7 17:14:49 ubuntu-phablet kernel: [  442.081184] healthd: battery l=99 v=4311 t=22.6 h=2 st=2 c=-4 chg=u
Mar  7 17:14:49 ubuntu-phablet kernel: [  442.111002] adjust_soc: ibat_ua = -15900, vbat_uv = 4309743, soc = 99, batt_temp=226
Mar  7 17:14:59 ubuntu-phablet kernel: [  452.079383] healthd: battery l=99 v=4334 t=22.5 h=2 st=2 c=-62 chg=u
Mar  7 17:15:01 ubuntu-phablet kernel: [  453.780131] wlan: [1209:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ef chan=
36, rssi = -88, countryCode US
Mar  7 17:15:01 ubuntu-phablet kernel: [  453.781229] wlan: [1209:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ee chan=
36, rssi = -87, countryCode US
Mar  7 17:15:01 ubuntu-phablet kernel: [  453.782298] wlan: [1209:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ed chan=
36, rssi = -86, countryCode US
Mar  7 17:15:01 ubuntu-phablet kernel: [  453.783610] wlan: [1209:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e5 chan=
1, rssi = -70, countryCode US
Mar  7 17:15:01 ubuntu-phablet kernel: [  453.784404] wlan: [1209:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e3 chan=
1, rssi = -69, countryCode US
Mar  7 17:15:01 ubuntu-phablet kernel: [  453.785197] wlan: [1209:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -59, countryCode US
Mar  7 17:15:01 ubuntu-phablet kernel: [  453.785960] wlan: [1209:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dc chan=
161, rssi = -57, countryCode US
Mar  7 17:15:01 ubuntu-phablet kernel: [  453.787425] wlan: [1209:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:a8:c5:dc chan= 161, rssi = -59, countryCode US
Mar  7 17:15:04 ubuntu-phablet kernel: [  456.817823] mmc0: mmc_start_bkops: Starting bkops
Mar  7 17:15:04 ubuntu-phablet kernel: [  456.825301] mmc0: mmc_start_bkops: raw_bkops_status=0x2, from_exception=1
Mar  7 17:15:04 ubuntu-phablet kernel: [  457.027804] mmc0: mmc_start_bkops: Starting bkops
}}}

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 0xb4031ead 0xb4031e59
creating surface at (0, 58) with size (768, 1222) with title 'Window 1'
QUbuntuWindow::moveResize (this=0xb8ffcc78, 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: {{{
17:14:14.946 INFO globals:57 - ************************************************************
17:14:14.947 INFO globals:58 - Starting test webbrowser_app.tests.test_activity.TestActivity.test_validating_url_hides_activity_view
17:14:14.950 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
17:14:14.960 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
17:14:14.982 INFO _launcher:159 - Launching process: ['/usr/bin/webbrowser-app', '-testability', '--fullscreen',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', 'http://localhost:12345/loremipsum']
17:14:20.164 INFO http_server:93 - "GET /loremipsum HTTP/1.1" 200 -
17:14:20.332 ERROR proxies:410 - Introspect error on :1.123:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.UnknownObject: No such object path '/com/canonical/Autopilot/Introspection'
17:14:20.333 DEBUG proxies:413 - Executing introspect queue due to error
17:14:20.450 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:20.527 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:20.564 DEBUG dbus:431 - Selecting objects of type WebViewImpl with attributes: {}
17:14:20.908 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:20.945 DEBUG dbus:431 - Selecting objects of type WebViewImpl with attributes: {}
17:14:21.120 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:14:21.121 DEBUG _uinput:475 - Tapping at: 384,640
17:14:21.223 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:21.260 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:14:21.487 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:21.540 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
17:14:21.650 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:21.719 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:14:21.719 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:14:21.748 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:14:21.904 DEBUG _uinput:546 - Dragging from 384,1279 to 384,1136
17:14:23.219 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
17:14:23.220 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
17:14:23.376 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:14:23.377 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:14:23.448 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:14:23.449 DEBUG _uinput:475 - Tapping at: 687,1208
17:14:23.551 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:24.218 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:14:24.268 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:24.315 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:14:24.458 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:24.510 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:14:24.511 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:14:24.559 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:14:24.847 DEBUG _uinput:546 - Dragging from 384,1279 to 384,1136
17:14:26.181 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:26.229 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:14:26.766 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:14:26.768 DEBUG _uinput:475 - Tapping at: 384,1208
17:14:26.967 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:27.017 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
17:14:28.182 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:28.240 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
17:14:28.323 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:28.359 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:14:28.831 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
17:14:28.880 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
17:14:28.946 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:14:28.947 DEBUG _uinput:475 - Tapping at: 570,762
17:14:29.049 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:29.117 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:14:29.611 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
17:14:29.742 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:29.796 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:14:30.341 DEBUG _uinput:200 - Typing text 'http://localhost:12345/aleaiactaest'
17:14:30.342 DEBUG _uinput:62 - Pressing h (35).
17:14:30.443 DEBUG _uinput:93 - Releasing h (35).
17:14:30.550 DEBUG _uinput:62 - Pressing t (20).
17:14:30.651 DEBUG _uinput:93 - Releasing t (20).
17:14:30.753 DEBUG _uinput:62 - Pressing t (20).
17:14:30.854 DEBUG _uinput:93 - Releasing t (20).
17:14:30.956 DEBUG _uinput:62 - Pressing p (25).
17:14:31.057 DEBUG _uinput:93 - Releasing p (25).
17:14:31.158 DEBUG _uinput:62 - Pressing KEY_LEFTSHIFT (42).
17:14:31.263 DEBUG _uinput:62 - Pressing SEMICOLON (39).
17:14:31.376 DEBUG _uinput:93 - Releasing SEMICOLON (39).
17:14:31.477 DEBUG _uinput:93 - Releasing KEY_LEFTSHIFT (42).
17:14:31.582 DEBUG _uinput:62 - Pressing SLASH (53).
17:14:31.686 DEBUG _uinput:93 - Releasing SLASH (53).
17:14:31.787 DEBUG _uinput:62 - Pressing SLASH (53).
17:14:31.889 DEBUG _uinput:93 - Releasing SLASH (53).
17:14:31.990 DEBUG _uinput:62 - Pressing l (38).
17:14:32.091 DEBUG _uinput:93 - Releasing l (38).
17:14:32.193 DEBUG _uinput:62 - Pressing o (24).
17:14:32.296 DEBUG _uinput:93 - Releasing o (24).
17:14:32.399 DEBUG _uinput:62 - Pressing c (46).
17:14:32.502 DEBUG _uinput:93 - Releasing c (46).
17:14:32.605 DEBUG _uinput:62 - Pressing a (30).
17:14:32.709 DEBUG _uinput:93 - Releasing a (30).
17:14:32.811 DEBUG _uinput:62 - Pressing l (38).
17:14:32.916 DEBUG _uinput:93 - Releasing l (38).
17:14:33.018 DEBUG _uinput:62 - Pressing h (35).
17:14:33.120 DEBUG _uinput:93 - Releasing h (35).
17:14:33.222 DEBUG _uinput:62 - Pressing o (24).
17:14:33.323 DEBUG _uinput:93 - Releasing o (24).
17:14:33.428 DEBUG _uinput:62 - Pressing s (31).
17:14:33.531 DEBUG _uinput:93 - Releasing s (31).
17:14:33.634 DEBUG _uinput:62 - Pressing t (20).
17:14:33.737 DEBUG _uinput:93 - Releasing t (20).
17:14:33.838 DEBUG _uinput:62 - Pressing KEY_LEFTSHIFT (42).
17:14:33.938 DEBUG _uinput:62 - Pressing SEMICOLON (39).
17:14:34.040 DEBUG _uinput:93 - Releasing SEMICOLON (39).
17:14:34.142 DEBUG _uinput:93 - Releasing KEY_LEFTSHIFT (42).
17:14:34.243 DEBUG _uinput:62 - Pressing 1 (2).
17:14:34.344 DEBUG _uinput:93 - Releasing 1 (2).
17:14:34.450 DEBUG _uinput:62 - Pressing 2 (3).
17:14:34.555 DEBUG _uinput:93 - Releasing 2 (3).
17:14:34.656 DEBUG _uinput:62 - Pressing 3 (4).
17:14:34.757 DEBUG _uinput:93 - Releasing 3 (4).
17:14:34.858 DEBUG _uinput:62 - Pressing 4 (5).
17:14:34.959 DEBUG _uinput:93 - Releasing 4 (5).
17:14:35.061 DEBUG _uinput:62 - Pressing 5 (6).
17:14:35.164 DEBUG _uinput:93 - Releasing 5 (6).
17:14:35.265 DEBUG _uinput:62 - Pressing SLASH (53).
17:14:35.366 DEBUG _uinput:93 - Releasing SLASH (53).
17:14:35.467 DEBUG _uinput:62 - Pressing a (30).
17:14:35.568 DEBUG _uinput:93 - Releasing a (30).
17:14:35.669 DEBUG _uinput:62 - Pressing l (38).
17:14:35.771 DEBUG _uinput:93 - Releasing l (38).
17:14:35.872 DEBUG _uinput:62 - Pressing e (18).
17:14:35.974 DEBUG _uinput:93 - Releasing e (18).
17:14:36.076 DEBUG _uinput:62 - Pressing a (30).
17:14:36.178 DEBUG _uinput:93 - Releasing a (30).
17:14:36.281 DEBUG _uinput:62 - Pressing i (23).
17:14:36.385 DEBUG _uinput:93 - Releasing i (23).
17:14:36.486 DEBUG _uinput:62 - Pressing a (30).
17:14:36.588 DEBUG _uinput:93 - Releasing a (30).
17:14:36.690 DEBUG _uinput:62 - Pressing c (46).
17:14:36.794 DEBUG _uinput:93 - Releasing c (46).
17:14:36.896 DEBUG _uinput:62 - Pressing t (20).
17:14:37.000 DEBUG _uinput:93 - Releasing t (20).
17:14:37.103 DEBUG _uinput:62 - Pressing a (30).
17:14:37.205 DEBUG _uinput:93 - Releasing a (30).
17:14:37.307 DEBUG _uinput:62 - Pressing e (18).
17:14:37.409 DEBUG _uinput:93 - Releasing e (18).
17:14:37.514 DEBUG _uinput:62 - Pressing s (31).
17:14:37.619 DEBUG _uinput:93 - Releasing s (31).
17:14:37.721 DEBUG _uinput:62 - Pressing t (20).
17:14:37.823 DEBUG _uinput:93 - Releasing t (20).
17:14:37.925 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:14:38.066 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:14:38.514 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
17:14:38.730 DEBUG _uinput:185 - Pressing and Releasing: Enter
17:14:38.731 DEBUG _uinput:62 - Pressing Enter (28).
17:14:38.770 INFO http_server:93 - "GET /aleaiactaest HTTP/1.1" 200 -
17:14:38.790 INFO http_server:93 - "GET /aleaiactaest HTTP/1.1" 200 -
17:14:38.833 DEBUG _uinput:93 - Releasing Enter (28).
17:14:38.934 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:15:03.963 ERROR proxies:410 - Introspect error on :1.121:/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.
17:15:03.965 DEBUG proxies:413 - Executing introspect queue due to error
17:15:08.894 INFO _launcher:346 - waiting for process to exit.
17:15:08.896 INFO _launcher:273 - Killing process 6275
}}}

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