Testcase: test_tabs.TestTabs.test_switch_tabs

Build #:77:20131219.1:20131218.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_tabs.TestTabs.test_switch_tabs
testsuite
/tmp/tmpLCegaN/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

17:50:37.256 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
Port 12345 is already in use
now serving on port 12346
17:50:37.704 INFO globals:56 - ************************************************************
17:50:37.705 INFO globals:57 - Starting test webbrowser_app.tests.test_tabs.TestTabs.test_switch_tabs
17:50:37.706 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
17:50:37.851 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
17:50:37.876 INFO __init__:162 - Launching process: ['/usr/bin/webbrowser-app', '-testability', '--fullscreen',
'--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop', 'http://localhost:12346/loremipsum']
17:50:40.987 ERROR proxies:410 - Introspect error on :1.92:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.UnknownObject: No such object path '/com/canonical/Autopilot/Introspection'
17:50:40.988 DEBUG proxies:413 - Executing introspect queue due to error
127.0.0.1 - - [19/Dec/2013 17:50:41] "GET /loremipsum HTTP/1.1" 200 -
127.0.0.1 - - [19/Dec/2013 17:50:41] "GET /loremipsum HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 55646)
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
----------------------------------------
17:50:41.061 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:41.130 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:41.202 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
17:50:41.531 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:41.598 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
17:50:41.787 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:50:41.788 DEBUG _uinput:332 - Tapping at: 384,640
17:50:41.891 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:41.920 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:50:42.107 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:42.190 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
17:50:42.269 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:42.314 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:50:42.315 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:50:42.363 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:50:42.487 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
17:50:43.852 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
17:50:43.853 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
17:50:43.984 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:50:43.985 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:50:44.046 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:50:44.047 DEBUG _uinput:332 - Tapping at: 687,1208
17:50:44.151 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:44.939 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:50:44.990 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:45.054 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:50:45.089 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:45.132 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:50:45.171 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
17:50:45.203 DEBUG dbus:431 - Selecting objects of type UbuntuShape with attributes: {'objectName': 'newTabDelegate'}
17:50:45.304 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:50:45.305 DEBUG _uinput:332 - Tapping at: 144,1064
17:50:45.410 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:45.738 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:50:45.764 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:45.806 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
17:50:46.903 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:46.937 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:50:47.051 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:47.083 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:50:47.391 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:47.424 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:50:47.741 DEBUG _uinput:135 - Typing text 'http://localhost:12346/aleaiactaest'
17:50:47.742 DEBUG _uinput:80 - Pressing h (35)
17:50:47.851 DEBUG _uinput:103 - Releasing h (35)
17:50:47.955 DEBUG _uinput:80 - Pressing t (20)
17:50:48.057 DEBUG _uinput:103 - Releasing t (20)
17:50:48.161 DEBUG _uinput:80 - Pressing t (20)
17:50:48.263 DEBUG _uinput:103 - Releasing t (20)
17:50:48.364 DEBUG _uinput:80 - Pressing p (25)
17:50:48.465 DEBUG _uinput:103 - Releasing p (25)
17:50:48.566 DEBUG _uinput:80 - Pressing : (42)
17:50:48.667 DEBUG _uinput:80 - Pressing : (39)
17:50:48.785 DEBUG _uinput:103 - Releasing : (42)
17:50:48.886 DEBUG _uinput:103 - Releasing : (39)
17:50:48.990 DEBUG _uinput:80 - Pressing / (53)
17:50:49.092 DEBUG _uinput:103 - Releasing / (53)
17:50:49.194 DEBUG _uinput:80 - Pressing / (53)
17:50:49.297 DEBUG _uinput:103 - Releasing / (53)
17:50:49.399 DEBUG _uinput:80 - Pressing l (38)
17:50:49.501 DEBUG _uinput:103 - Releasing l (38)
17:50:49.603 DEBUG _uinput:80 - Pressing o (24)
17:50:49.704 DEBUG _uinput:103 - Releasing o (24)
17:50:49.806 DEBUG _uinput:80 - Pressing c (46)
17:50:49.908 DEBUG _uinput:103 - Releasing c (46)
17:50:50.010 DEBUG _uinput:80 - Pressing a (30)
17:50:50.114 DEBUG _uinput:103 - Releasing a (30)
17:50:50.215 DEBUG _uinput:80 - Pressing l (38)
17:50:50.319 DEBUG _uinput:103 - Releasing l (38)
17:50:50.421 DEBUG _uinput:80 - Pressing h (35)
17:50:50.522 DEBUG _uinput:103 - Releasing h (35)
17:50:50.623 DEBUG _uinput:80 - Pressing o (24)
17:50:50.728 DEBUG _uinput:103 - Releasing o (24)
17:50:50.832 DEBUG _uinput:80 - Pressing s (31)
17:50:50.942 DEBUG _uinput:103 - Releasing s (31)
17:50:51.044 DEBUG _uinput:80 - Pressing t (20)
17:50:51.162 DEBUG _uinput:103 - Releasing t (20)
17:50:51.264 DEBUG _uinput:80 - Pressing : (42)
17:50:51.372 DEBUG _uinput:80 - Pressing : (39)
17:50:51.473 DEBUG _uinput:103 - Releasing : (42)
17:50:51.574 DEBUG _uinput:103 - Releasing : (39)
17:50:51.676 DEBUG _uinput:80 - Pressing 1 (2)
17:50:51.805 DEBUG _uinput:103 - Releasing 1 (2)
17:50:51.908 DEBUG _uinput:80 - Pressing 2 (3)
17:50:52.015 DEBUG _uinput:103 - Releasing 2 (3)
17:50:52.116 DEBUG _uinput:80 - Pressing 3 (4)
17:50:52.219 DEBUG _uinput:103 - Releasing 3 (4)
17:50:52.320 DEBUG _uinput:80 - Pressing 4 (5)
17:50:52.423 DEBUG _uinput:103 - Releasing 4 (5)
17:50:52.524 DEBUG _uinput:80 - Pressing 6 (7)
17:50:52.630 DEBUG _uinput:103 - Releasing 6 (7)
17:50:52.731 DEBUG _uinput:80 - Pressing / (53)
17:50:52.835 DEBUG _uinput:103 - Releasing / (53)
17:50:52.937 DEBUG _uinput:80 - Pressing a (30)
17:50:53.038 DEBUG _uinput:103 - Releasing a (30)
17:50:53.139 DEBUG _uinput:80 - Pressing l (38)
17:50:53.240 DEBUG _uinput:103 - Releasing l (38)
17:50:53.342 DEBUG _uinput:80 - Pressing e (18)
17:50:53.450 DEBUG _uinput:103 - Releasing e (18)
17:50:53.556 DEBUG _uinput:80 - Pressing a (30)
17:50:53.664 DEBUG _uinput:103 - Releasing a (30)
17:50:53.765 DEBUG _uinput:80 - Pressing i (23)
17:50:53.867 DEBUG _uinput:103 - Releasing i (23)
17:50:53.969 DEBUG _uinput:80 - Pressing a (30)
17:50:54.091 DEBUG _uinput:103 - Releasing a (30)
17:50:54.192 DEBUG _uinput:80 - Pressing c (46)
17:50:54.304 DEBUG _uinput:103 - Releasing c (46)
17:50:54.410 DEBUG _uinput:80 - Pressing t (20)
17:50:54.519 DEBUG _uinput:103 - Releasing t (20)
17:50:54.620 DEBUG _uinput:80 - Pressing a (30)
17:50:54.721 DEBUG _uinput:103 - Releasing a (30)
17:50:54.822 DEBUG _uinput:80 - Pressing e (18)
17:50:54.931 DEBUG _uinput:103 - Releasing e (18)
17:50:55.032 DEBUG _uinput:80 - Pressing s (31)
17:50:55.140 DEBUG _uinput:103 - Releasing s (31)
17:50:55.242 DEBUG _uinput:80 - Pressing t (20)
17:50:55.351 DEBUG _uinput:103 - Releasing t (20)
17:50:55.452 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:55.484 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:50:55.770 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
17:50:55.870 DEBUG _uinput:122 - Pressing and Releasing: Enter
17:50:55.871 DEBUG _uinput:80 - Pressing Enter (28)
127.0.0.1 - - [19/Dec/2013 17:50:55] "GET /aleaiactaest HTTP/1.1" 200 -
127.0.0.1 - - [19/Dec/2013 17:50:55] "GET /aleaiactaest HTTP/1.1" 200 -
17:50:55.973 DEBUG _uinput:103 - Releasing Enter (28)
17:50:56.075 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:56.124 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
17:50:56.602 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:56.655 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
17:50:56.892 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:56.987 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:50:57.401 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:57.451 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
17:50:57.680 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:50:57.681 DEBUG _uinput:332 - Tapping at: 384,640
17:50:57.783 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:57.887 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:50:58.091 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:58.145 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
17:50:58.287 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:50:58.369 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:50:58.373 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:50:58.466 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:50:58.653 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
17:51:00.044 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
17:51:00.045 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
17:51:00.152 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:51:00.165 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:51:00.241 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:51:00.242 DEBUG _uinput:332 - Tapping at: 687,1208
17:51:00.345 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:00.953 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:51:01.016 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:01.086 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:51:01.122 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
17:51:01.150 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
17:51:01.198 DEBUG dbus:431 - Selecting objects of type PageDelegate with attributes: {'objectName': 'openTabDelegate'}
17:51:01.377 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:01.454 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:51:01.519 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
17:51:01.568 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
17:51:01.695 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:51:01.696 DEBUG _uinput:332 - Tapping at: 372,1091
17:51:01.799 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:02.004 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:02.053 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
17:51:02.317 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:02.375 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:51:02.780 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:02.815 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:51:02.833 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:02.864 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:51:02.997 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:03.069 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
17:51:03.216 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:51:03.217 DEBUG _uinput:332 - Tapping at: 384,640
17:51:03.320 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:03.376 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:51:03.591 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:03.627 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
17:51:03.697 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:03.748 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:51:03.749 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:51:03.780 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:51:03.893 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
17:51:05.295 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
17:51:05.300 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
17:51:05.412 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:51:05.413 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:51:05.480 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:51:05.481 DEBUG _uinput:332 - Tapping at: 687,1208
17:51:05.586 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:06.183 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:51:06.247 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:06.310 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:51:06.348 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
17:51:06.374 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
17:51:06.422 DEBUG dbus:431 - Selecting objects of type PageDelegate with attributes: {'objectName': 'openTabDelegate'}
17:51:06.614 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:51:06.616 DEBUG _uinput:332 - Tapping at: 636,1091
17:51:06.724 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:06.904 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:06.948 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
17:51:07.269 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:07.301 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
17:51:07.678 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:07.714 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
17:51:07.732 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
17:51:07.811 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
17:51:07.913 INFO testcase:561 - waiting for process to exit.
17:51:07.914 INFO testcase:563 - Killing process 6228
17:51:08.468 INFO testresult:37 - OK: webbrowser_app.tests.test_tabs.TestTabs.test_switch_tabs
ADB_RC=0
command_type
testcase_test