Testcase: test_tabs.TestTabs.test_switch_tabs

Build #:108:20140103: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/tmpfCtCK_/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

04:48:24.509 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
now serving on port 12345
04:48:24.935 INFO globals:56 - ************************************************************
04:48:24.937 INFO globals:57 - Starting test webbrowser_app.tests.test_tabs.TestTabs.test_switch_tabs
04:48:24.938 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
04:48:25.081 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
04:48:25.105 INFO __init__:162 - Launching process: ['/usr/bin/webbrowser-app', '-testability', '--fullscreen',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', 'http://localhost:12345/loremipsum']
127.0.0.1 - - [03/Jan/2014 04:48:28] "GET /loremipsum HTTP/1.1" 200 -
04:48:28.756 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'
127.0.0.1 - - [03/Jan/2014 04:48:28] "GET /loremipsum HTTP/1.1" 200 -
04:48:28.760 DEBUG proxies:413 - Executing introspect queue due to error
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 44525)
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
----------------------------------------
04:48:28.997 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:29.091 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:29.129 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
04:48:29.576 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:29.661 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
04:48:29.763 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:29.764 DEBUG _uinput:332 - Tapping at: 384,640
04:48:29.866 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:29.909 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
04:48:30.066 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:30.106 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
04:48:30.165 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:30.195 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
04:48:30.196 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
04:48:30.224 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
04:48:30.324 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
04:48:31.726 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
04:48:31.727 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
04:48:31.855 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:31.857 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
04:48:31.913 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:31.914 DEBUG _uinput:332 - Tapping at: 687,1208
04:48:32.023 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:32.560 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:32.599 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:32.652 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:32.695 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:32.730 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:32.770 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
04:48:32.795 DEBUG dbus:431 - Selecting objects of type UbuntuShape with attributes: {'objectName': 'newTabDelegate'}
04:48:32.871 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:32.872 DEBUG _uinput:332 - Tapping at: 144,1064
04:48:32.974 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:33.197 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:33.245 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:33.283 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
04:48:34.395 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:34.430 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
04:48:34.549 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:34.582 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
04:48:34.892 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:34.924 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
04:48:35.236 DEBUG _uinput:135 - Typing text 'http://localhost:12345/aleaiactaest'
04:48:35.237 DEBUG _uinput:80 - Pressing h (35)
04:48:35.339 DEBUG _uinput:103 - Releasing h (35)
04:48:35.441 DEBUG _uinput:80 - Pressing t (20)
04:48:35.542 DEBUG _uinput:103 - Releasing t (20)
04:48:35.644 DEBUG _uinput:80 - Pressing t (20)
04:48:35.746 DEBUG _uinput:103 - Releasing t (20)
04:48:35.847 DEBUG _uinput:80 - Pressing p (25)
04:48:35.949 DEBUG _uinput:103 - Releasing p (25)
04:48:36.050 DEBUG _uinput:80 - Pressing : (42)
04:48:36.153 DEBUG _uinput:80 - Pressing : (39)
04:48:36.268 DEBUG _uinput:103 - Releasing : (42)
04:48:36.369 DEBUG _uinput:103 - Releasing : (39)
04:48:36.476 DEBUG _uinput:80 - Pressing / (53)
04:48:36.583 DEBUG _uinput:103 - Releasing / (53)
04:48:36.686 DEBUG _uinput:80 - Pressing / (53)
04:48:36.789 DEBUG _uinput:103 - Releasing / (53)
04:48:36.890 DEBUG _uinput:80 - Pressing l (38)
04:48:36.992 DEBUG _uinput:103 - Releasing l (38)
04:48:37.097 DEBUG _uinput:80 - Pressing o (24)
04:48:37.222 DEBUG _uinput:103 - Releasing o (24)
04:48:37.323 DEBUG _uinput:80 - Pressing c (46)
04:48:37.432 DEBUG _uinput:103 - Releasing c (46)
04:48:37.534 DEBUG _uinput:80 - Pressing a (30)
04:48:37.638 DEBUG _uinput:103 - Releasing a (30)
04:48:37.743 DEBUG _uinput:80 - Pressing l (38)
04:48:37.845 DEBUG _uinput:103 - Releasing l (38)
04:48:37.948 DEBUG _uinput:80 - Pressing h (35)
04:48:38.055 DEBUG _uinput:103 - Releasing h (35)
04:48:38.159 DEBUG _uinput:80 - Pressing o (24)
04:48:38.260 DEBUG _uinput:103 - Releasing o (24)
04:48:38.373 DEBUG _uinput:80 - Pressing s (31)
04:48:38.490 DEBUG _uinput:103 - Releasing s (31)
04:48:38.591 DEBUG _uinput:80 - Pressing t (20)
04:48:38.698 DEBUG _uinput:103 - Releasing t (20)
04:48:38.803 DEBUG _uinput:80 - Pressing : (42)
04:48:38.911 DEBUG _uinput:80 - Pressing : (39)
04:48:39.013 DEBUG _uinput:103 - Releasing : (42)
04:48:39.114 DEBUG _uinput:103 - Releasing : (39)
04:48:39.219 DEBUG _uinput:80 - Pressing 1 (2)
04:48:39.332 DEBUG _uinput:103 - Releasing 1 (2)
04:48:39.434 DEBUG _uinput:80 - Pressing 2 (3)
04:48:39.543 DEBUG _uinput:103 - Releasing 2 (3)
04:48:39.644 DEBUG _uinput:80 - Pressing 3 (4)
04:48:39.745 DEBUG _uinput:103 - Releasing 3 (4)
04:48:39.847 DEBUG _uinput:80 - Pressing 4 (5)
04:48:39.958 DEBUG _uinput:103 - Releasing 4 (5)
04:48:40.060 DEBUG _uinput:80 - Pressing 5 (6)
04:48:40.161 DEBUG _uinput:103 - Releasing 5 (6)
04:48:40.263 DEBUG _uinput:80 - Pressing / (53)
04:48:40.378 DEBUG _uinput:103 - Releasing / (53)
04:48:40.479 DEBUG _uinput:80 - Pressing a (30)
04:48:40.580 DEBUG _uinput:103 - Releasing a (30)
04:48:40.682 DEBUG _uinput:80 - Pressing l (38)
04:48:40.784 DEBUG _uinput:103 - Releasing l (38)
04:48:40.886 DEBUG _uinput:80 - Pressing e (18)
04:48:41.001 DEBUG _uinput:103 - Releasing e (18)
04:48:41.102 DEBUG _uinput:80 - Pressing a (30)
04:48:41.213 DEBUG _uinput:103 - Releasing a (30)
04:48:41.315 DEBUG _uinput:80 - Pressing i (23)
04:48:41.426 DEBUG _uinput:103 - Releasing i (23)
04:48:41.527 DEBUG _uinput:80 - Pressing a (30)
04:48:41.638 DEBUG _uinput:103 - Releasing a (30)
04:48:41.739 DEBUG _uinput:80 - Pressing c (46)
04:48:41.840 DEBUG _uinput:103 - Releasing c (46)
04:48:41.945 DEBUG _uinput:80 - Pressing t (20)
04:48:42.059 DEBUG _uinput:103 - Releasing t (20)
04:48:42.160 DEBUG _uinput:80 - Pressing a (30)
04:48:42.265 DEBUG _uinput:103 - Releasing a (30)
04:48:42.367 DEBUG _uinput:80 - Pressing e (18)
04:48:42.478 DEBUG _uinput:103 - Releasing e (18)
04:48:42.579 DEBUG _uinput:80 - Pressing s (31)
04:48:42.685 DEBUG _uinput:103 - Releasing s (31)
04:48:42.787 DEBUG _uinput:80 - Pressing t (20)
04:48:42.897 DEBUG _uinput:103 - Releasing t (20)
04:48:43.004 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:43.079 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
04:48:43.351 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
04:48:43.509 DEBUG _uinput:122 - Pressing and Releasing: Enter
04:48:43.510 DEBUG _uinput:80 - Pressing Enter (28)
127.0.0.1 - - [03/Jan/2014 04:48:43] "GET /aleaiactaest HTTP/1.1" 200 -
127.0.0.1 - - [03/Jan/2014 04:48:43] "GET /aleaiactaest HTTP/1.1" 200 -
04:48:43.612 DEBUG _uinput:103 - Releasing Enter (28)
04:48:43.713 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:43.759 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
04:48:44.220 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:44.286 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
04:48:44.526 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:44.566 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
04:48:44.953 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:44.987 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
04:48:45.217 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:45.219 DEBUG _uinput:332 - Tapping at: 384,640
04:48:45.326 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:45.376 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
04:48:45.568 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:45.598 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
04:48:45.657 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:45.687 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
04:48:45.688 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
04:48:45.728 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
04:48:45.824 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
04:48:47.229 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
04:48:47.230 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
04:48:47.348 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:47.350 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
04:48:47.411 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:47.412 DEBUG _uinput:332 - Tapping at: 687,1208
04:48:47.517 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:47.922 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:48.024 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:48.101 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:48.172 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
04:48:48.209 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
04:48:48.249 DEBUG dbus:431 - Selecting objects of type PageDelegate with attributes: {'objectName': 'openTabDelegate'}
04:48:48.468 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:48.509 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:48.552 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
04:48:48.610 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
04:48:48.779 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:48.780 DEBUG _uinput:332 - Tapping at: 372,1091
04:48:48.882 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:49.082 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:49.129 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
04:48:49.387 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:49.428 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
04:48:49.794 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:49.834 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:49.852 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:49.887 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
04:48:50.011 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:50.075 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
04:48:50.271 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:50.274 DEBUG _uinput:332 - Tapping at: 384,640
04:48:50.379 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:50.417 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
04:48:50.672 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:50.723 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
04:48:50.864 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:50.987 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
04:48:50.989 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
04:48:51.031 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
04:48:51.175 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
04:48:52.560 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
04:48:52.564 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
04:48:52.695 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:52.697 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
04:48:52.755 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:52.756 DEBUG _uinput:332 - Tapping at: 687,1208
04:48:52.861 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:53.291 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:53.333 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:53.395 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:53.453 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
04:48:53.496 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
04:48:53.572 DEBUG dbus:431 - Selecting objects of type PageDelegate with attributes: {'objectName': 'openTabDelegate'}
04:48:53.865 DEBUG _common:35 - Moving to object's globalRect coordinates.
04:48:53.866 DEBUG _uinput:332 - Tapping at: 636,1091
04:48:53.968 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:54.147 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:54.185 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
04:48:54.549 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:54.631 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
04:48:55.031 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:55.158 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
04:48:55.185 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
04:48:55.223 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
04:48:55.395 INFO testcase:561 - waiting for process to exit.
04:48:55.396 INFO testcase:563 - Killing process 6102
04:48:56.163 INFO testresult:37 - OK: webbrowser_app.tests.test_tabs.TestTabs.test_switch_tabs
ADB_RC=0
command_type
testcase_test