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
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375 | 2016-07-11 18:34:00 INFO juju.cmd supercommand.go:60 running jujud [2.0-beta7 gc go1.6]
2016-07-11 18:34:00 DEBUG juju.agent agent.go:524 read agent config, format "1.18"
2016-07-11 18:34:00 INFO juju.jujud unit.go:126 unit agent unit-sampledatabase-3 start (2.0-beta7 [gc])
2016-07-11 18:34:00 INFO juju.network network.go:327 setting prefer-ipv6 to false
2016-07-11 18:34:00 DEBUG juju.worker.uniter upgrade123.go:26 no uniter state file found for unit unit-sampledatabase-3, skipping uniter upgrade step
2016-07-11 18:34:00 WARNING juju.worker.uniter upgrade126.go:26 no uniter state file found for unit unit-sampledatabase-3, skipping uniter upgrade step
2016-07-11 18:34:00 INFO juju.worker runner.go:275 start "api"
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "api-caller" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "proxy-config-updater" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "leadership-tracker" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "metric-collect" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "uniter" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "metric-sender" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "machine-lock" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "logging-config-updater" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:465 "charm-dir" manifold worker started
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:465 "migration-fortress" manifold worker started
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "hook-retry-strategy" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "migration-minion" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "metric-spool" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker runner.go:202 "api" started
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:465 "agent" manifold worker started
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "api-address-updater" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "meter-status" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "metric-collect" manifold worker stopped: <nil>
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "uniter" manifold worker stopped: <nil>
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "migration-minion" manifold worker stopped: <nil>
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "api-config-watcher" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "log-sender" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "upgrader" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:465 "metric-spool" manifold worker started
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:465 "machine-lock" manifold worker started
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "uniter" manifold worker stopped: <nil>
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "metric-collect" manifold worker stopped: <nil>
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "meter-status" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:465 "api-config-watcher" manifold worker started
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "logging-config-updater" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "leadership-tracker" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "metric-sender" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "api-address-updater" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "hook-retry-strategy" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "migration-minion" manifold worker stopped: dependency not available
2016-07-11 18:34:00 INFO juju.api apiclient.go:494 dialing "wss://10.178.209.58:17070/model/9fa25fb8-d04e-4619-8e6e-d1525caa4232/api"
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "upgrader" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "metric-sender" manifold worker stopped: dependency not available
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:465 "meter-status" manifold worker started
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "metric-collect" manifold worker stopped: failed to read charm from: /var/lib/juju/agents/unit-sampledatabase-3/charm: stat /var/lib/juju/agents/unit-sampledatabase-3/charm: no such file or directory
2016-07-11 18:34:00 ERROR juju.worker.dependency engine.go:526 "metric-collect" manifold worker returned unexpected error: failed to read charm from: /var/lib/juju/agents/unit-sampledatabase-3/charm: stat /var/lib/juju/agents/unit-sampledatabase-3/charm: no such file or directory
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "uniter" manifold worker stopped: dependency not available
2016-07-11 18:34:00 INFO juju.api apiclient.go:271 connection established to "wss://10.178.209.58:17070/model/9fa25fb8-d04e-4619-8e6e-d1525caa4232/api"
2016-07-11 18:34:00 INFO juju.api apiclient.go:494 dialing "wss://10.178.209.58:17070/model/9fa25fb8-d04e-4619-8e6e-d1525caa4232/api"
2016-07-11 18:34:00 INFO juju.api apiclient.go:271 connection established to "wss://10.178.209.58:17070/model/9fa25fb8-d04e-4619-8e6e-d1525caa4232/api"
2016-07-11 18:34:00 DEBUG juju.worker.apicaller connect.go:231 changing password...
2016-07-11 18:34:00 DEBUG juju.worker.apicaller connect.go:236 password changed
2016-07-11 18:34:00 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down
2016-07-11 18:34:00 DEBUG juju.worker.dependency engine.go:479 "api-caller" manifold worker stopped: restart immediately
2016-07-11 18:34:00 INFO juju.api apiclient.go:494 dialing "wss://10.178.209.58:17070/model/9fa25fb8-d04e-4619-8e6e-d1525caa4232/api"
2016-07-11 18:34:00 INFO juju.api apiclient.go:271 connection established to "wss://10.178.209.58:17070/model/9fa25fb8-d04e-4619-8e6e-d1525caa4232/api"
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:465 "api-caller" manifold worker started
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:479 "meter-status" manifold worker stopped: <nil>
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:465 "upgrader" manifold worker started
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:465 "log-sender" manifold worker started
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:465 "leadership-tracker" manifold worker started
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:479 "uniter" manifold worker stopped: dependency not available
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:465 "metric-sender" manifold worker started
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:479 "proxy-config-updater" manifold worker stopped: dependency not available
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:465 "api-address-updater" manifold worker started
2016-07-11 18:34:01 DEBUG juju.worker.leadership tracker.go:122 sampledatabase/3 making initial claim for sampledatabase leadership
2016-07-11 18:34:01 DEBUG juju.worker.leadership tracker.go:164 checking sampledatabase/3 for sampledatabase leadership
2016-07-11 18:34:01 DEBUG juju.worker.logger logger.go:34 initial log config: "<root>=DEBUG"
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:465 "logging-config-updater" manifold worker started
2016-07-11 18:34:01 DEBUG juju.worker.logger logger.go:65 logger setup
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:465 "meter-status" manifold worker started
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:465 "migration-minion" manifold worker started
2016-07-11 18:34:01 DEBUG juju.worker.dependency engine.go:479 "uniter" manifold worker stopped: dependency not available
2016-07-11 18:34:01 DEBUG juju.worker.logger logger.go:50 reconfiguring logging from "<root>=DEBUG" to "<root>=INFO;unit=DEBUG"
2016-07-11 18:34:01 INFO juju.worker.migrationminion worker.go:109 migration phase is now: NONE
2016-07-11 18:34:01 INFO juju.agent agent.go:582 API server address details [["10.178.209.58:17070" "127.0.0.1:17070" "[::1]:17070"]] written to agent config as ["10.178.209.58:17070"]
2016-07-11 18:34:01 INFO worker.uniter.jujuc tools.go:20 ensure jujuc symlinks in /var/lib/juju/tools/unit-sampledatabase-3
2016-07-11 18:34:01 INFO worker.uniter.jujuc tools.go:40 was a symlink, now looking at /var/lib/juju/tools/2.0-beta7-trusty-amd64
2016-07-11 18:34:01 INFO juju.worker.meterstatus connected.go:112 skipped "meter-status-changed" hook (missing)
2016-07-11 18:34:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:34:31.255052836 +0000 UTC
2016-07-11 18:34:01 INFO juju.worker.upgrader upgrader.go:139 abort check blocked until version event received
2016-07-11 18:34:01 INFO juju.worker.upgrader upgrader.go:145 unblocking abort check
2016-07-11 18:34:01 INFO juju.worker.upgrader upgrader.go:178 desired tool version: 2.0-beta7
2016-07-11 18:34:01 INFO juju.worker.uniter uniter.go:164 unit "sampledatabase/3" started
2016-07-11 18:34:01 INFO juju.worker.uniter uniter.go:173 resuming charm install
2016-07-11 18:34:01 INFO juju.worker.uniter.charm bundles.go:77 downloading local:trusty/sampledatabase-3 from API server
2016-07-11 18:34:01 INFO juju.downloader download.go:149 downloading from local:trusty/sampledatabase-3
2016-07-11 18:34:03 ERROR juju.worker.dependency engine.go:526 "metric-collect" manifold worker returned unexpected error: failed to read charm from: /var/lib/juju/agents/unit-sampledatabase-3/charm: stat /var/lib/juju/agents/unit-sampledatabase-3/charm: no such file or directory
2016-07-11 18:34:04 INFO juju.downloader download.go:113 download complete ("local:trusty/sampledatabase-3")
2016-07-11 18:34:04 INFO juju.downloader download.go:139 download verified ("local:trusty/sampledatabase-3")
2016-07-11 18:34:04 INFO juju.worker.uniter uniter.go:203 hooks are retried true
2016-07-11 18:34:05 INFO juju.worker.uniter.storage resolver.go:80 initial storage attachments ready
2016-07-11 18:34:05 INFO juju.worker.uniter resolver.go:111 found queued "install" hook
2016-07-11 18:34:06 INFO install Reading package lists...
2016-07-11 18:34:07 INFO install Building dependency tree...
2016-07-11 18:34:07 INFO install Reading state information...
2016-07-11 18:34:07 INFO install The following packages were automatically installed and are no longer required:
2016-07-11 18:34:07 INFO install libfreetype6 os-prober
2016-07-11 18:34:07 INFO install Use 'apt-get autoremove' to remove them.
2016-07-11 18:34:07 INFO install The following extra packages will be installed:
2016-07-11 18:34:07 INFO install binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
2016-07-11 18:34:07 INFO install gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
2016-07-11 18:34:07 INFO install libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
2016-07-11 18:34:07 INFO install libcloog-isl4 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl
2016-07-11 18:34:07 INFO install libgcc-4.8-dev libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4
2016-07-11 18:34:07 INFO install libpython3-dev libpython3.4 libpython3.4-dev libquadmath0 libstdc++-4.8-dev
2016-07-11 18:34:07 INFO install libtsan0 linux-libc-dev make manpages-dev python-chardet-whl
2016-07-11 18:34:07 INFO install python-colorama-whl python-distlib-whl python-html5lib-whl python-pip-whl
2016-07-11 18:34:07 INFO install python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
2016-07-11 18:34:07 INFO install python3-chardet python3-colorama python3-dev python3-distlib
2016-07-11 18:34:07 INFO install python3-html5lib python3-pkg-resources python3-requests python3-six
2016-07-11 18:34:07 INFO install python3-urllib3 python3-wheel python3.4-dev
2016-07-11 18:34:07 INFO install Suggested packages:
2016-07-11 18:34:07 INFO install binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
2016-07-11 18:34:07 INFO install g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf
2016-07-11 18:34:07 INFO install automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg
2016-07-11 18:34:07 INFO install libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg
2016-07-11 18:34:07 INFO install libquadmath0-dbg glibc-doc libstdc++-4.8-doc make-doc python3-genshi
2016-07-11 18:34:07 INFO install python3-lxml
2016-07-11 18:34:07 INFO install The following NEW packages will be installed:
2016-07-11 18:34:07 INFO install binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
2016-07-11 18:34:07 INFO install gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
2016-07-11 18:34:07 INFO install libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
2016-07-11 18:34:07 INFO install libcloog-isl4 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl
2016-07-11 18:34:07 INFO install libgcc-4.8-dev libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4
2016-07-11 18:34:07 INFO install libpython3-dev libpython3.4 libpython3.4-dev libquadmath0 libstdc++-4.8-dev
2016-07-11 18:34:07 INFO install libtsan0 linux-libc-dev make manpages-dev python-chardet-whl
2016-07-11 18:34:07 INFO install python-colorama-whl python-distlib-whl python-html5lib-whl python-pip-whl
2016-07-11 18:34:07 INFO install python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
2016-07-11 18:34:07 INFO install python3-chardet python3-colorama python3-dev python3-distlib
2016-07-11 18:34:07 INFO install python3-html5lib python3-pip python3-pkg-resources python3-requests
2016-07-11 18:34:07 INFO install python3-setuptools python3-six python3-urllib3 python3-wheel python3-yaml
2016-07-11 18:34:07 INFO install python3.4-dev
2016-07-11 18:34:07 INFO install 0 upgraded, 61 newly installed, 0 to remove and 0 not upgraded.
2016-07-11 18:34:07 INFO install Need to get 61.2 MB of archives.
2016-07-11 18:34:07 INFO install After this operation, 157 MB of additional disk space will be used.
2016-07-11 18:34:07 INFO install Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasan0 amd64 4.8.4-2ubuntu1~14.04.3 [63.1 kB]
2016-07-11 18:34:07 INFO install Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1 amd64 4.8.4-2ubuntu1~14.04.3 [8636 B]
2016-07-11 18:34:07 INFO install Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
2016-07-11 18:34:07 INFO install Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libisl10 amd64 0.12.2-1 [419 kB]
2016-07-11 18:34:07 INFO install Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main libcloog-isl4 amd64 0.18.2-1 [57.5 kB]
2016-07-11 18:34:07 INFO install Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgomp1 amd64 4.8.4-2ubuntu1~14.04.3 [23.1 kB]
2016-07-11 18:34:07 INFO install Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1 amd64 4.8.4-2ubuntu1~14.04.3 [28.5 kB]
2016-07-11 18:34:07 INFO install Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libmpfr4 amd64 3.1.2-1 [203 kB]
2016-07-11 18:34:07 INFO install Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpython3.4 amd64 3.4.3-1ubuntu1~14.04.3 [1308 kB]
2016-07-11 18:34:08 INFO install Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.9 [69.0 kB]
2016-07-11 18:34:08 INFO install Get:11 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-91.138 [773 kB]
2016-07-11 18:34:08 INFO install Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.9 [1910 kB]
2016-07-11 18:34:08 INFO install Get:13 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libexpat1-dev amd64 2.1.0-4ubuntu1.3 [115 kB]
2016-07-11 18:34:08 INFO install Get:14 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpython3.4-dev amd64 3.4.3-1ubuntu1~14.04.3 [17.8 MB]
2016-07-11 18:34:10 INFO install Get:15 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libquadmath0 amd64 4.8.4-2ubuntu1~14.04.3 [126 kB]
2016-07-11 18:34:10 INFO install Get:16 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libtsan0 amd64 4.8.4-2ubuntu1~14.04.3 [94.9 kB]
2016-07-11 18:34:10 INFO install Get:17 http://archive.ubuntu.com/ubuntu/ trusty/main libmpc3 amd64 1.0.1-1ubuntu1 [38.4 kB]
2016-07-11 18:34:10 INFO install Get:18 http://archive.ubuntu.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.1 [2081 kB]
2016-07-11 18:34:11 INFO install Get:19 http://archive.ubuntu.com/ubuntu/ trusty-updates/main cpp-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [4595 kB]
2016-07-11 18:34:11 INFO install Get:20 http://archive.ubuntu.com/ubuntu/ trusty/main cpp amd64 4:4.8.2-1ubuntu6 [27.5 kB]
2016-07-11 18:34:11 INFO install Get:21 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1688 kB]
2016-07-11 18:34:11 INFO install Get:22 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [5047 kB]
2016-07-11 18:34:12 INFO install Get:23 http://archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5098 B]
2016-07-11 18:34:12 INFO install Get:24 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1053 kB]
2016-07-11 18:34:12 INFO install Get:25 http://archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [18.1 MB]
2016-07-11 18:34:14 INFO install Get:26 http://archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1490 B]
2016-07-11 18:34:14 INFO install Get:27 http://archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
2016-07-11 18:34:14 INFO install Get:28 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.7 [179 kB]
2016-07-11 18:34:14 INFO install Get:29 http://archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.7 [726 kB]
2016-07-11 18:34:14 INFO install Get:30 http://archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4838 B]
2016-07-11 18:34:14 INFO install Get:31 http://archive.ubuntu.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25.4 kB]
2016-07-11 18:34:14 INFO install Get:32 http://archive.ubuntu.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55.0 kB]
2016-07-11 18:34:15 INFO install Get:33 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
2016-07-11 18:34:15 INFO install Get:34 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
2016-07-11 18:34:15 INFO install Get:35 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
2016-07-11 18:34:15 INFO install Get:36 http://archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
2016-07-11 18:34:15 INFO install Get:37 http://archive.ubuntu.com/ubuntu/ trusty/main libpython3-dev amd64 3.4.0-0ubuntu2 [7002 B]
2016-07-11 18:34:15 INFO install Get:38 http://archive.ubuntu.com/ubuntu/ trusty/main manpages-dev all 3.54-1ubuntu1 [1820 kB]
2016-07-11 18:34:15 INFO install Get:39 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-pkg-resources all 3.3-1ubuntu2 [31.7 kB]
2016-07-11 18:34:15 INFO install Get:40 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-chardet-whl all 2.2.1-2~ubuntu1 [170 kB]
2016-07-11 18:34:15 INFO install Get:41 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama-whl all 0.2.5-0.1ubuntu2 [18.2 kB]
2016-07-11 18:34:15 INFO install Get:42 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib-whl all 0.1.8-1ubuntu1 [140 kB]
2016-07-11 18:34:15 INFO install Get:43 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib-whl all 0.999-3~ubuntu1 [109 kB]
2016-07-11 18:34:15 INFO install Get:44 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-six-whl all 1.5.2-1ubuntu1 [10.5 kB]
2016-07-11 18:34:15 INFO install Get:45 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-urllib3-whl all 1.7.1-1ubuntu4 [64.0 kB]
2016-07-11 18:34:15 INFO install Get:46 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-requests-whl all 2.2.1-1ubuntu0.3 [227 kB]
2016-07-11 18:34:15 INFO install Get:47 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools-whl all 3.3-1ubuntu2 [244 kB]
2016-07-11 18:34:15 INFO install Get:48 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip-whl all 1.5.4-1ubuntu3 [111 kB]
2016-07-11 18:34:15 INFO install Get:49 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-chardet all 2.2.1-2~ubuntu1 [96.5 kB]
2016-07-11 18:34:15 INFO install Get:50 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python3-colorama all 0.2.5-0.1ubuntu2 [12.0 kB]
2016-07-11 18:34:15 INFO install Get:51 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3.4-dev amd64 3.4.3-1ubuntu1~14.04.3 [419 kB]
2016-07-11 18:34:15 INFO install Get:52 http://archive.ubuntu.com/ubuntu/ trusty/main python3-dev amd64 3.4.0-0ubuntu2 [1192 B]
2016-07-11 18:34:15 INFO install Get:53 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python3-distlib all 0.1.8-1ubuntu1 [113 kB]
2016-07-11 18:34:15 INFO install Get:54 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-six all 1.5.2-1ubuntu1 [8310 B]
2016-07-11 18:34:15 INFO install Get:55 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python3-html5lib all 0.999-3~ubuntu1 [79.7 kB]
2016-07-11 18:34:15 INFO install Get:56 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-urllib3 all 1.7.1-1ubuntu4 [39.6 kB]
2016-07-11 18:34:15 INFO install Get:57 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-requests all 2.2.1-1ubuntu0.3 [43.0 kB]
2016-07-11 18:34:15 INFO install Get:58 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-setuptools all 3.3-1ubuntu2 [144 kB]
2016-07-11 18:34:15 INFO install Get:59 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python3-pip all 1.5.4-1ubuntu3 [80.3 kB]
2016-07-11 18:34:15 INFO install Get:60 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-wheel all 0.24.0-1~ubuntu1 [44.8 kB]
2016-07-11 18:34:15 INFO install Get:61 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-yaml amd64 3.10-4ubuntu0.1 [92.7 kB]
2016-07-11 18:34:19 INFO install
Extracting templates from packages: 49%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
2016-07-11 18:34:19 INFO install Fetched 61.2 MB in 8s (7419 kB/s)
2016-07-11 18:34:20 INFO install Selecting previously unselected package libasan0:amd64.
2016-07-11 18:34:20 INFO install (Reading database ... 26064 files and directories currently installed.)
2016-07-11 18:34:20 INFO install Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:20 INFO install Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:34:21 INFO install Selecting previously unselected package libatomic1:amd64.
2016-07-11 18:34:21 INFO install Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:21 INFO install Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:34:21 INFO install Selecting previously unselected package libgmp10:amd64.
2016-07-11 18:34:21 INFO install Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
2016-07-11 18:34:21 INFO install Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
2016-07-11 18:34:21 INFO install Selecting previously unselected package libisl10:amd64.
2016-07-11 18:34:21 INFO install Preparing to unpack .../libisl10_0.12.2-1_amd64.deb ...
2016-07-11 18:34:21 INFO install Unpacking libisl10:amd64 (0.12.2-1) ...
2016-07-11 18:34:22 INFO install Selecting previously unselected package libcloog-isl4:amd64.
2016-07-11 18:34:22 INFO install Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
2016-07-11 18:34:22 INFO install Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
2016-07-11 18:34:22 INFO install Selecting previously unselected package libgomp1:amd64.
2016-07-11 18:34:22 INFO install Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:22 INFO install Unpacking libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:34:22 INFO install Selecting previously unselected package libitm1:amd64.
2016-07-11 18:34:22 INFO install Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:22 INFO install Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:34:22 INFO install Selecting previously unselected package libmpfr4:amd64.
2016-07-11 18:34:22 INFO install Preparing to unpack .../libmpfr4_3.1.2-1_amd64.deb ...
2016-07-11 18:34:22 INFO install Unpacking libmpfr4:amd64 (3.1.2-1) ...
2016-07-11 18:34:23 INFO install Selecting previously unselected package libpython3.4:amd64.
2016-07-11 18:34:23 INFO install Preparing to unpack .../libpython3.4_3.4.3-1ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:23 INFO install Unpacking libpython3.4:amd64 (3.4.3-1ubuntu1~14.04.3) ...
2016-07-11 18:34:25 INFO install Selecting previously unselected package libc-dev-bin.
2016-07-11 18:34:25 INFO install Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.9_amd64.deb ...
2016-07-11 18:34:25 INFO install Unpacking libc-dev-bin (2.19-0ubuntu6.9) ...
2016-07-11 18:34:25 INFO install Selecting previously unselected package linux-libc-dev:amd64.
2016-07-11 18:34:25 INFO install Preparing to unpack .../linux-libc-dev_3.13.0-91.138_amd64.deb ...
2016-07-11 18:34:25 INFO install Unpacking linux-libc-dev:amd64 (3.13.0-91.138) ...
2016-07-11 18:34:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:35:01.255412592 +0000 UTC
2016-07-11 18:34:33 INFO install Selecting previously unselected package libc6-dev:amd64.
2016-07-11 18:34:33 INFO install Preparing to unpack .../libc6-dev_2.19-0ubuntu6.9_amd64.deb ...
2016-07-11 18:34:33 INFO install Unpacking libc6-dev:amd64 (2.19-0ubuntu6.9) ...
2016-07-11 18:34:39 INFO install Selecting previously unselected package libexpat1-dev:amd64.
2016-07-11 18:34:39 INFO install Preparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1.3_amd64.deb ...
2016-07-11 18:34:39 INFO install Unpacking libexpat1-dev:amd64 (2.1.0-4ubuntu1.3) ...
2016-07-11 18:34:39 INFO install Selecting previously unselected package libpython3.4-dev:amd64.
2016-07-11 18:34:39 INFO install Preparing to unpack .../libpython3.4-dev_3.4.3-1ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:39 INFO install Unpacking libpython3.4-dev:amd64 (3.4.3-1ubuntu1~14.04.3) ...
2016-07-11 18:34:47 INFO install Selecting previously unselected package libquadmath0:amd64.
2016-07-11 18:34:47 INFO install Preparing to unpack .../libquadmath0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:47 INFO install Unpacking libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:34:47 INFO install Selecting previously unselected package libtsan0:amd64.
2016-07-11 18:34:47 INFO install Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:47 INFO install Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:34:48 INFO install Selecting previously unselected package libmpc3:amd64.
2016-07-11 18:34:48 INFO install Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_amd64.deb ...
2016-07-11 18:34:48 INFO install Unpacking libmpc3:amd64 (1.0.1-1ubuntu1) ...
2016-07-11 18:34:49 INFO install Selecting previously unselected package binutils.
2016-07-11 18:34:49 INFO install Preparing to unpack .../binutils_2.24-5ubuntu14.1_amd64.deb ...
2016-07-11 18:34:49 INFO install Unpacking binutils (2.24-5ubuntu14.1) ...
2016-07-11 18:34:52 INFO install Selecting previously unselected package cpp-4.8.
2016-07-11 18:34:52 INFO install Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:52 INFO install Unpacking cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:34:55 INFO install Selecting previously unselected package cpp.
2016-07-11 18:34:55 INFO install Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_amd64.deb ...
2016-07-11 18:34:55 INFO install Unpacking cpp (4:4.8.2-1ubuntu6) ...
2016-07-11 18:34:55 INFO install Selecting previously unselected package libgcc-4.8-dev:amd64.
2016-07-11 18:34:55 INFO install Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:55 INFO install Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:34:56 INFO install Selecting previously unselected package gcc-4.8.
2016-07-11 18:34:56 INFO install Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:34:56 INFO install Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:35:00 INFO install Selecting previously unselected package gcc.
2016-07-11 18:35:00 INFO install Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
2016-07-11 18:35:00 INFO install Unpacking gcc (4:4.8.2-1ubuntu6) ...
2016-07-11 18:35:00 INFO install Selecting previously unselected package libstdc++-4.8-dev:amd64.
2016-07-11 18:35:00 INFO install Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:35:00 INFO install Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:35:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:35:31.255807906 +0000 UTC
2016-07-11 18:35:08 INFO install Selecting previously unselected package g++-4.8.
2016-07-11 18:35:08 INFO install Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:35:08 INFO install Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:35:11 INFO install Selecting previously unselected package g++.
2016-07-11 18:35:11 INFO install Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
2016-07-11 18:35:11 INFO install Unpacking g++ (4:4.8.2-1ubuntu6) ...
2016-07-11 18:35:11 INFO install Selecting previously unselected package make.
2016-07-11 18:35:11 INFO install Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
2016-07-11 18:35:11 INFO install Unpacking make (3.81-8.2ubuntu3) ...
2016-07-11 18:35:11 INFO install Selecting previously unselected package libdpkg-perl.
2016-07-11 18:35:11 INFO install Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.7_all.deb ...
2016-07-11 18:35:11 INFO install Unpacking libdpkg-perl (1.17.5ubuntu5.7) ...
2016-07-11 18:35:12 INFO install Selecting previously unselected package dpkg-dev.
2016-07-11 18:35:12 INFO install Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.7_all.deb ...
2016-07-11 18:35:12 INFO install Unpacking dpkg-dev (1.17.5ubuntu5.7) ...
2016-07-11 18:35:16 INFO install Selecting previously unselected package build-essential.
2016-07-11 18:35:16 INFO install Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
2016-07-11 18:35:16 INFO install Unpacking build-essential (11.6ubuntu6) ...
2016-07-11 18:35:16 INFO install Selecting previously unselected package libfakeroot:amd64.
2016-07-11 18:35:16 INFO install Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
2016-07-11 18:35:16 INFO install Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
2016-07-11 18:35:17 INFO install Selecting previously unselected package fakeroot.
2016-07-11 18:35:17 INFO install Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
2016-07-11 18:35:17 INFO install Unpacking fakeroot (1.20-3ubuntu2) ...
2016-07-11 18:35:17 INFO install Selecting previously unselected package libalgorithm-diff-perl.
2016-07-11 18:35:17 INFO install Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
2016-07-11 18:35:17 INFO install Unpacking libalgorithm-diff-perl (1.19.02-3) ...
2016-07-11 18:35:17 INFO install Selecting previously unselected package libalgorithm-diff-xs-perl.
2016-07-11 18:35:17 INFO install Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
2016-07-11 18:35:17 INFO install Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
2016-07-11 18:35:17 INFO install Selecting previously unselected package libalgorithm-merge-perl.
2016-07-11 18:35:17 INFO install Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
2016-07-11 18:35:17 INFO install Unpacking libalgorithm-merge-perl (0.08-2) ...
2016-07-11 18:35:18 INFO install Selecting previously unselected package libfile-fcntllock-perl.
2016-07-11 18:35:18 INFO install Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
2016-07-11 18:35:18 INFO install Unpacking libfile-fcntllock-perl (0.14-2build1) ...
2016-07-11 18:35:18 INFO install Selecting previously unselected package libpython3-dev:amd64.
2016-07-11 18:35:18 INFO install Preparing to unpack .../libpython3-dev_3.4.0-0ubuntu2_amd64.deb ...
2016-07-11 18:35:18 INFO install Unpacking libpython3-dev:amd64 (3.4.0-0ubuntu2) ...
2016-07-11 18:35:18 INFO install Selecting previously unselected package manpages-dev.
2016-07-11 18:35:18 INFO install Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
2016-07-11 18:35:19 INFO install Unpacking manpages-dev (3.54-1ubuntu1) ...
2016-07-11 18:35:26 INFO install Selecting previously unselected package python3-pkg-resources.
2016-07-11 18:35:26 INFO install Preparing to unpack .../python3-pkg-resources_3.3-1ubuntu2_all.deb ...
2016-07-11 18:35:26 INFO install Unpacking python3-pkg-resources (3.3-1ubuntu2) ...
2016-07-11 18:35:26 INFO install Selecting previously unselected package python-chardet-whl.
2016-07-11 18:35:26 INFO install Preparing to unpack .../python-chardet-whl_2.2.1-2~ubuntu1_all.deb ...
2016-07-11 18:35:26 INFO install Unpacking python-chardet-whl (2.2.1-2~ubuntu1) ...
2016-07-11 18:35:26 INFO install Selecting previously unselected package python-colorama-whl.
2016-07-11 18:35:26 INFO install Preparing to unpack .../python-colorama-whl_0.2.5-0.1ubuntu2_all.deb ...
2016-07-11 18:35:26 INFO install Unpacking python-colorama-whl (0.2.5-0.1ubuntu2) ...
2016-07-11 18:35:27 INFO install Selecting previously unselected package python-distlib-whl.
2016-07-11 18:35:27 INFO install Preparing to unpack .../python-distlib-whl_0.1.8-1ubuntu1_all.deb ...
2016-07-11 18:35:27 INFO install Unpacking python-distlib-whl (0.1.8-1ubuntu1) ...
2016-07-11 18:35:27 INFO install Selecting previously unselected package python-html5lib-whl.
2016-07-11 18:35:27 INFO install Preparing to unpack .../python-html5lib-whl_0.999-3~ubuntu1_all.deb ...
2016-07-11 18:35:27 INFO install Unpacking python-html5lib-whl (0.999-3~ubuntu1) ...
2016-07-11 18:35:27 INFO install Selecting previously unselected package python-six-whl.
2016-07-11 18:35:27 INFO install Preparing to unpack .../python-six-whl_1.5.2-1ubuntu1_all.deb ...
2016-07-11 18:35:27 INFO install Unpacking python-six-whl (1.5.2-1ubuntu1) ...
2016-07-11 18:35:27 INFO install Selecting previously unselected package python-urllib3-whl.
2016-07-11 18:35:27 INFO install Preparing to unpack .../python-urllib3-whl_1.7.1-1ubuntu4_all.deb ...
2016-07-11 18:35:27 INFO install Unpacking python-urllib3-whl (1.7.1-1ubuntu4) ...
2016-07-11 18:35:28 INFO install Selecting previously unselected package python-requests-whl.
2016-07-11 18:35:28 INFO install Preparing to unpack .../python-requests-whl_2.2.1-1ubuntu0.3_all.deb ...
2016-07-11 18:35:28 INFO install Unpacking python-requests-whl (2.2.1-1ubuntu0.3) ...
2016-07-11 18:35:28 INFO install Selecting previously unselected package python-setuptools-whl.
2016-07-11 18:35:28 INFO install Preparing to unpack .../python-setuptools-whl_3.3-1ubuntu2_all.deb ...
2016-07-11 18:35:28 INFO install Unpacking python-setuptools-whl (3.3-1ubuntu2) ...
2016-07-11 18:35:28 INFO install Selecting previously unselected package python-pip-whl.
2016-07-11 18:35:28 INFO install Preparing to unpack .../python-pip-whl_1.5.4-1ubuntu3_all.deb ...
2016-07-11 18:35:28 INFO install Unpacking python-pip-whl (1.5.4-1ubuntu3) ...
2016-07-11 18:35:29 INFO install Selecting previously unselected package python3-chardet.
2016-07-11 18:35:29 INFO install Preparing to unpack .../python3-chardet_2.2.1-2~ubuntu1_all.deb ...
2016-07-11 18:35:29 INFO install Unpacking python3-chardet (2.2.1-2~ubuntu1) ...
2016-07-11 18:35:29 INFO install Selecting previously unselected package python3-colorama.
2016-07-11 18:35:29 INFO install Preparing to unpack .../python3-colorama_0.2.5-0.1ubuntu2_all.deb ...
2016-07-11 18:35:29 INFO install Unpacking python3-colorama (0.2.5-0.1ubuntu2) ...
2016-07-11 18:35:30 INFO install Selecting previously unselected package python3.4-dev.
2016-07-11 18:35:30 INFO install Preparing to unpack .../python3.4-dev_3.4.3-1ubuntu1~14.04.3_amd64.deb ...
2016-07-11 18:35:30 INFO install Unpacking python3.4-dev (3.4.3-1ubuntu1~14.04.3) ...
2016-07-11 18:35:30 INFO install Selecting previously unselected package python3-dev.
2016-07-11 18:35:30 INFO install Preparing to unpack .../python3-dev_3.4.0-0ubuntu2_amd64.deb ...
2016-07-11 18:35:30 INFO install Unpacking python3-dev (3.4.0-0ubuntu2) ...
2016-07-11 18:35:30 INFO install Selecting previously unselected package python3-distlib.
2016-07-11 18:35:30 INFO install Preparing to unpack .../python3-distlib_0.1.8-1ubuntu1_all.deb ...
2016-07-11 18:35:30 INFO install Unpacking python3-distlib (0.1.8-1ubuntu1) ...
2016-07-11 18:35:31 INFO install Selecting previously unselected package python3-six.
2016-07-11 18:35:31 INFO install Preparing to unpack .../python3-six_1.5.2-1ubuntu1_all.deb ...
2016-07-11 18:35:31 INFO install Unpacking python3-six (1.5.2-1ubuntu1) ...
2016-07-11 18:35:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:36:01.256091236 +0000 UTC
2016-07-11 18:35:31 INFO install Selecting previously unselected package python3-html5lib.
2016-07-11 18:35:31 INFO install Preparing to unpack .../python3-html5lib_0.999-3~ubuntu1_all.deb ...
2016-07-11 18:35:31 INFO install Unpacking python3-html5lib (0.999-3~ubuntu1) ...
2016-07-11 18:35:32 INFO install Selecting previously unselected package python3-urllib3.
2016-07-11 18:35:32 INFO install Preparing to unpack .../python3-urllib3_1.7.1-1ubuntu4_all.deb ...
2016-07-11 18:35:32 INFO install Unpacking python3-urllib3 (1.7.1-1ubuntu4) ...
2016-07-11 18:35:32 INFO install Selecting previously unselected package python3-requests.
2016-07-11 18:35:32 INFO install Preparing to unpack .../python3-requests_2.2.1-1ubuntu0.3_all.deb ...
2016-07-11 18:35:32 INFO install Unpacking python3-requests (2.2.1-1ubuntu0.3) ...
2016-07-11 18:35:32 INFO install Selecting previously unselected package python3-setuptools.
2016-07-11 18:35:32 INFO install Preparing to unpack .../python3-setuptools_3.3-1ubuntu2_all.deb ...
2016-07-11 18:35:32 INFO install Unpacking python3-setuptools (3.3-1ubuntu2) ...
2016-07-11 18:35:34 INFO install Selecting previously unselected package python3-pip.
2016-07-11 18:35:34 INFO install Preparing to unpack .../python3-pip_1.5.4-1ubuntu3_all.deb ...
2016-07-11 18:35:34 INFO install Unpacking python3-pip (1.5.4-1ubuntu3) ...
2016-07-11 18:35:35 INFO install Selecting previously unselected package python3-wheel.
2016-07-11 18:35:35 INFO install Preparing to unpack .../python3-wheel_0.24.0-1~ubuntu1_all.deb ...
2016-07-11 18:35:35 INFO install Unpacking python3-wheel (0.24.0-1~ubuntu1) ...
2016-07-11 18:35:36 INFO install Selecting previously unselected package python3-yaml.
2016-07-11 18:35:36 INFO install Preparing to unpack .../python3-yaml_3.10-4ubuntu0.1_amd64.deb ...
2016-07-11 18:35:36 INFO install Unpacking python3-yaml (3.10-4ubuntu0.1) ...
2016-07-11 18:35:36 INFO install Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
2016-07-11 18:35:59 INFO install Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:35:59 INFO install Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:35:59 INFO install Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
2016-07-11 18:36:00 INFO install Setting up libisl10:amd64 (0.12.2-1) ...
2016-07-11 18:36:00 INFO install Setting up libcloog-isl4:amd64 (0.18.2-1) ...
2016-07-11 18:36:00 INFO install Setting up libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:36:00 INFO install Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:36:00 INFO install Setting up libmpfr4:amd64 (3.1.2-1) ...
2016-07-11 18:36:00 INFO install Setting up libpython3.4:amd64 (3.4.3-1ubuntu1~14.04.3) ...
2016-07-11 18:36:00 INFO install Setting up libc-dev-bin (2.19-0ubuntu6.9) ...
2016-07-11 18:36:00 INFO install Setting up linux-libc-dev:amd64 (3.13.0-91.138) ...
2016-07-11 18:36:00 INFO install Setting up libc6-dev:amd64 (2.19-0ubuntu6.9) ...
2016-07-11 18:36:00 INFO install Setting up libexpat1-dev:amd64 (2.1.0-4ubuntu1.3) ...
2016-07-11 18:36:00 INFO install Setting up libpython3.4-dev:amd64 (3.4.3-1ubuntu1~14.04.3) ...
2016-07-11 18:36:00 INFO install Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:36:00 INFO install Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:36:01 INFO install Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
2016-07-11 18:36:01 INFO install Setting up binutils (2.24-5ubuntu14.1) ...
2016-07-11 18:36:01 INFO install Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:36:01 INFO install Setting up cpp (4:4.8.2-1ubuntu6) ...
2016-07-11 18:36:01 INFO install Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:36:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:36:31.256375958 +0000 UTC
2016-07-11 18:36:01 INFO install Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:36:01 INFO install Setting up gcc (4:4.8.2-1ubuntu6) ...
2016-07-11 18:36:01 INFO install Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:36:01 INFO install Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
2016-07-11 18:36:01 INFO install Setting up g++ (4:4.8.2-1ubuntu6) ...
2016-07-11 18:36:01 INFO install update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
2016-07-11 18:36:01 INFO install Setting up make (3.81-8.2ubuntu3) ...
2016-07-11 18:36:01 INFO install Setting up libdpkg-perl (1.17.5ubuntu5.7) ...
2016-07-11 18:36:01 INFO install Setting up dpkg-dev (1.17.5ubuntu5.7) ...
2016-07-11 18:36:01 INFO install Setting up build-essential (11.6ubuntu6) ...
2016-07-11 18:36:02 INFO install Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
2016-07-11 18:36:02 INFO install Setting up fakeroot (1.20-3ubuntu2) ...
2016-07-11 18:36:02 INFO install update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
2016-07-11 18:36:02 INFO install Setting up libalgorithm-diff-perl (1.19.02-3) ...
2016-07-11 18:36:02 INFO install Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
2016-07-11 18:36:02 INFO install Setting up libalgorithm-merge-perl (0.08-2) ...
2016-07-11 18:36:02 INFO install Setting up libfile-fcntllock-perl (0.14-2build1) ...
2016-07-11 18:36:02 INFO install Setting up libpython3-dev:amd64 (3.4.0-0ubuntu2) ...
2016-07-11 18:36:02 INFO install Setting up manpages-dev (3.54-1ubuntu1) ...
2016-07-11 18:36:02 INFO install Setting up python3-pkg-resources (3.3-1ubuntu2) ...
2016-07-11 18:36:02 INFO install Setting up python-chardet-whl (2.2.1-2~ubuntu1) ...
2016-07-11 18:36:03 INFO install Setting up python-colorama-whl (0.2.5-0.1ubuntu2) ...
2016-07-11 18:36:03 INFO install Setting up python-distlib-whl (0.1.8-1ubuntu1) ...
2016-07-11 18:36:03 INFO install Setting up python-html5lib-whl (0.999-3~ubuntu1) ...
2016-07-11 18:36:03 INFO install Setting up python-six-whl (1.5.2-1ubuntu1) ...
2016-07-11 18:36:03 INFO install Setting up python-urllib3-whl (1.7.1-1ubuntu4) ...
2016-07-11 18:36:03 INFO install Setting up python-requests-whl (2.2.1-1ubuntu0.3) ...
2016-07-11 18:36:03 INFO install Setting up python-setuptools-whl (3.3-1ubuntu2) ...
2016-07-11 18:36:03 INFO install Setting up python-pip-whl (1.5.4-1ubuntu3) ...
2016-07-11 18:36:03 INFO install Setting up python3-chardet (2.2.1-2~ubuntu1) ...
2016-07-11 18:36:05 INFO install Setting up python3-colorama (0.2.5-0.1ubuntu2) ...
2016-07-11 18:36:05 INFO install Setting up python3.4-dev (3.4.3-1ubuntu1~14.04.3) ...
2016-07-11 18:36:05 INFO install Setting up python3-dev (3.4.0-0ubuntu2) ...
2016-07-11 18:36:05 INFO install Setting up python3-distlib (0.1.8-1ubuntu1) ...
2016-07-11 18:36:06 INFO install Setting up python3-six (1.5.2-1ubuntu1) ...
2016-07-11 18:36:07 INFO install Setting up python3-html5lib (0.999-3~ubuntu1) ...
2016-07-11 18:36:08 INFO install Setting up python3-urllib3 (1.7.1-1ubuntu4) ...
2016-07-11 18:36:08 INFO install Setting up python3-requests (2.2.1-1ubuntu0.3) ...
2016-07-11 18:36:09 INFO install Setting up python3-setuptools (3.3-1ubuntu2) ...
2016-07-11 18:36:10 INFO install Setting up python3-pip (1.5.4-1ubuntu3) ...
2016-07-11 18:36:10 INFO install Setting up python3-wheel (0.24.0-1~ubuntu1) ...
2016-07-11 18:36:11 INFO install Setting up python3-yaml (3.10-4ubuntu0.1) ...
2016-07-11 18:36:11 INFO install Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
2016-07-11 18:36:15 INFO install Reading package lists...
2016-07-11 18:36:15 INFO install Building dependency tree...
2016-07-11 18:36:15 INFO install Reading state information...
2016-07-11 18:36:16 INFO install The following packages were automatically installed and are no longer required:
2016-07-11 18:36:16 INFO install libfreetype6 os-prober
2016-07-11 18:36:16 INFO install Use 'apt-get autoremove' to remove them.
2016-07-11 18:36:16 INFO install The following extra packages will be installed:
2016-07-11 18:36:16 INFO install libdbd-mysql-perl libdbi-perl libmysqlclient18 libterm-readkey-perl
2016-07-11 18:36:16 INFO install mysql-client-5.5 mysql-client-core-5.5 mysql-common
2016-07-11 18:36:16 INFO install Suggested packages:
2016-07-11 18:36:16 INFO install libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl
2016-07-11 18:36:16 INFO install libsql-statement-perl
2016-07-11 18:36:16 INFO install The following NEW packages will be installed:
2016-07-11 18:36:16 INFO install libdbd-mysql-perl libdbi-perl libmysqlclient18 libterm-readkey-perl
2016-07-11 18:36:16 INFO install mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common
2016-07-11 18:36:16 INFO install 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
2016-07-11 18:36:16 INFO install Need to get 3800 kB of archives.
2016-07-11 18:36:16 INFO install After this operation, 43.8 MB of additional disk space will be used.
2016-07-11 18:36:16 INFO install Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.49-0ubuntu0.14.04.1 [12.9 kB]
2016-07-11 18:36:16 INFO install Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.49-0ubuntu0.14.04.1 [596 kB]
2016-07-11 18:36:16 INFO install Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl amd64 1.630-1 [879 kB]
2016-07-11 18:36:16 INFO install Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libdbd-mysql-perl amd64 4.025-1 [99.3 kB]
2016-07-11 18:36:16 INFO install Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]
2016-07-11 18:36:16 INFO install Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-core-5.5 amd64 5.5.49-0ubuntu0.14.04.1 [706 kB]
2016-07-11 18:36:16 INFO install Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-5.5 amd64 5.5.49-0ubuntu0.14.04.1 [1468 kB]
2016-07-11 18:36:16 INFO install Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client all 5.5.49-0ubuntu0.14.04.1 [11.2 kB]
2016-07-11 18:36:17 INFO install Fetched 3800 kB in 0s (8455 kB/s)
2016-07-11 18:36:18 INFO install Selecting previously unselected package mysql-common.
2016-07-11 18:36:18 INFO install (Reading database ... 31539 files and directories currently installed.)
2016-07-11 18:36:18 INFO install Preparing to unpack .../mysql-common_5.5.49-0ubuntu0.14.04.1_all.deb ...
2016-07-11 18:36:18 INFO install Unpacking mysql-common (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:18 INFO install Selecting previously unselected package libmysqlclient18:amd64.
2016-07-11 18:36:18 INFO install Preparing to unpack .../libmysqlclient18_5.5.49-0ubuntu0.14.04.1_amd64.deb ...
2016-07-11 18:36:18 INFO install Unpacking libmysqlclient18:amd64 (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:19 INFO install Selecting previously unselected package libdbi-perl.
2016-07-11 18:36:19 INFO install Preparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...
2016-07-11 18:36:19 INFO install Unpacking libdbi-perl (1.630-1) ...
2016-07-11 18:36:21 INFO install Selecting previously unselected package libdbd-mysql-perl.
2016-07-11 18:36:21 INFO install Preparing to unpack .../libdbd-mysql-perl_4.025-1_amd64.deb ...
2016-07-11 18:36:21 INFO install Unpacking libdbd-mysql-perl (4.025-1) ...
2016-07-11 18:36:22 INFO install Selecting previously unselected package libterm-readkey-perl.
2016-07-11 18:36:22 INFO install Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...
2016-07-11 18:36:22 INFO install Unpacking libterm-readkey-perl (2.31-1) ...
2016-07-11 18:36:22 INFO install Selecting previously unselected package mysql-client-core-5.5.
2016-07-11 18:36:22 INFO install Preparing to unpack .../mysql-client-core-5.5_5.5.49-0ubuntu0.14.04.1_amd64.deb ...
2016-07-11 18:36:22 INFO install Unpacking mysql-client-core-5.5 (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:24 INFO install Selecting previously unselected package mysql-client-5.5.
2016-07-11 18:36:24 INFO install Preparing to unpack .../mysql-client-5.5_5.5.49-0ubuntu0.14.04.1_amd64.deb ...
2016-07-11 18:36:24 INFO install Unpacking mysql-client-5.5 (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:27 INFO install Selecting previously unselected package mysql-client.
2016-07-11 18:36:27 INFO install Preparing to unpack .../mysql-client_5.5.49-0ubuntu0.14.04.1_all.deb ...
2016-07-11 18:36:27 INFO install Unpacking mysql-client (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:28 INFO install Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
2016-07-11 18:36:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:37:01.256654176 +0000 UTC
2016-07-11 18:36:36 INFO install Setting up mysql-common (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:37 INFO install Setting up libmysqlclient18:amd64 (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:37 INFO install Setting up libdbi-perl (1.630-1) ...
2016-07-11 18:36:37 INFO install Setting up libdbd-mysql-perl (4.025-1) ...
2016-07-11 18:36:37 INFO install Setting up libterm-readkey-perl (2.31-1) ...
2016-07-11 18:36:37 INFO install Setting up mysql-client-core-5.5 (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:37 INFO install Setting up mysql-client-5.5 (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:37 INFO install Setting up mysql-client (5.5.49-0ubuntu0.14.04.1) ...
2016-07-11 18:36:37 INFO install Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
2016-07-11 18:36:44 INFO install Ignoring indexes: https://pypi.python.org/simple/
2016-07-11 18:36:44 INFO install Unpacking ./wheelhouse/pip-8.1.2.tar.gz
2016-07-11 18:36:44 INFO install Running setup.py (path:/tmp/pip_build_root/pip/setup.py) egg_info for package pip
2016-07-11 18:36:45 INFO install
2016-07-11 18:36:45 INFO install warning: no previously-included files found matching '.coveragerc'
2016-07-11 18:36:45 INFO install warning: no previously-included files found matching '.mailmap'
2016-07-11 18:36:45 INFO install warning: no previously-included files found matching '.travis.yml'
2016-07-11 18:36:45 INFO install warning: no previously-included files found matching '.landscape.yml'
2016-07-11 18:36:45 INFO install warning: no previously-included files found matching 'pip/_vendor/Makefile'
2016-07-11 18:36:45 INFO install warning: no previously-included files found matching 'tox.ini'
2016-07-11 18:36:45 INFO install warning: no previously-included files found matching 'dev-requirements.txt'
2016-07-11 18:36:45 INFO install warning: no previously-included files found matching 'appveyor.yml'
2016-07-11 18:36:45 INFO install no previously-included directories found matching '.github'
2016-07-11 18:36:45 INFO install no previously-included directories found matching '.travis'
2016-07-11 18:36:45 INFO install no previously-included directories found matching 'docs/_build'
2016-07-11 18:36:45 INFO install no previously-included directories found matching 'contrib'
2016-07-11 18:36:45 INFO install no previously-included directories found matching 'tasks'
2016-07-11 18:36:45 INFO install no previously-included directories found matching 'tests'
2016-07-11 18:36:45 INFO install Installing collected packages: pip
2016-07-11 18:36:45 INFO install Found existing installation: pip 1.5.4
2016-07-11 18:36:45 INFO install Not uninstalling pip at /usr/lib/python3/dist-packages, owned by OS
2016-07-11 18:36:45 INFO install Running setup.py install for pip
2016-07-11 18:36:47 INFO install
2016-07-11 18:36:47 INFO install warning: no previously-included files found matching '.coveragerc'
2016-07-11 18:36:47 INFO install warning: no previously-included files found matching '.mailmap'
2016-07-11 18:36:47 INFO install warning: no previously-included files found matching '.travis.yml'
2016-07-11 18:36:47 INFO install warning: no previously-included files found matching '.landscape.yml'
2016-07-11 18:36:47 INFO install warning: no previously-included files found matching 'pip/_vendor/Makefile'
2016-07-11 18:36:47 INFO install warning: no previously-included files found matching 'tox.ini'
2016-07-11 18:36:47 INFO install warning: no previously-included files found matching 'dev-requirements.txt'
2016-07-11 18:36:47 INFO install warning: no previously-included files found matching 'appveyor.yml'
2016-07-11 18:36:47 INFO install no previously-included directories found matching '.github'
2016-07-11 18:36:47 INFO install no previously-included directories found matching '.travis'
2016-07-11 18:36:47 INFO install no previously-included directories found matching 'docs/_build'
2016-07-11 18:36:47 INFO install no previously-included directories found matching 'contrib'
2016-07-11 18:36:47 INFO install no previously-included directories found matching 'tasks'
2016-07-11 18:36:47 INFO install no previously-included directories found matching 'tests'
2016-07-11 18:36:48 INFO install Installing pip3.4 script to /usr/local/bin
2016-07-11 18:36:48 INFO install Installing pip3 script to /usr/local/bin
2016-07-11 18:36:48 INFO install Installing pip script to /usr/local/bin
2016-07-11 18:36:48 INFO install Successfully installed pip
2016-07-11 18:36:48 INFO install Cleaning up...
2016-07-11 18:36:49 INFO install Ignoring indexes: https://pypi.python.org/simple
2016-07-11 18:36:49 INFO install Processing ./wheelhouse/Jinja2-2.8.tar.gz
2016-07-11 18:36:49 INFO install Processing ./wheelhouse/charmhelpers-0.8.0.tar.gz
2016-07-11 18:36:50 INFO install Processing ./wheelhouse/PyYAML-3.11.zip
2016-07-11 18:36:51 INFO install Processing ./wheelhouse/charms.reactive-0.4.4.tar.gz
2016-07-11 18:36:51 INFO install Processing ./wheelhouse/six-1.10.0.tar.gz
2016-07-11 18:36:52 INFO install Processing ./wheelhouse/pyaml-15.8.2.tar.gz
2016-07-11 18:36:52 INFO install Processing ./wheelhouse/Tempita-0.5.2.tar.gz
2016-07-11 18:36:53 INFO install Processing ./wheelhouse/netaddr-0.7.18.tar.gz
2016-07-11 18:36:54 INFO install Processing ./wheelhouse/pip-8.1.2.tar.gz
2016-07-11 18:36:54 INFO install Processing ./wheelhouse/MarkupSafe-0.23.tar.gz
2016-07-11 18:36:55 INFO install Collecting MarkupSafe (from Jinja2==2.8)
2016-07-11 18:36:55 INFO install Collecting netaddr (from charmhelpers==0.8.0)
2016-07-11 18:36:56 INFO install Collecting PyYAML (from charmhelpers==0.8.0)
2016-07-11 18:36:57 INFO install Collecting Tempita (from charmhelpers==0.8.0)
2016-07-11 18:36:57 INFO install Collecting six (from charmhelpers==0.8.0)
2016-07-11 18:36:58 INFO install Collecting pyaml (from charms.reactive==0.4.4)
2016-07-11 18:36:59 INFO install Building wheels for collected packages: Jinja2, MarkupSafe, charmhelpers, netaddr, PyYAML, Tempita, six, charms.reactive, pyaml, pip
2016-07-11 18:36:59 INFO install Running setup.py bdist_wheel for Jinja2: started
2016-07-11 18:36:59 INFO install Running setup.py bdist_wheel for Jinja2: finished with status 'done'
2016-07-11 18:36:59 INFO install Stored in directory: /root/.cache/pip/wheels/d6/36/c6/ff91bf4b1b241259c40396e9acf91bf95a5ba64c7df48d14ab
2016-07-11 18:36:59 INFO install Running setup.py bdist_wheel for MarkupSafe: started
2016-07-11 18:37:01 INFO install Running setup.py bdist_wheel for MarkupSafe: finished with status 'done'
2016-07-11 18:37:01 INFO install Stored in directory: /root/.cache/pip/wheels/e9/e0/b0/bf6b6dca4c0d41c2b8a7ec82bed50d4b89c98e7c8dd9d0acde
2016-07-11 18:37:01 INFO install Running setup.py bdist_wheel for charmhelpers: started
2016-07-11 18:37:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:37:31.257174477 +0000 UTC
2016-07-11 18:37:01 INFO install Running setup.py bdist_wheel for charmhelpers: finished with status 'done'
2016-07-11 18:37:01 INFO install Stored in directory: /root/.cache/pip/wheels/56/2e/81/151fc4f6c495a1f0f45fe450152c92f0cce36be45c2b17f41c
2016-07-11 18:37:02 INFO install Running setup.py bdist_wheel for netaddr: started
2016-07-11 18:37:03 INFO install Running setup.py bdist_wheel for netaddr: finished with status 'done'
2016-07-11 18:37:03 INFO install Stored in directory: /root/.cache/pip/wheels/22/fb/39/ffcdff5033625e89098e801a60b11b10c5e3497f84287b6868
2016-07-11 18:37:03 INFO install Running setup.py bdist_wheel for PyYAML: started
2016-07-11 18:37:04 INFO install Running setup.py bdist_wheel for PyYAML: finished with status 'done'
2016-07-11 18:37:04 INFO install Stored in directory: /root/.cache/pip/wheels/f4/17/32/2b7347620d737b5e1e5589b320a55eed22aecf1459b43a5f88
2016-07-11 18:37:04 INFO install Running setup.py bdist_wheel for Tempita: started
2016-07-11 18:37:06 INFO install Running setup.py bdist_wheel for Tempita: finished with status 'done'
2016-07-11 18:37:06 INFO install Stored in directory: /root/.cache/pip/wheels/38/c8/0b/262afd84e48ace6d9cd529a0816a1f07e13d7dd77726f004f0
2016-07-11 18:37:06 INFO install Running setup.py bdist_wheel for six: started
2016-07-11 18:37:07 INFO install Running setup.py bdist_wheel for six: finished with status 'done'
2016-07-11 18:37:07 INFO install Stored in directory: /root/.cache/pip/wheels/2c/89/b8/44d63afa7c989bd4b11b66abb53030d818009d901773e73468
2016-07-11 18:37:07 INFO install Running setup.py bdist_wheel for charms.reactive: started
2016-07-11 18:37:08 INFO install Running setup.py bdist_wheel for charms.reactive: finished with status 'done'
2016-07-11 18:37:08 INFO install Stored in directory: /root/.cache/pip/wheels/bd/f1/c3/fc5505fbaab614da1cf913616915230c7c99ce362c9345b446
2016-07-11 18:37:08 INFO install Running setup.py bdist_wheel for pyaml: started
2016-07-11 18:37:08 INFO install Running setup.py bdist_wheel for pyaml: finished with status 'done'
2016-07-11 18:37:08 INFO install Stored in directory: /root/.cache/pip/wheels/e8/42/2e/6ffe7c44fe36e9c7974d186a5b9893dfde82e8561f054b697d
2016-07-11 18:37:08 INFO install Running setup.py bdist_wheel for pip: started
2016-07-11 18:37:09 INFO install Running setup.py bdist_wheel for pip: finished with status 'done'
2016-07-11 18:37:09 INFO install Stored in directory: /root/.cache/pip/wheels/52/1b/2e/a9cb3a18c37eaf5a40555ed4a98a026f86284aebdcbc886717
2016-07-11 18:37:10 INFO install Successfully built Jinja2 MarkupSafe charmhelpers netaddr PyYAML Tempita six charms.reactive pyaml pip
2016-07-11 18:37:10 INFO install Installing collected packages: MarkupSafe, Jinja2, netaddr, PyYAML, Tempita, six, charmhelpers, pyaml, charms.reactive, pip
2016-07-11 18:37:10 INFO install Found existing installation: PyYAML 3.10
2016-07-11 18:37:10 INFO install DEPRECATION: Uninstalling a distutils installed project (PyYAML) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
2016-07-11 18:37:10 INFO install Uninstalling PyYAML-3.10:
2016-07-11 18:37:10 INFO install Successfully uninstalled PyYAML-3.10
2016-07-11 18:37:10 INFO install Found existing installation: six 1.5.2
2016-07-11 18:37:10 INFO install DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
2016-07-11 18:37:10 INFO install Uninstalling six-1.5.2:
2016-07-11 18:37:10 INFO install Successfully uninstalled six-1.5.2
2016-07-11 18:37:10 INFO install Found existing installation: pip 8.1.2
2016-07-11 18:37:11 INFO install Uninstalling pip-8.1.2:
2016-07-11 18:37:11 INFO install Successfully uninstalled pip-8.1.2
2016-07-11 18:37:13 INFO install Successfully installed Jinja2-2.8 MarkupSafe-0.23 PyYAML-3.11 Tempita-0.5.2 charmhelpers-0.8.0 charms.reactive-0.4.4 netaddr-0.7.18 pip-8.1.2 pyaml-15.8.2 six-1.10.0
2016-07-11 18:37:14 INFO worker.uniter.jujuc server.go:173 running hook tool "config-get" ["--format=json"]
2016-07-11 18:37:14 INFO worker.uniter.jujuc server.go:173 running hook tool "juju-log" ["-l" "INFO" "Reactive main running for hook install"]
2016-07-11 18:37:14 INFO juju-log Reactive main running for hook install
2016-07-11 18:37:15 INFO install + source charms.reactive.sh
2016-07-11 18:37:15 INFO install ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:15 INFO install ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:15 INFO install ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:15 INFO install ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:15 INFO install ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:37:15 INFO install ++ shopt -s expand_aliases
2016-07-11 18:37:15 INFO install ++ REACTIVE_ACTION=--test
2016-07-11 18:37:15 INFO install ++ REACTIVE_ARGS=
2016-07-11 18:37:15 INFO install ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:37:15 INFO install ++ declare -A REACTIVE_TESTS
2016-07-11 18:37:15 INFO install ++ alias '@hook=@decorator hook'
2016-07-11 18:37:15 INFO install ++ alias '@when=@decorator when'
2016-07-11 18:37:15 INFO install ++ alias '@when_all=@decorator when_all'
2016-07-11 18:37:15 INFO install ++ alias '@when_any=@decorator when_any'
2016-07-11 18:37:15 INFO install ++ alias '@when_not=@decorator when_not'
2016-07-11 18:37:15 INFO install ++ alias '@when_none=@decorator when_none'
2016-07-11 18:37:15 INFO install ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:37:15 INFO install ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:37:15 INFO install ++ alias '@only_once=@decorator only_once'
2016-07-11 18:37:15 INFO install ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:37:15 INFO install ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:37:15 INFO install ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:37:15 INFO install ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:37:15 INFO install ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:37:15 INFO install + @decorator when mysql.available
2016-07-11 18:37:15 INFO install + _get_decorated
2016-07-11 18:37:15 INFO install + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + lineno=7
2016-07-11 18:37:15 INFO install + grep -qE '^\s*@'
2016-07-11 18:37:15 INFO install + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + (( lineno++ ))
2016-07-11 18:37:15 INFO install + grep -qE '^\s*@'
2016-07-11 18:37:15 INFO install + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:15 INFO install + func=config_db
2016-07-11 18:37:15 INFO install + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:15 INFO install + '[' '!' ']'
2016-07-11 18:37:15 INFO install + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:15 INFO install + test_name=when
2016-07-11 18:37:15 INFO install + shift
2016-07-11 18:37:15 INFO install ++ printf '"%s" ' mysql.available
2016-07-11 18:37:15 INFO install + test_args='"mysql.available" '
2016-07-11 18:37:15 INFO install + '[' '!' ']'
2016-07-11 18:37:15 INFO install + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:37:15 INFO install + @decorator when_not mysql-config.done
2016-07-11 18:37:15 INFO install + _get_decorated
2016-07-11 18:37:15 INFO install + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + lineno=8
2016-07-11 18:37:15 INFO install + grep -qE '^\s*@'
2016-07-11 18:37:15 INFO install + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:15 INFO install ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + func=config_db
2016-07-11 18:37:15 INFO install + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:15 INFO install + '[' '!' _ ']'
2016-07-11 18:37:15 INFO install + test_name=when_not
2016-07-11 18:37:15 INFO install + shift
2016-07-11 18:37:15 INFO install ++ printf '"%s" ' mysql-config.done
2016-07-11 18:37:15 INFO install + test_args='"mysql-config.done" '
2016-07-11 18:37:15 INFO install + '[' '!' _ ']'
2016-07-11 18:37:15 INFO install + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:15 INFO install + reactive_handler_main
2016-07-11 18:37:15 INFO install + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:37:15 INFO install ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:15 INFO install + to_invoke=
2016-07-11 18:37:15 INFO install + [[ -n '' ]]
2016-07-11 18:37:15 INFO install + exit 1
2016-07-11 18:37:15 INFO install + source charms.reactive.sh
2016-07-11 18:37:15 INFO install ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:15 INFO install ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:15 INFO install ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:15 INFO install ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:15 INFO install ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:37:15 INFO install ++ shopt -s expand_aliases
2016-07-11 18:37:15 INFO install ++ REACTIVE_ACTION=--test
2016-07-11 18:37:15 INFO install ++ REACTIVE_ARGS=
2016-07-11 18:37:15 INFO install ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:37:15 INFO install ++ declare -A REACTIVE_TESTS
2016-07-11 18:37:15 INFO install ++ alias '@hook=@decorator hook'
2016-07-11 18:37:15 INFO install ++ alias '@when=@decorator when'
2016-07-11 18:37:15 INFO install ++ alias '@when_all=@decorator when_all'
2016-07-11 18:37:15 INFO install ++ alias '@when_any=@decorator when_any'
2016-07-11 18:37:15 INFO install ++ alias '@when_not=@decorator when_not'
2016-07-11 18:37:15 INFO install ++ alias '@when_none=@decorator when_none'
2016-07-11 18:37:15 INFO install ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:37:15 INFO install ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:37:15 INFO install ++ alias '@only_once=@decorator only_once'
2016-07-11 18:37:15 INFO install ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:37:15 INFO install ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:37:15 INFO install ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:37:15 INFO install ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:37:15 INFO install ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:37:15 INFO install + @decorator when mysql.available
2016-07-11 18:37:15 INFO install + _get_decorated
2016-07-11 18:37:15 INFO install + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + lineno=7
2016-07-11 18:37:15 INFO install + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + grep -qE '^\s*@'
2016-07-11 18:37:15 INFO install + (( lineno++ ))
2016-07-11 18:37:15 INFO install + grep -qE '^\s*@'
2016-07-11 18:37:15 INFO install + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:15 INFO install ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + func=config_db
2016-07-11 18:37:15 INFO install + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:15 INFO install + '[' '!' ']'
2016-07-11 18:37:15 INFO install + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:15 INFO install + test_name=when
2016-07-11 18:37:15 INFO install + shift
2016-07-11 18:37:15 INFO install ++ printf '"%s" ' mysql.available
2016-07-11 18:37:15 INFO install + test_args='"mysql.available" '
2016-07-11 18:37:15 INFO install + '[' '!' ']'
2016-07-11 18:37:15 INFO install + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:37:15 INFO install + @decorator when_not mysql-config.done
2016-07-11 18:37:15 INFO install + _get_decorated
2016-07-11 18:37:15 INFO install + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + lineno=8
2016-07-11 18:37:15 INFO install + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + grep -qE '^\s*@'
2016-07-11 18:37:15 INFO install ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:15 INFO install ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:15 INFO install + func=config_db
2016-07-11 18:37:15 INFO install + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:15 INFO install + '[' '!' _ ']'
2016-07-11 18:37:15 INFO install + test_name=when_not
2016-07-11 18:37:15 INFO install + shift
2016-07-11 18:37:15 INFO install ++ printf '"%s" ' mysql-config.done
2016-07-11 18:37:15 INFO install + test_args='"mysql-config.done" '
2016-07-11 18:37:15 INFO install + '[' '!' _ ']'
2016-07-11 18:37:15 INFO install + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:15 INFO install + reactive_handler_main
2016-07-11 18:37:15 INFO install + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:37:15 INFO install ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:15 INFO install + to_invoke=
2016-07-11 18:37:15 INFO install + [[ -n '' ]]
2016-07-11 18:37:15 INFO install + exit 1
2016-07-11 18:37:16 INFO juju.worker.uniter.operation runhook.go:113 ran "install" hook
2016-07-11 18:37:16 INFO juju.worker.uniter resolver.go:111 found queued "leader-elected" hook
2016-07-11 18:37:16 INFO worker.uniter.jujuc server.go:173 running hook tool "config-get" ["--format=json"]
2016-07-11 18:37:17 INFO worker.uniter.jujuc server.go:173 running hook tool "juju-log" ["-l" "INFO" "Reactive main running for hook leader-elected"]
2016-07-11 18:37:17 INFO juju-log Reactive main running for hook leader-elected
2016-07-11 18:37:17 INFO leader-elected + source charms.reactive.sh
2016-07-11 18:37:17 INFO leader-elected ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:17 INFO leader-elected ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:17 INFO leader-elected ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:17 INFO leader-elected ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:17 INFO leader-elected ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:37:17 INFO leader-elected ++ shopt -s expand_aliases
2016-07-11 18:37:17 INFO leader-elected ++ REACTIVE_ACTION=--test
2016-07-11 18:37:17 INFO leader-elected ++ REACTIVE_ARGS=
2016-07-11 18:37:17 INFO leader-elected ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:37:17 INFO leader-elected ++ declare -A REACTIVE_TESTS
2016-07-11 18:37:17 INFO leader-elected ++ alias '@hook=@decorator hook'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when=@decorator when'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_all=@decorator when_all'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_any=@decorator when_any'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_not=@decorator when_not'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_none=@decorator when_none'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@only_once=@decorator only_once'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:37:17 INFO leader-elected + @decorator when mysql.available
2016-07-11 18:37:17 INFO leader-elected + _get_decorated
2016-07-11 18:37:17 INFO leader-elected + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + lineno=7
2016-07-11 18:37:17 INFO leader-elected + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + grep -qE '^\s*@'
2016-07-11 18:37:17 INFO leader-elected + (( lineno++ ))
2016-07-11 18:37:17 INFO leader-elected + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + grep -qE '^\s*@'
2016-07-11 18:37:17 INFO leader-elected ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:17 INFO leader-elected + func=config_db
2016-07-11 18:37:17 INFO leader-elected + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:17 INFO leader-elected + '[' '!' ']'
2016-07-11 18:37:17 INFO leader-elected + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:17 INFO leader-elected + test_name=when
2016-07-11 18:37:17 INFO leader-elected + shift
2016-07-11 18:37:17 INFO leader-elected ++ printf '"%s" ' mysql.available
2016-07-11 18:37:17 INFO leader-elected + test_args='"mysql.available" '
2016-07-11 18:37:17 INFO leader-elected + '[' '!' ']'
2016-07-11 18:37:17 INFO leader-elected + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:37:17 INFO leader-elected + @decorator when_not mysql-config.done
2016-07-11 18:37:17 INFO leader-elected + _get_decorated
2016-07-11 18:37:17 INFO leader-elected + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + lineno=8
2016-07-11 18:37:17 INFO leader-elected + grep -qE '^\s*@'
2016-07-11 18:37:17 INFO leader-elected + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:17 INFO leader-elected ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + func=config_db
2016-07-11 18:37:17 INFO leader-elected + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:17 INFO leader-elected + '[' '!' _ ']'
2016-07-11 18:37:17 INFO leader-elected + test_name=when_not
2016-07-11 18:37:17 INFO leader-elected + shift
2016-07-11 18:37:17 INFO leader-elected ++ printf '"%s" ' mysql-config.done
2016-07-11 18:37:17 INFO leader-elected + test_args='"mysql-config.done" '
2016-07-11 18:37:17 INFO leader-elected + '[' '!' _ ']'
2016-07-11 18:37:17 INFO leader-elected + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:17 INFO leader-elected + reactive_handler_main
2016-07-11 18:37:17 INFO leader-elected + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:37:17 INFO leader-elected ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:17 INFO leader-elected + to_invoke=
2016-07-11 18:37:17 INFO leader-elected + [[ -n '' ]]
2016-07-11 18:37:17 INFO leader-elected + exit 1
2016-07-11 18:37:17 INFO leader-elected + source charms.reactive.sh
2016-07-11 18:37:17 INFO leader-elected ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:17 INFO leader-elected ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:17 INFO leader-elected ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:17 INFO leader-elected ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:17 INFO leader-elected ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:37:17 INFO leader-elected ++ shopt -s expand_aliases
2016-07-11 18:37:17 INFO leader-elected ++ REACTIVE_ACTION=--test
2016-07-11 18:37:17 INFO leader-elected ++ REACTIVE_ARGS=
2016-07-11 18:37:17 INFO leader-elected ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:37:17 INFO leader-elected ++ declare -A REACTIVE_TESTS
2016-07-11 18:37:17 INFO leader-elected ++ alias '@hook=@decorator hook'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when=@decorator when'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_all=@decorator when_all'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_any=@decorator when_any'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_not=@decorator when_not'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_none=@decorator when_none'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:37:17 INFO leader-elected ++ alias '@only_once=@decorator only_once'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:37:17 INFO leader-elected ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:37:17 INFO leader-elected + @decorator when mysql.available
2016-07-11 18:37:17 INFO leader-elected + _get_decorated
2016-07-11 18:37:17 INFO leader-elected + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + lineno=7
2016-07-11 18:37:17 INFO leader-elected + grep -qE '^\s*@'
2016-07-11 18:37:17 INFO leader-elected + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + (( lineno++ ))
2016-07-11 18:37:17 INFO leader-elected + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + grep -qE '^\s*@'
2016-07-11 18:37:17 INFO leader-elected ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:17 INFO leader-elected + func=config_db
2016-07-11 18:37:17 INFO leader-elected + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:17 INFO leader-elected + '[' '!' ']'
2016-07-11 18:37:17 INFO leader-elected + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:17 INFO leader-elected + test_name=when
2016-07-11 18:37:17 INFO leader-elected + shift
2016-07-11 18:37:17 INFO leader-elected ++ printf '"%s" ' mysql.available
2016-07-11 18:37:17 INFO leader-elected + test_args='"mysql.available" '
2016-07-11 18:37:17 INFO leader-elected + '[' '!' ']'
2016-07-11 18:37:17 INFO leader-elected + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:37:17 INFO leader-elected + @decorator when_not mysql-config.done
2016-07-11 18:37:17 INFO leader-elected + _get_decorated
2016-07-11 18:37:17 INFO leader-elected + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + lineno=8
2016-07-11 18:37:17 INFO leader-elected + grep -qE '^\s*@'
2016-07-11 18:37:17 INFO leader-elected + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:17 INFO leader-elected ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:17 INFO leader-elected + func=config_db
2016-07-11 18:37:17 INFO leader-elected + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:17 INFO leader-elected + '[' '!' _ ']'
2016-07-11 18:37:17 INFO leader-elected + test_name=when_not
2016-07-11 18:37:17 INFO leader-elected + shift
2016-07-11 18:37:17 INFO leader-elected ++ printf '"%s" ' mysql-config.done
2016-07-11 18:37:17 INFO leader-elected + test_args='"mysql-config.done" '
2016-07-11 18:37:17 INFO leader-elected + '[' '!' _ ']'
2016-07-11 18:37:17 INFO leader-elected + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:17 INFO leader-elected + reactive_handler_main
2016-07-11 18:37:17 INFO leader-elected + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:37:17 INFO leader-elected ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:17 INFO leader-elected + to_invoke=
2016-07-11 18:37:17 INFO leader-elected + [[ -n '' ]]
2016-07-11 18:37:17 INFO leader-elected + exit 1
2016-07-11 18:37:17 INFO juju.worker.uniter.operation runhook.go:113 ran "leader-elected" hook
2016-07-11 18:37:17 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:37:18 INFO worker.uniter.jujuc server.go:173 running hook tool "config-get" ["--format=json"]
2016-07-11 18:37:19 INFO worker.uniter.jujuc server.go:173 running hook tool "juju-log" ["-l" "INFO" "Reactive main running for hook config-changed"]
2016-07-11 18:37:19 INFO juju-log Reactive main running for hook config-changed
2016-07-11 18:37:19 INFO config-changed + source charms.reactive.sh
2016-07-11 18:37:19 INFO config-changed ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:19 INFO config-changed ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:19 INFO config-changed ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:19 INFO config-changed ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:19 INFO config-changed ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:37:19 INFO config-changed ++ shopt -s expand_aliases
2016-07-11 18:37:19 INFO config-changed ++ REACTIVE_ACTION=--test
2016-07-11 18:37:19 INFO config-changed ++ REACTIVE_ARGS=
2016-07-11 18:37:19 INFO config-changed ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:37:19 INFO config-changed ++ declare -A REACTIVE_TESTS
2016-07-11 18:37:19 INFO config-changed ++ alias '@hook=@decorator hook'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when=@decorator when'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_all=@decorator when_all'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_any=@decorator when_any'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_not=@decorator when_not'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_none=@decorator when_none'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:37:19 INFO config-changed ++ alias '@only_once=@decorator only_once'
2016-07-11 18:37:19 INFO config-changed ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:37:19 INFO config-changed ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:37:19 INFO config-changed ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:37:19 INFO config-changed ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:37:19 INFO config-changed ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:37:19 INFO config-changed + @decorator when mysql.available
2016-07-11 18:37:19 INFO config-changed + _get_decorated
2016-07-11 18:37:19 INFO config-changed + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + lineno=7
2016-07-11 18:37:19 INFO config-changed + grep -qE '^\s*@'
2016-07-11 18:37:19 INFO config-changed + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + (( lineno++ ))
2016-07-11 18:37:19 INFO config-changed + grep -qE '^\s*@'
2016-07-11 18:37:19 INFO config-changed + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:19 INFO config-changed ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + func=config_db
2016-07-11 18:37:19 INFO config-changed + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:19 INFO config-changed + '[' '!' ']'
2016-07-11 18:37:19 INFO config-changed + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:19 INFO config-changed + test_name=when
2016-07-11 18:37:19 INFO config-changed + shift
2016-07-11 18:37:19 INFO config-changed ++ printf '"%s" ' mysql.available
2016-07-11 18:37:19 INFO config-changed + test_args='"mysql.available" '
2016-07-11 18:37:19 INFO config-changed + '[' '!' ']'
2016-07-11 18:37:19 INFO config-changed + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:37:19 INFO config-changed + @decorator when_not mysql-config.done
2016-07-11 18:37:19 INFO config-changed + _get_decorated
2016-07-11 18:37:19 INFO config-changed + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + lineno=8
2016-07-11 18:37:19 INFO config-changed + grep -qE '^\s*@'
2016-07-11 18:37:19 INFO config-changed + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:19 INFO config-changed ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + func=config_db
2016-07-11 18:37:19 INFO config-changed + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:19 INFO config-changed + '[' '!' _ ']'
2016-07-11 18:37:19 INFO config-changed + test_name=when_not
2016-07-11 18:37:19 INFO config-changed + shift
2016-07-11 18:37:19 INFO config-changed ++ printf '"%s" ' mysql-config.done
2016-07-11 18:37:19 INFO config-changed + test_args='"mysql-config.done" '
2016-07-11 18:37:19 INFO config-changed + '[' '!' _ ']'
2016-07-11 18:37:19 INFO config-changed + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:19 INFO config-changed + reactive_handler_main
2016-07-11 18:37:19 INFO config-changed + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:37:19 INFO config-changed ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:19 INFO config-changed + to_invoke=
2016-07-11 18:37:19 INFO config-changed + [[ -n '' ]]
2016-07-11 18:37:19 INFO config-changed + exit 1
2016-07-11 18:37:19 INFO config-changed + source charms.reactive.sh
2016-07-11 18:37:19 INFO config-changed ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:19 INFO config-changed ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:19 INFO config-changed ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:19 INFO config-changed ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:19 INFO config-changed ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:37:19 INFO config-changed ++ shopt -s expand_aliases
2016-07-11 18:37:19 INFO config-changed ++ REACTIVE_ACTION=--test
2016-07-11 18:37:19 INFO config-changed ++ REACTIVE_ARGS=
2016-07-11 18:37:19 INFO config-changed ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:37:19 INFO config-changed ++ declare -A REACTIVE_TESTS
2016-07-11 18:37:19 INFO config-changed ++ alias '@hook=@decorator hook'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when=@decorator when'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_all=@decorator when_all'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_any=@decorator when_any'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_not=@decorator when_not'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_none=@decorator when_none'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:37:19 INFO config-changed ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:37:19 INFO config-changed ++ alias '@only_once=@decorator only_once'
2016-07-11 18:37:19 INFO config-changed ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:37:19 INFO config-changed ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:37:19 INFO config-changed ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:37:19 INFO config-changed ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:37:19 INFO config-changed ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:37:19 INFO config-changed + @decorator when mysql.available
2016-07-11 18:37:19 INFO config-changed + _get_decorated
2016-07-11 18:37:19 INFO config-changed + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + lineno=7
2016-07-11 18:37:19 INFO config-changed + grep -qE '^\s*@'
2016-07-11 18:37:19 INFO config-changed + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + (( lineno++ ))
2016-07-11 18:37:19 INFO config-changed + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + grep -qE '^\s*@'
2016-07-11 18:37:19 INFO config-changed ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:19 INFO config-changed + func=config_db
2016-07-11 18:37:19 INFO config-changed + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:19 INFO config-changed + '[' '!' ']'
2016-07-11 18:37:19 INFO config-changed + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:19 INFO config-changed + test_name=when
2016-07-11 18:37:19 INFO config-changed + shift
2016-07-11 18:37:19 INFO config-changed ++ printf '"%s" ' mysql.available
2016-07-11 18:37:19 INFO config-changed + test_args='"mysql.available" '
2016-07-11 18:37:19 INFO config-changed + '[' '!' ']'
2016-07-11 18:37:19 INFO config-changed + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:37:19 INFO config-changed + @decorator when_not mysql-config.done
2016-07-11 18:37:19 INFO config-changed + _get_decorated
2016-07-11 18:37:19 INFO config-changed + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + lineno=8
2016-07-11 18:37:19 INFO config-changed + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed + grep -qE '^\s*@'
2016-07-11 18:37:19 INFO config-changed ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:19 INFO config-changed ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:19 INFO config-changed + func=config_db
2016-07-11 18:37:19 INFO config-changed + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:19 INFO config-changed + '[' '!' _ ']'
2016-07-11 18:37:19 INFO config-changed + test_name=when_not
2016-07-11 18:37:19 INFO config-changed + shift
2016-07-11 18:37:19 INFO config-changed ++ printf '"%s" ' mysql-config.done
2016-07-11 18:37:19 INFO config-changed + test_args='"mysql-config.done" '
2016-07-11 18:37:19 INFO config-changed + '[' '!' _ ']'
2016-07-11 18:37:19 INFO config-changed + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:19 INFO config-changed + reactive_handler_main
2016-07-11 18:37:19 INFO config-changed + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:37:19 INFO config-changed ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:20 INFO config-changed + to_invoke=
2016-07-11 18:37:20 INFO config-changed + [[ -n '' ]]
2016-07-11 18:37:20 INFO config-changed + exit 1
2016-07-11 18:37:20 INFO juju.worker.uniter.operation runhook.go:113 ran "config-changed" hook
2016-07-11 18:37:20 INFO juju.worker.uniter resolver.go:111 found queued "start" hook
2016-07-11 18:37:20 INFO worker.uniter.jujuc server.go:173 running hook tool "config-get" ["--format=json"]
2016-07-11 18:37:21 INFO worker.uniter.jujuc server.go:173 running hook tool "juju-log" ["-l" "INFO" "Reactive main running for hook start"]
2016-07-11 18:37:21 INFO juju-log Reactive main running for hook start
2016-07-11 18:37:21 INFO start + source charms.reactive.sh
2016-07-11 18:37:21 INFO start ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:21 INFO start ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:21 INFO start ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:21 INFO start ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:21 INFO start ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:37:21 INFO start ++ shopt -s expand_aliases
2016-07-11 18:37:21 INFO start ++ REACTIVE_ACTION=--test
2016-07-11 18:37:21 INFO start ++ REACTIVE_ARGS=
2016-07-11 18:37:21 INFO start ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:37:21 INFO start ++ declare -A REACTIVE_TESTS
2016-07-11 18:37:21 INFO start ++ alias '@hook=@decorator hook'
2016-07-11 18:37:21 INFO start ++ alias '@when=@decorator when'
2016-07-11 18:37:21 INFO start ++ alias '@when_all=@decorator when_all'
2016-07-11 18:37:21 INFO start ++ alias '@when_any=@decorator when_any'
2016-07-11 18:37:21 INFO start ++ alias '@when_not=@decorator when_not'
2016-07-11 18:37:21 INFO start ++ alias '@when_none=@decorator when_none'
2016-07-11 18:37:21 INFO start ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:37:21 INFO start ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:37:21 INFO start ++ alias '@only_once=@decorator only_once'
2016-07-11 18:37:21 INFO start ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:37:21 INFO start ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:37:21 INFO start ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:37:21 INFO start ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:37:21 INFO start ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:37:21 INFO start + @decorator when mysql.available
2016-07-11 18:37:21 INFO start + _get_decorated
2016-07-11 18:37:21 INFO start + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + lineno=7
2016-07-11 18:37:21 INFO start + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + grep -qE '^\s*@'
2016-07-11 18:37:21 INFO start + (( lineno++ ))
2016-07-11 18:37:21 INFO start + grep -qE '^\s*@'
2016-07-11 18:37:21 INFO start + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:21 INFO start + func=config_db
2016-07-11 18:37:21 INFO start + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:21 INFO start + '[' '!' ']'
2016-07-11 18:37:21 INFO start + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:21 INFO start + test_name=when
2016-07-11 18:37:21 INFO start + shift
2016-07-11 18:37:21 INFO start ++ printf '"%s" ' mysql.available
2016-07-11 18:37:21 INFO start + test_args='"mysql.available" '
2016-07-11 18:37:21 INFO start + '[' '!' ']'
2016-07-11 18:37:21 INFO start + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:37:21 INFO start + @decorator when_not mysql-config.done
2016-07-11 18:37:21 INFO start + _get_decorated
2016-07-11 18:37:21 INFO start + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + lineno=8
2016-07-11 18:37:21 INFO start + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + grep -qE '^\s*@'
2016-07-11 18:37:21 INFO start ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:21 INFO start ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + func=config_db
2016-07-11 18:37:21 INFO start + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:21 INFO start + '[' '!' _ ']'
2016-07-11 18:37:21 INFO start + test_name=when_not
2016-07-11 18:37:21 INFO start + shift
2016-07-11 18:37:21 INFO start ++ printf '"%s" ' mysql-config.done
2016-07-11 18:37:21 INFO start + test_args='"mysql-config.done" '
2016-07-11 18:37:21 INFO start + '[' '!' _ ']'
2016-07-11 18:37:21 INFO start + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:21 INFO start + reactive_handler_main
2016-07-11 18:37:21 INFO start + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:37:21 INFO start ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:21 INFO start + to_invoke=
2016-07-11 18:37:21 INFO start + [[ -n '' ]]
2016-07-11 18:37:21 INFO start + exit 1
2016-07-11 18:37:21 INFO start + source charms.reactive.sh
2016-07-11 18:37:21 INFO start ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:21 INFO start ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:37:21 INFO start ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:21 INFO start ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:37:21 INFO start ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:37:21 INFO start ++ shopt -s expand_aliases
2016-07-11 18:37:21 INFO start ++ REACTIVE_ACTION=--test
2016-07-11 18:37:21 INFO start ++ REACTIVE_ARGS=
2016-07-11 18:37:21 INFO start ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:37:21 INFO start ++ declare -A REACTIVE_TESTS
2016-07-11 18:37:21 INFO start ++ alias '@hook=@decorator hook'
2016-07-11 18:37:21 INFO start ++ alias '@when=@decorator when'
2016-07-11 18:37:21 INFO start ++ alias '@when_all=@decorator when_all'
2016-07-11 18:37:21 INFO start ++ alias '@when_any=@decorator when_any'
2016-07-11 18:37:21 INFO start ++ alias '@when_not=@decorator when_not'
2016-07-11 18:37:21 INFO start ++ alias '@when_none=@decorator when_none'
2016-07-11 18:37:21 INFO start ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:37:21 INFO start ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:37:21 INFO start ++ alias '@only_once=@decorator only_once'
2016-07-11 18:37:21 INFO start ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:37:21 INFO start ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:37:21 INFO start ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:37:21 INFO start ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:37:21 INFO start ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:37:21 INFO start + @decorator when mysql.available
2016-07-11 18:37:21 INFO start + _get_decorated
2016-07-11 18:37:21 INFO start + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + lineno=7
2016-07-11 18:37:21 INFO start + grep -qE '^\s*@'
2016-07-11 18:37:21 INFO start + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + (( lineno++ ))
2016-07-11 18:37:21 INFO start + grep -qE '^\s*@'
2016-07-11 18:37:21 INFO start + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:21 INFO start + func=config_db
2016-07-11 18:37:21 INFO start + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:21 INFO start + '[' '!' ']'
2016-07-11 18:37:21 INFO start + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:21 INFO start + test_name=when
2016-07-11 18:37:21 INFO start + shift
2016-07-11 18:37:21 INFO start ++ printf '"%s" ' mysql.available
2016-07-11 18:37:21 INFO start + test_args='"mysql.available" '
2016-07-11 18:37:21 INFO start + '[' '!' ']'
2016-07-11 18:37:21 INFO start + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:37:21 INFO start + @decorator when_not mysql-config.done
2016-07-11 18:37:21 INFO start + _get_decorated
2016-07-11 18:37:21 INFO start + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + lineno=8
2016-07-11 18:37:21 INFO start + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + grep -qE '^\s*@'
2016-07-11 18:37:21 INFO start ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:37:21 INFO start ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:37:21 INFO start + func=config_db
2016-07-11 18:37:21 INFO start + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:37:21 INFO start + '[' '!' _ ']'
2016-07-11 18:37:21 INFO start + test_name=when_not
2016-07-11 18:37:21 INFO start + shift
2016-07-11 18:37:21 INFO start ++ printf '"%s" ' mysql-config.done
2016-07-11 18:37:21 INFO start + test_args='"mysql-config.done" '
2016-07-11 18:37:21 INFO start + '[' '!' _ ']'
2016-07-11 18:37:21 INFO start + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:21 INFO start + reactive_handler_main
2016-07-11 18:37:21 INFO start + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:37:21 INFO start ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:37:22 INFO start + to_invoke=
2016-07-11 18:37:22 INFO start + [[ -n '' ]]
2016-07-11 18:37:22 INFO start + exit 1
2016-07-11 18:37:22 INFO juju.worker.uniter.operation runhook.go:113 ran "start" hook
2016-07-11 18:37:22 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:37:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:38:01.257492326 +0000 UTC
2016-07-11 18:38:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:38:31.258029339 +0000 UTC
2016-07-11 18:38:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:39:01.2583669 +0000 UTC
2016-07-11 18:38:35 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:38:35 INFO juju.worker.uniter.relation relations.go:431 joining relation "sampledatabase:mysql mysql:db-admin"
2016-07-11 18:38:35 INFO juju.worker.uniter.relation relations.go:467 joined relation "sampledatabase:mysql mysql:db-admin"
2016-07-11 18:38:35 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:38:40 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:38:40 INFO juju.worker.uniter.operation runhook.go:116 skipped "mysql-relation-joined" hook (missing)
2016-07-11 18:38:40 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:38:41 INFO juju.worker.uniter.operation runhook.go:116 skipped "mysql-relation-changed" hook (missing)
2016-07-11 18:38:41 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:38:45 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:38:45 INFO juju.worker.uniter.operation runhook.go:116 skipped "mysql-relation-changed" hook (missing)
2016-07-11 18:38:45 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:39:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:39:31.258767237 +0000 UTC
2016-07-11 18:39:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:40:01.25922363 +0000 UTC
2016-07-11 18:40:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:40:31.259601797 +0000 UTC
2016-07-11 18:40:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:41:01.259867466 +0000 UTC
2016-07-11 18:41:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:41:31.260397346 +0000 UTC
2016-07-11 18:41:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:42:01.260652791 +0000 UTC
2016-07-11 18:42:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:42:31.260990276 +0000 UTC
2016-07-11 18:42:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:43:01.261333613 +0000 UTC
2016-07-11 18:43:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:43:31.261998412 +0000 UTC
2016-07-11 18:43:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:44:01.262544526 +0000 UTC
2016-07-11 18:43:45 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:43:45 INFO worker.uniter.jujuc server.go:173 running hook tool "config-get" ["--format=json"]
2016-07-11 18:43:46 INFO worker.uniter.jujuc server.go:173 running hook tool "juju-log" ["-l" "INFO" "Reactive main running for hook update-status"]
2016-07-11 18:43:46 INFO juju-log Reactive main running for hook update-status
2016-07-11 18:43:46 INFO update-status + source charms.reactive.sh
2016-07-11 18:43:46 INFO update-status ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:43:46 INFO update-status ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:43:46 INFO update-status ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:43:46 INFO update-status ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:43:46 INFO update-status ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:43:46 INFO update-status ++ shopt -s expand_aliases
2016-07-11 18:43:46 INFO update-status ++ REACTIVE_ACTION=--test
2016-07-11 18:43:46 INFO update-status ++ REACTIVE_ARGS=
2016-07-11 18:43:46 INFO update-status ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:43:46 INFO update-status ++ declare -A REACTIVE_TESTS
2016-07-11 18:43:46 INFO update-status ++ alias '@hook=@decorator hook'
2016-07-11 18:43:46 INFO update-status ++ alias '@when=@decorator when'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_all=@decorator when_all'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_any=@decorator when_any'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_not=@decorator when_not'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_none=@decorator when_none'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:43:46 INFO update-status ++ alias '@only_once=@decorator only_once'
2016-07-11 18:43:46 INFO update-status ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:43:46 INFO update-status ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:43:46 INFO update-status ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:43:46 INFO update-status ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:43:46 INFO update-status ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:43:46 INFO update-status + @decorator when mysql.available
2016-07-11 18:43:46 INFO update-status + _get_decorated
2016-07-11 18:43:46 INFO update-status + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status + lineno=7
2016-07-11 18:43:46 INFO update-status + grep -qE '^\s*@'
2016-07-11 18:43:46 INFO update-status + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status + (( lineno++ ))
2016-07-11 18:43:46 INFO update-status + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status + grep -qE '^\s*@'
2016-07-11 18:43:46 INFO update-status ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:43:46 INFO update-status + func=config_db
2016-07-11 18:43:46 INFO update-status + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:43:46 INFO update-status + '[' '!' ']'
2016-07-11 18:43:46 INFO update-status + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:43:46 INFO update-status + test_name=when
2016-07-11 18:43:46 INFO update-status + shift
2016-07-11 18:43:46 INFO update-status ++ printf '"%s" ' mysql.available
2016-07-11 18:43:46 INFO update-status + test_args='"mysql.available" '
2016-07-11 18:43:46 INFO update-status + '[' '!' ']'
2016-07-11 18:43:46 INFO update-status + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:43:46 INFO update-status + @decorator when_not mysql-config.done
2016-07-11 18:43:46 INFO update-status + _get_decorated
2016-07-11 18:43:46 INFO update-status + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status + lineno=8
2016-07-11 18:43:46 INFO update-status + grep -qE '^\s*@'
2016-07-11 18:43:46 INFO update-status + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:43:46 INFO update-status + func=config_db
2016-07-11 18:43:46 INFO update-status + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:43:46 INFO update-status + '[' '!' _ ']'
2016-07-11 18:43:46 INFO update-status + test_name=when_not
2016-07-11 18:43:46 INFO update-status + shift
2016-07-11 18:43:46 INFO update-status ++ printf '"%s" ' mysql-config.done
2016-07-11 18:43:46 INFO update-status + test_args='"mysql-config.done" '
2016-07-11 18:43:46 INFO update-status + '[' '!' _ ']'
2016-07-11 18:43:46 INFO update-status + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:43:46 INFO update-status + reactive_handler_main
2016-07-11 18:43:46 INFO update-status + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:43:46 INFO update-status ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:43:46 INFO update-status + to_invoke=
2016-07-11 18:43:46 INFO update-status + [[ -n '' ]]
2016-07-11 18:43:46 INFO update-status + exit 1
2016-07-11 18:43:46 INFO update-status + source charms.reactive.sh
2016-07-11 18:43:46 INFO update-status ++ export PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:43:46 INFO update-status ++ PATH=/var/lib/juju/tools/unit-sampledatabase-3:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin:/var/lib/juju/agents/unit-sampledatabase-3/charm/bin
2016-07-11 18:43:46 INFO update-status ++ export PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:43:46 INFO update-status ++ PYTHONPATH=:/var/lib/juju/agents/unit-sampledatabase-3/charm/lib
2016-07-11 18:43:46 INFO update-status ++ [[ /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh == \/\u\s\r\/\l\o\c\a\l\/\b\i\n\/\c\h\a\r\m\s\.\r\e\a\c\t\i\v\e\.\s\h ]]
2016-07-11 18:43:46 INFO update-status ++ shopt -s expand_aliases
2016-07-11 18:43:46 INFO update-status ++ REACTIVE_ACTION=--test
2016-07-11 18:43:46 INFO update-status ++ REACTIVE_ARGS=
2016-07-11 18:43:46 INFO update-status ++ declare -A REACTIVE_HANDLERS
2016-07-11 18:43:46 INFO update-status ++ declare -A REACTIVE_TESTS
2016-07-11 18:43:46 INFO update-status ++ alias '@hook=@decorator hook'
2016-07-11 18:43:46 INFO update-status ++ alias '@when=@decorator when'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_all=@decorator when_all'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_any=@decorator when_any'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_not=@decorator when_not'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_none=@decorator when_none'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_not_all=@decorator when_not_all'
2016-07-11 18:43:46 INFO update-status ++ alias '@when_file_changed=@decorator when_file_changed'
2016-07-11 18:43:46 INFO update-status ++ alias '@only_once=@decorator only_once'
2016-07-11 18:43:46 INFO update-status ++ alias 'set_state=charms.reactive set_state'
2016-07-11 18:43:46 INFO update-status ++ alias 'remove_state=charms.reactive remove_state'
2016-07-11 18:43:46 INFO update-status ++ alias 'relation_call=charms.reactive relation_call'
2016-07-11 18:43:46 INFO update-status ++ alias 'all_states=charms.reactive all_states'
2016-07-11 18:43:46 INFO update-status ++ alias 'any_states=charms.reactive any_states'
2016-07-11 18:43:46 INFO update-status + @decorator when mysql.available
2016-07-11 18:43:46 INFO update-status + _get_decorated
2016-07-11 18:43:46 INFO update-status + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status + lineno=7
2016-07-11 18:43:46 INFO update-status + sed '7q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status + grep -qE '^\s*@'
2016-07-11 18:43:46 INFO update-status + (( lineno++ ))
2016-07-11 18:43:46 INFO update-status + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status + grep -qE '^\s*@'
2016-07-11 18:43:46 INFO update-status ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:43:46 INFO update-status + func=config_db
2016-07-11 18:43:46 INFO update-status + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:43:46 INFO update-status + '[' '!' ']'
2016-07-11 18:43:46 INFO update-status + REACTIVE_HANDLERS[$func]=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:43:46 INFO update-status + test_name=when
2016-07-11 18:43:46 INFO update-status + shift
2016-07-11 18:43:46 INFO update-status ++ printf '"%s" ' mysql.available
2016-07-11 18:43:46 INFO update-status + test_args='"mysql.available" '
2016-07-11 18:43:46 INFO update-status + '[' '!' ']'
2016-07-11 18:43:46 INFO update-status + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'''
2016-07-11 18:43:46 INFO update-status + @decorator when_not mysql-config.done
2016-07-11 18:43:46 INFO update-status + _get_decorated
2016-07-11 18:43:46 INFO update-status + filename=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status + lineno=8
2016-07-11 18:43:46 INFO update-status + grep -qE '^\s*@'
2016-07-11 18:43:46 INFO update-status + sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status ++ sed '8q;d' /var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh
2016-07-11 18:43:46 INFO update-status ++ sed 's/\(function\)\? *\(.*\) *() *{/\2/'
2016-07-11 18:43:46 INFO update-status + func=config_db
2016-07-11 18:43:46 INFO update-status + handler_id=/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db
2016-07-11 18:43:46 INFO update-status + '[' '!' _ ']'
2016-07-11 18:43:46 INFO update-status + test_name=when_not
2016-07-11 18:43:46 INFO update-status + shift
2016-07-11 18:43:46 INFO update-status ++ printf '"%s" ' mysql-config.done
2016-07-11 18:43:46 INFO update-status + test_args='"mysql-config.done" '
2016-07-11 18:43:46 INFO update-status + '[' '!' _ ']'
2016-07-11 18:43:46 INFO update-status + REACTIVE_TESTS[$func]=''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:43:46 INFO update-status + reactive_handler_main
2016-07-11 18:43:46 INFO update-status + [[ --test == \-\-\t\e\s\t ]]
2016-07-11 18:43:46 INFO update-status ++ charms.reactive test ''\''config_db'\'' '\''/var/lib/juju/agents/unit-sampledatabase-3/charm/reactive/sampledatabase.sh:8:config_db'\'' '\''when'\'' '\''"mysql.available" '\'' '\''when_not'\'' '\''"mysql-config.done" '\'''
2016-07-11 18:43:46 INFO update-status + to_invoke=
2016-07-11 18:43:46 INFO update-status + [[ -n '' ]]
2016-07-11 18:43:46 INFO update-status + exit 1
2016-07-11 18:43:46 INFO juju.worker.uniter.operation runhook.go:113 ran "update-status" hook
2016-07-11 18:43:46 INFO juju.worker.uniter resolver.go:128 no operations in progress; waiting for changes
2016-07-11 18:44:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:44:31.267294769 +0000 UTC
2016-07-11 18:44:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:45:01.267675949 +0000 UTC
2016-07-11 18:45:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:45:31.267962712 +0000 UTC
2016-07-11 18:45:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:46:01.268192467 +0000 UTC
2016-07-11 18:46:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:46:31.268613269 +0000 UTC
2016-07-11 18:46:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:47:01.268858329 +0000 UTC
2016-07-11 18:47:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:47:31.269208615 +0000 UTC
2016-07-11 18:47:31 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:48:01.269454841 +0000 UTC
2016-07-11 18:48:01 INFO juju.worker.leadership tracker.go:182 sampledatabase/3 will renew sampledatabase leadership at 2016-07-11 18:48:31.271735769 +0000 UTC
|