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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390 | (reverse-i-search)`bundle': ~/.local/bin/^Cndletester -F -l DEBUG -v
ubuntu@reviewqueue:~/charms/trusty/squid-reverseproxy$ clear
ubuntu@reviewqueue:~/charms/trusty/squid-reverseproxy$ ~/.local/bin/bundletester -F -l DEBUG -v
DEBUG:bundletester.utils:Updating JUJU_ENV: "" -> "local.reviewqueue:default"
DEBUG:root:Bootstrap environment: local.reviewqueue:default
DEBUG:deployer.env:Connecting to environment...
DEBUG:deployer.env:Connected to environment
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/usr/bin/charm-proof'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:Exit Code: 0
squid-reverseproxy
charm-proof PASS
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/usr/bin/make', '-s', 'lint'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:Checking for Python syntax...
DEBUG:runner:OK
DEBUG:runner:Exit Code: 0
make lint PASS
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/usr/bin/make', '-s', 'test'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:Reading package lists...
DEBUG:runner:Building dependency tree...
DEBUG:runner:Reading state information...
DEBUG:runner:bzr is already the newest version (2.7.0-2ubuntu1).
DEBUG:runner:make is already the newest version (4.1-6).
DEBUG:runner:python-mock is already the newest version (1.3.0-2.1ubuntu1).
DEBUG:runner:python-testtools is already the newest version (1.8.1-0ubuntu1).
DEBUG:runner:python-coverage is already the newest version (3.7.1+dfsg.1-1ubuntu7).
DEBUG:runner:python-nose is already the newest version (1.3.7-1).
DEBUG:runner:python-virtualenv is already the newest version (15.0.1+ds-3).
DEBUG:runner:python-pip is already the newest version (8.1.1-2ubuntu0.1).
DEBUG:runner:0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
DEBUG:runner:New python executable in /tmp/bundletester-nHmyUY/squid-reverseproxy/.venv/bin/python2
DEBUG:runner:Also creating executable in /tmp/bundletester-nHmyUY/squid-reverseproxy/.venv/bin/python
DEBUG:runner:Installing setuptools, pkg_resources, pip, wheel...done.
DEBUG:runner:Running virtualenv with interpreter /usr/bin/python2
DEBUG:runner:Starting tests...
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): nose in /home/ubuntu/.local/lib/python2.7/site-packages
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): testtools in /usr/local/lib/python2.7/dist-packages
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): mock in /home/ubuntu/.local/lib/python2.7/site-packages
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): pyyaml in /home/ubuntu/.local/lib/python2.7/site-packages
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): python-mimeparse in /usr/local/lib/python2.7/dist-packages (from testtools)
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): six>=1.4.0 in /home/ubuntu/.local/lib/python2.7/site-packages (from testtools)
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): fixtures>=1.3.0 in /usr/local/lib/python2.7/dist-packages (from testtools)
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): pbr>=0.11 in /home/ubuntu/.local/lib/python2.7/site-packages (from testtools)
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): extras>=1.0.0 in /usr/local/lib/python2.7/dist-packages (from testtools)
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): traceback2 in /usr/lib/python2.7/dist-packages (from testtools)
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): unittest2>=1.0.0 in /usr/lib/python2.7/dist-packages (from testtools)
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): funcsigs>=1; python_version < "3.3" in /home/ubuntu/.local/lib/python2.7/site-packages (from mock)
DEBUG:runner:Requirement already satisfied (use --upgrade to upgrade): linecache2 in /usr/lib/python2.7/dist-packages (from traceback2->testtools)
DEBUG:runner:...........................................................
DEBUG:runner:Name Stmts Miss Cover
DEBUG:runner:------------------------------
DEBUG:runner:hooks.py 339 136 60%
DEBUG:runner:----------------------------------------------------------------------
DEBUG:runner:Ran 59 tests in 0.745s
DEBUG:runner:
DEBUG:runner:OK
DEBUG:runner:Exit Code: 0
make test PASS
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/00-setup'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:+ dpkg -s amulet
DEBUG:runner:Package: amulet
DEBUG:runner:Status: install ok installed
DEBUG:runner:Priority: optional
DEBUG:runner:Section: python
DEBUG:runner:Installed-Size: 9
DEBUG:runner:Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
DEBUG:runner:Architecture: all
DEBUG:runner:Version: 1.15.0-0ubuntu1~ubuntu16.04.1~ppa2
DEBUG:runner:Depends: python3-amulet (>> 1.14.0), python-amulet (>> 1.14.0)
DEBUG:runner:Description: Testing harness for Juju Charms
DEBUG:runner:Original-Maintainer: Marco Ceppi <marco@ceppi.net>
DEBUG:runner:+ '[' 0 -ne 0 ']'
DEBUG:runner:+ sudo apt-get install -y python3-requests squidclient
DEBUG:runner:Reading package lists...
DEBUG:runner:Building dependency tree...
DEBUG:runner:Reading state information...
DEBUG:runner:python3-requests is already the newest version (2.9.1-3).
DEBUG:runner:squidclient is already the newest version (3.5.12-1ubuntu7.2).
DEBUG:runner:0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
DEBUG:runner:Exit Code: 0
00-setup PASS
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/12-nagios.py'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/usr/lib/python3/dist-packages/theblues/charmstore.py", line 39, in _get
DEBUG:runner: response.raise_for_status()
DEBUG:runner: File "/usr/lib/python3/dist-packages/requests/models.py", line 840, in raise_for_status
DEBUG:runner: raise HTTPError(http_error_msg, response=self)
DEBUG:runner:requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.jujucharms.com/v4/trusty/nrpe-external-master/meta/any?include=bundle-machine-count&include=bundle-metadata&include=bundle-unit-count&include=bundles-containing&include=charm-actions&include=charm-config&include=charm-metadata&include=common-info&include=extra-info&include=revision-info&include=stats&include=supported-series&include=manifest&include=tags&include=promulgated&include=perm&include=id
DEBUG:runner:
DEBUG:runner:During handling of the above exception, another exception occurred:
DEBUG:runner:
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/12-nagios.py", line 11, in <module>
DEBUG:runner: d.add('nrpe-external-master')
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 192, in add
DEBUG:runner: service_name, charm, branch=branch, series=service['series'])
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/charm.py", line 57, in fetch
DEBUG:runner: series=series)
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/charm.py", line 42, in get_charm
DEBUG:runner: return Charm(with_series(charm_path, series))
DEBUG:runner: File "/usr/lib/python3/dist-packages/charmstore/lib.py", line 155, in __init__
DEBUG:runner: super(Charm, self).__init__(id, api)
DEBUG:runner: File "/usr/lib/python3/dist-packages/charmstore/lib.py", line 105, in __init__
DEBUG:runner: AVAILABLE_INCLUDES).get('Meta')
DEBUG:runner: File "/usr/lib/python3/dist-packages/theblues/charmstore.py", line 91, in _meta
DEBUG:runner: data = self._get(url)
DEBUG:runner: File "/usr/lib/python3/dist-packages/theblues/charmstore.py", line 46, in _get
DEBUG:runner: raise EntityNotFound(url)
DEBUG:runner:theblues.errors.EntityNotFound: https://api.jujucharms.com/v4/trusty/nrpe-external-master/meta/any?include=bundle-machine-count&include=bundle-metadata&include=bundle-unit-count&include=bundles-containing&include=charm-actions&include=charm-config&include=charm-metadata&include=common-info&include=extra-info&include=revision-info&include=stats&include=supported-series&include=manifest&include=tags&include=promulgated&include=perm&include=id
DEBUG:runner:Exit Code: 1
12-nagios.py ERROR
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/13-squid-apache.py'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:2016-06-22 17:00:00 Starting deployment of local.reviewqueue:default
DEBUG:runner:2016-06-22 17:00:00 Error getting env api endpoints, env bootstrapped?
DEBUG:runner:2016-06-22 17:00:00 Command (juju api-endpoints -e local.reviewqueue:default) Output:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:2016-06-22 17:00:00 Deployment stopped. run time: 0.04
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/13-squid-apache.py", line 18, in <module>
DEBUG:runner: d.setup(timeout=seconds)
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
DEBUG:runner: subprocess.check_call(shlex.split(cmd))
DEBUG:runner: File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
DEBUG:runner: raise CalledProcessError(retcode, cmd)
DEBUG:runner:subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-491hzvtq/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
DEBUG:runner:Exit Code: 1
13-squid-apache.py ERROR
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/14-listening-port.py'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:2016-06-22 17:00:01 Starting deployment of local.reviewqueue:default
DEBUG:runner:2016-06-22 17:00:01 Error getting env api endpoints, env bootstrapped?
DEBUG:runner:2016-06-22 17:00:01 Command (juju api-endpoints -e local.reviewqueue:default) Output:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:2016-06-22 17:00:01 Deployment stopped. run time: 0.04
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/14-listening-port.py", line 23, in <module>
DEBUG:runner: d.setup(timeout=seconds)
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
DEBUG:runner: subprocess.check_call(shlex.split(cmd))
DEBUG:runner: File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
DEBUG:runner: raise CalledProcessError(retcode, cmd)
DEBUG:runner:subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-x7s284oi/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
DEBUG:runner:Exit Code: 1
14-listening-port.py ERROR
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/15-port-options.py'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:2016-06-22 17:00:03 Starting deployment of local.reviewqueue:default
DEBUG:runner:2016-06-22 17:00:03 Error getting env api endpoints, env bootstrapped?
DEBUG:runner:2016-06-22 17:00:03 Command (juju api-endpoints -e local.reviewqueue:default) Output:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:2016-06-22 17:00:03 Deployment stopped. run time: 0.03
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/15-port-options.py", line 25, in <module>
DEBUG:runner: d.setup(timeout=seconds)
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
DEBUG:runner: subprocess.check_call(shlex.split(cmd))
DEBUG:runner: File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
DEBUG:runner: raise CalledProcessError(retcode, cmd)
DEBUG:runner:subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-bn04jtm7/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
DEBUG:runner:Exit Code: 1
15-port-options.py ERROR
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/16-https.py'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/16-https.py", line 16, in <module>
DEBUG:runner: 'ssl_key': b64encode(open('cert.key').read()),
DEBUG:runner:FileNotFoundError: [Errno 2] No such file or directory: 'cert.key'
DEBUG:runner:Exit Code: 1
16-https.py ERROR
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/17-via.py'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:2016-06-22 17:00:05 Starting deployment of local.reviewqueue:default
DEBUG:runner:2016-06-22 17:00:05 Error getting env api endpoints, env bootstrapped?
DEBUG:runner:2016-06-22 17:00:05 Command (juju api-endpoints -e local.reviewqueue:default) Output:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:2016-06-22 17:00:05 Deployment stopped. run time: 0.03
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/17-via.py", line 18, in <module>
DEBUG:runner: d.setup(timeout=seconds)
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
DEBUG:runner: subprocess.check_call(shlex.split(cmd))
DEBUG:runner: File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
DEBUG:runner: raise CalledProcessError(retcode, cmd)
DEBUG:runner:subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-5ix7v0z6/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
DEBUG:runner:Exit Code: 1
17-via.py ERROR
DEBUG:deployer.env: Terminating machines forcefully
INFO:deployer.env: Waiting for machine termination
DEBUG:root:Waiting for services to be removed...
DEBUG:runner:call ['/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/19-snmp.py'] (cwd: /tmp/bundletester-nHmyUY/squid-reverseproxy)
DEBUG:runner:2016-06-22 17:00:07 Starting deployment of local.reviewqueue:default
DEBUG:runner:2016-06-22 17:00:07 Error getting env api endpoints, env bootstrapped?
DEBUG:runner:2016-06-22 17:00:07 Command (juju api-endpoints -e local.reviewqueue:default) Output:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:2016-06-22 17:00:07 Deployment stopped. run time: 0.04
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner: File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/19-snmp.py", line 23, in <module>
DEBUG:runner: d.setup(timeout=seconds)
DEBUG:runner: File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
DEBUG:runner: subprocess.check_call(shlex.split(cmd))
DEBUG:runner: File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
DEBUG:runner: raise CalledProcessError(retcode, cmd)
DEBUG:runner:subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-o_gymak_/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
DEBUG:runner:Exit Code: 1
19-snmp.py ERROR
DEBUG:bundletester.utils:Updating JUJU_ENV: "local.reviewqueue:default" -> ""
------------------------------------------------------------------------------
ERROR: squid-reverseproxy::12-nagios.py
[/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/12-nagios.py exit 1]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/theblues/charmstore.py", line 39, in _get
response.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 840, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.jujucharms.com/v4/trusty/nrpe-external-master/meta/any?include=bundle-machine-count&include=bundle-metadata&include=bundle-unit-count&include=bundles-containing&include=charm-actions&include=charm-config&include=charm-metadata&include=common-info&include=extra-info&include=revision-info&include=stats&include=supported-series&include=manifest&include=tags&include=promulgated&include=perm&include=id
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/12-nagios.py", line 11, in <module>
d.add('nrpe-external-master')
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 192, in add
service_name, charm, branch=branch, series=service['series'])
File "/usr/lib/python3/dist-packages/amulet/charm.py", line 57, in fetch
series=series)
File "/usr/lib/python3/dist-packages/amulet/charm.py", line 42, in get_charm
return Charm(with_series(charm_path, series))
File "/usr/lib/python3/dist-packages/charmstore/lib.py", line 155, in __init__
super(Charm, self).__init__(id, api)
File "/usr/lib/python3/dist-packages/charmstore/lib.py", line 105, in __init__
AVAILABLE_INCLUDES).get('Meta')
File "/usr/lib/python3/dist-packages/theblues/charmstore.py", line 91, in _meta
data = self._get(url)
File "/usr/lib/python3/dist-packages/theblues/charmstore.py", line 46, in _get
raise EntityNotFound(url)
theblues.errors.EntityNotFound: https://api.jujucharms.com/v4/trusty/nrpe-external-master/meta/any?include=bundle-machine-count&include=bundle-metadata&include=bundle-unit-count&include=bundles-containing&include=charm-actions&include=charm-config&include=charm-metadata&include=common-info&include=extra-info&include=revision-info&include=stats&include=supported-series&include=manifest&include=tags&include=promulgated&include=perm&include=id
------------------------------------------------------------------------------
ERROR: squid-reverseproxy::13-squid-apache.py
[/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/13-squid-apache.py exit 1]
2016-06-22 17:00:00 Starting deployment of local.reviewqueue:default
2016-06-22 17:00:00 Error getting env api endpoints, env bootstrapped?
2016-06-22 17:00:00 Command (juju api-endpoints -e local.reviewqueue:default) Output:
2016-06-22 17:00:00 Deployment stopped. run time: 0.04
Traceback (most recent call last):
File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/13-squid-apache.py", line 18, in <module>
d.setup(timeout=seconds)
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
subprocess.check_call(shlex.split(cmd))
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-491hzvtq/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
------------------------------------------------------------------------------
ERROR: squid-reverseproxy::14-listening-port.py
[/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/14-listening-port.py exit 1]
2016-06-22 17:00:01 Starting deployment of local.reviewqueue:default
2016-06-22 17:00:01 Error getting env api endpoints, env bootstrapped?
2016-06-22 17:00:01 Command (juju api-endpoints -e local.reviewqueue:default) Output:
2016-06-22 17:00:01 Deployment stopped. run time: 0.04
Traceback (most recent call last):
File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/14-listening-port.py", line 23, in <module>
d.setup(timeout=seconds)
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
subprocess.check_call(shlex.split(cmd))
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-x7s284oi/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
------------------------------------------------------------------------------
ERROR: squid-reverseproxy::15-port-options.py
[/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/15-port-options.py exit 1]
2016-06-22 17:00:03 Starting deployment of local.reviewqueue:default
2016-06-22 17:00:03 Error getting env api endpoints, env bootstrapped?
2016-06-22 17:00:03 Command (juju api-endpoints -e local.reviewqueue:default) Output:
2016-06-22 17:00:03 Deployment stopped. run time: 0.03
Traceback (most recent call last):
File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/15-port-options.py", line 25, in <module>
d.setup(timeout=seconds)
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
subprocess.check_call(shlex.split(cmd))
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-bn04jtm7/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
------------------------------------------------------------------------------
ERROR: squid-reverseproxy::16-https.py
[/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/16-https.py exit 1]
Traceback (most recent call last):
File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/16-https.py", line 16, in <module>
'ssl_key': b64encode(open('cert.key').read()),
FileNotFoundError: [Errno 2] No such file or directory: 'cert.key'
------------------------------------------------------------------------------
ERROR: squid-reverseproxy::17-via.py
[/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/17-via.py exit 1]
2016-06-22 17:00:05 Starting deployment of local.reviewqueue:default
2016-06-22 17:00:05 Error getting env api endpoints, env bootstrapped?
2016-06-22 17:00:05 Command (juju api-endpoints -e local.reviewqueue:default) Output:
2016-06-22 17:00:05 Deployment stopped. run time: 0.03
Traceback (most recent call last):
File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/17-via.py", line 18, in <module>
d.setup(timeout=seconds)
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
subprocess.check_call(shlex.split(cmd))
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-5ix7v0z6/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
------------------------------------------------------------------------------
ERROR: squid-reverseproxy::19-snmp.py
[/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/19-snmp.py exit 1]
2016-06-22 17:00:07 Starting deployment of local.reviewqueue:default
2016-06-22 17:00:07 Error getting env api endpoints, env bootstrapped?
2016-06-22 17:00:07 Command (juju api-endpoints -e local.reviewqueue:default) Output:
2016-06-22 17:00:07 Deployment stopped. run time: 0.04
Traceback (most recent call last):
File "/tmp/bundletester-nHmyUY/squid-reverseproxy/tests/19-snmp.py", line 23, in <module>
d.setup(timeout=seconds)
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 668, in setup
subprocess.check_call(shlex.split(cmd))
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-c', '/tmp/amulet-juju-deployer-o_gymak_/deployer-schema.json', '-e', 'local.reviewqueue:default', '-t', '20100', 'local.reviewqueue:default']' returned non-zero exit status 1
PASS: 4 ERROR: 7 Total: 11 (13.653099 sec)
ubuntu@reviewqueue:~/charms/trusty/squid-reverseproxy$
|