Testcase: test_tabs.TestTabs.test_switch_tabs

Build #:107:20140102.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/tmph5z8Dp/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:20.962 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:21.329 INFO globals:56 - ************************************************************
16:49:21.331 INFO globals:57 - Starting test webbrowser_app.tests.test_tabs.TestTabs.test_switch_tabs
16:49:21.332 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
16:49:21.499 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
16:49:21.525 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 - - [02/Jan/2014 16:49:24] "GET /loremipsum HTTP/1.1" 200 -
127.0.0.1 - - [02/Jan/2014 16:49:24] "GET /loremipsum HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 48429)
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:24.698 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:24.706 DEBUG proxies:413 - Executing introspect queue due to error
16:49:24.932 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:24.994 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:25.026 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:25.415 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:25.451 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:25.589 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:25.589 DEBUG _uinput:332 - Tapping at: 384,640
16:49:25.692 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:25.751 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:25.952 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:26.028 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
16:49:26.169 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:26.198 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:26.199 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:26.225 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:26.329 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
16:49:27.713 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
16:49:27.714 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
16:49:27.835 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:27.837 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:27.923 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:27.924 DEBUG _uinput:332 - Tapping at: 687,1208
16:49:28.029 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:28.583 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:28.635 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:28.695 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:28.735 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:28.776 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:28.808 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
16:49:28.841 DEBUG dbus:431 - Selecting objects of type UbuntuShape with attributes: {'objectName': 'newTabDelegate'}
16:49:28.924 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:28.925 DEBUG _uinput:332 - Tapping at: 144,1064
16:49:29.027 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:29.248 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:29.277 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:29.347 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
16:49:30.471 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:30.508 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:30.658 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:30.693 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:31.082 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:31.136 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:31.472 DEBUG _uinput:135 - Typing text 'http://localhost:12345/aleaiactaest'
16:49:31.472 DEBUG _uinput:80 - Pressing h (35)
16:49:31.573 DEBUG _uinput:103 - Releasing h (35)
16:49:31.674 DEBUG _uinput:80 - Pressing t (20)
16:49:31.776 DEBUG _uinput:103 - Releasing t (20)
16:49:31.877 DEBUG _uinput:80 - Pressing t (20)
16:49:31.982 DEBUG _uinput:103 - Releasing t (20)
16:49:32.087 DEBUG _uinput:80 - Pressing p (25)
16:49:32.198 DEBUG _uinput:103 - Releasing p (25)
16:49:32.303 DEBUG _uinput:80 - Pressing : (42)
16:49:32.411 DEBUG _uinput:80 - Pressing : (39)
16:49:32.526 DEBUG _uinput:103 - Releasing : (42)
16:49:32.628 DEBUG _uinput:103 - Releasing : (39)
16:49:32.734 DEBUG _uinput:80 - Pressing / (53)
16:49:32.835 DEBUG _uinput:103 - Releasing / (53)
16:49:32.936 DEBUG _uinput:80 - Pressing / (53)
16:49:33.037 DEBUG _uinput:103 - Releasing / (53)
16:49:33.139 DEBUG _uinput:80 - Pressing l (38)
16:49:33.241 DEBUG _uinput:103 - Releasing l (38)
16:49:33.342 DEBUG _uinput:80 - Pressing o (24)
16:49:33.453 DEBUG _uinput:103 - Releasing o (24)
16:49:33.554 DEBUG _uinput:80 - Pressing c (46)
16:49:33.655 DEBUG _uinput:103 - Releasing c (46)
16:49:33.757 DEBUG _uinput:80 - Pressing a (30)
16:49:33.872 DEBUG _uinput:103 - Releasing a (30)
16:49:33.973 DEBUG _uinput:80 - Pressing l (38)
16:49:34.085 DEBUG _uinput:103 - Releasing l (38)
16:49:34.187 DEBUG _uinput:80 - Pressing h (35)
16:49:34.296 DEBUG _uinput:103 - Releasing h (35)
16:49:34.397 DEBUG _uinput:80 - Pressing o (24)
16:49:34.512 DEBUG _uinput:103 - Releasing o (24)
16:49:34.614 DEBUG _uinput:80 - Pressing s (31)
16:49:34.724 DEBUG _uinput:103 - Releasing s (31)
16:49:34.826 DEBUG _uinput:80 - Pressing t (20)
16:49:34.932 DEBUG _uinput:103 - Releasing t (20)
16:49:35.035 DEBUG _uinput:80 - Pressing : (42)
16:49:35.141 DEBUG _uinput:80 - Pressing : (39)
16:49:35.242 DEBUG _uinput:103 - Releasing : (42)
16:49:35.344 DEBUG _uinput:103 - Releasing : (39)
16:49:35.449 DEBUG _uinput:80 - Pressing 1 (2)
16:49:35.565 DEBUG _uinput:103 - Releasing 1 (2)
16:49:35.667 DEBUG _uinput:80 - Pressing 2 (3)
16:49:35.774 DEBUG _uinput:103 - Releasing 2 (3)
16:49:35.876 DEBUG _uinput:80 - Pressing 3 (4)
16:49:35.993 DEBUG _uinput:103 - Releasing 3 (4)
16:49:36.095 DEBUG _uinput:80 - Pressing 4 (5)
16:49:36.213 DEBUG _uinput:103 - Releasing 4 (5)
16:49:36.315 DEBUG _uinput:80 - Pressing 5 (6)
16:49:36.416 DEBUG _uinput:103 - Releasing 5 (6)
16:49:36.519 DEBUG _uinput:80 - Pressing / (53)
16:49:36.631 DEBUG _uinput:103 - Releasing / (53)
16:49:36.733 DEBUG _uinput:80 - Pressing a (30)
16:49:36.834 DEBUG _uinput:103 - Releasing a (30)
16:49:36.936 DEBUG _uinput:80 - Pressing l (38)
16:49:37.038 DEBUG _uinput:103 - Releasing l (38)
16:49:37.140 DEBUG _uinput:80 - Pressing e (18)
16:49:37.249 DEBUG _uinput:103 - Releasing e (18)
16:49:37.350 DEBUG _uinput:80 - Pressing a (30)
16:49:37.464 DEBUG _uinput:103 - Releasing a (30)
16:49:37.565 DEBUG _uinput:80 - Pressing i (23)
16:49:37.666 DEBUG _uinput:103 - Releasing i (23)
16:49:37.768 DEBUG _uinput:80 - Pressing a (30)
16:49:37.886 DEBUG _uinput:103 - Releasing a (30)
16:49:37.988 DEBUG _uinput:80 - Pressing c (46)
16:49:38.089 DEBUG _uinput:103 - Releasing c (46)
16:49:38.190 DEBUG _uinput:80 - Pressing t (20)
16:49:38.291 DEBUG _uinput:103 - Releasing t (20)
16:49:38.393 DEBUG _uinput:80 - Pressing a (30)
16:49:38.503 DEBUG _uinput:103 - Releasing a (30)
16:49:38.604 DEBUG _uinput:80 - Pressing e (18)
16:49:38.709 DEBUG _uinput:103 - Releasing e (18)
16:49:38.811 DEBUG _uinput:80 - Pressing s (31)
16:49:38.919 DEBUG _uinput:103 - Releasing s (31)
16:49:39.021 DEBUG _uinput:80 - Pressing t (20)
16:49:39.134 DEBUG _uinput:103 - Releasing t (20)
16:49:39.236 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:39.336 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:39.611 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {}
16:49:39.733 DEBUG _uinput:122 - Pressing and Releasing: Enter
16:49:39.734 DEBUG _uinput:80 - Pressing Enter (28)
127.0.0.1 - - [02/Jan/2014 16:49:39] "GET /aleaiactaest HTTP/1.1" 200 -
127.0.0.1 - - [02/Jan/2014 16:49:39] "GET /aleaiactaest HTTP/1.1" 200 -
16:49:39.838 DEBUG _uinput:103 - Releasing Enter (28)
16:49:39.939 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:39.979 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:40.392 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:40.456 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:40.699 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:40.731 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:41.067 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:41.104 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:41.322 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:41.323 DEBUG _uinput:332 - Tapping at: 384,640
16:49:41.425 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:41.485 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:41.658 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:41.711 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
16:49:41.841 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:41.933 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:41.935 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:41.973 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:42.137 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
16:49:43.543 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
16:49:43.544 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
16:49:43.661 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:43.662 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:43.725 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:43.726 DEBUG _uinput:332 - Tapping at: 687,1208
16:49:43.830 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:44.300 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:44.368 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:44.411 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:44.469 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
16:49:44.498 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
16:49:44.562 DEBUG dbus:431 - Selecting objects of type PageDelegate with attributes: {'objectName': 'openTabDelegate'}
16:49:44.732 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:44.804 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:44.865 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
16:49:44.915 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
16:49:45.030 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:45.030 DEBUG _uinput:332 - Tapping at: 372,1091
16:49:45.134 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:45.336 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:45.390 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:45.689 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:45.753 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:46.140 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:46.173 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:46.189 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:46.219 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:46.374 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:46.429 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:46.603 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:46.604 DEBUG _uinput:332 - Tapping at: 384,640
16:49:46.708 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:46.759 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:46.952 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:46.986 DEBUG dbus:431 - Selecting objects of type KeyboardRectangle with attributes: {}
16:49:47.074 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:47.118 INFO logging:45 - Browser: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:47.119 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:47.163 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:47.300 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
16:49:48.683 INFO logging:45 - Panel: Click a button of the toolbar. Arguments ('activityButton',). Keyword arguments: {}.
16:49:48.684 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'activityButton'}
16:49:48.791 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:48.793 INFO logging:45 - Panel: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
16:49:48.858 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:48.860 DEBUG _uinput:332 - Tapping at: 687,1208
16:49:48.964 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:49.392 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:49.440 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:49.497 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:49.537 DEBUG dbus:431 - Selecting objects of type TabsList with attributes: {}
16:49:49.563 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {}
16:49:49.606 DEBUG dbus:431 - Selecting objects of type PageDelegate with attributes: {'objectName': 'openTabDelegate'}
16:49:49.767 DEBUG _common:35 - Moving to object's globalRect coordinates.
16:49:49.769 DEBUG _uinput:332 - Tapping at: 636,1091
16:49:49.874 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:50.031 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:50.072 DEBUG dbus:431 - Selecting objects of type UbuntuWebView with attributes: {}
16:49:50.533 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:50.584 DEBUG dbus:431 - Selecting objects of type AddressBar with attributes: {'objectName': 'addressBar'}
16:49:50.927 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:51.000 DEBUG dbus:431 - Selecting objects of type ActivityView with attributes: {}
16:49:51.017 DEBUG dbus:431 - Selecting objects of type Browser with attributes: {}
16:49:51.046 DEBUG dbus:431 - Selecting objects of type Panel with attributes: {}
16:49:51.218 INFO testcase:561 - waiting for process to exit.
16:49:51.220 INFO testcase:563 - Killing process 4211
16:49:51.883 INFO testresult:37 - OK: webbrowser_app.tests.test_tabs.TestTabs.test_switch_tabs
ADB_RC=0
command_type
testcase_test