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
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713 | INFO:root:Workspace dir: /var/lib/jenkins/workspace/charm_amulet_test
INFO:root:Reading file: Makefile
INFO:root:Searching for: ['@juju test', '.venv/bin/bundletester']
INFO:root:command: make -f Makefile functional_test
Starting Amulet tests...
juju-test INFO : Starting test run on osci-sv08 using Juju 1.24.3
juju-test DEBUG : Loading configuration options from testplan YAML
juju-test DEBUG : Creating a new Conductor
juju-test.conductor DEBUG : Starting a bootstrap for osci-sv08, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap -e osci-sv08
Bootstrapping environment "osci-sv08"
Starting new instance for initial state server
Launching instance
- 2e980adb-05a2-4fe1-885f-a7c93a42a316
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.108.103:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Bootstrap complete
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e osci-sv08
juju-test.conductor DEBUG : State for 1.24.3: started
juju-test.conductor.00-setup DEBUG : Running 00-setup (tests/00-setup)
+ sudo add-apt-repository --yes ppa:juju/stable
gpg: keyring `/tmp/tmpzw42b0ny/secring.gpg' created
gpg: keyring `/tmp/tmpzw42b0ny/pubring.gpg' created
gpg: requesting key C8068B11 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpzw42b0ny/trustdb.gpg: trustdb created
gpg: key C8068B11: public key "Launchpad Ensemble PPA" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
+ sudo apt-get update --yes
+ sudo apt-get install --yes python-amulet python-cinderclient python-distro-info python-glanceclient python-heatclient python-keystoneclient python-novaclient python-swiftclient
juju-test.conductor.00-setup DEBUG : OK
Ign http://nova.clouds.archive.ubuntu.com trusty InRelease
Ign http://nova.clouds.archive.ubuntu.com trusty-updates InRelease
Hit http://nova.clouds.archive.ubuntu.com trusty Release.gpg
Get:1 http://nova.clouds.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://nova.clouds.archive.ubuntu.com trusty Release
Get:2 http://nova.clouds.archive.ubuntu.com trusty-updates Release [63.5 kB]
Hit http://nova.clouds.archive.ubuntu.com trusty/main Sources
Hit http://nova.clouds.archive.ubuntu.com trusty/universe Sources
Hit http://nova.clouds.archive.ubuntu.com trusty/main amd64 Packages
Hit http://nova.clouds.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://nova.clouds.archive.ubuntu.com trusty/main Translation-en
Hit http://nova.clouds.archive.ubuntu.com trusty/universe Translation-en
Get:3 http://nova.clouds.archive.ubuntu.com trusty-updates/main Sources [228 kB]
Get:4 http://nova.clouds.archive.ubuntu.com trusty-updates/universe Sources [131 kB]
Get:5 http://nova.clouds.archive.ubuntu.com trusty-updates/main amd64 Packages [599 kB]
Ign http://security.ubuntu.com trusty-security InRelease
Get:6 http://nova.clouds.archive.ubuntu.com trusty-updates/universe amd64 Packages [302 kB]
Hit http://nova.clouds.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://nova.clouds.archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://security.ubuntu.com trusty-security Release
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://ppa.launchpad.net trusty Release
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Fetched 1325 kB in 3s (376 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python-distro-info is already the newest version.
python-glanceclient is already the newest version.
python-heatclient is already the newest version.
python-swiftclient is already the newest version.
python-cinderclient is already the newest version.
python-keystoneclient is already the newest version.
python-novaclient is already the newest version.
python-amulet is already the newest version.
The following packages were automatically installed and are no longer required:
libblas3 liblinear-tools liblinear1 liblua5.2-0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 129 not upgraded.
juju-test.conductor.00-setup RESULT : PASS
juju-test.conductor DEBUG : Tearing down osci-sv08 juju environment
juju-test.conductor DEBUG : Calling "juju destroy-environment -y osci-sv08"
WARNING cannot delete security group "juju-osci-sv08-0". Used by another environment?
juju-test.conductor DEBUG : Starting a bootstrap for osci-sv08, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap -e osci-sv08
Bootstrapping environment "osci-sv08"
Starting new instance for initial state server
Launching instance
- 1eb1b509-28d6-4d50-855f-a4c3debe65eb
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.108.104:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Bootstrap complete
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e osci-sv08
juju-test.conductor DEBUG : State for 1.24.3: started
juju-test.conductor.014-basic-precise-icehouse DEBUG : Running 014-basic-precise-icehouse (tests/014-basic-precise-icehouse)
2015-08-10 15:41:28 Starting deployment of osci-sv08
2015-08-10 15:41:52 Deploying services...
2015-08-10 15:41:52 Deploying service glance using local:precise/glance
2015-08-10 15:41:57 Deploying service keystone using local:precise/keystone
2015-08-10 15:42:02 Deploying service mysql using local:precise/mysql
2015-08-10 15:42:06 Deploying service rabbitmq-server using local:precise/rabbitmq-server
2015-08-10 15:47:18 Adding relations...
2015-08-10 15:47:19 Adding relation glance:identity-service <-> keystone:identity-service
2015-08-10 15:47:19 Adding relation glance:shared-db <-> mysql:shared-db
2015-08-10 15:47:19 Adding relation glance:amqp <-> rabbitmq-server:amqp
2015-08-10 15:47:19 Adding relation keystone:shared-db <-> mysql:shared-db
2015-08-10 15:48:20 Deployment complete in 411.87 seconds
juju-test.conductor.014-basic-precise-icehouse DEBUG : 2015-08-10 15:41:15,317 get_ubuntu_releases DEBUG: Ubuntu release list: ['warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty', 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid', 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy', 'trusty', 'utopic', 'vivid', 'wily']
2015-08-10 15:48:48,548 _initialize_tests DEBUG: openstack release val: 4
2015-08-10 15:48:48,548 _initialize_tests DEBUG: openstack release str: icehouse
2015-08-10 15:49:18,578 authenticate_keystone_admin DEBUG: Authenticating keystone admin...
2015-08-10 15:49:24,959 authenticate_glance_admin DEBUG: Authenticating glance admin...
2015-08-10 15:49:24,960 validate_services_by_name DEBUG: Checking status of system services...
2015-08-10 15:49:26,242 get_ubuntu_release_from_sentry DEBUG: keystone/0 lsb_release: precise
2015-08-10 15:49:27,070 validate_services_by_name DEBUG: keystone/0 `sudo status keystone` returned 0
2015-08-10 15:49:28,317 get_ubuntu_release_from_sentry DEBUG: rabbitmq-server/0 lsb_release: precise
2015-08-10 15:49:30,149 validate_services_by_name DEBUG: rabbitmq-server/0 `sudo service rabbitmq-server status` returned 0
2015-08-10 15:49:31,431 get_ubuntu_release_from_sentry DEBUG: mysql/0 lsb_release: precise
2015-08-10 15:49:32,862 validate_services_by_name DEBUG: mysql/0 `sudo status mysql` returned 0
2015-08-10 15:49:34,296 get_ubuntu_release_from_sentry DEBUG: glance/0 lsb_release: precise
2015-08-10 15:49:35,741 validate_services_by_name DEBUG: glance/0 `sudo status glance-api` returned 0
2015-08-10 15:49:36,644 validate_services_by_name DEBUG: glance/0 `sudo status glance-registry` returned 0
2015-08-10 15:49:36,644 test_102_service_catalog DEBUG: Checking keystone service catalog...
2015-08-10 15:49:36,644 validate_svc_catalog_endpoint_data DEBUG: Validating service catalog endpoint data...
2015-08-10 15:49:36,645 validate_svc_catalog_endpoint_data DEBUG: actual: {u'image': [{u'adminURL': u'http://172.17.108.105:9292', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.105:9292', u'internalURL': u'http://172.17.108.105:9292', u'id': u'471ef8636db24864aa1ee5bd5724ab76'}], u'identity': [{u'adminURL': u'http://172.17.108.106:35357/v2.0', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.106:5000/v2.0', u'internalURL': u'http://172.17.108.106:5000/v2.0', u'id': u'4144fe29a7574f47a72358d5c9111a90'}]}
2015-08-10 15:49:36,645 _validate_dict_data DEBUG: actual: {u'adminURL': u'http://172.17.108.105:9292', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.105:9292', u'internalURL': u'http://172.17.108.105:9292', u'id': u'471ef8636db24864aa1ee5bd5724ab76'}
2015-08-10 15:49:36,645 _validate_dict_data DEBUG: expected: {'adminURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'region': 'RegionOne', 'internalURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'publicURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>}
2015-08-10 15:49:36,651 _validate_dict_data DEBUG: actual: {u'adminURL': u'http://172.17.108.106:35357/v2.0', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.106:5000/v2.0', u'internalURL': u'http://172.17.108.106:5000/v2.0', u'id': u'4144fe29a7574f47a72358d5c9111a90'}
2015-08-10 15:49:36,651 _validate_dict_data DEBUG: expected: {'adminURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'region': 'RegionOne', 'internalURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'publicURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>}
2015-08-10 15:49:36,652 test_104_glance_endpoint DEBUG: Checking glance api endpoint data...
2015-08-10 15:49:36,689 validate_endpoint_data DEBUG: Validating endpoint data...
2015-08-10 15:49:36,689 validate_endpoint_data DEBUG: actual: [<Endpoint {u'adminurl': u'http://172.17.108.106:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'id': u'd7cccac88baa48ae938a1b7ce00f8f8a', u'service_id': u'186b7d382d38448782982b6bf1cada79', u'internalurl': u'http://172.17.108.106:5000/v2.0', u'publicurl': u'http://172.17.108.106:5000/v2.0'}>, <Endpoint {u'adminurl': u'http://172.17.108.105:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'87f9bb7e47cd4687bef8c9cdc256794f', u'service_id': u'3e2867083e1345249d06b393582b35fb', u'internalurl': u'http://172.17.108.105:9292', u'publicurl': u'http://172.17.108.105:9292'}>]
2015-08-10 15:49:36,689 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.106:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'id': u'd7cccac88baa48ae938a1b7ce00f8f8a', u'service_id': u'186b7d382d38448782982b6bf1cada79', u'internalurl': u'http://172.17.108.106:5000/v2.0', u'publicurl': u'http://172.17.108.106:5000/v2.0'}>
2015-08-10 15:49:36,689 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.105:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'87f9bb7e47cd4687bef8c9cdc256794f', u'service_id': u'3e2867083e1345249d06b393582b35fb', u'internalurl': u'http://172.17.108.105:9292', u'publicurl': u'http://172.17.108.105:9292'}>
2015-08-10 15:49:36,690 _validate_dict_data DEBUG: actual: {'adminurl': u'http://172.17.108.105:9292', 'region': u'RegionOne', 'internalurl': u'http://172.17.108.105:9292', 'service_id': u'3e2867083e1345249d06b393582b35fb', 'id': u'87f9bb7e47cd4687bef8c9cdc256794f', 'publicurl': u'http://172.17.108.105:9292'}
2015-08-10 15:49:36,690 _validate_dict_data DEBUG: expected: {'adminurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'region': 'RegionOne', 'internalurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'service_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'publicurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>}
2015-08-10 15:49:36,690 test_106_keystone_endpoint DEBUG: Checking keystone api endpoint data...
2015-08-10 15:49:36,717 validate_endpoint_data DEBUG: Validating endpoint data...
2015-08-10 15:49:36,717 validate_endpoint_data DEBUG: actual: [<Endpoint {u'adminurl': u'http://172.17.108.106:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'id': u'd7cccac88baa48ae938a1b7ce00f8f8a', u'service_id': u'186b7d382d38448782982b6bf1cada79', u'internalurl': u'http://172.17.108.106:5000/v2.0', u'publicurl': u'http://172.17.108.106:5000/v2.0'}>, <Endpoint {u'adminurl': u'http://172.17.108.105:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'87f9bb7e47cd4687bef8c9cdc256794f', u'service_id': u'3e2867083e1345249d06b393582b35fb', u'internalurl': u'http://172.17.108.105:9292', u'publicurl': u'http://172.17.108.105:9292'}>]
2015-08-10 15:49:36,717 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.106:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'id': u'd7cccac88baa48ae938a1b7ce00f8f8a', u'service_id': u'186b7d382d38448782982b6bf1cada79', u'internalurl': u'http://172.17.108.106:5000/v2.0', u'publicurl': u'http://172.17.108.106:5000/v2.0'}>
2015-08-10 15:49:36,718 _validate_dict_data DEBUG: actual: {'adminurl': u'http://172.17.108.106:35357/v2.0', 'region': u'RegionOne', 'internalurl': u'http://172.17.108.106:5000/v2.0', 'service_id': u'186b7d382d38448782982b6bf1cada79', 'id': u'd7cccac88baa48ae938a1b7ce00f8f8a', 'publicurl': u'http://172.17.108.106:5000/v2.0'}
2015-08-10 15:49:36,718 _validate_dict_data DEBUG: expected: {'adminurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'region': 'RegionOne', 'internalurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'service_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'publicurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>}
2015-08-10 15:49:36,718 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.105:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'87f9bb7e47cd4687bef8c9cdc256794f', u'service_id': u'3e2867083e1345249d06b393582b35fb', u'internalurl': u'http://172.17.108.105:9292', u'publicurl': u'http://172.17.108.105:9292'}>
2015-08-10 15:49:36,718 test_110_users DEBUG: Checking keystone users...
2015-08-10 15:49:36,747 validate_user_data DEBUG: Validating user data...
2015-08-10 15:49:36,747 validate_user_data DEBUG: actual: [<User {u'username': u'glance', u'name': u'glance', u'enabled': True, u'tenantId': u'283bc8a0f0014c618df33b1e84ffe0c3', u'id': u'9963227cff7849ad873016f31d1e1e72', u'email': u'juju@localhost'}>, <User {u'username': u'admin', u'name': u'admin', u'enabled': True, u'tenantId': u'c29ea0cc2ea84fa9841fb45fc91eab24', u'id': u'b0e6045963224ba08ec752070fcd179c', u'email': u'juju@localhost'}>]
2015-08-10 15:49:36,748 _validate_dict_data DEBUG: actual: {'id': u'9963227cff7849ad873016f31d1e1e72', 'tenantId': u'283bc8a0f0014c618df33b1e84ffe0c3', 'enabled': True, 'name': u'glance', 'email': u'juju@localhost'}
2015-08-10 15:49:36,748 _validate_dict_data DEBUG: expected: {'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'email': 'juju@localhost', 'enabled': True, 'name': 'glance', 'tenantId': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>}
2015-08-10 15:49:36,748 _validate_dict_data DEBUG: actual: {'id': u'b0e6045963224ba08ec752070fcd179c', 'tenantId': u'c29ea0cc2ea84fa9841fb45fc91eab24', 'enabled': True, 'name': u'admin', 'email': u'juju@localhost'}
2015-08-10 15:49:36,748 _validate_dict_data DEBUG: expected: {'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'email': 'juju@localhost', 'enabled': True, 'name': 'admin', 'tenantId': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>}
2015-08-10 15:49:36,748 test_200_mysql_glance_db_relation DEBUG: Checking mysql to glance shared-db relation data...
2015-08-10 15:49:44,135 _validate_dict_data DEBUG: actual: {u'allowed_units': u'glance/0', u'password': u'cY661VOWAMvnW249', u'db_host': u'172.17.108.107', u'private-address': u'172.17.108.107'}
2015-08-10 15:49:44,135 _validate_dict_data DEBUG: expected: {'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'db_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>}
2015-08-10 15:49:44,136 test_201_glance_mysql_db_relation DEBUG: Checking glance to mysql shared-db relation data...
2015-08-10 15:49:49,743 _validate_dict_data DEBUG: actual: {u'username': u'glance', u'private-address': u'172.17.108.105', u'hostname': u'172.17.108.105', u'database': u'glance'}
2015-08-10 15:49:49,743 _validate_dict_data DEBUG: expected: {'username': 'glance', 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'hostname': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'database': 'glance'}
2015-08-10 15:49:49,744 test_202_keystone_glance_id_relation DEBUG: Checking keystone to glance id relation data...
2015-08-10 15:49:56,428 _validate_dict_data DEBUG: actual: {u'service_protocol': u'http', u'service_tenant': u'services', u'admin_token': u'ubuntutesting', u'service_password': u'tfXsZxcrdNxRMSGCycZ5ctJVSqJBhppBKmpYgKJTqmPrmHbTf8P9F4tSPgfkxNdS', u'service_port': u'5000', u'auth_port': u'35357', u'auth_protocol': u'http', u'private-address': u'172.17.108.106', u'auth_host': u'172.17.108.106', u'service_username': u'glance', u'service_tenant_id': u'283bc8a0f0014c618df33b1e84ffe0c3', u'service_host': u'172.17.108.106'}
2015-08-10 15:49:56,428 _validate_dict_data DEBUG: expected: {'admin_token': 'ubuntutesting', 'auth_port': '35357', 'auth_protocol': 'http', 'auth_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'service_username': 'glance', 'service_tenant_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'service_protocol': 'http', 'service_tenant': 'services', 'service_password': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'service_port': '5000', 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'service_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>}
2015-08-10 15:49:56,428 test_203_glance_keystone_id_relation DEBUG: Checking glance to keystone relation data...
2015-08-10 15:50:02,542 _validate_dict_data DEBUG: actual: {u'service': u'glance', u'region': u'RegionOne', u'public_url': u'http://172.17.108.105:9292', u'internal_url': u'http://172.17.108.105:9292', u'private-address': u'172.17.108.105', u'admin_url': u'http://172.17.108.105:9292'}
2015-08-10 15:50:02,542 _validate_dict_data DEBUG: expected: {'service': 'glance', 'admin_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'public_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'internal_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'region': 'RegionOne'}
2015-08-10 15:50:02,542 test_204_rabbitmq_glance_amqp_relation DEBUG: Checking rmq to glance amqp relation data...
2015-08-10 15:50:08,667 _validate_dict_data DEBUG: actual: {u'private-address': u'172.17.108.108', u'password': u'pPXmpVy7pjT3hwz4TwxXZxBCLkjgK2wVbb8dMckf2mkww5jPJgZZkCm8SsFcmpRw', u'hostname': u'172.17.108.108'}
2015-08-10 15:50:08,668 _validate_dict_data DEBUG: expected: {'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'password': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'hostname': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>}
2015-08-10 15:50:08,668 test_205_glance_rabbitmq_amqp_relation DEBUG: Checking glance to rmq amqp relation data...
2015-08-10 15:50:14,763 _validate_dict_data DEBUG: actual: {u'username': u'glance', u'private-address': u'172.17.108.105', u'vhost': u'openstack'}
2015-08-10 15:50:14,763 _validate_dict_data DEBUG: expected: {'username': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b82f3f9d250>>, 'vhost': 'openstack'}
2015-08-10 15:50:14,764 test_300_glance_api_default_config DEBUG: Checking glance api config file...
2015-08-10 15:50:34,211 validate_config_data DEBUG: Validating config file data (DEFAULT in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 15:50:35,524 validate_config_data DEBUG: Validating config file data (keystone_authtoken in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 15:50:36,387 validate_config_data DEBUG: Validating config file data (database in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 15:50:37,900 test_302_glance_registry_default_config DEBUG: Checking glance registry config file...
2015-08-10 15:50:51,295 validate_config_data DEBUG: Validating config file data (DEFAULT in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 15:50:52,611 validate_config_data DEBUG: Validating config file data (keystone_authtoken in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 15:50:53,466 validate_config_data DEBUG: Validating config file data (database in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 15:50:54,871 test_304_glance_api_paste_auth_config DEBUG: Checking glance api paste config file...
2015-08-10 15:50:54,871 validate_config_data DEBUG: Validating config file data (filter:authtoken in /etc/glance/glance-api-paste.ini on glance/0)...
2015-08-10 15:50:55,720 test_306_glance_registry_paste_auth_config DEBUG: Checking glance registry paste config file...
2015-08-10 15:50:55,720 validate_config_data DEBUG: Validating config file data (filter:authtoken in /etc/glance/glance-registry-paste.ini on glance/0)...
2015-08-10 15:50:57,296 test_410_glance_image_create_delete DEBUG: Creating, checking and deleting glance image...
2015-08-10 15:50:57,297 create_cirros_image DEBUG: Creating glance cirros image (cirros-image-1)...
2015-08-10 15:50:57,297 create_cirros_image DEBUG: AMULET_HTTP_PROXY: http://squid.internal:3128/
2015-08-10 15:51:18,851 resource_reaches_status DEBUG: Image status wait: expected, actual status = active, active
2015-08-10 15:51:18,851 create_cirros_image DEBUG: Validating image attributes...
2015-08-10 15:51:19,188 create_cirros_image DEBUG: Image attributes - name:cirros-image-1 public:True id:0c408a20-73be-4d46-b889-c53e2d5f1c4c stat:active container fmt:bare disk fmt:qcow2
2015-08-10 15:51:19,188 delete_resource DEBUG: Deleting OpenStack resource 0c408a20-73be-4d46-b889-c53e2d5f1c4c (glance image)
2015-08-10 15:51:19,462 delete_resource DEBUG: glance image: expected, actual count = 0, 0
2015-08-10 15:51:19,463 test_900_glance_restart_on_config_change DEBUG: Making config change on glance...
2015-08-10 15:51:20,094 test_900_glance_restart_on_config_change DEBUG: Checking that service restarted: glance-api
2015-08-10 15:51:51,611 _get_proc_start_time DEBUG: CMDout: (u'17003', 0)
2015-08-10 15:51:51,611 _get_proc_start_time DEBUG: Pid for glance-api 17003
2015-08-10 15:51:53,990 test_900_glance_restart_on_config_change DEBUG: Checking that service restarted: glance-registry
2015-08-10 15:51:55,527 _get_proc_start_time DEBUG: CMDout: (u'16999', 0)
2015-08-10 15:51:55,527 _get_proc_start_time DEBUG: Pid for glance-registry 16999
juju-test.conductor.014-basic-precise-icehouse RESULT : PASS
juju-test.conductor DEBUG : Tearing down osci-sv08 juju environment
juju-test.conductor DEBUG : Calling "juju destroy-environment -y osci-sv08"
WARNING cannot delete security group "juju-osci-sv08-0". Used by another environment?
juju-test.conductor DEBUG : Starting a bootstrap for osci-sv08, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap -e osci-sv08
Bootstrapping environment "osci-sv08"
Starting new instance for initial state server
Launching instance
- de20f5bd-3c26-4275-974d-862c3fd4fb88
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.108.109:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Bootstrap complete
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e osci-sv08
juju-test.conductor DEBUG : State for 1.24.3: started
juju-test.conductor.015-basic-trusty-icehouse DEBUG : Running 015-basic-trusty-icehouse (tests/015-basic-trusty-icehouse)
2015-08-10 15:54:39 Starting deployment of osci-sv08
2015-08-10 15:55:08 Deploying services...
2015-08-10 15:55:08 Deploying service glance using local:trusty/glance
2015-08-10 15:55:13 Deploying service keystone using local:trusty/keystone
2015-08-10 15:55:18 Deploying service mysql using local:trusty/mysql
2015-08-10 15:55:23 Deploying service rabbitmq-server using local:trusty/rabbitmq-server
2015-08-10 16:00:01 Adding relations...
2015-08-10 16:00:01 Adding relation glance:identity-service <-> keystone:identity-service
2015-08-10 16:00:02 Adding relation glance:shared-db <-> mysql:shared-db
2015-08-10 16:00:02 Adding relation glance:amqp <-> rabbitmq-server:amqp
2015-08-10 16:00:02 Adding relation keystone:shared-db <-> mysql:shared-db
2015-08-10 16:01:03 Deployment complete in 383.81 seconds
juju-test.conductor.015-basic-trusty-icehouse DEBUG : 2015-08-10 15:54:26,688 get_ubuntu_releases DEBUG: Ubuntu release list: ['warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty', 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid', 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy', 'trusty', 'utopic', 'vivid', 'wily']
2015-08-10 16:01:31,690 _initialize_tests DEBUG: openstack release val: 5
2015-08-10 16:01:31,691 _initialize_tests DEBUG: openstack release str: icehouse
2015-08-10 16:02:01,722 authenticate_keystone_admin DEBUG: Authenticating keystone admin...
2015-08-10 16:02:09,752 authenticate_glance_admin DEBUG: Authenticating glance admin...
2015-08-10 16:02:09,753 validate_services_by_name DEBUG: Checking status of system services...
2015-08-10 16:02:10,735 get_ubuntu_release_from_sentry DEBUG: mysql/0 lsb_release: trusty
2015-08-10 16:02:12,238 validate_services_by_name DEBUG: mysql/0 `sudo status mysql` returned 0
2015-08-10 16:02:13,593 get_ubuntu_release_from_sentry DEBUG: glance/0 lsb_release: trusty
2015-08-10 16:02:15,475 validate_services_by_name DEBUG: glance/0 `sudo status glance-api` returned 0
2015-08-10 16:02:16,368 validate_services_by_name DEBUG: glance/0 `sudo status glance-registry` returned 0
2015-08-10 16:02:17,615 get_ubuntu_release_from_sentry DEBUG: rabbitmq-server/0 lsb_release: trusty
2015-08-10 16:02:19,316 validate_services_by_name DEBUG: rabbitmq-server/0 `sudo service rabbitmq-server status` returned 0
2015-08-10 16:02:20,632 get_ubuntu_release_from_sentry DEBUG: keystone/0 lsb_release: trusty
2015-08-10 16:02:21,445 validate_services_by_name DEBUG: keystone/0 `sudo status keystone` returned 0
2015-08-10 16:02:21,445 test_102_service_catalog DEBUG: Checking keystone service catalog...
2015-08-10 16:02:21,446 validate_svc_catalog_endpoint_data DEBUG: Validating service catalog endpoint data...
2015-08-10 16:02:21,446 validate_svc_catalog_endpoint_data DEBUG: actual: {u'image': [{u'adminURL': u'http://172.17.108.110:9292', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.110:9292', u'internalURL': u'http://172.17.108.110:9292', u'id': u'2bf59444a5e347cab04c27f375a8ff3b'}], u'identity': [{u'adminURL': u'http://172.17.108.111:35357/v2.0', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.111:5000/v2.0', u'internalURL': u'http://172.17.108.111:5000/v2.0', u'id': u'52cdf1925b7643b9b25850b2477e16cc'}]}
2015-08-10 16:02:21,446 _validate_dict_data DEBUG: actual: {u'adminURL': u'http://172.17.108.110:9292', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.110:9292', u'internalURL': u'http://172.17.108.110:9292', u'id': u'2bf59444a5e347cab04c27f375a8ff3b'}
2015-08-10 16:02:21,447 _validate_dict_data DEBUG: expected: {'adminURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'region': 'RegionOne', 'internalURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'publicURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>}
2015-08-10 16:02:21,453 _validate_dict_data DEBUG: actual: {u'adminURL': u'http://172.17.108.111:35357/v2.0', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.111:5000/v2.0', u'internalURL': u'http://172.17.108.111:5000/v2.0', u'id': u'52cdf1925b7643b9b25850b2477e16cc'}
2015-08-10 16:02:21,453 _validate_dict_data DEBUG: expected: {'adminURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'region': 'RegionOne', 'internalURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'publicURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>}
2015-08-10 16:02:21,453 test_104_glance_endpoint DEBUG: Checking glance api endpoint data...
2015-08-10 16:02:21,491 validate_endpoint_data DEBUG: Validating endpoint data...
2015-08-10 16:02:21,492 validate_endpoint_data DEBUG: actual: [<Endpoint {u'adminurl': u'http://172.17.108.110:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'15e5908bc6b04d6a90ddce9220920c05', u'service_id': u'1de96d1ca5e14e1e8ffac72ab565f9ef', u'internalurl': u'http://172.17.108.110:9292', u'publicurl': u'http://172.17.108.110:9292'}>, <Endpoint {u'adminurl': u'http://172.17.108.111:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'id': u'bed7b649a5ae4409a66dcc2b80f79de0', u'service_id': u'cc987eb9e8cc4aa884244585ea9ff3b1', u'internalurl': u'http://172.17.108.111:5000/v2.0', u'publicurl': u'http://172.17.108.111:5000/v2.0'}>]
2015-08-10 16:02:21,492 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.110:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'15e5908bc6b04d6a90ddce9220920c05', u'service_id': u'1de96d1ca5e14e1e8ffac72ab565f9ef', u'internalurl': u'http://172.17.108.110:9292', u'publicurl': u'http://172.17.108.110:9292'}>
2015-08-10 16:02:21,492 _validate_dict_data DEBUG: actual: {'adminurl': u'http://172.17.108.110:9292', 'region': u'RegionOne', 'internalurl': u'http://172.17.108.110:9292', 'service_id': u'1de96d1ca5e14e1e8ffac72ab565f9ef', 'id': u'15e5908bc6b04d6a90ddce9220920c05', 'publicurl': u'http://172.17.108.110:9292'}
2015-08-10 16:02:21,492 _validate_dict_data DEBUG: expected: {'adminurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'region': 'RegionOne', 'internalurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'service_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'publicurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>}
2015-08-10 16:02:21,492 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.111:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'id': u'bed7b649a5ae4409a66dcc2b80f79de0', u'service_id': u'cc987eb9e8cc4aa884244585ea9ff3b1', u'internalurl': u'http://172.17.108.111:5000/v2.0', u'publicurl': u'http://172.17.108.111:5000/v2.0'}>
2015-08-10 16:02:21,493 test_106_keystone_endpoint DEBUG: Checking keystone api endpoint data...
2015-08-10 16:02:21,520 validate_endpoint_data DEBUG: Validating endpoint data...
2015-08-10 16:02:21,521 validate_endpoint_data DEBUG: actual: [<Endpoint {u'adminurl': u'http://172.17.108.110:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'15e5908bc6b04d6a90ddce9220920c05', u'service_id': u'1de96d1ca5e14e1e8ffac72ab565f9ef', u'internalurl': u'http://172.17.108.110:9292', u'publicurl': u'http://172.17.108.110:9292'}>, <Endpoint {u'adminurl': u'http://172.17.108.111:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'id': u'bed7b649a5ae4409a66dcc2b80f79de0', u'service_id': u'cc987eb9e8cc4aa884244585ea9ff3b1', u'internalurl': u'http://172.17.108.111:5000/v2.0', u'publicurl': u'http://172.17.108.111:5000/v2.0'}>]
2015-08-10 16:02:21,521 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.110:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'15e5908bc6b04d6a90ddce9220920c05', u'service_id': u'1de96d1ca5e14e1e8ffac72ab565f9ef', u'internalurl': u'http://172.17.108.110:9292', u'publicurl': u'http://172.17.108.110:9292'}>
2015-08-10 16:02:21,522 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.111:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'id': u'bed7b649a5ae4409a66dcc2b80f79de0', u'service_id': u'cc987eb9e8cc4aa884244585ea9ff3b1', u'internalurl': u'http://172.17.108.111:5000/v2.0', u'publicurl': u'http://172.17.108.111:5000/v2.0'}>
2015-08-10 16:02:21,522 _validate_dict_data DEBUG: actual: {'adminurl': u'http://172.17.108.111:35357/v2.0', 'region': u'RegionOne', 'internalurl': u'http://172.17.108.111:5000/v2.0', 'service_id': u'cc987eb9e8cc4aa884244585ea9ff3b1', 'id': u'bed7b649a5ae4409a66dcc2b80f79de0', 'publicurl': u'http://172.17.108.111:5000/v2.0'}
2015-08-10 16:02:21,522 _validate_dict_data DEBUG: expected: {'adminurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'region': 'RegionOne', 'internalurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'service_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'publicurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>}
2015-08-10 16:02:21,522 test_110_users DEBUG: Checking keystone users...
2015-08-10 16:02:21,550 validate_user_data DEBUG: Validating user data...
2015-08-10 16:02:21,551 validate_user_data DEBUG: actual: [<User {u'username': u'admin', u'name': u'admin', u'enabled': True, u'tenantId': u'20107aea36184b98bbda47fa8849b48b', u'id': u'4fba77b8c6504804b23c6968579f0a2b', u'email': u'juju@localhost'}>, <User {u'username': u'glance', u'name': u'glance', u'enabled': True, u'tenantId': u'4f4993e0a55443eea78d15860737aa03', u'id': u'95bcf6caadc941e2a6fc589e6ec5de3d', u'email': u'juju@localhost'}>]
2015-08-10 16:02:21,551 _validate_dict_data DEBUG: actual: {'id': u'95bcf6caadc941e2a6fc589e6ec5de3d', 'tenantId': u'4f4993e0a55443eea78d15860737aa03', 'enabled': True, 'name': u'glance', 'email': u'juju@localhost'}
2015-08-10 16:02:21,551 _validate_dict_data DEBUG: expected: {'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'email': 'juju@localhost', 'enabled': True, 'name': 'glance', 'tenantId': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>}
2015-08-10 16:02:21,551 _validate_dict_data DEBUG: actual: {'id': u'4fba77b8c6504804b23c6968579f0a2b', 'tenantId': u'20107aea36184b98bbda47fa8849b48b', 'enabled': True, 'name': u'admin', 'email': u'juju@localhost'}
2015-08-10 16:02:21,551 _validate_dict_data DEBUG: expected: {'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'email': 'juju@localhost', 'enabled': True, 'name': 'admin', 'tenantId': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>}
2015-08-10 16:02:21,551 test_200_mysql_glance_db_relation DEBUG: Checking mysql to glance shared-db relation data...
2015-08-10 16:02:28,528 _validate_dict_data DEBUG: actual: {u'allowed_units': u'glance/0', u'password': u'zBGVHVfbRt8dzSVrLbmqbbnXNnc6cnjL', u'db_host': u'172.17.108.112', u'private-address': u'172.17.108.112'}
2015-08-10 16:02:28,528 _validate_dict_data DEBUG: expected: {'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'db_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>}
2015-08-10 16:02:28,529 test_201_glance_mysql_db_relation DEBUG: Checking glance to mysql shared-db relation data...
2015-08-10 16:02:34,703 _validate_dict_data DEBUG: actual: {u'username': u'glance', u'private-address': u'172.17.108.110', u'hostname': u'172.17.108.110', u'database': u'glance'}
2015-08-10 16:02:34,703 _validate_dict_data DEBUG: expected: {'username': 'glance', 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'hostname': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'database': 'glance'}
2015-08-10 16:02:34,703 test_202_keystone_glance_id_relation DEBUG: Checking keystone to glance id relation data...
2015-08-10 16:02:40,919 _validate_dict_data DEBUG: actual: {u'service_protocol': u'http', u'service_tenant': u'services', u'admin_token': u'ubuntutesting', u'service_password': u'VthgnVVBBgxL9Z2fwrTyKpYwLH2WR24LqY3pgpwc5Wx6FRzy4tPznmLHZGJW9JdN', u'service_port': u'5000', u'auth_port': u'35357', u'auth_protocol': u'http', u'private-address': u'172.17.108.111', u'auth_host': u'172.17.108.111', u'service_username': u'glance', u'service_tenant_id': u'4f4993e0a55443eea78d15860737aa03', u'service_host': u'172.17.108.111'}
2015-08-10 16:02:40,920 _validate_dict_data DEBUG: expected: {'admin_token': 'ubuntutesting', 'auth_port': '35357', 'auth_protocol': 'http', 'auth_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'service_username': 'glance', 'service_tenant_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'service_protocol': 'http', 'service_tenant': 'services', 'service_password': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'service_port': '5000', 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'service_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>}
2015-08-10 16:02:40,920 test_203_glance_keystone_id_relation DEBUG: Checking glance to keystone relation data...
2015-08-10 16:02:46,449 _validate_dict_data DEBUG: actual: {u'service': u'glance', u'region': u'RegionOne', u'public_url': u'http://172.17.108.110:9292', u'internal_url': u'http://172.17.108.110:9292', u'private-address': u'172.17.108.110', u'admin_url': u'http://172.17.108.110:9292'}
2015-08-10 16:02:46,449 _validate_dict_data DEBUG: expected: {'service': 'glance', 'admin_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'public_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'internal_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'region': 'RegionOne'}
2015-08-10 16:02:46,449 test_204_rabbitmq_glance_amqp_relation DEBUG: Checking rmq to glance amqp relation data...
2015-08-10 16:02:52,058 _validate_dict_data DEBUG: actual: {u'private-address': u'172.17.108.113', u'password': u'dXwJYpjLf5RcRc2q4CRLzPtb9Z4mWZq2gkBKPnPrhJqHnnzrpWpLNXXggpKRq72b', u'hostname': u'172.17.108.113'}
2015-08-10 16:02:52,058 _validate_dict_data DEBUG: expected: {'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'password': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'hostname': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>}
2015-08-10 16:02:52,059 test_205_glance_rabbitmq_amqp_relation DEBUG: Checking glance to rmq amqp relation data...
2015-08-10 16:02:57,935 _validate_dict_data DEBUG: actual: {u'username': u'glance', u'private-address': u'172.17.108.110', u'vhost': u'openstack'}
2015-08-10 16:02:57,935 _validate_dict_data DEBUG: expected: {'username': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2aff7c26d650>>, 'vhost': 'openstack'}
2015-08-10 16:02:57,936 test_300_glance_api_default_config DEBUG: Checking glance api config file...
2015-08-10 16:03:17,276 validate_config_data DEBUG: Validating config file data (DEFAULT in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:03:18,859 validate_config_data DEBUG: Validating config file data (keystone_authtoken in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:03:19,705 validate_config_data DEBUG: Validating config file data (database in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:03:21,316 test_302_glance_registry_default_config DEBUG: Checking glance registry config file...
2015-08-10 16:03:34,829 validate_config_data DEBUG: Validating config file data (DEFAULT in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 16:03:36,152 validate_config_data DEBUG: Validating config file data (keystone_authtoken in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 16:03:37,009 validate_config_data DEBUG: Validating config file data (database in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 16:03:38,383 test_304_glance_api_paste_auth_config DEBUG: Checking glance api paste config file...
2015-08-10 16:03:38,383 validate_config_data DEBUG: Validating config file data (filter:authtoken in /etc/glance/glance-api-paste.ini on glance/0)...
2015-08-10 16:03:39,237 test_306_glance_registry_paste_auth_config DEBUG: Checking glance registry paste config file...
2015-08-10 16:03:39,237 validate_config_data DEBUG: Validating config file data (filter:authtoken in /etc/glance/glance-registry-paste.ini on glance/0)...
2015-08-10 16:03:40,828 test_410_glance_image_create_delete DEBUG: Creating, checking and deleting glance image...
2015-08-10 16:03:40,828 create_cirros_image DEBUG: Creating glance cirros image (cirros-image-1)...
2015-08-10 16:03:40,828 create_cirros_image DEBUG: AMULET_HTTP_PROXY: http://squid.internal:3128/
2015-08-10 16:03:43,602 resource_reaches_status DEBUG: Image status wait: expected, actual status = active, active
2015-08-10 16:03:43,602 create_cirros_image DEBUG: Validating image attributes...
2015-08-10 16:03:43,931 create_cirros_image DEBUG: Image attributes - name:cirros-image-1 public:True id:1a5e2fe5-38b2-4e11-ae55-9d70464dbb05 stat:active container fmt:bare disk fmt:qcow2
2015-08-10 16:03:43,932 delete_resource DEBUG: Deleting OpenStack resource 1a5e2fe5-38b2-4e11-ae55-9d70464dbb05 (glance image)
2015-08-10 16:03:44,217 delete_resource DEBUG: glance image: expected, actual count = 0, 0
2015-08-10 16:03:44,218 test_900_glance_restart_on_config_change DEBUG: Making config change on glance...
2015-08-10 16:03:44,800 test_900_glance_restart_on_config_change DEBUG: Checking that service restarted: glance-api
2015-08-10 16:04:16,263 _get_proc_start_time DEBUG: CMDout: (u'19299', 0)
2015-08-10 16:04:16,263 _get_proc_start_time DEBUG: Pid for glance-api 19299
2015-08-10 16:04:18,688 test_900_glance_restart_on_config_change DEBUG: Checking that service restarted: glance-registry
2015-08-10 16:04:20,014 _get_proc_start_time DEBUG: CMDout: (u'19291', 0)
2015-08-10 16:04:20,014 _get_proc_start_time DEBUG: Pid for glance-registry 19291
juju-test.conductor.015-basic-trusty-icehouse RESULT : PASS
juju-test.conductor DEBUG : Tearing down osci-sv08 juju environment
juju-test.conductor DEBUG : Calling "juju destroy-environment -y osci-sv08"
juju-test.conductor DEBUG : Starting a bootstrap for osci-sv08, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap -e osci-sv08
Bootstrapping environment "osci-sv08"
Starting new instance for initial state server
Launching instance
- e1251635-7cbf-4e26-a319-e7ab6009c72f
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.108.114:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Bootstrap complete
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e osci-sv08
juju-test.conductor DEBUG : State for 1.24.3: started
juju-test.conductor.016-basic-trusty-juno DEBUG : Running 016-basic-trusty-juno (tests/016-basic-trusty-juno)
2015-08-10 16:08:31 Starting deployment of osci-sv08
2015-08-10 16:08:31 Deploying services...
2015-08-10 16:08:32 Deploying service glance using local:trusty/glance
2015-08-10 16:08:36 Deploying service keystone using local:trusty/keystone
2015-08-10 16:08:41 Deploying service mysql using local:trusty/mysql
2015-08-10 16:08:46 Deploying service rabbitmq-server using local:trusty/rabbitmq-server
2015-08-10 16:13:11 Adding relations...
2015-08-10 16:13:11 Adding relation glance:identity-service <-> keystone:identity-service
2015-08-10 16:13:12 Adding relation glance:shared-db <-> mysql:shared-db
2015-08-10 16:13:12 Adding relation glance:amqp <-> rabbitmq-server:amqp
2015-08-10 16:13:12 Adding relation keystone:shared-db <-> mysql:shared-db
2015-08-10 16:14:13 Deployment complete in 342.16 seconds
juju-test.conductor.016-basic-trusty-juno DEBUG : 2015-08-10 16:07:46,567 get_ubuntu_releases DEBUG: Ubuntu release list: ['warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty', 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid', 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy', 'trusty', 'utopic', 'vivid', 'wily']
2015-08-10 16:14:40,446 _initialize_tests DEBUG: openstack release val: 6
2015-08-10 16:14:40,447 _initialize_tests DEBUG: openstack release str: juno
2015-08-10 16:15:10,471 authenticate_keystone_admin DEBUG: Authenticating keystone admin...
2015-08-10 16:15:18,093 authenticate_glance_admin DEBUG: Authenticating glance admin...
2015-08-10 16:15:18,094 validate_services_by_name DEBUG: Checking status of system services...
2015-08-10 16:15:19,378 get_ubuntu_release_from_sentry DEBUG: glance/0 lsb_release: trusty
2015-08-10 16:15:20,213 validate_services_by_name DEBUG: glance/0 `sudo status glance-api` returned 0
2015-08-10 16:15:21,488 validate_services_by_name DEBUG: glance/0 `sudo status glance-registry` returned 0
2015-08-10 16:15:22,793 get_ubuntu_release_from_sentry DEBUG: rabbitmq-server/0 lsb_release: trusty
2015-08-10 16:15:24,266 validate_services_by_name DEBUG: rabbitmq-server/0 `sudo service rabbitmq-server status` returned 0
2015-08-10 16:15:25,578 get_ubuntu_release_from_sentry DEBUG: mysql/0 lsb_release: trusty
2015-08-10 16:15:26,825 validate_services_by_name DEBUG: mysql/0 `sudo status mysql` returned 0
2015-08-10 16:15:28,080 get_ubuntu_release_from_sentry DEBUG: keystone/0 lsb_release: trusty
2015-08-10 16:15:29,335 validate_services_by_name DEBUG: keystone/0 `sudo status keystone` returned 0
2015-08-10 16:15:29,335 test_102_service_catalog DEBUG: Checking keystone service catalog...
2015-08-10 16:15:29,335 validate_svc_catalog_endpoint_data DEBUG: Validating service catalog endpoint data...
2015-08-10 16:15:29,336 validate_svc_catalog_endpoint_data DEBUG: actual: {u'image': [{u'adminURL': u'http://172.17.108.115:9292', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.115:9292', u'internalURL': u'http://172.17.108.115:9292', u'id': u'a046ad24e55548ddb01d3932298c8c37'}], u'identity': [{u'adminURL': u'http://172.17.108.116:35357/v2.0', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.116:5000/v2.0', u'internalURL': u'http://172.17.108.116:5000/v2.0', u'id': u'482742ae0c37467b8c760b83a18c77ed'}]}
2015-08-10 16:15:29,336 _validate_dict_data DEBUG: actual: {u'adminURL': u'http://172.17.108.115:9292', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.115:9292', u'internalURL': u'http://172.17.108.115:9292', u'id': u'a046ad24e55548ddb01d3932298c8c37'}
2015-08-10 16:15:29,336 _validate_dict_data DEBUG: expected: {'adminURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'region': 'RegionOne', 'internalURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'publicURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>}
2015-08-10 16:15:29,340 _validate_dict_data DEBUG: actual: {u'adminURL': u'http://172.17.108.116:35357/v2.0', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.116:5000/v2.0', u'internalURL': u'http://172.17.108.116:5000/v2.0', u'id': u'482742ae0c37467b8c760b83a18c77ed'}
2015-08-10 16:15:29,340 _validate_dict_data DEBUG: expected: {'adminURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'region': 'RegionOne', 'internalURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'publicURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>}
2015-08-10 16:15:29,340 test_104_glance_endpoint DEBUG: Checking glance api endpoint data...
2015-08-10 16:15:29,369 validate_endpoint_data DEBUG: Validating endpoint data...
2015-08-10 16:15:29,369 validate_endpoint_data DEBUG: actual: [<Endpoint {u'adminurl': u'http://172.17.108.116:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.116:5000/v2.0', u'service_id': u'e9dedd9cbed141d994faa9ca9d5361b8', u'id': u'af02c668d776434b810af9d33ca0e7f1', u'publicurl': u'http://172.17.108.116:5000/v2.0'}>, <Endpoint {u'adminurl': u'http://172.17.108.115:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'05bf2fe2952646ecae344e42eec256bd', u'service_id': u'2232163964554c67bd6e90aa4c67797b', u'internalurl': u'http://172.17.108.115:9292', u'publicurl': u'http://172.17.108.115:9292'}>]
2015-08-10 16:15:29,369 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.116:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.116:5000/v2.0', u'service_id': u'e9dedd9cbed141d994faa9ca9d5361b8', u'id': u'af02c668d776434b810af9d33ca0e7f1', u'publicurl': u'http://172.17.108.116:5000/v2.0'}>
2015-08-10 16:15:29,370 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.115:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'05bf2fe2952646ecae344e42eec256bd', u'service_id': u'2232163964554c67bd6e90aa4c67797b', u'internalurl': u'http://172.17.108.115:9292', u'publicurl': u'http://172.17.108.115:9292'}>
2015-08-10 16:15:29,370 _validate_dict_data DEBUG: actual: {'adminurl': u'http://172.17.108.115:9292', 'region': u'RegionOne', 'internalurl': u'http://172.17.108.115:9292', 'service_id': u'2232163964554c67bd6e90aa4c67797b', 'id': u'05bf2fe2952646ecae344e42eec256bd', 'publicurl': u'http://172.17.108.115:9292'}
2015-08-10 16:15:29,370 _validate_dict_data DEBUG: expected: {'adminurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'region': 'RegionOne', 'internalurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'service_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'publicurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>}
2015-08-10 16:15:29,370 test_106_keystone_endpoint DEBUG: Checking keystone api endpoint data...
2015-08-10 16:15:29,481 validate_endpoint_data DEBUG: Validating endpoint data...
2015-08-10 16:15:29,482 validate_endpoint_data DEBUG: actual: [<Endpoint {u'adminurl': u'http://172.17.108.116:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.116:5000/v2.0', u'service_id': u'e9dedd9cbed141d994faa9ca9d5361b8', u'id': u'af02c668d776434b810af9d33ca0e7f1', u'publicurl': u'http://172.17.108.116:5000/v2.0'}>, <Endpoint {u'adminurl': u'http://172.17.108.115:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'05bf2fe2952646ecae344e42eec256bd', u'service_id': u'2232163964554c67bd6e90aa4c67797b', u'internalurl': u'http://172.17.108.115:9292', u'publicurl': u'http://172.17.108.115:9292'}>]
2015-08-10 16:15:29,482 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.116:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.116:5000/v2.0', u'service_id': u'e9dedd9cbed141d994faa9ca9d5361b8', u'id': u'af02c668d776434b810af9d33ca0e7f1', u'publicurl': u'http://172.17.108.116:5000/v2.0'}>
2015-08-10 16:15:29,483 _validate_dict_data DEBUG: actual: {'adminurl': u'http://172.17.108.116:35357/v2.0', 'region': u'RegionOne', 'internalurl': u'http://172.17.108.116:5000/v2.0', 'service_id': u'e9dedd9cbed141d994faa9ca9d5361b8', 'id': u'af02c668d776434b810af9d33ca0e7f1', 'publicurl': u'http://172.17.108.116:5000/v2.0'}
2015-08-10 16:15:29,483 _validate_dict_data DEBUG: expected: {'adminurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'region': 'RegionOne', 'internalurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'service_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'publicurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>}
2015-08-10 16:15:29,483 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.115:9292', u'region': u'RegionOne', u'enabled': True, u'id': u'05bf2fe2952646ecae344e42eec256bd', u'service_id': u'2232163964554c67bd6e90aa4c67797b', u'internalurl': u'http://172.17.108.115:9292', u'publicurl': u'http://172.17.108.115:9292'}>
2015-08-10 16:15:29,483 test_110_users DEBUG: Checking keystone users...
2015-08-10 16:15:29,503 validate_user_data DEBUG: Validating user data...
2015-08-10 16:15:29,503 validate_user_data DEBUG: actual: [<User {u'username': u'admin', u'name': u'admin', u'enabled': True, u'tenantId': u'b1b4e6a3e21f467abfa607001090f248', u'id': u'74a38c8bfe1048f6a7b1ccae2c78f69c', u'email': u'juju@localhost'}>, <User {u'username': u'glance', u'name': u'glance', u'enabled': True, u'tenantId': u'ea3737d19a364cd5b0179c44255b6243', u'id': u'bad0e9ff9db24811b926fc219779afbb', u'email': u'juju@localhost'}>]
2015-08-10 16:15:29,503 _validate_dict_data DEBUG: actual: {'id': u'bad0e9ff9db24811b926fc219779afbb', 'tenantId': u'ea3737d19a364cd5b0179c44255b6243', 'enabled': True, 'name': u'glance', 'email': u'juju@localhost'}
2015-08-10 16:15:29,504 _validate_dict_data DEBUG: expected: {'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'email': 'juju@localhost', 'enabled': True, 'name': 'glance', 'tenantId': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>}
2015-08-10 16:15:29,504 _validate_dict_data DEBUG: actual: {'id': u'74a38c8bfe1048f6a7b1ccae2c78f69c', 'tenantId': u'b1b4e6a3e21f467abfa607001090f248', 'enabled': True, 'name': u'admin', 'email': u'juju@localhost'}
2015-08-10 16:15:29,504 _validate_dict_data DEBUG: expected: {'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'email': 'juju@localhost', 'enabled': True, 'name': 'admin', 'tenantId': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>}
2015-08-10 16:15:29,504 test_200_mysql_glance_db_relation DEBUG: Checking mysql to glance shared-db relation data...
2015-08-10 16:15:36,426 _validate_dict_data DEBUG: actual: {u'allowed_units': u'glance/0', u'password': u'MZWN7FfHVCBPTwTttCPgnZ5pdspJsS5n', u'db_host': u'172.17.108.117', u'private-address': u'172.17.108.117'}
2015-08-10 16:15:36,426 _validate_dict_data DEBUG: expected: {'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'db_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>}
2015-08-10 16:15:36,427 test_201_glance_mysql_db_relation DEBUG: Checking glance to mysql shared-db relation data...
2015-08-10 16:15:42,297 _validate_dict_data DEBUG: actual: {u'username': u'glance', u'private-address': u'172.17.108.115', u'hostname': u'172.17.108.115', u'database': u'glance'}
2015-08-10 16:15:42,297 _validate_dict_data DEBUG: expected: {'username': 'glance', 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'hostname': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'database': 'glance'}
2015-08-10 16:15:42,298 test_202_keystone_glance_id_relation DEBUG: Checking keystone to glance id relation data...
2015-08-10 16:15:47,824 _validate_dict_data DEBUG: actual: {u'service_protocol': u'http', u'service_tenant': u'services', u'admin_token': u'ubuntutesting', u'service_password': u'XL846bP5k5kNB9XWdrqwMqjPg4MFTThbzVVcwKLMpcwx7hKCsJXcBctxKTZYq5Nr', u'service_port': u'5000', u'auth_port': u'35357', u'auth_protocol': u'http', u'private-address': u'172.17.108.116', u'auth_host': u'172.17.108.116', u'service_username': u'glance', u'service_tenant_id': u'ea3737d19a364cd5b0179c44255b6243', u'service_host': u'172.17.108.116'}
2015-08-10 16:15:47,825 _validate_dict_data DEBUG: expected: {'admin_token': 'ubuntutesting', 'auth_port': '35357', 'auth_protocol': 'http', 'auth_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'service_username': 'glance', 'service_tenant_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'service_protocol': 'http', 'service_tenant': 'services', 'service_password': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'service_port': '5000', 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'service_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>}
2015-08-10 16:15:47,825 test_203_glance_keystone_id_relation DEBUG: Checking glance to keystone relation data...
2015-08-10 16:15:53,532 _validate_dict_data DEBUG: actual: {u'service': u'glance', u'region': u'RegionOne', u'public_url': u'http://172.17.108.115:9292', u'internal_url': u'http://172.17.108.115:9292', u'private-address': u'172.17.108.115', u'admin_url': u'http://172.17.108.115:9292'}
2015-08-10 16:15:53,533 _validate_dict_data DEBUG: expected: {'service': 'glance', 'admin_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'public_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'internal_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'region': 'RegionOne'}
2015-08-10 16:15:53,533 test_204_rabbitmq_glance_amqp_relation DEBUG: Checking rmq to glance amqp relation data...
2015-08-10 16:16:00,288 _validate_dict_data DEBUG: actual: {u'private-address': u'172.17.108.118', u'password': u'bH7jhFBFCXPzCBG6wYBmsBhntnyjLjbNPxGy4qdyhcPbSTntCVx4fgGcwk4MRBjC', u'hostname': u'172.17.108.118'}
2015-08-10 16:16:00,288 _validate_dict_data DEBUG: expected: {'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'password': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'hostname': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>}
2015-08-10 16:16:00,288 test_205_glance_rabbitmq_amqp_relation DEBUG: Checking glance to rmq amqp relation data...
2015-08-10 16:16:05,904 _validate_dict_data DEBUG: actual: {u'username': u'glance', u'private-address': u'172.17.108.115', u'vhost': u'openstack'}
2015-08-10 16:16:05,905 _validate_dict_data DEBUG: expected: {'username': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2af2e0150790>>, 'vhost': 'openstack'}
2015-08-10 16:16:05,905 test_300_glance_api_default_config DEBUG: Checking glance api config file...
2015-08-10 16:16:24,541 validate_config_data DEBUG: Validating config file data (DEFAULT in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:16:25,307 validate_config_data DEBUG: Validating config file data (keystone_authtoken in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:16:26,968 validate_config_data DEBUG: Validating config file data (database in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:16:27,776 test_302_glance_registry_default_config DEBUG: Checking glance registry config file...
2015-08-10 16:16:41,016 validate_config_data DEBUG: Validating config file data (DEFAULT in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 16:16:41,798 validate_config_data DEBUG: Validating config file data (keystone_authtoken in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 16:16:43,336 validate_config_data DEBUG: Validating config file data (database in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 16:16:44,152 test_304_glance_api_paste_auth_config DEBUG: Checking glance api paste config file...
2015-08-10 16:16:44,152 validate_config_data DEBUG: Validating config file data (filter:authtoken in /etc/glance/glance-api-paste.ini on glance/0)...
2015-08-10 16:16:45,778 test_306_glance_registry_paste_auth_config DEBUG: Checking glance registry paste config file...
2015-08-10 16:16:45,779 validate_config_data DEBUG: Validating config file data (filter:authtoken in /etc/glance/glance-registry-paste.ini on glance/0)...
2015-08-10 16:16:46,519 test_410_glance_image_create_delete DEBUG: Creating, checking and deleting glance image...
2015-08-10 16:16:46,519 create_cirros_image DEBUG: Creating glance cirros image (cirros-image-1)...
2015-08-10 16:16:46,519 create_cirros_image DEBUG: AMULET_HTTP_PROXY: http://squid.internal:3128/
2015-08-10 16:16:48,557 resource_reaches_status DEBUG: Image status wait: expected, actual status = active, active
2015-08-10 16:16:48,558 create_cirros_image DEBUG: Validating image attributes...
2015-08-10 16:16:48,700 create_cirros_image DEBUG: Image attributes - name:cirros-image-1 public:True id:ce121f23-d13a-4980-af61-35a5b8ce4025 stat:active container fmt:bare disk fmt:qcow2
2015-08-10 16:16:48,701 delete_resource DEBUG: Deleting OpenStack resource ce121f23-d13a-4980-af61-35a5b8ce4025 (glance image)
2015-08-10 16:16:48,985 delete_resource DEBUG: glance image: expected, actual count = 0, 0
2015-08-10 16:16:48,986 test_900_glance_restart_on_config_change DEBUG: Making config change on glance...
2015-08-10 16:16:49,578 test_900_glance_restart_on_config_change DEBUG: Checking that service restarted: glance-api
2015-08-10 16:17:20,865 _get_proc_start_time DEBUG: CMDout: (u'20178', 0)
2015-08-10 16:17:20,865 _get_proc_start_time DEBUG: Pid for glance-api 20178
2015-08-10 16:17:22,919 test_900_glance_restart_on_config_change DEBUG: Checking that service restarted: glance-registry
2015-08-10 16:17:24,383 _get_proc_start_time DEBUG: CMDout: (u'20170', 0)
2015-08-10 16:17:24,384 _get_proc_start_time DEBUG: Pid for glance-registry 20170
juju-test.conductor.016-basic-trusty-juno RESULT : PASS
juju-test.conductor DEBUG : Tearing down osci-sv08 juju environment
juju-test.conductor DEBUG : Calling "juju destroy-environment -y osci-sv08"
WARNING cannot delete security group "juju-osci-sv08-0". Used by another environment?
juju-test.conductor DEBUG : Starting a bootstrap for osci-sv08, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap -e osci-sv08
Bootstrapping environment "osci-sv08"
Starting new instance for initial state server
Launching instance
- 738e4010-5deb-4e86-81ed-83919db21829
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.108.119:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Bootstrap complete
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e osci-sv08
juju-test.conductor DEBUG : State for 1.24.3: started
juju-test.conductor.017-basic-trusty-kilo DEBUG : Running 017-basic-trusty-kilo (tests/017-basic-trusty-kilo)
2015-08-10 16:20:31 Starting deployment of osci-sv08
2015-08-10 16:20:31 Deploying services...
2015-08-10 16:20:32 Deploying service glance using local:trusty/glance
2015-08-10 16:20:37 Deploying service keystone using local:trusty/keystone
2015-08-10 16:20:42 Deploying service mysql using local:trusty/mysql
2015-08-10 16:20:46 Deploying service rabbitmq-server using local:trusty/rabbitmq-server
2015-08-10 16:24:42 Adding relations...
2015-08-10 16:24:42 Adding relation glance:identity-service <-> keystone:identity-service
2015-08-10 16:24:42 Adding relation glance:shared-db <-> mysql:shared-db
2015-08-10 16:24:43 Adding relation glance:amqp <-> rabbitmq-server:amqp
2015-08-10 16:24:43 Adding relation keystone:shared-db <-> mysql:shared-db
2015-08-10 16:25:44 Deployment complete in 312.87 seconds
juju-test.conductor.017-basic-trusty-kilo DEBUG : 2015-08-10 16:20:03,360 get_ubuntu_releases DEBUG: Ubuntu release list: ['warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty', 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid', 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy', 'trusty', 'utopic', 'vivid', 'wily']
2015-08-10 16:26:14,822 _initialize_tests DEBUG: openstack release val: 8
2015-08-10 16:26:14,823 _initialize_tests DEBUG: openstack release str: kilo
2015-08-10 16:26:44,853 authenticate_keystone_admin DEBUG: Authenticating keystone admin...
2015-08-10 16:26:52,581 authenticate_glance_admin DEBUG: Authenticating glance admin...
2015-08-10 16:26:52,581 validate_services_by_name DEBUG: Checking status of system services...
2015-08-10 16:26:53,891 get_ubuntu_release_from_sentry DEBUG: glance/0 lsb_release: trusty
2015-08-10 16:26:54,767 validate_services_by_name DEBUG: glance/0 `sudo status glance-api` returned 0
2015-08-10 16:26:56,316 validate_services_by_name DEBUG: glance/0 `sudo status glance-registry` returned 0
2015-08-10 16:26:57,579 get_ubuntu_release_from_sentry DEBUG: mysql/0 lsb_release: trusty
2015-08-10 16:26:58,416 validate_services_by_name DEBUG: mysql/0 `sudo status mysql` returned 0
2015-08-10 16:26:59,801 get_ubuntu_release_from_sentry DEBUG: rabbitmq-server/0 lsb_release: trusty
2015-08-10 16:27:01,790 validate_services_by_name DEBUG: rabbitmq-server/0 `sudo service rabbitmq-server status` returned 0
2015-08-10 16:27:03,174 get_ubuntu_release_from_sentry DEBUG: keystone/0 lsb_release: trusty
2015-08-10 16:27:04,682 validate_services_by_name DEBUG: keystone/0 `sudo status keystone` returned 0
2015-08-10 16:27:04,682 test_102_service_catalog DEBUG: Checking keystone service catalog...
2015-08-10 16:27:04,682 validate_svc_catalog_endpoint_data DEBUG: Validating service catalog endpoint data...
2015-08-10 16:27:04,683 validate_svc_catalog_endpoint_data DEBUG: actual: {u'image': [{u'adminURL': u'http://172.17.108.120:9292', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.120:9292', u'internalURL': u'http://172.17.108.120:9292', u'id': u'189354ca859c44ddac5af8c7a57a8f8a'}], u'identity': [{u'adminURL': u'http://172.17.108.121:35357/v2.0', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.121:5000/v2.0', u'internalURL': u'http://172.17.108.121:5000/v2.0', u'id': u'0134410e6244451a8123fc78618ad556'}]}
2015-08-10 16:27:04,683 _validate_dict_data DEBUG: actual: {u'adminURL': u'http://172.17.108.120:9292', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.120:9292', u'internalURL': u'http://172.17.108.120:9292', u'id': u'189354ca859c44ddac5af8c7a57a8f8a'}
2015-08-10 16:27:04,683 _validate_dict_data DEBUG: expected: {'adminURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'region': 'RegionOne', 'internalURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'publicURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>}
2015-08-10 16:27:04,687 _validate_dict_data DEBUG: actual: {u'adminURL': u'http://172.17.108.121:35357/v2.0', u'region': u'RegionOne', u'publicURL': u'http://172.17.108.121:5000/v2.0', u'internalURL': u'http://172.17.108.121:5000/v2.0', u'id': u'0134410e6244451a8123fc78618ad556'}
2015-08-10 16:27:04,687 _validate_dict_data DEBUG: expected: {'adminURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'region': 'RegionOne', 'internalURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'publicURL': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>}
2015-08-10 16:27:04,687 test_104_glance_endpoint DEBUG: Checking glance api endpoint data...
2015-08-10 16:27:04,742 validate_endpoint_data DEBUG: Validating endpoint data...
2015-08-10 16:27:04,742 validate_endpoint_data DEBUG: actual: [<Endpoint {u'adminurl': u'http://172.17.108.121:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.121:5000/v2.0', u'service_id': u'4e881e80f63543c791b365f89126fc25', u'id': u'103c4319d47b4ac68493fe6d0ccb6cd8', u'publicurl': u'http://172.17.108.121:5000/v2.0'}>, <Endpoint {u'adminurl': u'http://172.17.108.120:9292', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.120:9292', u'service_id': u'1b792717232e42b7b9dce8090fba2e63', u'id': u'615bca911d6446cc8dd4af0c39d2f9bd', u'publicurl': u'http://172.17.108.120:9292'}>]
2015-08-10 16:27:04,742 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.121:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.121:5000/v2.0', u'service_id': u'4e881e80f63543c791b365f89126fc25', u'id': u'103c4319d47b4ac68493fe6d0ccb6cd8', u'publicurl': u'http://172.17.108.121:5000/v2.0'}>
2015-08-10 16:27:04,742 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.120:9292', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.120:9292', u'service_id': u'1b792717232e42b7b9dce8090fba2e63', u'id': u'615bca911d6446cc8dd4af0c39d2f9bd', u'publicurl': u'http://172.17.108.120:9292'}>
2015-08-10 16:27:04,742 _validate_dict_data DEBUG: actual: {'adminurl': u'http://172.17.108.120:9292', 'region': u'RegionOne', 'internalurl': u'http://172.17.108.120:9292', 'service_id': u'1b792717232e42b7b9dce8090fba2e63', 'id': u'615bca911d6446cc8dd4af0c39d2f9bd', 'publicurl': u'http://172.17.108.120:9292'}
2015-08-10 16:27:04,743 _validate_dict_data DEBUG: expected: {'adminurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'region': 'RegionOne', 'internalurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'service_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'publicurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>}
2015-08-10 16:27:04,743 test_106_keystone_endpoint DEBUG: Checking keystone api endpoint data...
2015-08-10 16:27:04,805 validate_endpoint_data DEBUG: Validating endpoint data...
2015-08-10 16:27:04,805 validate_endpoint_data DEBUG: actual: [<Endpoint {u'adminurl': u'http://172.17.108.121:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.121:5000/v2.0', u'service_id': u'4e881e80f63543c791b365f89126fc25', u'id': u'103c4319d47b4ac68493fe6d0ccb6cd8', u'publicurl': u'http://172.17.108.121:5000/v2.0'}>, <Endpoint {u'adminurl': u'http://172.17.108.120:9292', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.120:9292', u'service_id': u'1b792717232e42b7b9dce8090fba2e63', u'id': u'615bca911d6446cc8dd4af0c39d2f9bd', u'publicurl': u'http://172.17.108.120:9292'}>]
2015-08-10 16:27:04,805 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.121:35357/v2.0', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.121:5000/v2.0', u'service_id': u'4e881e80f63543c791b365f89126fc25', u'id': u'103c4319d47b4ac68493fe6d0ccb6cd8', u'publicurl': u'http://172.17.108.121:5000/v2.0'}>
2015-08-10 16:27:04,805 _validate_dict_data DEBUG: actual: {'adminurl': u'http://172.17.108.121:35357/v2.0', 'region': u'RegionOne', 'internalurl': u'http://172.17.108.121:5000/v2.0', 'service_id': u'4e881e80f63543c791b365f89126fc25', 'id': u'103c4319d47b4ac68493fe6d0ccb6cd8', 'publicurl': u'http://172.17.108.121:5000/v2.0'}
2015-08-10 16:27:04,805 _validate_dict_data DEBUG: expected: {'adminurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'region': 'RegionOne', 'internalurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'service_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'publicurl': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>}
2015-08-10 16:27:04,806 validate_endpoint_data DEBUG: endpoint: <Endpoint {u'adminurl': u'http://172.17.108.120:9292', u'region': u'RegionOne', u'enabled': True, u'internalurl': u'http://172.17.108.120:9292', u'service_id': u'1b792717232e42b7b9dce8090fba2e63', u'id': u'615bca911d6446cc8dd4af0c39d2f9bd', u'publicurl': u'http://172.17.108.120:9292'}>
2015-08-10 16:27:04,806 test_110_users DEBUG: Checking keystone users...
2015-08-10 16:27:04,852 validate_user_data DEBUG: Validating user data...
2015-08-10 16:27:04,852 validate_user_data DEBUG: actual: [<User {u'username': u'admin', u'name': u'admin', u'enabled': True, u'tenantId': u'1e2db7b4725e49598a4875cd08fa5da9', u'id': u'9ebfb6022842423ea71b73a90d1554e4', u'email': u'juju@localhost'}>, <User {u'username': u'glance', u'name': u'glance', u'enabled': True, u'tenantId': u'7ed4e7efac9c4dfaa786512bbaa23e65', u'id': u'ab2286381d4b4fc2930f110bb51567c2', u'email': u'juju@localhost'}>]
2015-08-10 16:27:04,852 _validate_dict_data DEBUG: actual: {'id': u'ab2286381d4b4fc2930f110bb51567c2', 'tenantId': u'7ed4e7efac9c4dfaa786512bbaa23e65', 'enabled': True, 'name': u'glance', 'email': u'juju@localhost'}
2015-08-10 16:27:04,853 _validate_dict_data DEBUG: expected: {'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'email': 'juju@localhost', 'enabled': True, 'name': 'glance', 'tenantId': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>}
2015-08-10 16:27:04,853 _validate_dict_data DEBUG: actual: {'id': u'9ebfb6022842423ea71b73a90d1554e4', 'tenantId': u'1e2db7b4725e49598a4875cd08fa5da9', 'enabled': True, 'name': u'admin', 'email': u'juju@localhost'}
2015-08-10 16:27:04,853 _validate_dict_data DEBUG: expected: {'id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'email': 'juju@localhost', 'enabled': True, 'name': 'admin', 'tenantId': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>}
2015-08-10 16:27:04,853 test_200_mysql_glance_db_relation DEBUG: Checking mysql to glance shared-db relation data...
2015-08-10 16:27:11,494 _validate_dict_data DEBUG: actual: {u'allowed_units': u'glance/0', u'password': u'4TJW2hRhFxt5h88HfB5d453Nhs3NYWyy', u'db_host': u'172.17.108.122', u'private-address': u'172.17.108.122'}
2015-08-10 16:27:11,494 _validate_dict_data DEBUG: expected: {'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'db_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>}
2015-08-10 16:27:11,495 test_201_glance_mysql_db_relation DEBUG: Checking glance to mysql shared-db relation data...
2015-08-10 16:27:17,074 _validate_dict_data DEBUG: actual: {u'username': u'glance', u'private-address': u'172.17.108.120', u'hostname': u'172.17.108.120', u'database': u'glance'}
2015-08-10 16:27:17,075 _validate_dict_data DEBUG: expected: {'username': 'glance', 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'hostname': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'database': 'glance'}
2015-08-10 16:27:17,075 test_202_keystone_glance_id_relation DEBUG: Checking keystone to glance id relation data...
2015-08-10 16:27:23,509 _validate_dict_data DEBUG: actual: {u'service_protocol': u'http', u'service_tenant': u'services', u'admin_token': u'ubuntutesting', u'service_password': u'PX3X3ZJxzfhJpLmqgx3PHY6x3pKc4YnmgPZBNJmqChx6dRXGVjqpp4TTGcNgLc74', u'service_port': u'5000', u'auth_port': u'35357', u'auth_protocol': u'http', u'private-address': u'172.17.108.121', u'auth_host': u'172.17.108.121', u'service_username': u'glance', u'service_tenant_id': u'7ed4e7efac9c4dfaa786512bbaa23e65', u'service_host': u'172.17.108.121'}
2015-08-10 16:27:23,510 _validate_dict_data DEBUG: expected: {'admin_token': 'ubuntutesting', 'auth_port': '35357', 'auth_protocol': 'http', 'auth_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'service_username': 'glance', 'service_tenant_id': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'service_protocol': 'http', 'service_tenant': 'services', 'service_password': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'service_port': '5000', 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'service_host': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>}
2015-08-10 16:27:23,510 test_203_glance_keystone_id_relation DEBUG: Checking glance to keystone relation data...
2015-08-10 16:27:29,766 _validate_dict_data DEBUG: actual: {u'service': u'glance', u'region': u'RegionOne', u'public_url': u'http://172.17.108.120:9292', u'internal_url': u'http://172.17.108.120:9292', u'private-address': u'172.17.108.120', u'admin_url': u'http://172.17.108.120:9292'}
2015-08-10 16:27:29,766 _validate_dict_data DEBUG: expected: {'service': 'glance', 'admin_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'public_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'internal_url': <bound method OpenStackAmuletUtils.valid_url of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'region': 'RegionOne'}
2015-08-10 16:27:29,766 test_204_rabbitmq_glance_amqp_relation DEBUG: Checking rmq to glance amqp relation data...
2015-08-10 16:27:36,001 _validate_dict_data DEBUG: actual: {u'private-address': u'172.17.108.123', u'password': u'fMZG5WZF9CxGF7sFgpPsfLJBYh4JjwgFNqmyfRq8RChqKYVqNqYhV5NJGGV9Hz4J', u'hostname': u'172.17.108.123'}
2015-08-10 16:27:36,002 _validate_dict_data DEBUG: expected: {'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'password': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'hostname': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>}
2015-08-10 16:27:36,002 test_205_glance_rabbitmq_amqp_relation DEBUG: Checking glance to rmq amqp relation data...
2015-08-10 16:27:41,958 _validate_dict_data DEBUG: actual: {u'username': u'glance', u'private-address': u'172.17.108.120', u'vhost': u'openstack'}
2015-08-10 16:27:41,958 _validate_dict_data DEBUG: expected: {'username': <bound method OpenStackAmuletUtils.not_null of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'private-address': <bound method OpenStackAmuletUtils.valid_ip of <charmhelpers.contrib.openstack.amulet.utils.OpenStackAmuletUtils object at 0x2b64e0dda790>>, 'vhost': 'openstack'}
2015-08-10 16:27:41,958 test_300_glance_api_default_config DEBUG: Checking glance api config file...
2015-08-10 16:28:00,742 validate_config_data DEBUG: Validating config file data (DEFAULT in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:28:02,171 validate_config_data DEBUG: Validating config file data (glance_store in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:28:03,045 validate_config_data DEBUG: Validating config file data (keystone_authtoken in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:28:04,626 validate_config_data DEBUG: Validating config file data (oslo_messaging_rabbit in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:28:05,489 validate_config_data DEBUG: Validating config file data (database in /etc/glance/glance-api.conf on glance/0)...
2015-08-10 16:28:07,079 test_302_glance_registry_default_config DEBUG: Checking glance registry config file...
2015-08-10 16:28:21,194 validate_config_data DEBUG: Validating config file data (DEFAULT in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 16:28:22,003 validate_config_data DEBUG: Validating config file data (keystone_authtoken in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 16:28:23,442 validate_config_data DEBUG: Validating config file data (database in /etc/glance/glance-registry.conf on glance/0)...
2015-08-10 16:28:24,222 test_304_glance_api_paste_auth_config DEBUG: Checking glance api paste config file...
2015-08-10 16:28:24,222 validate_config_data DEBUG: Validating config file data (filter:authtoken in /etc/glance/glance-api-paste.ini on glance/0)...
2015-08-10 16:28:24,963 test_306_glance_registry_paste_auth_config DEBUG: Checking glance registry paste config file...
2015-08-10 16:28:24,963 validate_config_data DEBUG: Validating config file data (filter:authtoken in /etc/glance/glance-registry-paste.ini on glance/0)...
2015-08-10 16:28:26,163 test_410_glance_image_create_delete DEBUG: Creating, checking and deleting glance image...
2015-08-10 16:28:26,163 create_cirros_image DEBUG: Creating glance cirros image (cirros-image-1)...
2015-08-10 16:28:26,163 create_cirros_image DEBUG: AMULET_HTTP_PROXY: http://squid.internal:3128/
2015-08-10 16:28:28,627 resource_reaches_status DEBUG: Image status wait: expected, actual status = active, active
2015-08-10 16:28:28,627 create_cirros_image DEBUG: Validating image attributes...
2015-08-10 16:28:28,740 create_cirros_image DEBUG: Image attributes - name:cirros-image-1 public:True id:82430cc2-c246-4fc9-a42c-2f1161e610a7 stat:active container fmt:bare disk fmt:qcow2
2015-08-10 16:28:28,740 delete_resource DEBUG: Deleting OpenStack resource 82430cc2-c246-4fc9-a42c-2f1161e610a7 (glance image)
2015-08-10 16:28:29,028 delete_resource DEBUG: glance image: expected, actual count = 0, 0
2015-08-10 16:28:29,028 test_900_glance_restart_on_config_change DEBUG: Making config change on glance...
2015-08-10 16:28:29,600 test_900_glance_restart_on_config_change DEBUG: Checking that service restarted: glance-api
2015-08-10 16:29:00,822 _get_proc_start_time DEBUG: CMDout: (u'20696', 0)
2015-08-10 16:29:00,822 _get_proc_start_time DEBUG: Pid for glance-api 20696
2015-08-10 16:29:03,191 test_900_glance_restart_on_config_change DEBUG: Checking that service restarted: glance-registry
2015-08-10 16:29:04,822 _get_proc_start_time DEBUG: CMDout: (u'20679', 0)
2015-08-10 16:29:04,822 _get_proc_start_time DEBUG: Pid for glance-registry 20679
juju-test.conductor.017-basic-trusty-kilo RESULT : PASS
juju-test.conductor DEBUG : Tearing down osci-sv08 juju environment
juju-test.conductor DEBUG : Calling "juju destroy-environment -y osci-sv08"
juju-test.conductor DEBUG : Starting a bootstrap for osci-sv08, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap -e osci-sv08
Bootstrapping environment "osci-sv08"
Starting new instance for initial state server
Launching instance
- 51d4ff1d-57a1-4b09-bd03-02e0e97ff9dc
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.108.124:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/releases/juju-1.24.3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Bootstrap complete
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e osci-sv08
juju-test.conductor DEBUG : State for 1.24.3: started
juju-test.conductor.019-basic-vivid-kilo DEBUG : Running 019-basic-vivid-kilo (tests/019-basic-vivid-kilo)
2015-08-10 16:32:19 Starting deployment of osci-sv08
2015-08-10 16:32:42 Deploying services...
2015-08-10 16:32:42 Deploying service glance using local:vivid/glance
2015-08-10 16:32:45 Error deploying service 'glance'
2015-08-10 16:32:45 Command (juju deploy -e osci-sv08 --repository=. local:vivid/glance glance) Output:
Added charm "local:vivid/glance-150" to the environment.
ERROR connection is shut down
2015-08-10 16:32:45 Deployment stopped. run time: 26.97
Traceback (most recent call last):
File "tests/019-basic-vivid-kilo", line 8, in <module>
deployment = GlanceBasicDeployment(series='vivid')
File "/var/lib/jenkins/checkout/glance/tests/basic_deployment.py", line 40, in __init__
self._deploy()
File "/var/lib/jenkins/checkout/glance/tests/charmhelpers/contrib/amulet/deployment.py", line 82, in _deploy
self.d.setup(timeout=2700)
File "/usr/lib/python2.7/dist-packages/amulet/deployer.py", line 351, in setup
subprocess.check_call(shlex.split(cmd))
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-moLMDz/deployer-schema.json', '-e', 'osci-sv08', '-t', '2800', 'osci-sv08']' returned non-zero exit status 1
juju-test.conductor.019-basic-vivid-kilo DEBUG : 2015-08-10 16:32:03,401 get_ubuntu_releases DEBUG: Ubuntu release list: ['warty', 'hoary', 'breezy', 'dapper', 'edgy', 'feisty', 'gutsy', 'hardy', 'intrepid', 'jaunty', 'karmic', 'lucid', 'maverick', 'natty', 'oneiric', 'precise', 'quantal', 'raring', 'saucy', 'trusty', 'utopic', 'vivid', 'wily']
juju-test.conductor.019-basic-vivid-kilo DEBUG : Got exit code: 1
juju-test.conductor.019-basic-vivid-kilo RESULT : FAIL
juju-test.conductor INFO : Breaking here as requested by --set-e
juju-test INFO : Results: 5 passed, 1 failed, 0 errored
ERROR subprocess encountered error code 1
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.
|