1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266 | test_results.xml:
<testsuite errors="0" failures="0" name="" tests="14" time="66.013">
<testcase classname="webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase" name="test_pattern_with_allowed_targetted_url" time="6.205"/>
<testcase classname="webapp_container.tests.test_redirection_pattern.WebappContainerRedirectionPatternTestCase" name="test_browse_to_redirection_pattern_url" time="5.271"/>
<testcase classname="webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase" name="test_container_does_not_load_with_no_webapp_name_and_url" time="2.520"/>
<testcase classname="webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase" name="test_pattern_with_different_targetted_url" time="5.117"/>
<testcase classname="webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase" name="test_local_app_with_webapp_name" time="2.517"/>
<testcase classname="webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase" name="test_local_app_with_webapps_model" time="2.528"/>
<testcase classname="webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase" name="test_webapps_launch_default_search_path" time="4.973"/>
<testcase classname="webapp_container.tests.test_chrome_setup.WebappContainerChromeSetupTestCase" name="test_enable_chrome_address_bar" time="5.030"/>
<testcase classname="webapp_container.tests.test_user_agent.WebappUserAgentTestCase" name="test_override_user_agent" time="5.018"/>
<testcase classname="webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase" name="test_loads_with_url" time="6.838"/>
<testcase classname="webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase" name="test_pattern_with_external_url" time="5.201"/>
<testcase classname="webapp_container.tests.test_chrome_setup.WebappContainerChromeSetupTestCase" name="test_default_to_chromeless" time="5.096"/>
<testcase classname="webapp_container.tests.test_chrome_setup.WebappContainerChromeSetupTestCase" name="test_enable_chrome_back_forward" time="7.155"/>
<testcase classname="webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase" name="test_local_app_with_urls_patterns" time="2.527"/>
</testsuite>
console output (phablet-test-run -o . -v webapp_container):
15:45:30.679 INFO run:228 - Autopilot Source Version: 1.5.0
Autopilot Package Version: 1.5.0+14.10.20141022~rtm-0ubuntu1
Loading tests from: /usr/lib/python3/dist-packages
adb.log dH3873.sci orbit-osomon qipc_sharedmemory_qtsingleapplicationebe297d2e336ab08fe29406a369ff59513146b603ce qipc_systemsem_qtsingleapplicationebe297d2e336ab08fe29406a369ff59513146b603ce qtsingleapplication-de-3e8 qtsingleapplication-de-3e8-lockfile test_results.xml-webapp_container test_results.xml-webbrowser_app unity_support_test.0 (autopilot3:11218): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
gdk_mir_display_open
Failed to connect to Mir: connect not called
gdk_mir_display_open
Failed to connect to Mir: connect not called
15:45:31.655 INFO _logging:40 - ************************************************************
15:45:31.656 INFO _logging:41 - Starting test webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase.test_pattern_with_allowed_targetted_url
15:45:31.659 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:45:31.675 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:45:31.701 INFO fake_servers:135 - now serving on port 40427
15:45:31.842 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:31.848 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:31.850 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--webappUrlPatterns=http://www.test.com/* http://www.test.com/with-targetted-link --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:45:31.901 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--webappUrlPatterns=http://www.test.com/*', 'http://www.test.com/with-targetted-link', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:45:35] "GET /with-targetted-link HTTP/1.1" 200 -
15:45:36.224 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:45:36.225 DEBUG _uinput:470 - Tapping at: 270,500
127.0.0.1 - - [16/Jan/2015 15:45:36] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [16/Jan/2015 15:45:36] "GET / HTTP/1.1" 200 -
15:45:36.376 INFO _launcher:544 - waiting for process to exit.
15:45:36.377 INFO _launcher:567 - Killing process 11266
15:45:37.370 INFO testresult:44 - OK: webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase.test_pattern_with_allowed_targetted_url
15:45:37.374 INFO _logging:40 - ************************************************************
15:45:37.375 INFO _logging:41 - Starting test webapp_container.tests.test_redirection_pattern.WebappContainerRedirectionPatternTestCase.test_browse_to_redirection_pattern_url
15:45:37.377 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:45:37.386 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:45:37.390 INFO fake_servers:135 - now serving on port 39988
15:45:37.403 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:37.415 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:37.417 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--popup-redirection-url-prefix=http://localhost:39988/redirect?url=([^&]*).* http://localhost:39988/get-redirect --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:45:37.509 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--popup-redirection-url-prefix=http://localhost:39988/redirect\?url=([^&]*).*', 'http://localhost:39988/get-redirect', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:45:41] "GET /get-redirect HTTP/1.1" 200 -
15:45:41.988 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:45:41.989 DEBUG _uinput:470 - Tapping at: 270,500
127.0.0.1 - - [16/Jan/2015 15:45:42] code 404, message Not Found
127.0.0.1 - - [16/Jan/2015 15:45:42] "GET /redirect?url=myredirect&s=1&r=2 HTTP/1.1" 404 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 58755)
Traceback (most recent call last):
File "/usr/lib/python3.4/socketserver.py", line 305, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.4/socketserver.py", line 331, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.4/socketserver.py", line 669, in __init__
self.handle()
File "/usr/lib/python3.4/http/server.py", line 398, in handle
self.handle_one_request()
File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
method()
File "/usr/lib/python3/dist-packages/webapp_container/tests/fake_servers.py", line 125, in do_GET
self.send_error(404)
File "/usr/lib/python3.4/http/server.py", line 439, in send_error
self.wfile.write(body)
File "/usr/lib/python3.4/socket.py", line 391, in write
return self._sock.send(b)
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------
15:45:42.154 INFO _launcher:544 - waiting for process to exit.
15:45:42.155 INFO _launcher:567 - Killing process 11390
15:45:42.643 INFO testresult:44 - OK: webapp_container.tests.test_redirection_pattern.WebappContainerRedirectionPatternTestCase.test_browse_to_redirection_pattern_url
15:45:42.645 INFO _logging:40 - ************************************************************
15:45:42.646 INFO _logging:41 - Starting test webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_container_does_not_load_with_no_webapp_name_and_url
15:45:42.647 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:45:42.653 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:45:42.655 INFO fake_servers:135 - now serving on port 37664
15:45:42.657 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:45:42.715 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
15:45:44.785 INFO _launcher:544 - waiting for process to exit.
15:45:44.786 INFO _launcher:567 - Killing process 11502
15:45:44.787 INFO _launcher:570 - Appears process has already exited.
15:45:45.163 INFO testresult:44 - OK: webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_container_does_not_load_with_no_webapp_name_and_url
15:45:45.167 INFO _logging:40 - ************************************************************
15:45:45.168 INFO _logging:41 - Starting test webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase.test_pattern_with_different_targetted_url
15:45:45.170 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:45:45.179 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:45:45.181 INFO fake_servers:135 - now serving on port 46730
15:45:45.188 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:45.194 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:45.195 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--webappUrlPatterns=http://www.test.com/* http://www.test.com/with-different-targetted-link --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:45:45.246 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--webappUrlPatterns=http://www.test.com/*', 'http://www.test.com/with-different-targetted-link', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:45:49] "GET /with-different-targetted-link HTTP/1.1" 200 -
15:45:49.566 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:45:49.567 DEBUG _uinput:470 - Tapping at: 270,500
15:45:49.749 INFO _launcher:544 - waiting for process to exit.
15:45:49.751 INFO _launcher:567 - Killing process 11539
15:45:50.282 INFO testresult:44 - OK: webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase.test_pattern_with_different_targetted_url
15:45:50.284 INFO _logging:40 - ************************************************************
15:45:50.285 INFO _logging:41 - Starting test webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_local_app_with_webapp_name
15:45:50.286 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:45:50.291 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:45:50.294 INFO fake_servers:135 - now serving on port 32971
15:45:50.304 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:50.306 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--webapp=DEADBEEF ./index.html --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:45:50.399 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--webapp=DEADBEEF', './index.html', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
15:45:52.579 INFO _launcher:544 - waiting for process to exit.
15:45:52.580 INFO _launcher:567 - Killing process 11655
15:45:52.582 INFO _launcher:570 - Appears process has already exited.
15:45:52.799 INFO testresult:44 - OK: webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_local_app_with_webapp_name
15:45:52.803 INFO _logging:40 - ************************************************************
15:45:52.804 INFO _logging:41 - Starting test webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_local_app_with_webapps_model
15:45:52.807 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:45:52.816 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:45:52.821 INFO fake_servers:135 - now serving on port 43294
15:45:52.832 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:52.834 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--webappModelSearchPath=. ./index.html --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:45:52.927 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--webappModelSearchPath=.', './index.html', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
15:45:55.032 INFO _launcher:544 - waiting for process to exit.
15:45:55.033 INFO _launcher:567 - Killing process 11692
15:45:55.033 INFO _launcher:570 - Appears process has already exited.
15:45:55.328 INFO testresult:44 - OK: webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_local_app_with_webapps_model
15:45:55.333 INFO _logging:40 - ************************************************************
15:45:55.334 INFO _logging:41 - Starting test webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_webapps_launch_default_search_path
15:45:55.336 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:45:55.345 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:45:55.350 INFO fake_servers:135 - now serving on port 50127
15:45:55.368 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:55.373 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:45:55.375 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--webapp='dGVzdA==' --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:45:55.425 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', "--webapp='dGVzdA=='", '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:45:59] "GET / HTTP/1.1" 200 -
15:45:59.479 INFO _launcher:544 - waiting for process to exit.
15:45:59.480 INFO _launcher:567 - Killing process 11725
15:46:00.303 INFO testresult:44 - OK: webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_webapps_launch_default_search_path
15:46:00.307 INFO _logging:40 - ************************************************************
15:46:00.308 INFO _logging:41 - Starting test webapp_container.tests.test_chrome_setup.WebappContainerChromeSetupTestCase.test_enable_chrome_address_bar
15:46:00.311 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:46:00.319 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:46:00.322 INFO fake_servers:135 - now serving on port 47008
15:46:00.323 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--enable-addressbar http://localhost:47008/ --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:46:00.373 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--enable-addressbar', 'http://localhost:47008/', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:46:04] "GET / HTTP/1.1" 200 -
15:46:04.541 INFO _launcher:544 - waiting for process to exit.
15:46:04.542 INFO _launcher:567 - Killing process 11848
15:46:05.334 INFO testresult:44 - OK: webapp_container.tests.test_chrome_setup.WebappContainerChromeSetupTestCase.test_enable_chrome_address_bar
15:46:05.338 INFO _logging:40 - ************************************************************
15:46:05.339 INFO _logging:41 - Starting test webapp_container.tests.test_user_agent.WebappUserAgentTestCase.test_override_user_agent
15:46:05.341 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:46:05.351 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:46:05.355 INFO fake_servers:135 - now serving on port 52701
15:46:05.357 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--user-agent-string=MyUserAgent http://localhost:52701/show-user-agent --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:46:05.435 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--user-agent-string=MyUserAgent', 'http://localhost:52701/show-user-agent', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:46:09] "GET /show-user-agent HTTP/1.1" 200 -
15:46:09.619 INFO _launcher:544 - waiting for process to exit.
15:46:09.620 INFO _launcher:567 - Killing process 11956
15:46:10.353 INFO testresult:44 - OK: webapp_container.tests.test_user_agent.WebappUserAgentTestCase.test_override_user_agent
15:46:10.357 INFO _logging:40 - ************************************************************
15:46:10.358 INFO _logging:41 - Starting test webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_loads_with_url
15:46:10.360 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:46:10.370 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:46:10.374 INFO fake_servers:135 - now serving on port 45939
15:46:10.376 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--enable-addressbar http://localhost:45939/ --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:46:10.469 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--enable-addressbar', 'http://localhost:45939/', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:46:14] "GET / HTTP/1.1" 200 -
15:46:14.642 INFO _launcher:544 - waiting for process to exit.
15:46:14.644 INFO _launcher:567 - Killing process 12065
127.0.0.1 - - [16/Jan/2015 15:46:15] code 404, message Not Found
127.0.0.1 - - [16/Jan/2015 15:46:15] "GET /favicon.ico HTTP/1.1" 404 -
15:46:17.192 INFO testresult:44 - OK: webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_loads_with_url
15:46:17.196 INFO _logging:40 - ************************************************************
15:46:17.198 INFO _logging:41 - Starting test webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase.test_pattern_with_external_url
15:46:17.201 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:46:17.211 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:46:17.216 INFO fake_servers:135 - now serving on port 54536
15:46:17.228 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:46:17.240 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:46:17.242 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--webappUrlPatterns=http://www.test.com/* http://www.test.com/with-external-link --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:46:17.318 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--webappUrlPatterns=http://www.test.com/*', 'http://www.test.com/with-external-link', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:46:21] "GET /with-external-link HTTP/1.1" 200 -
15:46:21.633 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:46:21.634 DEBUG _uinput:470 - Tapping at: 270,500
15:46:21.766 INFO _launcher:544 - waiting for process to exit.
15:46:21.768 INFO _launcher:567 - Killing process 12203
15:46:22.395 INFO testresult:44 - OK: webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase.test_pattern_with_external_url
15:46:22.397 INFO _logging:40 - ************************************************************
15:46:22.398 INFO _logging:41 - Starting test webapp_container.tests.test_chrome_setup.WebappContainerChromeSetupTestCase.test_default_to_chromeless
15:46:22.399 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:46:22.405 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:46:22.407 INFO fake_servers:135 - now serving on port 52257
15:46:22.408 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments 'http://localhost:52257/ --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:46:22.462 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', 'http://localhost:52257/', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:46:26] "GET / HTTP/1.1" 200 -
15:46:26.582 INFO _launcher:544 - waiting for process to exit.
15:46:26.583 INFO _launcher:567 - Killing process 12321
15:46:27.491 INFO testresult:44 - OK: webapp_container.tests.test_chrome_setup.WebappContainerChromeSetupTestCase.test_default_to_chromeless
15:46:27.495 INFO _logging:40 - ************************************************************
15:46:27.497 INFO _logging:41 - Starting test webapp_container.tests.test_chrome_setup.WebappContainerChromeSetupTestCase.test_enable_chrome_back_forward
15:46:27.499 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:46:27.530 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:46:27.533 INFO fake_servers:135 - now serving on port 48343
15:46:27.534 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--enable-back-forward http://localhost:48343/ --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:46:27.585 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--enable-back-forward', 'http://localhost:48343/', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
127.0.0.1 - - [16/Jan/2015 15:46:31] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [16/Jan/2015 15:46:32] code 404, message Not Found
127.0.0.1 - - [16/Jan/2015 15:46:32] "GET /favicon.ico HTTP/1.1" 404 -
15:46:32.662 INFO _launcher:544 - waiting for process to exit.
15:46:32.663 INFO _launcher:567 - Killing process 12431
15:46:34.648 INFO testresult:44 - OK: webapp_container.tests.test_chrome_setup.WebappContainerChromeSetupTestCase.test_enable_chrome_back_forward
15:46:34.652 INFO _logging:40 - ************************************************************
15:46:34.653 INFO _logging:41 - Starting test webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_local_app_with_urls_patterns
15:46:34.655 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
15:46:34.665 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
15:46:34.669 INFO fake_servers:135 - now serving on port 49103
15:46:34.682 WARNING utilities:263 - WARNING: in file "/usr/lib/python3/dist-packages/webapp_container/tests/__init__.py", line 59 in launch_webcontainer_app
This function is deprecated. Please use 'fixtures.EnvironmentVariable' instead.
15:46:34.685 INFO _launcher:373 - Attempting to launch application 'b'/usr/bin/webapp-container'' with arguments '--webappUrlPatterns=https?://*.blabla.com/* ./index.html --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop' as a normal process
15:46:34.778 INFO _launcher:431 - Launching process: ['/usr/bin/webapp-container', '-testability', '--webappUrlPatterns=https?://*.blabla.com/*', './index.html', '--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop']
15:46:37.009 INFO _launcher:544 - waiting for process to exit.
15:46:37.010 INFO _launcher:567 - Killing process 12573
15:46:37.011 INFO _launcher:570 - Appears process has already exited.
15:46:37.176 INFO testresult:44 - OK: webapp_container.tests.test_app_launch.WebappContainerAppLaunchTestCase.test_local_app_with_urls_patterns
***** Artifacts (.) *****
54 KB/s (2223 bytes in 0.040s)
|