Testcase: test_tabs.TestTabs.test_switch_tabs

Build #:111:20140104.1:20131223.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_tabs.TestTabs.test_switch_tabs
testsuite
/tmp/tmp7JSKvf/testsuites/webbrowser-app-autopilot
returncode
0
command
autopilot-run webbrowser_app.tests.test_tabs.TestTabs.test_switch_tabs
stdout
ADB_RC=0
Loading tests from: /usr/lib/python2.7/dist-packages

16:49:30.423 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
now serving on port 12345
16:49:30.864 INFO globals:56 - ************************************************************
16:49:30.869 INFO globals:57 - Starting test webbrowser_app.tests.test_tabs.TestTabs.test_switch_tabs
16:49:30.872 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
16:49:31.055 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
16:49:31.081 INFO __init__:162 - Launching process: ['/usr/bin/webbrowser-app', '-testability', '--fullscreen',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', 'http://localhost:12345/loremipsum']
16:49:34.227 ERROR proxies:410 - Introspect error on :1.97:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.UnknownObject: No such object path '/com/canonical/Autopilot/Introspection'
16:49:34.234 DEBUG proxies:413 - Executing introspect queue due to error
127.0.0.1 - - [04/Jan/2014 16:49:34] "GET /loremipsum HTTP/1.1" 200 -
127.0.0.1 - - [04/Jan/2014 16:49:34] "GET /loremipsum HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 52086)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 651, in __init__
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 710, in finish
self.wfile.close()
File "/usr/lib/python2.7/socket.py", line 279, in close
self.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------
16:49:34.360 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:34.491 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:34.535 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:35.003 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:35.065 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:35.239 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:35.240 DEBUG _uinput:332 - Tapping at: 384,640
16:49:35.344 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:35.373 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:35.578 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:35.657 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
16:49:35.743 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:35.787 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:35.787 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:35.819 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:35.919 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
16:49:37.297 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
16:49:37.298 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
16:49:37.421 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:37.423 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:37.480 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:37.481 DEBUG _uinput:332 - Tapping at: 687,1208
16:49:37.585 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:38.164 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:38.221 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:38.273 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:38.308 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:38.345 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:38.381 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
16:49:38.406 DEBUG dbus:431 - Selecting objects of type UbuntuShape with attributes: {'objectName': 'newTabDelegate'}
16:49:38.498 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:38.499 DEBUG _uinput:332 - Tapping at: 144,1064
16:49:38.602 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:38.804 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:38.838 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:38.883 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
16:49:40.024 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:40.059 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:40.177 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:40.209 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:40.516 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:40.550 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:40.874 DEBUG _uinput:135 - Typing text 'http://localhost:12345/aleaiactaest'
16:49:40.875 DEBUG _uinput:80 - Pressing h (35)
16:49:40.976 DEBUG _uinput:103 - Releasing h (35)
16:49:41.077 DEBUG _uinput:80 - Pressing t (20)
16:49:41.179 DEBUG _uinput:103 - Releasing t (20)
16:49:41.284 DEBUG _uinput:80 - Pressing t (20)
16:49:41.385 DEBUG _uinput:103 - Releasing t (20)
16:49:41.486 DEBUG _uinput:80 - Pressing p (25)
16:49:41.591 DEBUG _uinput:103 - Releasing p (25)
16:49:41.693 DEBUG _uinput:80 - Pressing : (42)
16:49:41.796 DEBUG _uinput:80 - Pressing : (39)
16:49:41.914 DEBUG _uinput:103 - Releasing : (42)
16:49:42.016 DEBUG _uinput:103 - Releasing : (39)
16:49:42.123 DEBUG _uinput:80 - Pressing / (53)
16:49:42.228 DEBUG _uinput:103 - Releasing / (53)
16:49:42.330 DEBUG _uinput:80 - Pressing / (53)
16:49:42.432 DEBUG _uinput:103 - Releasing / (53)
16:49:42.533 DEBUG _uinput:80 - Pressing l (38)
16:49:42.639 DEBUG _uinput:103 - Releasing l (38)
16:49:42.744 DEBUG _uinput:80 - Pressing o (24)
16:49:42.846 DEBUG _uinput:103 - Releasing o (24)
16:49:42.948 DEBUG _uinput:80 - Pressing c (46)
16:49:43.049 DEBUG _uinput:103 - Releasing c (46)
16:49:43.151 DEBUG _uinput:80 - Pressing a (30)
16:49:43.268 DEBUG _uinput:103 - Releasing a (30)
16:49:43.370 DEBUG _uinput:80 - Pressing l (38)
16:49:43.487 DEBUG _uinput:103 - Releasing l (38)
16:49:43.588 DEBUG _uinput:80 - Pressing h (35)
16:49:43.698 DEBUG _uinput:103 - Releasing h (35)
16:49:43.799 DEBUG _uinput:80 - Pressing o (24)
16:49:43.906 DEBUG _uinput:103 - Releasing o (24)
16:49:44.008 DEBUG _uinput:80 - Pressing s (31)
16:49:44.118 DEBUG _uinput:103 - Releasing s (31)
16:49:44.219 DEBUG _uinput:80 - Pressing t (20)
16:49:44.329 DEBUG _uinput:103 - Releasing t (20)
16:49:44.431 DEBUG _uinput:80 - Pressing : (42)
16:49:44.537 DEBUG _uinput:80 - Pressing : (39)
16:49:44.639 DEBUG _uinput:103 - Releasing : (42)
16:49:44.740 DEBUG _uinput:103 - Releasing : (39)
16:49:44.846 DEBUG _uinput:80 - Pressing 1 (2)
16:49:44.959 DEBUG _uinput:103 - Releasing 1 (2)
16:49:45.061 DEBUG _uinput:80 - Pressing 2 (3)
16:49:45.175 DEBUG _uinput:103 - Releasing 2 (3)
16:49:45.276 DEBUG _uinput:80 - Pressing 3 (4)
16:49:45.382 DEBUG _uinput:103 - Releasing 3 (4)
16:49:45.484 DEBUG _uinput:80 - Pressing 4 (5)
16:49:45.593 DEBUG _uinput:103 - Releasing 4 (5)
16:49:45.695 DEBUG _uinput:80 - Pressing 5 (6)
16:49:45.797 DEBUG _uinput:103 - Releasing 5 (6)
16:49:45.899 DEBUG _uinput:80 - Pressing / (53)
16:49:46.004 DEBUG _uinput:103 - Releasing / (53)
16:49:46.106 DEBUG _uinput:80 - Pressing a (30)
16:49:46.208 DEBUG _uinput:103 - Releasing a (30)
16:49:46.309 DEBUG _uinput:80 - Pressing l (38)
16:49:46.411 DEBUG _uinput:103 - Releasing l (38)
16:49:46.512 DEBUG _uinput:80 - Pressing e (18)
16:49:46.626 DEBUG _uinput:103 - Releasing e (18)
16:49:46.729 DEBUG _uinput:80 - Pressing a (30)
16:49:46.839 DEBUG _uinput:103 - Releasing a (30)
16:49:46.940 DEBUG _uinput:80 - Pressing i (23)
16:49:47.049 DEBUG _uinput:103 - Releasing i (23)
16:49:47.150 DEBUG _uinput:80 - Pressing a (30)
16:49:47.260 DEBUG _uinput:103 - Releasing a (30)
16:49:47.361 DEBUG _uinput:80 - Pressing c (46)
16:49:47.477 DEBUG _uinput:103 - Releasing c (46)
16:49:47.579 DEBUG _uinput:80 - Pressing t (20)
16:49:47.688 DEBUG _uinput:103 - Releasing t (20)
16:49:47.789 DEBUG _uinput:80 - Pressing a (30)
16:49:47.899 DEBUG _uinput:103 - Releasing a (30)
16:49:48.000 DEBUG _uinput:80 - Pressing e (18)
16:49:48.108 DEBUG _uinput:103 - Releasing e (18)
16:49:48.209 DEBUG _uinput:80 - Pressing s (31)
16:49:48.328 DEBUG _uinput:103 - Releasing s (31)
16:49:48.429 DEBUG _uinput:80 - Pressing t (20)
16:49:48.535 DEBUG _uinput:103 - Releasing t (20)
16:49:48.636 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:48.668 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:48.937 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
16:49:49.104 DEBUG _uinput:122 - Pressing and Releasing: Enter
16:49:49.104 DEBUG _uinput:80 - Pressing Enter (28)
127.0.0.1 - - [04/Jan/2014 16:49:49] "GET /aleaiactaest HTTP/1.1" 200 -
127.0.0.1 - - [04/Jan/2014 16:49:49] "GET /aleaiactaest HTTP/1.1" 200 -
16:49:49.206 DEBUG _uinput:103 - Releasing Enter (28)
16:49:49.308 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:49.358 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:49.768 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:49.830 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:50.030 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:50.064 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:50.380 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:50.415 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:50.585 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:50.587 DEBUG _uinput:332 - Tapping at: 384,640
16:49:50.690 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:50.725 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:50.998 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:51.045 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
16:49:51.153 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:51.185 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:51.186 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:51.229 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:51.341 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
16:49:52.737 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
16:49:52.738 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
16:49:52.861 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:52.863 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:52.924 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:52.925 DEBUG _uinput:332 - Tapping at: 687,1208
16:49:53.033 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:53.407 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:53.445 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:53.506 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:53.548 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
16:49:53.575 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
16:49:53.616 DEBUG dbus:431 - Selecting objects of type PageDelegate with attributes: {'objectName': 'openTabDelegate'}
16:49:53.772 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:53.837 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:53.919 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
16:49:53.985 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
16:49:54.167 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:54.168 DEBUG _uinput:332 - Tapping at: 372,1091
16:49:54.269 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:54.462 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:54.514 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:54.712 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:54.793 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:55.164 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:55.198 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:55.216 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:55.277 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:55.481 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:55.533 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:55.713 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:55.714 DEBUG _uinput:332 - Tapping at: 384,640
16:49:55.815 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:55.894 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:56.167 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:56.207 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
16:49:56.276 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:56.321 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:56.321 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:56.350 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:56.474 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
16:49:57.838 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
16:49:57.838 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
16:49:57.956 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:57.957 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:58.015 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:58.016 DEBUG _uinput:332 - Tapping at: 687,1208
16:49:58.127 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:58.563 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:58.639 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:58.740 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:58.780 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
16:49:58.808 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
16:49:58.878 DEBUG dbus:431 - Selecting objects of type PageDelegate with attributes: {'objectName': 'openTabDelegate'}
16:49:59.068 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:59.069 DEBUG _uinput:332 - Tapping at: 636,1091
16:49:59.172 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:59.363 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:59.402 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:59.678 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:59.749 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:50:00.133 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:50:00.210 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:50:00.229 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:50:00.278 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:50:00.544 INFO testcase:561 - waiting for process to exit.
16:50:00.545 INFO testcase:563 - Killing process 5976
16:50:01.212 INFO testresult:37 - OK: webbrowser_app.tests.test_tabs.TestTabs.test_switch_tabs
ADB_RC=0
command_type
testcase_test