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
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318 | ok github.com/juju/juju 1.065s
ok github.com/juju/juju/agent 5.927s
ok github.com/juju/juju/agent/tools 1.599s
==================
WARNING: DATA RACE
Read by goroutine 55:
sync.raceRead()
/home/dfc/go/src/sync/race.go:37 +0x2e
sync.(*WaitGroup).Add()
/home/dfc/go/src/sync/waitgroup.go:63 +0xc5
github.com/juju/juju/apiserver.(*Server).apiHandler.func1()
/home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:410 +0x81
golang.org/x/net/websocket.Server.serveWebSocket()
/home/dfc/src/golang.org/x/net/websocket/server.go:90 +0x323
golang.org/x/net/websocket.Server.ServeHTTP()
/home/dfc/src/golang.org/x/net/websocket/server.go:70 +0x59
github.com/juju/juju/apiserver.(*Server).apiHandler()
/home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:426 +0x1b1
github.com/juju/juju/apiserver.(*Server).(github.com/juju/juju/apiserver.apiHandler)-fm()
/home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:372 +0x4b
net/http.HandlerFunc.ServeHTTP()
/home/dfc/go/src/net/http/server.go:1320 +0x47
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP()
/home/dfc/src/github.com/bmizerany/pat/mux.go:109 +0x372
net/http.serverHandler.ServeHTTP()
/home/dfc/go/src/net/http/server.go:1759 +0x206
net/http.(*conn).serve()
/home/dfc/go/src/net/http/server.go:1259 +0x1178
Previous write by goroutine 21:
sync.raceWrite()
/home/dfc/go/src/sync/race.go:41 +0x2e
sync.(*WaitGroup).Wait()
/home/dfc/go/src/sync/waitgroup.go:125 +0x174
github.com/juju/juju/apiserver.(*Server).run()
/home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:402 +0xed8
Goroutine 55 (running) created at:
net/http.(*Server).Serve()
/home/dfc/go/src/net/http/server.go:1807 +0x464
net/http.Serve()
/home/dfc/go/src/net/http/server.go:1662 +0xc5
github.com/juju/juju/apiserver.(*Server).run()
/home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:401 +0xed7
Goroutine 21 (finished) created at:
github.com/juju/juju/apiserver.NewServer()
/home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:206 +0xa59
github.com/juju/juju/provider/dummy.(*environ).Bootstrap()
/home/dfc/src/github.com/juju/juju/provider/dummy/environs.go:747 +0x1d19
github.com/juju/juju/environs/bootstrap.Bootstrap()
/home/dfc/src/github.com/juju/juju/environs/bootstrap/bootstrap.go:130 +0x14d7
github.com/juju/juju/juju/testing.(*JujuConnSuite).setUpConn()
/home/dfc/src/github.com/juju/juju/juju/testing/conn.go:253 +0x1809
github.com/juju/juju/juju/testing.(*JujuConnSuite).SetUpTest()
/home/dfc/src/github.com/juju/juju/juju/testing/conn.go:105 +0x22f
github.com/juju/juju/api_test.(*apiclientSuite).SetUpTest()
<autogenerated>:18 +0x55
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).runFixture.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:712 +0x1b8
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
==================
OK: 63 passed
PASS
Found 1 data race(s)
FAIL github.com/juju/juju/api 33.736s
ok github.com/juju/juju/api/action 2.440s
ok github.com/juju/juju/api/agent 7.355s
ok github.com/juju/juju/api/annotations 1.251s
ok github.com/juju/juju/api/backups 7.744s
? github.com/juju/juju/api/base [no test files]
? github.com/juju/juju/api/base/testing [no test files]
ok github.com/juju/juju/api/block 1.204s
ok github.com/juju/juju/api/charmrevisionupdater 3.848s
ok github.com/juju/juju/api/charms 1.334s
? github.com/juju/juju/api/common [no test files]
ok github.com/juju/juju/api/deployer 18.191s
ok github.com/juju/juju/api/diskmanager 1.323s
ok github.com/juju/juju/api/environment 3.142s
ok github.com/juju/juju/api/environmentmanager 5.969s
ok github.com/juju/juju/api/firewaller 32.082s
ok github.com/juju/juju/api/highavailability 3.661s
? github.com/juju/juju/api/http [no test files]
? github.com/juju/juju/api/http/testing [no test files]
ok github.com/juju/juju/api/imagemanager 1.291s
ok github.com/juju/juju/api/instancepoller 1.305s
ok github.com/juju/juju/api/keymanager 7.959s
ok github.com/juju/juju/api/keyupdater 5.145s
ok github.com/juju/juju/api/leadership 1.112s
ok github.com/juju/juju/api/logger 4.128s
ok github.com/juju/juju/api/machinemanager 1.259s
ok github.com/juju/juju/api/machiner 10.665s
ok github.com/juju/juju/api/metricsmanager 3.043s
ok github.com/juju/juju/api/networker 9.170s
ok github.com/juju/juju/api/provisioner 38.319s
ok github.com/juju/juju/api/reboot 7.046s
ok github.com/juju/juju/api/resumer 1.212s
ok github.com/juju/juju/api/rsyslog 3.025s
ok github.com/juju/juju/api/service 3.253s
ok github.com/juju/juju/api/storage 1.218s
ok github.com/juju/juju/api/storageprovisioner 1.423s
? github.com/juju/juju/api/testing [no test files]
ok github.com/juju/juju/api/uniter 139.384s
ok github.com/juju/juju/api/upgrader 22.004s
ok github.com/juju/juju/api/usermanager 9.325s
ok github.com/juju/juju/api/watcher 7.796s
ok github.com/juju/juju/apiserver 279.083s
ok github.com/juju/juju/apiserver/action 14.393s
ok github.com/juju/juju/apiserver/agent 13.853s
ok github.com/juju/juju/apiserver/annotations 8.301s
ok github.com/juju/juju/apiserver/authentication 9.492s
ok github.com/juju/juju/apiserver/backups 9.066s
ok github.com/juju/juju/apiserver/block 3.990s
ok github.com/juju/juju/apiserver/charmrevisionupdater 10.422s
? github.com/juju/juju/apiserver/charmrevisionupdater/testing [no test files]
ok github.com/juju/juju/apiserver/charms 5.664s
ok github.com/juju/juju/apiserver/client 320.667s
ok github.com/juju/juju/apiserver/common 12.384s
? github.com/juju/juju/apiserver/common/testing [no test files]
ok github.com/juju/juju/apiserver/deployer 13.460s
ok github.com/juju/juju/apiserver/diskmanager 1.243s
ok github.com/juju/juju/apiserver/environment 2.753s
ok github.com/juju/juju/apiserver/environmentmanager 10.784s
ok github.com/juju/juju/apiserver/firewaller 20.127s
ok github.com/juju/juju/apiserver/highavailability 9.354s
ok github.com/juju/juju/apiserver/http 1.296s
? github.com/juju/juju/apiserver/http/testing [no test files]
ok github.com/juju/juju/apiserver/imagemanager 5.754s
ok github.com/juju/juju/apiserver/instancepoller 1.475s
ok github.com/juju/juju/apiserver/keymanager 9.519s
? github.com/juju/juju/apiserver/keymanager/testing [no test files]
ok github.com/juju/juju/apiserver/keyupdater 5.067s
ok github.com/juju/juju/apiserver/leadership 1.066s
ok github.com/juju/juju/apiserver/logger 5.812s
ok github.com/juju/juju/apiserver/machine 5.850s
ok github.com/juju/juju/apiserver/machinemanager 1.170s
ok github.com/juju/juju/apiserver/meterstatus 1.036s
ok github.com/juju/juju/apiserver/metricsender 23.333s
? github.com/juju/juju/apiserver/metricsender/testing [no test files]
ok github.com/juju/juju/apiserver/metricsender/wireformat 3.058s
ok github.com/juju/juju/apiserver/metricsmanager 11.029s
ok github.com/juju/juju/apiserver/networker 8.840s
ok github.com/juju/juju/apiserver/params 1.649s
ok github.com/juju/juju/apiserver/provisioner 82.552s
ok github.com/juju/juju/apiserver/reboot 8.733s
ok github.com/juju/juju/apiserver/resumer 1.339s
ok github.com/juju/juju/apiserver/rsyslog 8.028s
ok github.com/juju/juju/apiserver/service 13.608s
ok github.com/juju/juju/apiserver/storage 1.443s
ok github.com/juju/juju/apiserver/storageprovisioner 27.019s
? github.com/juju/juju/apiserver/testing [no test files]
ok github.com/juju/juju/apiserver/uniter 268.792s
ok github.com/juju/juju/apiserver/upgrader 27.982s
ok github.com/juju/juju/apiserver/usermanager 12.431s
ok github.com/juju/juju/audit 1.037s
ok github.com/juju/juju/bzr 8.626s
ok github.com/juju/juju/cert 8.153s
ok github.com/juju/juju/cloudconfig 2.765s
ok github.com/juju/juju/cloudconfig/cloudinit 4.823s
ok github.com/juju/juju/cloudconfig/containerinit 1.439s
ok github.com/juju/juju/cloudconfig/instancecfg 1.374s
ok github.com/juju/juju/cloudconfig/providerinit 2.345s
? github.com/juju/juju/cloudconfig/sshinit [no test files]
? github.com/juju/juju/cmd [no test files]
ok github.com/juju/juju/cmd/envcmd 1.379s
ok github.com/juju/juju/cmd/juju 1908.713s
ok github.com/juju/juju/cmd/juju/action 19.418s
ok github.com/juju/juju/cmd/juju/backups 1.367s
ok github.com/juju/juju/cmd/juju/block 1.318s
ok github.com/juju/juju/cmd/juju/cachedimages 1.272s
ok github.com/juju/juju/cmd/juju/common 1.385s
ok github.com/juju/juju/cmd/juju/environment 1.727s
ok github.com/juju/juju/cmd/juju/machine 1.426s
ok github.com/juju/juju/cmd/juju/service 1.875s
ok github.com/juju/juju/cmd/juju/storage 1.416s
ok github.com/juju/juju/cmd/juju/user 1.449s
----------------------------------------------------------------------
FAIL: main_test.go:284: JujuCMainSuite.TestBadSockPath
check /tmp/go-build582170922/github.com/juju/juju/cmd/jujud/_test/jujud.test []string{"-test.run", "TestRunMain", "-run-main", "--", "remote"}
main_test.go:291:
c.Assert(output, gc.Matches, err)
... value string = "error: dial unix <nil>->/tmp/check-4806071505476235300/10/bad.sock: connect: no such file or directory\n"
... regex string = "error: dial unix /tmp/check-4806071505476235300/10/bad.sock: .*\n"
OOPS: 34 passed, 1 FAILED
--- FAIL: TestPackage-4 (14.44s)
FAIL
FAIL github.com/juju/juju/cmd/jujud 14.803s
==================
WARNING: DATA RACE
Read by goroutine 215:
github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).postUpgradeAPIWorker.func9()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:765 +0xee
github.com/juju/juju/worker.(*runner).runWorker()
/home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
Previous write by goroutine 236:
reflect.Value.Set()
/home/dfc/go/src/reflect/value.go:1331 +0x108
github.com/juju/testing.PatchValue()
/home/dfc/src/github.com/juju/testing/patch.go:46 +0x2a3
github.com/juju/testing.(*CleanupSuite).PatchValue()
/home/dfc/src/github.com/juju/testing/cleanup.go:77 +0x62
github.com/juju/juju/cmd/jujud/agent.(*MachineSuite).TestMachineAgentRunsDiskManagerWorker()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:1294 +0x2b3
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Goroutine 215 (running) created at:
github.com/juju/juju/worker.(*runner).run()
/home/dfc/src/github.com/juju/juju/worker/runner.go:177 +0x6cc
github.com/juju/juju/worker.NewRunner.func1()
/home/dfc/src/github.com/juju/juju/worker/runner.go:84 +0x65
Goroutine 236 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/cmd/jujud/agent.TestPackage()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:96 +0xe1
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Read by goroutine 55:
github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).postUpgradeAPIWorker.func10()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:771 +0x2b1
github.com/juju/juju/worker.(*runner).runWorker()
/home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
Previous write by goroutine 357:
reflect.Value.Set()
/home/dfc/go/src/reflect/value.go:1331 +0x108
github.com/juju/testing.PatchValue()
/home/dfc/src/github.com/juju/testing/patch.go:46 +0x2a3
github.com/juju/testing.(*CleanupSuite).PatchValue()
/home/dfc/src/github.com/juju/testing/cleanup.go:77 +0x62
github.com/juju/juju/cmd/jujud/agent.(*MachineSuite).TestMachineAgentRunsEnvironStorageWorker()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:1397 +0x4c5
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Goroutine 55 (running) created at:
github.com/juju/juju/worker.(*runner).run()
/home/dfc/src/github.com/juju/juju/worker/runner.go:177 +0x6cc
github.com/juju/juju/worker.NewRunner.func1()
/home/dfc/src/github.com/juju/juju/worker/runner.go:84 +0x65
Goroutine 357 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/cmd/jujud/agent.TestPackage()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:96 +0xe1
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Write by goroutine 55:
sync/atomic.AddInt32()
/home/dfc/go/src/runtime/race_amd64.s:255 +0xb
github.com/juju/juju/cmd/jujud/agent.(*MachineSuite).TestMachineAgentRunsEnvironStorageWorker.func3()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:1389 +0x5b1
github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).postUpgradeAPIWorker.func10()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:771 +0x3c2
github.com/juju/juju/worker.(*runner).runWorker()
/home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
Previous write by goroutine 357:
github.com/juju/juju/cmd/jujud/agent.(*MachineSuite).TestMachineAgentRunsEnvironStorageWorker()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:1370 +0x21b
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Goroutine 55 (running) created at:
github.com/juju/juju/worker.(*runner).run()
/home/dfc/src/github.com/juju/juju/worker/runner.go:177 +0x6cc
github.com/juju/juju/worker.NewRunner.func1()
/home/dfc/src/github.com/juju/juju/worker/runner.go:84 +0x65
Goroutine 357 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/cmd/jujud/agent.TestPackage()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:96 +0xe1
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Write by goroutine 55:
sync/atomic.AddInt32()
/home/dfc/go/src/runtime/race_amd64.s:255 +0xb
github.com/juju/juju/cmd/jujud/agent.(*MachineSuite).TestMachineAgentRunsEnvironStorageWorker.func3()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:1390 +0x72d
github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).postUpgradeAPIWorker.func10()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:771 +0x3c2
github.com/juju/juju/worker.(*runner).runWorker()
/home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
Previous write by goroutine 357:
github.com/juju/juju/cmd/jujud/agent.(*MachineSuite).TestMachineAgentRunsEnvironStorageWorker()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:1370 +0x1f5
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Goroutine 55 (running) created at:
github.com/juju/juju/worker.(*runner).run()
/home/dfc/src/github.com/juju/juju/worker/runner.go:177 +0x6cc
github.com/juju/juju/worker.NewRunner.func1()
/home/dfc/src/github.com/juju/juju/worker/runner.go:84 +0x65
Goroutine 357 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/cmd/jujud/agent.TestPackage()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:96 +0xe1
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Read by goroutine 55:
sync/atomic.LoadInt32()
/home/dfc/go/src/runtime/race_amd64.s:192 +0xb
github.com/juju/juju/cmd/jujud/agent.(*MachineSuite).TestMachineAgentRunsEnvironStorageWorker.func3()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:1392 +0x73e
github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).postUpgradeAPIWorker.func10()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:771 +0x3c2
github.com/juju/juju/worker.(*runner).runWorker()
/home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
Previous write by goroutine 357:
github.com/juju/juju/cmd/jujud/agent.(*MachineSuite).TestMachineAgentRunsEnvironStorageWorker()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:1370 +0x241
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Goroutine 55 (running) created at:
github.com/juju/juju/worker.(*runner).run()
/home/dfc/src/github.com/juju/juju/worker/runner.go:177 +0x6cc
github.com/juju/juju/worker.NewRunner.func1()
/home/dfc/src/github.com/juju/juju/worker/runner.go:84 +0x65
Goroutine 357 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/cmd/jujud/agent.TestPackage()
/home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine_test.go:96 +0xe1
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
OK: 103 passed, 1 skipped
PASS
Found 5 data race(s)
FAIL github.com/juju/juju/cmd/jujud/agent 197.554s
? github.com/juju/juju/cmd/jujud/agent/testing [no test files]
ok github.com/juju/juju/cmd/jujud/reboot 13.333s
ok github.com/juju/juju/cmd/jujud/util 1.236s
ok github.com/juju/juju/cmd/plugins/juju-metadata 19.750s
? github.com/juju/juju/cmd/plugins/juju-restore [no test files]
ok github.com/juju/juju/cmd/plugins/local 1.366s
? github.com/juju/juju/cmd/plugins/local/juju-local [no test files]
? github.com/juju/juju/cmd/testing [no test files]
ok github.com/juju/juju/constraints 1.138s
ok github.com/juju/juju/container 1.806s
ok github.com/juju/juju/container/factory 1.287s
ok github.com/juju/juju/container/kvm 1.523s
ok github.com/juju/juju/container/kvm/mock 1.332s
? github.com/juju/juju/container/kvm/testing [no test files]
ok github.com/juju/juju/container/lxc 5.805s
? github.com/juju/juju/container/lxc/mock [no test files]
? github.com/juju/juju/container/lxc/testing [no test files]
? github.com/juju/juju/container/testing [no test files]
ok github.com/juju/juju/downloader 6.559s
? github.com/juju/juju/environmentserver/authentication [no test files]
ok github.com/juju/juju/environs 2.012s
ok github.com/juju/juju/environs/bootstrap 416.124s
ok github.com/juju/juju/environs/config 2.842s
ok github.com/juju/juju/environs/configstore 1.540s
ok github.com/juju/juju/environs/filestorage 1.047s
ok github.com/juju/juju/environs/httpstorage 3.187s
ok github.com/juju/juju/environs/imagemetadata 1.433s
? github.com/juju/juju/environs/imagemetadata/testing [no test files]
ok github.com/juju/juju/environs/instances 1.331s
ok github.com/juju/juju/environs/jujutest 1.213s
ok github.com/juju/juju/environs/manual 4.643s
ok github.com/juju/juju/environs/simplestreams 1.728s
? github.com/juju/juju/environs/simplestreams/testing [no test files]
ok github.com/juju/juju/environs/sshstorage 2.948s
ok github.com/juju/juju/environs/storage 1.389s
ok github.com/juju/juju/environs/sync 1.842s
ok github.com/juju/juju/environs/tags 1.252s
ok github.com/juju/juju/environs/testing 1.324s
ok github.com/juju/juju/environs/tools 2.560s
? github.com/juju/juju/environs/tools/testing [no test files]
? github.com/juju/juju/environs/utils [no test files]
? github.com/juju/juju/feature [no test files]
ok github.com/juju/juju/featuretests 60.184s
ok github.com/juju/juju/instance 1.055s
? github.com/juju/juju/instance/testing [no test files]
ok github.com/juju/juju/juju 15.288s
ok github.com/juju/juju/juju/arch 1.220s
? github.com/juju/juju/juju/names [no test files]
ok github.com/juju/juju/juju/osenv 1.310s
ok github.com/juju/juju/juju/paths 1.227s
? github.com/juju/juju/juju/sockets [no test files]
? github.com/juju/juju/juju/testing [no test files]
ok github.com/juju/juju/leadership 1.031s
ok github.com/juju/juju/lease 1.767s
ok github.com/juju/juju/mongo 1.953s
ok github.com/juju/juju/network 1.559s
? github.com/juju/juju/provider [no test files]
? github.com/juju/juju/provider/all [no test files]
ok github.com/juju/juju/provider/azure 4.236s
ok github.com/juju/juju/provider/cloudsigma 4.311s
ok github.com/juju/juju/provider/common 2.749s
ok github.com/juju/juju/provider/dummy 6.274s
ok github.com/juju/juju/provider/ec2 44.134s
ok github.com/juju/juju/provider/gce 5.806s
ok github.com/juju/juju/provider/gce/google 1.214s
==================
WARNING: DATA RACE
Read by goroutine 295:
runtime.mapaccess2_faststr()
/home/dfc/go/src/runtime/hashmap_fast.go:281 +0x0
github.com/joyent/gomanta/localservices/manta.(*Manta).handleStorage()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service_http.go:234 +0x17de
github.com/joyent/gomanta/localservices/manta.(*mantaHandler).ServeHTTP()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service_http.go:98 +0x1bc
net/http.(*ServeMux).ServeHTTP()
/home/dfc/go/src/net/http/server.go:1597 +0x212
net/http.serverHandler.ServeHTTP()
/home/dfc/go/src/net/http/server.go:1759 +0x206
net/http.(*conn).serve()
/home/dfc/go/src/net/http/server.go:1259 +0x1178
Previous write by goroutine 113:
runtime.mapdelete()
/home/dfc/go/src/runtime/hashmap.go:511 +0x0
github.com/joyent/gomanta/localservices/manta.(*Manta).DeleteObject()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service.go:277 +0x4e3
github.com/joyent/gomanta/localservices/manta.(*Manta).handleStorage()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service_http.go:236 +0x1817
github.com/joyent/gomanta/localservices/manta.(*mantaHandler).ServeHTTP()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service_http.go:98 +0x1bc
net/http.(*ServeMux).ServeHTTP()
/home/dfc/go/src/net/http/server.go:1597 +0x212
net/http.serverHandler.ServeHTTP()
/home/dfc/go/src/net/http/server.go:1759 +0x206
net/http.(*conn).serve()
/home/dfc/go/src/net/http/server.go:1259 +0x1178
Goroutine 295 (running) created at:
net/http.(*Server).Serve()
/home/dfc/go/src/net/http/server.go:1807 +0x464
Goroutine 113 (running) created at:
net/http.(*Server).Serve()
/home/dfc/go/src/net/http/server.go:1807 +0x464
==================
==================
WARNING: DATA RACE
Read by goroutine 295:
runtime.mapaccess2_faststr()
/home/dfc/go/src/runtime/hashmap_fast.go:281 +0x0
github.com/joyent/gomanta/localservices/manta.(*Manta).DeleteObject()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service.go:275 +0x419
github.com/joyent/gomanta/localservices/manta.(*Manta).handleStorage()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service_http.go:236 +0x1817
github.com/joyent/gomanta/localservices/manta.(*mantaHandler).ServeHTTP()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service_http.go:98 +0x1bc
net/http.(*ServeMux).ServeHTTP()
/home/dfc/go/src/net/http/server.go:1597 +0x212
net/http.serverHandler.ServeHTTP()
/home/dfc/go/src/net/http/server.go:1759 +0x206
net/http.(*conn).serve()
/home/dfc/go/src/net/http/server.go:1259 +0x1178
Previous write by goroutine 113:
runtime.mapdelete()
/home/dfc/go/src/runtime/hashmap.go:511 +0x0
github.com/joyent/gomanta/localservices/manta.(*Manta).DeleteObject()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service.go:276 +0x485
github.com/joyent/gomanta/localservices/manta.(*Manta).handleStorage()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service_http.go:236 +0x1817
github.com/joyent/gomanta/localservices/manta.(*mantaHandler).ServeHTTP()
/home/dfc/src/github.com/joyent/gomanta/localservices/manta/service_http.go:98 +0x1bc
net/http.(*ServeMux).ServeHTTP()
/home/dfc/go/src/net/http/server.go:1597 +0x212
net/http.serverHandler.ServeHTTP()
/home/dfc/go/src/net/http/server.go:1759 +0x206
net/http.(*conn).serve()
/home/dfc/go/src/net/http/server.go:1259 +0x1178
Goroutine 295 (running) created at:
net/http.(*Server).Serve()
/home/dfc/go/src/net/http/server.go:1807 +0x464
Goroutine 113 (running) created at:
net/http.(*Server).Serve()
/home/dfc/go/src/net/http/server.go:1807 +0x464
==================
OK: 51 passed, 2 skipped
PASS
Found 2 data race(s)
FAIL github.com/juju/juju/provider/joyent 37.488s
ok github.com/juju/juju/provider/local 7.167s
ok github.com/juju/juju/provider/maas 19.015s
ok github.com/juju/juju/provider/manual 1.590s
ok github.com/juju/juju/provider/openstack 51.148s
ok github.com/juju/juju/provider/vsphere 6.648s
ok github.com/juju/juju/rpc 1.497s
ok github.com/juju/juju/rpc/jsoncodec 1.209s
? github.com/juju/juju/rpc/rpcreflect [no test files]
ok github.com/juju/juju/service 2.043s
ok github.com/juju/juju/service/common 1.053s
ok github.com/juju/juju/service/common/testing 1.021s
ok github.com/juju/juju/service/systemd 1.452s
? github.com/juju/juju/service/systemd/testing [no test files]
ok github.com/juju/juju/service/upstart 1.609s
ok github.com/juju/juju/service/windows 1.204s
ok github.com/juju/juju/state 665.956s
ok github.com/juju/juju/state/backups 21.149s
? github.com/juju/juju/state/backups/testing [no test files]
ok github.com/juju/juju/state/imagestorage 3.242s
ok github.com/juju/juju/state/multiwatcher 1.022s
ok github.com/juju/juju/state/presence 9.446s
ok github.com/juju/juju/state/storage 1.408s
? github.com/juju/juju/state/testing [no test files]
ok github.com/juju/juju/state/toolstorage 2.704s
ok github.com/juju/juju/state/utils 2.641s
ok github.com/juju/juju/state/watcher 7.297s
ok github.com/juju/juju/storage 1.223s
ok github.com/juju/juju/storage/poolmanager 3.476s
ok github.com/juju/juju/storage/provider 1.422s
? github.com/juju/juju/storage/provider/dummy [no test files]
ok github.com/juju/juju/storage/provider/registry 1.068s
? github.com/juju/juju/testcharms [no test files]
ok github.com/juju/juju/testing 1.303s
ok github.com/juju/juju/testing/factory 7.449s
ok github.com/juju/juju/tools 1.031s
ok github.com/juju/juju/upgrades 62.209s
ok github.com/juju/juju/utils 1.283s
==================
WARNING: DATA RACE
Read by goroutine 48:
os/exec.(*Cmd).Wait()
/home/dfc/go/src/os/exec/exec.go:363 +0x182
github.com/juju/juju/utils/ssh.(*opensshCmd).Wait()
<autogenerated>:14 +0x61
github.com/juju/juju/utils/ssh.(*Cmd).Wait()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh.go:166 +0x6a
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:77 +0xa79
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous write by goroutine 50:
os/exec.(*Cmd).Wait()
/home/dfc/go/src/os/exec/exec.go:366 +0x2b4
github.com/juju/juju/utils/ssh.(*opensshCmd).Wait()
<autogenerated>:14 +0x61
github.com/juju/juju/utils/ssh.(*Cmd).Wait()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh.go:166 +0x6a
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine.func1()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:53 +0x6e
Goroutine 48 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/juju/utils/ssh_test.TestPackage()
/home/dfc/src/github.com/juju/juju/utils/ssh/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 50 (running) created at:
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:56 +0x715
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
==================
==================
WARNING: DATA RACE
Read by goroutine 48:
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:78 +0xaae
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous write by goroutine 52:
bytes.(*Buffer).Truncate()
/home/dfc/go/src/bytes/buffer.go:72 +0xb5
bytes.(*Buffer).ReadFrom()
/home/dfc/go/src/bytes/buffer.go:158 +0xcd
io.copyBuffer()
/home/dfc/go/src/io/io.go:375 +0x1a5
io.Copy()
/home/dfc/go/src/io/io.go:351 +0x78
os/exec.(*Cmd).writerDescriptor.func1()
/home/dfc/go/src/os/exec/exec.go:224 +0x90
os/exec.(*Cmd).Start.func1()
/home/dfc/go/src/os/exec/exec.go:331 +0x2a
Goroutine 48 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/juju/utils/ssh_test.TestPackage()
/home/dfc/src/github.com/juju/juju/utils/ssh/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 52 (running) created at:
os/exec.(*Cmd).Start()
/home/dfc/go/src/os/exec/exec.go:332 +0xe2c
github.com/juju/juju/utils/ssh.(*opensshCmd).Start()
<autogenerated>:13 +0x61
github.com/juju/juju/utils/ssh.(*Cmd).Start()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh.go:160 +0x11d
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:47 +0x69e
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
==================
==================
WARNING: DATA RACE
Read by goroutine 48:
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:78 +0xac5
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous write by goroutine 52:
bytes.(*Buffer).Truncate()
/home/dfc/go/src/bytes/buffer.go:74 +0xef
bytes.(*Buffer).ReadFrom()
/home/dfc/go/src/bytes/buffer.go:158 +0xcd
io.copyBuffer()
/home/dfc/go/src/io/io.go:375 +0x1a5
io.Copy()
/home/dfc/go/src/io/io.go:351 +0x78
os/exec.(*Cmd).writerDescriptor.func1()
/home/dfc/go/src/os/exec/exec.go:224 +0x90
os/exec.(*Cmd).Start.func1()
/home/dfc/go/src/os/exec/exec.go:331 +0x2a
Goroutine 48 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/juju/utils/ssh_test.TestPackage()
/home/dfc/src/github.com/juju/juju/utils/ssh/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 52 (running) created at:
os/exec.(*Cmd).Start()
/home/dfc/go/src/os/exec/exec.go:332 +0xe2c
github.com/juju/juju/utils/ssh.(*opensshCmd).Start()
<autogenerated>:13 +0x61
github.com/juju/juju/utils/ssh.(*Cmd).Start()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh.go:160 +0x11d
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:47 +0x69e
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
==================
==================
WARNING: DATA RACE
Read by goroutine 48:
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:79 +0xb58
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous write by goroutine 51:
bytes.(*Buffer).Truncate()
/home/dfc/go/src/bytes/buffer.go:72 +0xb5
bytes.(*Buffer).ReadFrom()
/home/dfc/go/src/bytes/buffer.go:158 +0xcd
io.copyBuffer()
/home/dfc/go/src/io/io.go:375 +0x1a5
io.Copy()
/home/dfc/go/src/io/io.go:351 +0x78
os/exec.(*Cmd).writerDescriptor.func1()
/home/dfc/go/src/os/exec/exec.go:224 +0x90
os/exec.(*Cmd).Start.func1()
/home/dfc/go/src/os/exec/exec.go:331 +0x2a
Goroutine 48 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/juju/utils/ssh_test.TestPackage()
/home/dfc/src/github.com/juju/juju/utils/ssh/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 51 (running) created at:
os/exec.(*Cmd).Start()
/home/dfc/go/src/os/exec/exec.go:332 +0xe2c
github.com/juju/juju/utils/ssh.(*opensshCmd).Start()
<autogenerated>:13 +0x61
github.com/juju/juju/utils/ssh.(*Cmd).Start()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh.go:160 +0x11d
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:47 +0x69e
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
==================
==================
WARNING: DATA RACE
Read by goroutine 48:
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:79 +0xb6f
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous write by goroutine 51:
bytes.(*Buffer).Truncate()
/home/dfc/go/src/bytes/buffer.go:74 +0xef
bytes.(*Buffer).ReadFrom()
/home/dfc/go/src/bytes/buffer.go:158 +0xcd
io.copyBuffer()
/home/dfc/go/src/io/io.go:375 +0x1a5
io.Copy()
/home/dfc/go/src/io/io.go:351 +0x78
os/exec.(*Cmd).writerDescriptor.func1()
/home/dfc/go/src/os/exec/exec.go:224 +0x90
os/exec.(*Cmd).Start.func1()
/home/dfc/go/src/os/exec/exec.go:331 +0x2a
Goroutine 48 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/juju/utils/ssh_test.TestPackage()
/home/dfc/src/github.com/juju/juju/utils/ssh/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 51 (running) created at:
os/exec.(*Cmd).Start()
/home/dfc/go/src/os/exec/exec.go:332 +0xe2c
github.com/juju/juju/utils/ssh.(*opensshCmd).Start()
<autogenerated>:13 +0x61
github.com/juju/juju/utils/ssh.(*Cmd).Start()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh.go:160 +0x11d
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:47 +0x69e
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
==================
==================
WARNING: DATA RACE
Read by goroutine 48:
runtime.slicebytetostring()
/home/dfc/go/src/runtime/string.go:75 +0x0
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous write by goroutine 51:
runtime.slicecopy()
/home/dfc/go/src/runtime/slice.go:100 +0x0
bytes.(*Buffer).ReadFrom()
/home/dfc/go/src/bytes/buffer.go:169 +0x27f
io.copyBuffer()
/home/dfc/go/src/io/io.go:375 +0x1a5
io.Copy()
/home/dfc/go/src/io/io.go:351 +0x78
os/exec.(*Cmd).writerDescriptor.func1()
/home/dfc/go/src/os/exec/exec.go:224 +0x90
os/exec.(*Cmd).Start.func1()
/home/dfc/go/src/os/exec/exec.go:331 +0x2a
Goroutine 48 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/juju/utils/ssh_test.TestPackage()
/home/dfc/src/github.com/juju/juju/utils/ssh/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 51 (running) created at:
os/exec.(*Cmd).Start()
/home/dfc/go/src/os/exec/exec.go:332 +0xe2c
github.com/juju/juju/utils/ssh.(*opensshCmd).Start()
<autogenerated>:13 +0x61
github.com/juju/juju/utils/ssh.(*Cmd).Start()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh.go:160 +0x11d
github.com/juju/juju/utils/ssh.ExecuteCommandOnMachine()
/home/dfc/src/github.com/juju/juju/utils/ssh/run.go:47 +0x69e
github.com/juju/juju/utils/ssh_test.(*ExecuteSSHCommandSuite).TestTimoutCaptureOutput()
/home/dfc/src/github.com/juju/juju/utils/ssh/run_test.go:93 +0x10a
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
==================
==================
WARNING: DATA RACE
Write by goroutine 63:
gopkg.in/check%2ev1.(*C).internalCheck()
/home/dfc/src/gopkg.in/check.v1/helpers.go:227 +0x12ea
gopkg.in/check%2ev1.(*C).Assert()
/home/dfc/src/gopkg.in/check.v1/helpers.go:173 +0x99
github.com/juju/juju/utils/ssh_test.(*sshServer).run.func1()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh_gocrypto_test.go:54 +0x104
github.com/juju/juju/utils/ssh_test.(*sshServer).run()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh_gocrypto_test.go:89 +0x7c2
Previous read by goroutine 8:
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:607 +0x4af
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/juju/utils/ssh_test.TestPackage()
/home/dfc/src/github.com/juju/juju/utils/ssh/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 63 (running) created at:
github.com/juju/juju/utils/ssh_test.(*SSHGoCryptoCommandSuite).TestCommand()
/home/dfc/src/github.com/juju/juju/utils/ssh/ssh_gocrypto_test.go:153 +0x5e4
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Goroutine 8 (running) created at:
testing.RunTests()
/home/dfc/go/src/testing/testing.go:563 +0xcac
testing.(*M).Run()
/home/dfc/go/src/testing/testing.go:493 +0xe4
main.main()
github.com/juju/juju/utils/ssh/_test/_testmain.go:56 +0x20f
==================
OK: 45 passed, 1 skipped
PASS
Found 7 data race(s)
FAIL github.com/juju/juju/utils/ssh 1.559s
? github.com/juju/juju/utils/ssh/testing [no test files]
ok github.com/juju/juju/utils/syslog 1.087s
? github.com/juju/juju/utils/syslog/testing [no test files]
ok github.com/juju/juju/version 1.379s
ok github.com/juju/juju/worker 4.376s
ok github.com/juju/juju/worker/addresser 27.815s
ok github.com/juju/juju/worker/agent 1.042s
ok github.com/juju/juju/worker/apiaddressupdater 4.303s
ok github.com/juju/juju/worker/apicaller 1.317s
ok github.com/juju/juju/worker/authenticationworker 6.903s
ok github.com/juju/juju/worker/certupdater 1.572s
ok github.com/juju/juju/worker/charmrevisionworker 8.644s
ok github.com/juju/juju/worker/cleaner 2.790s
ok github.com/juju/juju/worker/conv2state 1.403s
ok github.com/juju/juju/worker/dblogpruner 16.341s
ok github.com/juju/juju/worker/dependency 4.032s
? github.com/juju/juju/worker/dependency/testing [no test files]
ok github.com/juju/juju/worker/deployer 7.241s
ok github.com/juju/juju/worker/diskmanager 1.299s
ok github.com/juju/juju/worker/envworkermanager 4.928s
ok github.com/juju/juju/worker/firewaller 32.668s
ok github.com/juju/juju/worker/instancepoller 6.365s
ok github.com/juju/juju/worker/leadership 1.734s
ok github.com/juju/juju/worker/localstorage 1.052s
ok github.com/juju/juju/worker/logger 2.826s
ok github.com/juju/juju/worker/logsender 2.067s
ok github.com/juju/juju/worker/machinelock 1.595s
ok github.com/juju/juju/worker/machiner 11.022s
ok github.com/juju/juju/worker/metricworker 1.820s
ok github.com/juju/juju/worker/minunitsworker 3.032s
ok github.com/juju/juju/worker/networker 8.995s
----------------------------------------------------------------------
FAIL: worker_test.go:175: workerSuite.TestHasVoteMaintainedEvenWhenReplicaSetFails
[LOG] 0:00.000 INFO juju.worker.peergrouper fakeState.addMachine "10"
[LOG] 0:00.001 INFO juju.worker.peergrouper fakeState.addMachine "11"
[LOG] 0:00.001 INFO juju.worker.peergrouper fakeState.addMachine "12"
[LOG] 0:00.001 INFO juju.worker.peergrouper fakeState.addMachine "13"
[LOG] 0:00.001 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 true" -> <nil>
[LOG] 0:00.001 ERROR juju.worker.peergrouper errorFor "Session.Set" -> <nil>
[LOG] 0:00.001 INFO juju.worker.peergrouper setting replicaset members to []replicaset.Member{replicaset.Member{Id:0, Address:"0.1.2.10:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.002 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 true" -> <nil>
[LOG] 0:00.002 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 11 true" -> <nil>
[LOG] 0:00.002 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 12 true" -> <nil>
[LOG] 0:00.002 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 13 false" -> <nil>
[LOG] 0:00.002 ERROR juju.worker.peergrouper errorFor "Session.Set" -> <nil>
[LOG] 0:00.003 INFO juju.worker.peergrouper setting replicaset members to []replicaset.Member{replicaset.Member{Id:0, Address:"0.1.2.10:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:3, Address:"0.1.2.13:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc208548910), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc208548920)}}
mustNext 0xc2080ebb30
mustNext done 0xc2080ebb30, ok: true, val: []replicaset.Member{replicaset.Member{Id:0, Address:"0.1.2.10:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:3, Address:"0.1.2.13:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc2085490f0), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc208549150)}}
mustNext 0xc2080ebb30
[LOG] 0:00.007 ERROR juju.worker.peergrouper errorFor "State.StateServerInfo" -> <nil>
[LOG] 0:00.007 DEBUG juju.worker.peergrouper found new machine "10"
[LOG] 0:00.007 ERROR juju.worker.peergrouper errorFor "State.Machine 10" -> <nil>
[LOG] 0:00.008 DEBUG juju.worker.peergrouper found new machine "11"
[LOG] 0:00.008 ERROR juju.worker.peergrouper errorFor "State.Machine 11" -> <nil>
[LOG] 0:00.008 DEBUG juju.worker.peergrouper found new machine "12"
[LOG] 0:00.008 ERROR juju.worker.peergrouper errorFor "State.Machine 12" -> <nil>
[LOG] 0:00.008 DEBUG juju.worker.peergrouper found new machine "13"
[LOG] 0:00.009 ERROR juju.worker.peergrouper errorFor "State.Machine 13" -> <nil>
[LOG] 0:00.009 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 10" -> <nil>
[LOG] 0:00.009 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 10" -> <nil>
[LOG] 0:00.009 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 11" -> <nil>
[LOG] 0:00.009 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 12" -> <nil>
[LOG] 0:00.009 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 13" -> <nil>
[LOG] 0:00.009 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.010 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.011 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.011 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{&peergrouper.machine{id: "10", wantsVote: false, hostPort: "0.1.2.10:1234"}:(*replicaset.Member)(0xc208374b40), &peergrouper.machine{id: "11", wantsVote: true, hostPort: "0.1.2.11:1234"}:(*replicaset.Member)(0xc208374b90), &peergrouper.machine{id: "12", wantsVote: true, hostPort: "0.1.2.12:1234"}:(*replicaset.Member)(0xc208374be0), &peergrouper.machine{id: "13", wantsVote: true, hostPort: "0.1.2.13:1234"}:(*replicaset.Member)(0xc208374c30)}
[LOG] 0:00.011 DEBUG juju.worker.peergrouper extra: []replicaset.Member(nil)
[LOG] 0:00.011 DEBUG juju.worker.peergrouper maxId: 3
[LOG] 0:00.011 DEBUG juju.worker.peergrouper assessing possible peer group changes:
[LOG] 0:00.011 DEBUG juju.worker.peergrouper machine "11" is already voting
[LOG] 0:00.011 DEBUG juju.worker.peergrouper machine "12" is already voting
[LOG] 0:00.011 DEBUG juju.worker.peergrouper machine "13" is a potential voter
[LOG] 0:00.011 DEBUG juju.worker.peergrouper machine "10" is a potential non-voter
[LOG] 0:00.012 DEBUG juju.worker.peergrouper assessed
[LOG] 0:00.012 DEBUG juju.worker.peergrouper desired peer group members: []replicaset.Member{replicaset.Member{Id:0, Address:"0.1.2.10:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc208293c70), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc208293c60)}, replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:3, Address:"0.1.2.13:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.012 INFO juju.worker.peergrouper setting HasVote=true on machines [13]
[LOG] 0:00.012 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 13 true" -> <nil>
[LOG] 0:00.012 ERROR juju.worker.peergrouper errorFor "Session.Set" -> <nil>
[LOG] 0:00.012 INFO juju.worker.peergrouper setting replicaset members to []replicaset.Member{replicaset.Member{Id:0, Address:"0.1.2.10:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc208293c70), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc208293c60)}, replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:3, Address:"0.1.2.13:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.014 INFO juju.worker.peergrouper successfully changed replica set to []replicaset.Member{replicaset.Member{Id:0, Address:"0.1.2.10:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc208293c70), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc208293c60)}, replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:3, Address:"0.1.2.13:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.014 INFO juju.worker.peergrouper setting HasVote=false on machines [10]
[LOG] 0:00.015 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 false" -> frood
[LOG] 0:00.015 ERROR juju.worker.peergrouper peergrouper loop terminated: cannot set voting status of "10" to false: frood
mustNext done 0xc2080ebb30, ok: true, val: []replicaset.Member{replicaset.Member{Id:0, Address:"0.1.2.10:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc20829e180), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc20829e1e0)}, replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:3, Address:"0.1.2.13:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.018 ERROR juju.worker.peergrouper errorFor "State.StateServerInfo" -> <nil>
[LOG] 0:00.019 DEBUG juju.worker.peergrouper found new machine "10"
[LOG] 0:00.019 ERROR juju.worker.peergrouper errorFor "State.Machine 10" -> <nil>
[LOG] 0:00.019 DEBUG juju.worker.peergrouper found new machine "11"
[LOG] 0:00.019 ERROR juju.worker.peergrouper errorFor "State.Machine 11" -> <nil>
[LOG] 0:00.020 DEBUG juju.worker.peergrouper found new machine "12"
[LOG] 0:00.020 ERROR juju.worker.peergrouper errorFor "State.Machine 12" -> <nil>
[LOG] 0:00.020 DEBUG juju.worker.peergrouper found new machine "13"
[LOG] 0:00.020 ERROR juju.worker.peergrouper errorFor "State.Machine 13" -> <nil>
[LOG] 0:00.021 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 10" -> <nil>
[LOG] 0:00.021 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 11" -> <nil>
[LOG] 0:00.021 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 10" -> <nil>
[LOG] 0:00.021 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 11" -> <nil>
[LOG] 0:00.021 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 12" -> <nil>
[LOG] 0:00.021 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 13" -> <nil>
[LOG] 0:00.021 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.022 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.023 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.023 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{&peergrouper.machine{id: "12", wantsVote: true, hostPort: "0.1.2.12:1234"}:(*replicaset.Member)(0xc2082cacd0), &peergrouper.machine{id: "13", wantsVote: true, hostPort: "0.1.2.13:1234"}:(*replicaset.Member)(0xc2082cad20), &peergrouper.machine{id: "10", wantsVote: false, hostPort: "0.1.2.10:1234"}:(*replicaset.Member)(0xc2082cac30), &peergrouper.machine{id: "11", wantsVote: true, hostPort: "0.1.2.11:1234"}:(*replicaset.Member)(0xc2082cac80)}
[LOG] 0:00.023 DEBUG juju.worker.peergrouper extra: []replicaset.Member(nil)
[LOG] 0:00.023 DEBUG juju.worker.peergrouper maxId: 3
[LOG] 0:00.023 DEBUG juju.worker.peergrouper assessing possible peer group changes:
[LOG] 0:00.023 DEBUG juju.worker.peergrouper machine "11" is already voting
[LOG] 0:00.023 DEBUG juju.worker.peergrouper machine "12" is already voting
[LOG] 0:00.023 DEBUG juju.worker.peergrouper machine "13" is already voting
[LOG] 0:00.023 DEBUG juju.worker.peergrouper machine "10" does not want the vote
[LOG] 0:00.023 DEBUG juju.worker.peergrouper assessed
[LOG] 0:00.024 DEBUG juju.worker.peergrouper no change in desired peer group (voting map[*peergrouper.machine]bool{&peergrouper.machine{id: "10", wantsVote: false, hostPort: "0.1.2.10:1234"}:false, &peergrouper.machine{id: "11", wantsVote: true, hostPort: "0.1.2.11:1234"}:true, &peergrouper.machine{id: "12", wantsVote: true, hostPort: "0.1.2.12:1234"}:true, &peergrouper.machine{id: "13", wantsVote: true, hostPort: "0.1.2.13:1234"}:true})
[LOG] 0:00.024 INFO juju.worker.peergrouper setting HasVote=false on machines [10]
[LOG] 0:00.024 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 false" -> <nil>
[LOG] 0:00.024 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 12" -> <nil>
[LOG] 0:00.024 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 13" -> <nil>
[LOG] 0:00.024 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 10" -> <nil>
[LOG] 0:00.024 INFO juju.worker.peergrouper fakeState.addMachine "10"
[LOG] 0:00.025 INFO juju.worker.peergrouper fakeState.addMachine "11"
[LOG] 0:00.025 INFO juju.worker.peergrouper fakeState.addMachine "12"
[LOG] 0:00.025 INFO juju.worker.peergrouper fakeState.addMachine "13"
[LOG] 0:00.025 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 true" -> <nil>
[LOG] 0:00.025 ERROR juju.worker.peergrouper errorFor "Session.Set" -> <nil>
[LOG] 0:00.025 INFO juju.worker.peergrouper setting replicaset members to []replicaset.Member{replicaset.Member{Id:0, Address:"[2001:DB8::10]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.026 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 true" -> <nil>
[LOG] 0:00.026 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 11 true" -> <nil>
[LOG] 0:00.026 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 12 true" -> <nil>
[LOG] 0:00.026 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 13 false" -> <nil>
[LOG] 0:00.026 ERROR juju.worker.peergrouper errorFor "Session.Set" -> <nil>
[LOG] 0:00.026 INFO juju.worker.peergrouper setting replicaset members to []replicaset.Member{replicaset.Member{Id:0, Address:"[2001:DB8::10]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:1, Address:"[2001:DB8::11]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"[2001:DB8::12]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:3, Address:"[2001:DB8::13]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc20819b380), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc20819b390)}}
mustNext 0xc2082aeff0
mustNext done 0xc2082aeff0, ok: true, val: []replicaset.Member{replicaset.Member{Id:0, Address:"[2001:DB8::10]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:1, Address:"[2001:DB8::11]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"[2001:DB8::12]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:3, Address:"[2001:DB8::13]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc20819bae0), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc20819bb40)}}
mustNext 0xc2082aeff0
[LOG] 0:00.029 ERROR juju.worker.peergrouper errorFor "State.StateServerInfo" -> <nil>
[LOG] 0:00.029 DEBUG juju.worker.peergrouper found new machine "10"
[LOG] 0:00.029 ERROR juju.worker.peergrouper errorFor "State.Machine 10" -> <nil>
[LOG] 0:00.030 DEBUG juju.worker.peergrouper found new machine "11"
[LOG] 0:00.030 ERROR juju.worker.peergrouper errorFor "State.Machine 11" -> <nil>
[LOG] 0:00.030 DEBUG juju.worker.peergrouper found new machine "12"
[LOG] 0:00.030 ERROR juju.worker.peergrouper errorFor "State.Machine 12" -> <nil>
[LOG] 0:00.031 DEBUG juju.worker.peergrouper found new machine "13"
[LOG] 0:00.031 ERROR juju.worker.peergrouper errorFor "State.Machine 13" -> <nil>
[LOG] 0:00.031 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 10" -> <nil>
[LOG] 0:00.031 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 11" -> <nil>
[LOG] 0:00.031 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 12" -> <nil>
[LOG] 0:00.031 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 13" -> <nil>
[LOG] 0:00.031 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.032 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.033 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.033 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{&peergrouper.machine{id: "10", wantsVote: false, hostPort: "[2001:DB8::10]:1234"}:(*replicaset.Member)(0xc208530c30), &peergrouper.machine{id: "11", wantsVote: true, hostPort: "[2001:DB8::11]:1234"}:(*replicaset.Member)(0xc208530c80), &peergrouper.machine{id: "12", wantsVote: true, hostPort: "[2001:DB8::12]:1234"}:(*replicaset.Member)(0xc208530cd0), &peergrouper.machine{id: "13", wantsVote: true, hostPort: "[2001:DB8::13]:1234"}:(*replicaset.Member)(0xc208530d20)}
[LOG] 0:00.033 DEBUG juju.worker.peergrouper extra: []replicaset.Member(nil)
[LOG] 0:00.033 DEBUG juju.worker.peergrouper maxId: 3
[LOG] 0:00.033 DEBUG juju.worker.peergrouper assessing possible peer group changes:
[LOG] 0:00.033 DEBUG juju.worker.peergrouper machine "13" is a potential voter
[LOG] 0:00.033 DEBUG juju.worker.peergrouper machine "10" is a potential non-voter
[LOG] 0:00.033 DEBUG juju.worker.peergrouper machine "11" is already voting
[LOG] 0:00.033 DEBUG juju.worker.peergrouper machine "12" is already voting
[LOG] 0:00.033 DEBUG juju.worker.peergrouper assessed
[LOG] 0:00.034 DEBUG juju.worker.peergrouper desired peer group members: []replicaset.Member{replicaset.Member{Id:3, Address:"[2001:DB8::13]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:0, Address:"[2001:DB8::10]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc2083e3150), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc2083e3140)}, replicaset.Member{Id:1, Address:"[2001:DB8::11]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"[2001:DB8::12]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.034 INFO juju.worker.peergrouper setting HasVote=true on machines [13]
[LOG] 0:00.034 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 13 true" -> <nil>
[LOG] 0:00.034 ERROR juju.worker.peergrouper errorFor "Session.Set" -> <nil>
[LOG] 0:00.035 INFO juju.worker.peergrouper setting replicaset members to []replicaset.Member{replicaset.Member{Id:3, Address:"[2001:DB8::13]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:0, Address:"[2001:DB8::10]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc2083e3150), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc2083e3140)}, replicaset.Member{Id:1, Address:"[2001:DB8::11]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"[2001:DB8::12]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.036 INFO juju.worker.peergrouper successfully changed replica set to []replicaset.Member{replicaset.Member{Id:3, Address:"[2001:DB8::13]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:0, Address:"[2001:DB8::10]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc2083e3150), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc2083e3140)}, replicaset.Member{Id:1, Address:"[2001:DB8::11]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"[2001:DB8::12]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.036 INFO juju.worker.peergrouper setting HasVote=false on machines [10]
[LOG] 0:00.036 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 false" -> frood
mustNext done 0xc2082aeff0, ok: true, val: []replicaset.Member{replicaset.Member{Id:3, Address:"[2001:DB8::13]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:0, Address:"[2001:DB8::10]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc208462130), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc208462190)}, replicaset.Member{Id:1, Address:"[2001:DB8::11]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"[2001:DB8::12]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.036 ERROR juju.worker.peergrouper peergrouper loop terminated: cannot set voting status of "10" to false: frood
[LOG] 0:00.039 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.041 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.042 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.042 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{}
[LOG] 0:00.043 DEBUG juju.worker.peergrouper extra: []replicaset.Member{replicaset.Member{Id:0, Address:"[2001:DB8::10]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc2084636d0), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc208463730)}, replicaset.Member{Id:1, Address:"[2001:DB8::11]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:2, Address:"[2001:DB8::12]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}, replicaset.Member{Id:3, Address:"[2001:DB8::13]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"13"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.043 DEBUG juju.worker.peergrouper maxId: 3
[LOG] 0:00.043 ERROR juju.worker.peergrouper peergrouper loop terminated: cannot compute desired peer group: voting non-machine member replicaset.Member{Id:1, Address:"[2001:DB8::11]:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(nil), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)} found in peer group
worker_test.go:271:
DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
st := NewFakeState()
// Simulate a state where we have four state servers,
// one has gone down, and we're replacing it:
// 0 - hasvote true, wantsvote false, down
// 1 - hasvote true, wantsvote true
// 2 - hasvote true, wantsvote true
// 3 - hasvote false, wantsvote true
//
// When it starts, the worker should move the vote from
// 0 to 3. We'll arrange things so that it will succeed in
// setting the membership but fail setting the HasVote
// to false.
InitState(c, st, 4, ipVersion)
st.machine("10").SetHasVote(true)
st.machine("11").SetHasVote(true)
st.machine("12").SetHasVote(true)
st.machine("13").SetHasVote(false)
st.machine("10").setWantsVote(false)
st.machine("11").setWantsVote(true)
st.machine("12").setWantsVote(true)
st.machine("13").setWantsVote(true)
st.session.Set(mkMembers("0v 1v 2v 3", ipVersion))
st.session.setStatus(mkStatuses("0H 1p 2s 3s", ipVersion))
// Make the worker fail to set HasVote to false
// after changing the replica set membership.
setErrorFor("Machine.SetHasVote * false", errors.New("frood"))
memberWatcher := st.session.members.Watch()
mustNext(c, memberWatcher)
assertMembers(c, memberWatcher.Value(), mkMembers("0v 1v 2v 3", ipVersion))
w := newWorker(st, noPublisher{})
done := make(chan error)
go func() {
done <- w.Wait()
}()
// Wait for the worker to set the initial members.
mustNext(c, memberWatcher)
assertMembers(c, memberWatcher.Value(), mkMembers("0 1v 2v 3v", ipVersion))
// The worker should encounter an error setting the
// has-vote status to false and exit.
select {
case err := <-done:
c.Assert(err, gc.ErrorMatches, `cannot set voting status of "[0-9]+" to false: frood`)
case <-time.After(coretesting.LongWait):
c.Fatalf("timed out waiting for worker to exit")
}
// Start the worker again - although the membership should
// not change, the HasVote status should be updated correctly.
resetErrors()
w = newWorker(st, noPublisher{})
// Watch all the machines for changes, so we can check
// their has-vote status without polling.
changed := make(chan struct{}, 1)
for i := 10; i < 14; i++ {
watcher := st.machine(fmt.Sprint(i)).val.Watch()
defer watcher.Close()
go func() {
for watcher.Next() {
select {
case changed <- struct{}{}:
default:
}
}
}()
}
timeout := time.After(coretesting.LongWait)
loop:
for {
select {
case <-changed:
correct := true
for i := 10; i < 14; i++ {
hasVote := st.machine(fmt.Sprint(i)).HasVote()
expectHasVote := i != 10
if hasVote != expectHasVote {
correct = false
}
}
if correct {
break loop
}
case <-timeout:
c.Fatalf("timed out waiting for vote to be set")
}
}
})
worker_test.go:268:
c.Fatalf("timed out waiting for vote to be set")
... Error: timed out waiting for vote to be set
OOPS: 15 passed, 1 FAILED
--- FAIL: TestPackage-4 (22.50s)
FAIL
FAIL github.com/juju/juju/worker/peergrouper 22.770s
==================
WARNING: DATA RACE
Write by goroutine 134:
gopkg.in/check%2ev1.(*C).internalCheck()
/home/dfc/src/gopkg.in/check.v1/helpers.go:227 +0x12ea
gopkg.in/check%2ev1.(*C).Assert()
/home/dfc/src/gopkg.in/check.v1/helpers.go:173 +0x99
github.com/juju/juju/worker/provisioner_test.(*fakeAPI).PrepareContainerInterfaceInfo()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:1039 +0x301
github.com/juju/juju/worker/provisioner.configureContainerNetwork()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:541 +0x455
github.com/juju/juju/worker/provisioner.(*lxcBroker).StartInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:106 +0x18eb
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).startInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:138 +0x302
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).TestAllInstances()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:292 +0x76
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous read by goroutine 139:
gopkg.in/check%2ev1.(*resultTracker)._loopRoutine()
/home/dfc/src/gopkg.in/check.v1/check.go:458 +0x1f2
Goroutine 134 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 139 (running) created at:
gopkg.in/check%2ev1.(*resultTracker).start()
/home/dfc/src/gopkg.in/check.v1/check.go:432 +0x42
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:601 +0xa6
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Write by goroutine 166:
gopkg.in/check%2ev1.(*C).internalCheck()
/home/dfc/src/gopkg.in/check.v1/helpers.go:227 +0x12ea
gopkg.in/check%2ev1.(*C).Assert()
/home/dfc/src/gopkg.in/check.v1/helpers.go:173 +0x99
github.com/juju/juju/worker/provisioner_test.(*fakeAPI).PrepareContainerInterfaceInfo()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:1039 +0x301
github.com/juju/juju/worker/provisioner.configureContainerNetwork()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:541 +0x455
github.com/juju/juju/worker/provisioner.(*lxcBroker).StartInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:106 +0x18eb
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).startInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:138 +0x302
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).TestMaintainInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:177 +0x83
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous read by goroutine 139:
gopkg.in/check%2ev1.(*resultTracker)._loopRoutine()
/home/dfc/src/gopkg.in/check.v1/check.go:458 +0x1f2
Goroutine 166 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 139 (running) created at:
gopkg.in/check%2ev1.(*resultTracker).start()
/home/dfc/src/gopkg.in/check.v1/check.go:432 +0x42
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:601 +0xa6
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Write by goroutine 213:
gopkg.in/check%2ev1.(*C).internalCheck()
/home/dfc/src/gopkg.in/check.v1/helpers.go:227 +0x12ea
gopkg.in/check%2ev1.(*C).Assert()
/home/dfc/src/gopkg.in/check.v1/helpers.go:173 +0x99
github.com/juju/juju/worker/provisioner_test.(*fakeAPI).PrepareContainerInterfaceInfo()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:1039 +0x301
github.com/juju/juju/worker/provisioner.configureContainerNetwork()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:541 +0x455
github.com/juju/juju/worker/provisioner.(*lxcBroker).StartInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:106 +0x18eb
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).startInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:138 +0x302
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).TestStartInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:161 +0x83
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous read by goroutine 139:
gopkg.in/check%2ev1.(*resultTracker)._loopRoutine()
/home/dfc/src/gopkg.in/check.v1/check.go:458 +0x1f2
Goroutine 213 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 139 (running) created at:
gopkg.in/check%2ev1.(*resultTracker).start()
/home/dfc/src/gopkg.in/check.v1/check.go:432 +0x42
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:601 +0xa6
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Write by goroutine 78:
gopkg.in/check%2ev1.(*C).internalCheck()
/home/dfc/src/gopkg.in/check.v1/helpers.go:227 +0x12ea
gopkg.in/check%2ev1.(*C).Assert()
/home/dfc/src/gopkg.in/check.v1/helpers.go:173 +0x99
github.com/juju/juju/worker/provisioner_test.(*fakeAPI).PrepareContainerInterfaceInfo()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:1039 +0x301
github.com/juju/juju/worker/provisioner.configureContainerNetwork()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:541 +0x455
github.com/juju/juju/worker/provisioner.(*lxcBroker).StartInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:106 +0x18eb
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).TestStartInstanceHostArch()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:238 +0x3e7
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous read by goroutine 139:
gopkg.in/check%2ev1.(*resultTracker)._loopRoutine()
/home/dfc/src/gopkg.in/check.v1/check.go:458 +0x1f2
Goroutine 78 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 139 (running) created at:
gopkg.in/check%2ev1.(*resultTracker).start()
/home/dfc/src/gopkg.in/check.v1/check.go:432 +0x42
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:601 +0xa6
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Write by goroutine 283:
gopkg.in/check%2ev1.(*C).internalCheck()
/home/dfc/src/gopkg.in/check.v1/helpers.go:227 +0x12ea
gopkg.in/check%2ev1.(*C).Assert()
/home/dfc/src/gopkg.in/check.v1/helpers.go:173 +0x99
github.com/juju/juju/worker/provisioner_test.(*fakeAPI).PrepareContainerInterfaceInfo()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:1039 +0x301
github.com/juju/juju/worker/provisioner.configureContainerNetwork()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:541 +0x455
github.com/juju/juju/worker/provisioner.(*lxcBroker).StartInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:106 +0x18eb
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).TestStartInstanceLoopMountsDisallowed()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:217 +0x35c
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous read by goroutine 139:
gopkg.in/check%2ev1.(*resultTracker)._loopRoutine()
/home/dfc/src/gopkg.in/check.v1/check.go:458 +0x1f2
Goroutine 283 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 139 (running) created at:
gopkg.in/check%2ev1.(*resultTracker).start()
/home/dfc/src/gopkg.in/check.v1/check.go:432 +0x42
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:601 +0xa6
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Write by goroutine 322:
gopkg.in/check%2ev1.(*C).internalCheck()
/home/dfc/src/gopkg.in/check.v1/helpers.go:227 +0x12ea
gopkg.in/check%2ev1.(*C).Assert()
/home/dfc/src/gopkg.in/check.v1/helpers.go:173 +0x99
github.com/juju/juju/worker/provisioner_test.(*fakeAPI).PrepareContainerInterfaceInfo()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:1039 +0x301
github.com/juju/juju/worker/provisioner.configureContainerNetwork()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:541 +0x455
github.com/juju/juju/worker/provisioner.(*lxcBroker).StartInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:106 +0x18eb
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).TestStartInstanceToolsArchNotFound()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:257 +0x2be
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous read by goroutine 139:
gopkg.in/check%2ev1.(*resultTracker)._loopRoutine()
/home/dfc/src/gopkg.in/check.v1/check.go:458 +0x1f2
Goroutine 322 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 139 (running) created at:
gopkg.in/check%2ev1.(*resultTracker).start()
/home/dfc/src/gopkg.in/check.v1/check.go:432 +0x42
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:601 +0xa6
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
==================
WARNING: DATA RACE
Write by goroutine 319:
gopkg.in/check%2ev1.(*C).internalCheck()
/home/dfc/src/gopkg.in/check.v1/helpers.go:227 +0x12ea
gopkg.in/check%2ev1.(*C).Assert()
/home/dfc/src/gopkg.in/check.v1/helpers.go:173 +0x99
github.com/juju/juju/worker/provisioner_test.(*fakeAPI).PrepareContainerInterfaceInfo()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:1039 +0x301
github.com/juju/juju/worker/provisioner.configureContainerNetwork()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:541 +0x455
github.com/juju/juju/worker/provisioner.(*lxcBroker).StartInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker.go:106 +0x18eb
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).startInstance()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:138 +0x302
github.com/juju/juju/worker/provisioner_test.(*lxcBrokerSuite).TestStartInstanceWithBridgeEnviron()
/home/dfc/src/github.com/juju/juju/worker/provisioner/lxc-broker_test.go:264 +0x103
runtime.call32()
/home/dfc/go/src/runtime/asm_amd64.s:437 +0x3d
reflect.Value.Call()
/home/dfc/go/src/reflect/value.go:300 +0xcd
gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:763 +0x5e0
gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
/home/dfc/src/gopkg.in/check.v1/check.go:657 +0x80
Previous read by goroutine 139:
gopkg.in/check%2ev1.(*resultTracker)._loopRoutine()
/home/dfc/src/gopkg.in/check.v1/check.go:458 +0x1f2
Goroutine 319 (running) created at:
gopkg.in/check%2ev1.(*suiteRunner).forkCall()
/home/dfc/src/gopkg.in/check.v1/check.go:658 +0x486
gopkg.in/check%2ev1.(*suiteRunner).forkTest()
/home/dfc/src/gopkg.in/check.v1/check.go:795 +0x126
gopkg.in/check%2ev1.(*suiteRunner).runTest()
/home/dfc/src/gopkg.in/check.v1/check.go:800 +0x38
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:606 +0x497
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
Goroutine 139 (running) created at:
gopkg.in/check%2ev1.(*resultTracker).start()
/home/dfc/src/gopkg.in/check.v1/check.go:432 +0x42
gopkg.in/check%2ev1.(*suiteRunner).run()
/home/dfc/src/gopkg.in/check.v1/check.go:601 +0xa6
gopkg.in/check%2ev1.Run()
/home/dfc/src/gopkg.in/check.v1/run.go:92 +0x50
gopkg.in/check%2ev1.RunAll()
/home/dfc/src/gopkg.in/check.v1/run.go:84 +0x133
gopkg.in/check%2ev1.TestingT()
/home/dfc/src/gopkg.in/check.v1/run.go:72 +0x4b5
github.com/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/testing/mgo.go:353 +0x17b
github.com/juju/juju/testing.MgoTestPackage()
/home/dfc/src/github.com/juju/juju/testing/mgo.go:15 +0x4a
github.com/juju/juju/worker/provisioner_test.Test()
/home/dfc/src/github.com/juju/juju/worker/provisioner/package_test.go:13 +0x2e
testing.tRunner()
/home/dfc/go/src/testing/testing.go:455 +0xdc
==================
OK: 91 passed
PASS
Found 7 data race(s)
FAIL github.com/juju/juju/worker/provisioner 114.652s
ok github.com/juju/juju/worker/proxyupdater 5.033s
ok github.com/juju/juju/worker/reboot 13.337s
ok github.com/juju/juju/worker/resumer 1.912s
ok github.com/juju/juju/worker/rsyslog 8.892s
ok github.com/juju/juju/worker/singular 1.293s
? github.com/juju/juju/worker/statushistorypruner [no test files]
ok github.com/juju/juju/worker/storageprovisioner 1.917s
ok github.com/juju/juju/worker/terminationworker 1.175s
ok github.com/juju/juju/worker/txnpruner 1.213s
----------------------------------------------------------------------
FAIL: uniter_test.go:875: UniterSuite.TestUniterUpgradeConflicts
[LOG] 0:00.020 DEBUG juju.environs.configstore Made dir /tmp/check-8753706409450991905/592/home/ubuntu/.juju/environments
[LOG] 0:00.031 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:00.034 DEBUG juju.environs.configstore writing jenv file to /tmp/check-8753706409450991905/592/home/ubuntu/.juju/environments/dummyenv.jenv
[LOG] 0:00.034 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.035 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:00.038 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-precise-amd64
[LOG] 0:00.042 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:00.058 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.058 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.058 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.059 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/595/tools/streams/v1/index2.json"
[LOG] 0:00.061 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64 map[20150615:0xc208a06480]} com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64 map[20150615:0xc20895db60]}] map[] Mon, 15 Jun 2015 14:43:35 +1000 products:1.0 com.ubuntu.juju:released:tools }
[LOG] 0:00.063 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/595/tools/streams/v1/index2.json"
[LOG] 0:00.063 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-8753706409450991905/595/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.064 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/595/tools/streams/v1/index2.json"
[LOG] 0:00.064 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-8753706409450991905/595/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.065 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/595/tools/streams/v1/index2.json"
[LOG] 0:00.066 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-8753706409450991905/595/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.068 INFO juju.environs.tools Metadata for stream "released" unchanged
[LOG] 0:00.069 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.069 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.069 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.069 DEBUG juju.environs.bootstrap environment "dummyenv" supports service/machine networks: true
[LOG] 0:00.069 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.069 DEBUG juju.environs.bootstrap looking for bootstrap tools: version=1.25-alpha1
[LOG] 0:00.069 INFO juju.environs.tools reading tools with major.minor version 1.25
[LOG] 0:00.069 INFO juju.environs.tools filtering tools by version: 1.25-alpha1
[LOG] 0:00.071 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/595/tools/streams/v1/index2.json"
[LOG] 0:00.073 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64 map[20150615:0xc209029140]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64 map[20150615:0xc2090296e0]}] map[] Mon, 15 Jun 2015 14:43:35 +1000 products:1.0 com.ubuntu.juju:released:tools }
[LOG] 0:00.077 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.077 INFO juju.provider.dummy would pick tools from 1.25-alpha1-trusty-amd64
[LOG] 0:00.078 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:00.078 INFO juju.state opening state, mongo addresses: ["[::1]:50527" "localhost:50527"]; entity <nil>
[LOG] 0:00.078 DEBUG juju.state dialing mongo
[LOG] 0:00.082 INFO juju.mongo dialled mongo successfully on address "[::1]:50527"
[LOG] 0:00.082 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:50527"
[LOG] 0:00.088 DEBUG juju.state connection established
[LOG] 0:00.196 INFO juju.state starting presence watcher
[LOG] 0:00.202 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:50527"
[LOG] 0:00.381 DEBUG juju.provider.dummy setting password for "dummy-admin" to "dummy-secret"
[LOG] 0:00.403 INFO juju.apiserver listening on "[::]:54998"
[LOG] 0:00.406 INFO juju.environs.bootstrap newest version: 1.25-alpha1
[LOG] 0:00.406 INFO juju.environs.bootstrap picked bootstrap tools version: 1.25-alpha1
[LOG] 0:00.406 INFO juju.state opening state, mongo addresses: ["[::1]:50527" "localhost:50527"]; entity <nil>
[LOG] 0:00.407 DEBUG juju.state dialing mongo
[LOG] 0:00.415 INFO juju.mongo dialled mongo successfully on address "[::1]:50527"
[LOG] 0:00.417 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:50527"
[LOG] 0:00.418 DEBUG juju.state connection established
[LOG] 0:00.493 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:00.495 INFO juju.api dialing "wss://localhost:54998/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.562 INFO juju.apiserver [D2] API connection from 127.0.0.1:32849
[LOG] 0:00.562 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:00.563 INFO juju.api connection established to "wss://localhost:54998/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.565 DEBUG juju.apiserver <- [D2] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:00.574 DEBUG juju.apiserver hostPorts: []
[LOG] 0:00.576 DEBUG juju.apiserver -> [D2] user-dummy-admin@local 11.331392ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:00.600 DEBUG juju.state setting API hostPorts: [[localhost:54998]]
[LOG] 0:00.607 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:00.610 DEBUG juju.environs.configstore writing jenv file to /tmp/check-8753706409450991905/592/home/ubuntu/.juju/environments/dummyenv.jenv
jenv host ports: [][]network.HostPort{[]network.HostPort{localhost:54998}}
test 0: upgrade: resolving doesn't help until underlying problem is fixed
step 0:
uniter_test.startUpgradeError{}
uniter_test.createCharm{revision:0, badHooks:[]string(nil), customize:(func(*check.C, *uniter_test.context, string))(0x525c80)}
uniter_test.addCharm{dir:(*charm.CharmDir)(0xc2090858c0), curl:(*charm.URL)(0xc208273f40)}
uniter_test.serveCharm{}
[LOG] 0:00.737 DEBUG juju.storage resource catalog entry created with id "f27d0cc25db6fb08d0fcd7d0509c2c24f13c73d8039f7f2e3c286a984a0f3716148955467cc00db704332ee598abcfab"
[LOG] 0:00.764 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:50527"
[LOG] 0:00.787 DEBUG juju.storage managed resource entry created with path "environs/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms/wordpress/0" -> "f27d0cc25db6fb08d0fcd7d0509c2c24f13c73d8039f7f2e3c286a984a0f3716148955467cc00db704332ee598abcfab"
uniter_test.createUniter{minion:false}
uniter_test.ensureStateWorker{}
[LOG] 0:00.954 DEBUG juju.state setting API hostPorts: [[0.1.2.3:1234]]
[LOG] 0:00.974 DEBUG juju.state setting API hostPorts: [[localhost:54998]]
uniter_test.createServiceAndUnit{serviceName:""}
[LOG] 0:01.474 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:01.479 INFO juju.api dialing "wss://localhost:54998/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:01.547 INFO juju.apiserver [D3] API connection from 127.0.0.1:32851
[LOG] 0:01.548 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:01.548 INFO juju.api connection established to "wss://localhost:54998/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:01.550 DEBUG juju.apiserver <- [D3] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:01.574 DEBUG juju.apiserver hostPorts: [[localhost:54998]]
[LOG] 0:01.577 DEBUG juju.apiserver -> [D3] unit-u-0 28.211284ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
API: login as "unit-u-0" successful
uniter_test.startUniter{unitTag:""}
uniter_test.waitAddresses{}
[LOG] 0:01.587 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:01.587 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.587 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.588 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":3,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.596 DEBUG juju.apiserver -> [D3] unit-u-0 8.564712ms {"RequestId":3,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.597 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-8753706409450991905/1/tools/unit-u-0
[LOG] 0:01.598 DEBUG worker.uniter.jujuc jujud path /tmp/check-8753706409450991905/1/tools/unit-u-0/jujud
[LOG] 0:01.600 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":4,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.604 DEBUG juju.apiserver -> [D3] unit-u-0 4.2738ms {"RequestId":4,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.606 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":5,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:01.608 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-15 14:44:37.067033618 +1000 AEST
[LOG] 0:01.608 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-15 14:44:07.067033618 +1000 AEST
[LOG] 0:01.610 DEBUG juju.apiserver -> [D3] unit-u-0 3.898287ms {"RequestId":5,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:01.612 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":6,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:01.613 DEBUG juju.apiserver -> [D3] unit-u-0 1.820362ms {"RequestId":6,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:01.615 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":7,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.619 DEBUG juju.apiserver -> [D3] unit-u-0 4.25054ms {"RequestId":7,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.621 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":8,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.625 DEBUG juju.apiserver -> [D3] unit-u-0 3.695887ms {"RequestId":8,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.627 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":9,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:01.633 DEBUG juju.apiserver -> [D3] unit-u-0 5.886074ms {"RequestId":9,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:01.636 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":10,"Type":"Uniter","Version":2,"Request":"AssignedMachine","Params":"'params redacted'"}
[LOG] 0:01.639 DEBUG juju.apiserver -> [D3] unit-u-0 3.12649ms {"RequestId":10,"Response":"'body redacted'"} Uniter[""].AssignedMachine
[LOG] 0:01.641 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":11,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(nil), status:"idle", info:"", data:map[string]interface {}(nil), charm:0, resolved:""}
[LOG] 0:01.644 DEBUG juju.apiserver -> [D3] unit-u-0 2.650388ms {"RequestId":11,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
[LOG] 0:01.646 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":12,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.653 DEBUG juju.apiserver -> [D3] unit-u-0 7.062108ms {"RequestId":12,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.655 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":13,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.660 DEBUG juju.apiserver -> [D3] unit-u-0 4.342852ms {"RequestId":13,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.661 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-8753706409450991905/1/agents/unit-u-0/run.socket
[LOG] 0:01.661 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:01.662 DEBUG juju.worker.uniter juju-run listener running
[LOG] 0:01.663 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":14,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.669 DEBUG juju.apiserver -> [D3] unit-u-0 5.409627ms {"RequestId":14,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.671 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":15,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.677 DEBUG juju.apiserver -> [D3] unit-u-0 6.167486ms {"RequestId":15,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.680 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":16,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:01.683 DEBUG juju.apiserver -> [D3] unit-u-0 3.458613ms {"RequestId":16,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:01.686 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":17,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.712 DEBUG juju.apiserver -> [D3] unit-u-0 25.718206ms {"RequestId":17,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:01.714 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":18,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.718 DEBUG juju.apiserver -> [D3] unit-u-0 4.572305ms {"RequestId":18,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.720 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":19,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.724 DEBUG juju.apiserver -> [D3] unit-u-0 3.889115ms {"RequestId":19,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.726 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":20,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.733 DEBUG juju.apiserver -> [D3] unit-u-0 6.61251ms {"RequestId":20,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.735 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:01.736 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":21,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:01.741 DEBUG juju.apiserver -> [D3] unit-u-0 5.764485ms {"RequestId":21,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:01.744 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":22,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:01.745 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":23,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.751 DEBUG juju.apiserver -> [D3] unit-u-0 7.508515ms {"RequestId":22,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:01.754 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":24,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.756 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":25,"Type":"NotifyWatcher","Id":"3","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.760 DEBUG juju.apiserver -> [D3] unit-u-0 5.429741ms {"RequestId":24,"Response":"'body redacted'"} Uniter[""].CharmURL
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.762 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":26,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:01.768 DEBUG juju.apiserver -> [D3] unit-u-0 6.253048ms {"RequestId":26,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:01.772 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":27,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:01.773 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":28,"Type":"StringsWatcher","Id":"4","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.779 DEBUG juju.apiserver -> [D3] unit-u-0 7.564978ms {"RequestId":27,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:01.782 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":29,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.783 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":30,"Type":"StringsWatcher","Id":"5","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.788 DEBUG juju.apiserver -> [D3] unit-u-0 6.588404ms {"RequestId":29,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
[LOG] 0:01.791 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":31,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:01.792 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":32,"Type":"NotifyWatcher","Id":"6","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.797 DEBUG juju.apiserver -> [D3] unit-u-0 6.472385ms {"RequestId":31,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
[LOG] 0:01.800 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":33,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:01.801 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":34,"Type":"NotifyWatcher","Id":"7","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.803 DEBUG juju.apiserver -> [D3] unit-u-0 3.447548ms {"RequestId":33,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:01.805 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":35,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
[LOG] 0:01.806 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":36,"Type":"StringsWatcher","Id":"8","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.809 DEBUG juju.apiserver -> [D3] unit-u-0 3.491677ms {"RequestId":35,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
[LOG] 0:01.810 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:01.811 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":37,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.812 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":38,"Type":"NotifyWatcher","Id":"9","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.815 DEBUG juju.apiserver -> [D3] unit-u-0 4.297691ms {"RequestId":37,"Response":"'body redacted'"} Uniter[""].Life
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.818 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":39,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:01.821 DEBUG juju.apiserver -> [D3] unit-u-0 3.790202ms {"RequestId":39,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:01.823 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:01.823 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:01.823 DEBUG juju.worker.uniter.filter no config change seen yet, skipping config event
[LOG] 0:01.824 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:01.824 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:01.824 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:01.826 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":40,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.831 DEBUG juju.apiserver -> [D3] unit-u-0 5.473325ms {"RequestId":40,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:01.832 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:01.833 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":41,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.837 DEBUG juju.apiserver -> [D3] unit-u-0 4.218186ms {"RequestId":41,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.839 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":42,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.844 DEBUG juju.apiserver -> [D3] unit-u-0 4.383619ms {"RequestId":42,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.845 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:01.845 DEBUG juju.worker.uniter.filter want leader settings event: true
[LOG] 0:01.845 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:01.845 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:01.845 INFO juju.worker.uniter resuming charm install
[LOG] 0:01.845 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:01.845 INFO juju.worker.uniter ModeInstalling cs:quantal/wordpress-0 starting
[LOG] 0:01.846 INFO juju.worker.uniter.operation running operation install cs:quantal/wordpress-0
[LOG] 0:01.846 INFO juju.worker.uniter.operation preparing operation "install cs:quantal/wordpress-0"
[LOG] 0:01.847 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":43,"Type":"Uniter","Version":2,"Request":"CharmArchiveURLs","Params":"'params redacted'"}
[LOG] 0:01.851 DEBUG juju.apiserver -> [D3] unit-u-0 4.161169ms {"RequestId":43,"Response":"'body redacted'"} Uniter[""].CharmArchiveURLs
[LOG] 0:01.854 INFO juju.worker.uniter.charm downloading cs:quantal/wordpress-0 from https://localhost:54998/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?file=%2A&url=cs%3Aquantal%2Fwordpress-0
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.925 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:01.953 INFO juju.worker.uniter.charm download complete
[LOG] 0:01.955 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":44,"Type":"Uniter","Version":2,"Request":"CharmArchiveSha256","Params":"'params redacted'"}
[LOG] 0:01.959 DEBUG juju.apiserver -> [D3] unit-u-0 4.391863ms {"RequestId":44,"Response":"'body redacted'"} Uniter[""].CharmArchiveSha256
[LOG] 0:01.960 INFO juju.worker.uniter.charm download verified
[LOG] 0:01.967 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-0"
[LOG] 0:01.968 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":45,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.987 INFO juju.mongo dialled mongo successfully on address "[::1]:50527"
[LOG] 0:02.005 DEBUG juju.apiserver -> [D3] unit-u-0 36.740637ms {"RequestId":45,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:02.007 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":46,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:02.008 INFO juju.worker.uniter.operation executing operation "install cs:quantal/wordpress-0"
[LOG] 0:02.008 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-0"
[LOG] 0:02.009 DEBUG juju.worker.uniter.charm deploying charm "cs:quantal/wordpress-0"
[LOG] 0:02.012 DEBUG juju.apiserver -> [D3] unit-u-0 4.780543ms {"RequestId":46,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:02.014 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":47,"Type":"StringsWatcher","Id":"5","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:02.015 DEBUG juju.apiserver -> [D3] unit-u-0 971.972µs {"RequestId":47,"Response":"'body redacted'"} StringsWatcher["5"].Stop
[LOG] 0:02.016 DEBUG juju.apiserver -> [D3] unit-u-0 232.664413ms {"RequestId":30,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["5"].Next
[LOG] 0:02.019 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":48,"Type":"NotifyWatcher","Id":"10","Request":"Next","Params":"'params redacted'"}
[LOG] 0:02.020 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":49,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:02.020 DEBUG juju.worker.uniter.charm finishing deploy of charm "cs:quantal/wordpress-0"
[LOG] 0:02.021 INFO juju.worker.uniter.operation committing operation "install cs:quantal/wordpress-0"
[LOG] 0:02.025 INFO juju.worker.uniter ModeInstalling cs:quantal/wordpress-0 exiting
[LOG] 0:02.026 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.029 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.029 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.030 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.031 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.031 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.031 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.031 INFO juju.worker.uniter found queued "install" hook
[LOG] 0:02.031 INFO juju.worker.uniter.operation running operation run install hook
[LOG] 0:02.031 INFO juju.worker.uniter.operation preparing operation "run install hook"
[LOG] 0:02.032 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":50,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.033 DEBUG juju.apiserver -> [D3] unit-u-0 1.549775ms {"RequestId":50,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.034 DEBUG juju.apiserver -> [D3] unit-u-0 13.971654ms {"RequestId":49,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:02.034 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":51,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.036 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:02.037 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:02.037 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:02.037 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:02.038 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":52,"Type":"StringsWatcher","Id":"11","Request":"Next","Params":"'params redacted'"}
[LOG] 0:02.039 DEBUG juju.apiserver -> [D3] unit-u-0 4.543109ms {"RequestId":51,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.040 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":53,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
want unit status "idle", got "allocating"; still waiting
[LOG] 0:02.046 DEBUG juju.apiserver -> [D3] unit-u-0 5.725472ms {"RequestId":53,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.047 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":54,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.053 DEBUG juju.apiserver -> [D3] unit-u-0 5.222787ms {"RequestId":54,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.056 DEBUG juju.apiserver -> [D3] unit-u-0 310.940314ms {"RequestId":23,"Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:02.059 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:02.059 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":55,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:02.060 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":56,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:02.061 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":57,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.064 DEBUG juju.apiserver -> [D3] unit-u-0 3.866732ms {"RequestId":56,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:02.064 DEBUG juju.apiserver -> [D3] unit-u-0 3.889526ms {"RequestId":57,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.066 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":58,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:02.067 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":59,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.068 DEBUG juju.apiserver -> [D3] unit-u-0 2.507684ms {"RequestId":58,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:02.071 DEBUG juju.apiserver -> [D3] unit-u-0 4.159508ms {"RequestId":59,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.073 INFO juju.worker.uniter.operation executing operation "run install hook"
[LOG] 0:02.074 DEBUG juju.worker.uniter.context [WORKLOAD-STATUS] maintenance: installing charm software
[LOG] 0:02.076 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":60,"Type":"Uniter","Version":2,"Request":"SetUnitStatus","Params":"'params redacted'"}
want unit status "idle", got "allocating"; still waiting
[LOG] 0:02.150 DEBUG juju.apiserver -> [D3] unit-u-0 74.315907ms {"RequestId":60,"Response":"'body redacted'"} Uniter[""].SetUnitStatus
[LOG] 0:02.150 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running install hook
[LOG] 0:02.153 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":61,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
want unit status "idle", got "allocating"; still waiting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.222 DEBUG juju.apiserver -> [D3] unit-u-0 69.736745ms {"RequestId":61,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.360 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "install"]
[LOG] 0:02.360 DEBUG worker.uniter.jujuc hook context id "u/0-install-83078588679413334"; dir "/tmp/check-8753706409450991905/1/agents/unit-u-0/charm"
[LOG] 0:02.361 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d install
[LOG] 0:02.364 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.365 INFO juju.worker.uniter.operation ran "install" hook
[LOG] 0:02.367 INFO juju.worker.uniter.operation committing operation "run install hook"
[LOG] 0:02.368 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.368 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.372 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.373 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.373 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.373 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.373 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.373 INFO juju.worker.uniter.operation running operation accept leadership
[LOG] 0:02.373 INFO juju.worker.uniter.operation preparing operation "accept leadership"
[LOG] 0:02.373 INFO juju.worker.uniter.operation committing operation "accept leadership"
[LOG] 0:02.373 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.374 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.374 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:02.376 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.376 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.377 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.377 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.377 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.377 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.377 INFO juju.worker.uniter found queued "leader-elected" hook
[LOG] 0:02.377 INFO juju.worker.uniter.operation running operation run leader-elected hook
[LOG] 0:02.377 INFO juju.worker.uniter.operation preparing operation "run leader-elected hook"
[LOG] 0:02.378 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":62,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.381 DEBUG juju.apiserver -> [D3] unit-u-0 2.678791ms {"RequestId":62,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.383 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":63,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.389 DEBUG juju.apiserver -> [D3] unit-u-0 5.79748ms {"RequestId":63,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.391 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":64,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.397 DEBUG juju.apiserver -> [D3] unit-u-0 6.31013ms {"RequestId":64,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.400 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":65,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.411 DEBUG juju.apiserver -> [D3] unit-u-0 10.801554ms {"RequestId":65,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.420 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":66,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.425 DEBUG juju.apiserver -> [D3] unit-u-0 5.431642ms {"RequestId":66,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.428 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":67,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.435 DEBUG juju.apiserver -> [D3] unit-u-0 7.599421ms {"RequestId":67,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.438 INFO juju.worker.uniter.operation executing operation "run leader-elected hook"
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.438 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running leader-elected hook
[LOG] 0:02.439 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":68,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.509 DEBUG juju.apiserver -> [D3] unit-u-0 69.73898ms {"RequestId":68,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.657 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "leader-elected"]
[LOG] 0:02.657 DEBUG worker.uniter.jujuc hook context id "u/0-leader-elected-6434711730483411475"; dir "/tmp/check-8753706409450991905/1/agents/unit-u-0/charm"
[LOG] 0:02.658 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d leader-elected
[LOG] 0:02.661 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.661 INFO juju.worker.uniter.operation ran "leader-elected" hook
[LOG] 0:02.663 INFO juju.worker.uniter.operation committing operation "run leader-elected hook"
[LOG] 0:02.664 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.664 INFO juju.worker.uniter ModeContinue starting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.670 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.671 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.671 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.671 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.671 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.671 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.672 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:02.672 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.672 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:02.672 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:02.672 INFO juju.worker.uniter.operation running operation run config-changed hook
[LOG] 0:02.672 INFO juju.worker.uniter.operation preparing operation "run config-changed hook"
[LOG] 0:02.672 DEBUG juju.worker.uniter.filter discarded config event
[LOG] 0:02.674 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":69,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.677 DEBUG juju.apiserver -> [D3] unit-u-0 3.535006ms {"RequestId":69,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.679 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":70,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.685 DEBUG juju.apiserver -> [D3] unit-u-0 5.670985ms {"RequestId":70,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.688 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":71,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.696 DEBUG juju.apiserver -> [D3] unit-u-0 7.689464ms {"RequestId":71,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.699 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":72,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.709 DEBUG juju.apiserver -> [D3] unit-u-0 9.706613ms {"RequestId":72,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.719 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":73,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.725 DEBUG juju.apiserver -> [D3] unit-u-0 5.692286ms {"RequestId":73,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.728 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":74,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.732 DEBUG juju.apiserver -> [D3] unit-u-0 4.037662ms {"RequestId":74,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.733 INFO juju.worker.uniter.operation executing operation "run config-changed hook"
[LOG] 0:02.733 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running config-changed hook
[LOG] 0:02.735 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":75,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.815 DEBUG juju.apiserver -> [D3] unit-u-0 79.685442ms {"RequestId":75,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.960 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "config-changed"]
[LOG] 0:02.960 DEBUG worker.uniter.jujuc hook context id "u/0-config-changed-8360725002748682989"; dir "/tmp/check-8753706409450991905/1/agents/unit-u-0/charm"
[LOG] 0:02.960 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d config-changed
[LOG] 0:02.962 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.962 INFO juju.worker.uniter.operation ran "config-changed" hook
[LOG] 0:02.962 INFO juju.worker.uniter.operation committing operation "run config-changed hook"
[LOG] 0:02.963 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:02.963 INFO juju.worker.uniter ModeContinue starting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.966 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.967 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.967 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.967 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.967 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.967 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.967 INFO juju.worker.uniter found queued "start" hook
[LOG] 0:02.967 INFO juju.worker.uniter.operation running operation run start hook
[LOG] 0:02.967 INFO juju.worker.uniter.operation preparing operation "run start hook"
[LOG] 0:02.969 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":76,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.971 DEBUG juju.apiserver -> [D3] unit-u-0 2.284441ms {"RequestId":76,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.973 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":77,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.978 DEBUG juju.apiserver -> [D3] unit-u-0 4.644047ms {"RequestId":77,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.980 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":78,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.985 DEBUG juju.apiserver -> [D3] unit-u-0 5.341588ms {"RequestId":78,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.987 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":79,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.993 DEBUG juju.apiserver -> [D3] unit-u-0 6.39157ms {"RequestId":79,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:03.001 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":80,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:03.006 DEBUG juju.apiserver -> [D3] unit-u-0 4.736147ms {"RequestId":80,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:03.008 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":81,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:03.012 DEBUG juju.apiserver -> [D3] unit-u-0 4.044208ms {"RequestId":81,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:03.014 INFO juju.worker.uniter.operation executing operation "run start hook"
[LOG] 0:03.014 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running start hook
[LOG] 0:03.015 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":82,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
want unit status "idle", got "executing"; still waiting
[LOG] 0:03.092 DEBUG juju.apiserver -> [D3] unit-u-0 76.300169ms {"RequestId":82,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
want unit status "idle", got "executing"; still waiting
[LOG] 0:03.224 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "start"]
[LOG] 0:03.224 DEBUG worker.uniter.jujuc hook context id "u/0-start-5798336127877957113"; dir "/tmp/check-8753706409450991905/1/agents/unit-u-0/charm"
[LOG] 0:03.225 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d start
[LOG] 0:03.231 INFO juju.worker.uniter.context handling reboot
[LOG] 0:03.232 INFO juju.worker.uniter.operation ran "start" hook
[LOG] 0:03.232 DEBUG juju.worker.uniter.context [WORKLOAD-STATUS] unknown:
[LOG] 0:03.234 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":83,"Type":"Uniter","Version":2,"Request":"SetUnitStatus","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
want unit status "idle", got "executing"; still waiting
[LOG] 0:03.327 DEBUG juju.apiserver -> [D3] unit-u-0 93.217393ms {"RequestId":83,"Response":"'body redacted'"} Uniter[""].SetUnitStatus
[LOG] 0:03.331 INFO juju.worker.uniter.operation committing operation "run start hook"
[LOG] 0:03.331 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:03.331 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:03.336 INFO juju.worker.uniter checking leadership status
[LOG] 0:03.336 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:03.336 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:03.336 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:03.336 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:03.337 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:03.337 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:03.337 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:03.337 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:03.337 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:03.337 INFO juju.worker.uniter waiting to lose leadership
[LOG] 0:03.338 DEBUG juju.worker.uniter.filter want forced upgrade false
[LOG] 0:03.338 INFO juju.worker.uniter.operation running operation run update-status hook
[LOG] 0:03.338 INFO juju.worker.uniter.operation preparing operation "run update-status hook"
[LOG] 0:03.338 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:03.338 DEBUG juju.worker.leadership u/0 got wait request for u leadership loss
[LOG] 0:03.339 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:03.339 DEBUG juju.worker.leadership waiting for u/0 to lose u leadership
[LOG] 0:03.340 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":84,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:03.343 DEBUG juju.apiserver -> [D3] unit-u-0 3.67436ms {"RequestId":84,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:03.347 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":85,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:03.356 DEBUG juju.apiserver -> [D3] unit-u-0 8.919381ms {"RequestId":85,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:03.358 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":86,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:03.367 DEBUG juju.apiserver -> [D3] unit-u-0 8.569781ms {"RequestId":86,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:03.368 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":87,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:03.374 DEBUG juju.apiserver -> [D3] unit-u-0 5.829225ms {"RequestId":87,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:03.382 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":88,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:03.387 DEBUG juju.apiserver -> [D3] unit-u-0 5.11665ms {"RequestId":88,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:03.389 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":89,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:03.393 DEBUG juju.apiserver -> [D3] unit-u-0 3.879708ms {"RequestId":89,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:03.395 INFO juju.worker.uniter.operation executing operation "run update-status hook"
[LOG] 0:03.395 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running update-status hook
[LOG] 0:03.397 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":90,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:03.475 DEBUG juju.apiserver -> [D3] unit-u-0 78.16802ms {"RequestId":90,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
[LOG] 0:03.531 INFO juju.worker.uniter.context skipped "update-status" hook (not implemented)
[LOG] 0:03.531 INFO juju.worker.uniter.context handling reboot
[LOG] 0:03.532 INFO juju.worker.uniter.operation skipped "update-status" hook (missing)
[LOG] 0:03.532 INFO juju.worker.uniter.operation committing operation "run update-status hook"
[LOG] 0:03.535 DEBUG juju.worker.uniter [AGENT-STATUS] idle:
[LOG] 0:03.536 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":91,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
uniter_test.waitHooks{"install", "leader-elected", "config-changed", "start"}
waiting for hooks: []string{"install", "leader-elected", "config-changed", "start"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
uniter_test.verifyCharm{revision:0, attemptedRevision:0, checkFiles:filetesting.Entries(nil)}
uniter_test.createCharm{revision:1, badHooks:[]string(nil), customize:(func(*check.C, *uniter_test.context, string))(nil)}
uniter_test.addCharm{dir:(*charm.CharmDir)(0xc208b4e700), curl:(*charm.URL)(0xc20818b6d0)}
[LOG] 0:03.624 DEBUG juju.apiserver -> [D3] unit-u-0 87.334839ms {"RequestId":91,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
uniter_test.serveCharm{}
[LOG] 0:03.686 DEBUG juju.storage resource catalog entry created with id "dc155751fa299f23525d3a29343038fdb5a7c55416903f55c4ba198b609053c43516b0ffbe2520ad2104c58f4894a2bb"
[LOG] 0:03.726 DEBUG juju.storage managed resource entry created with path "environs/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms/wordpress/1" -> "dc155751fa299f23525d3a29343038fdb5a7c55416903f55c4ba198b609053c43516b0ffbe2520ad2104c58f4894a2bb"
uniter_test.upgradeCharm{revision:1, forced:false}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(0x51ebf0), status:"error", info:"upgrade failed", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:03.861 DEBUG juju.apiserver -> [D3] unit-u-0 2.105495215s {"RequestId":25,"Response":"'body redacted'"} NotifyWatcher["3"].Next
[LOG] 0:03.863 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:03.864 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":92,"Type":"NotifyWatcher","Id":"3","Request":"Next","Params":"'params redacted'"}
[LOG] 0:03.866 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":93,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.872 DEBUG juju.apiserver -> [D3] unit-u-0 6.090549ms {"RequestId":93,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.875 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":94,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:03.879 DEBUG juju.apiserver -> [D3] unit-u-0 4.57374ms {"RequestId":94,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:03.880 DEBUG juju.worker.uniter.filter preparing new upgrade event
[LOG] 0:03.880 DEBUG juju.worker.uniter.filter sent upgrade event
[LOG] 0:03.881 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:03.881 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 starting
[LOG] 0:03.881 INFO juju.worker.uniter.operation running operation upgrade to cs:quantal/wordpress-1
[LOG] 0:03.881 INFO juju.worker.uniter.operation preparing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:03.883 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":95,"Type":"Uniter","Version":2,"Request":"CharmArchiveURLs","Params":"'params redacted'"}
[LOG] 0:03.887 DEBUG juju.apiserver -> [D3] unit-u-0 3.598074ms {"RequestId":95,"Response":"'body redacted'"} Uniter[""].CharmArchiveURLs
[LOG] 0:03.889 INFO juju.worker.uniter.charm downloading cs:quantal/wordpress-1 from https://localhost:54998/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?file=%2A&url=cs%3Aquantal%2Fwordpress-1
want unit charm "cs:quantal/wordpress-1", got "cs:quantal/wordpress-0"; still waiting
want unit charm "cs:quantal/wordpress-1", got "cs:quantal/wordpress-0"; still waiting
[LOG] 0:03.961 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:03.979 INFO juju.worker.uniter.charm download complete
[LOG] 0:03.981 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":96,"Type":"Uniter","Version":2,"Request":"CharmArchiveSha256","Params":"'params redacted'"}
[LOG] 0:03.988 DEBUG juju.apiserver -> [D3] unit-u-0 6.422877ms {"RequestId":96,"Response":"'body redacted'"} Uniter[""].CharmArchiveSha256
[LOG] 0:03.990 INFO juju.worker.uniter.charm download verified
[LOG] 0:03.999 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.001 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":97,"Type":"NotifyWatcher","Id":"10","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.002 DEBUG juju.apiserver -> [D3] unit-u-0 1.983215432s {"RequestId":48,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["10"].Next
[LOG] 0:04.003 DEBUG juju.apiserver -> [D3] unit-u-0 1.849071ms {"RequestId":97,"Response":"'body redacted'"} NotifyWatcher["10"].Stop
[LOG] 0:04.006 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":98,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-1", got "cs:quantal/wordpress-0"; still waiting
want unit status "error", got "unknown"; still waiting
[LOG] 0:04.081 DEBUG juju.apiserver -> [D3] unit-u-0 75.090953ms {"RequestId":98,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:04.084 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":99,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.084 INFO juju.worker.uniter.operation executing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.087 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.087 ERROR juju.worker.uniter.charm cannot upgrade charm: open /tmp/check-8753706409450991905/1/agents/unit-u-0/charm/.juju-deploying.preparing: permission denied
[LOG] 0:04.087 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 exiting
[LOG] 0:04.087 INFO juju.worker.uniter ModeConflicted starting
[LOG] 0:04.087 DEBUG juju.worker.uniter [AGENT-STATUS] error: upgrade failed
[LOG] 0:04.088 DEBUG juju.apiserver -> [D3] unit-u-0 4.612512ms {"RequestId":99,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.088 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":100,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:04.090 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":101,"Type":"StringsWatcher","Id":"11","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.091 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":102,"Type":"NotifyWatcher","Id":"12","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.091 DEBUG juju.apiserver -> [D3] unit-u-0 926.961µs {"RequestId":101,"Response":"'body redacted'"} StringsWatcher["11"].Stop
[LOG] 0:04.091 DEBUG juju.apiserver -> [D3] unit-u-0 2.053446707s {"RequestId":52,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["11"].Next
[LOG] 0:04.093 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":103,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.101 DEBUG juju.apiserver -> [D3] unit-u-0 7.193923ms {"RequestId":103,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.102 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.102 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.102 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.103 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.106 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":104,"Type":"StringsWatcher","Id":"13","Request":"Next","Params":"'params redacted'"}
uniter_test.verifyWaiting{}
uniter_test.stopUniter{err:""}
[LOG] 0:04.168 DEBUG juju.apiserver -> [D3] unit-u-0 79.650051ms {"RequestId":100,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:04.169 DEBUG juju.worker.uniter.filter want resolved event
[LOG] 0:04.169 DEBUG juju.worker.uniter.filter want forced upgrade true
[LOG] 0:04.169 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.169 INFO juju.worker.uniter ModeConflicted exiting
[LOG] 0:04.170 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:04.170 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:04.170 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:04.172 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":105,"Type":"NotifyWatcher","Id":"9","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.174 DEBUG juju.apiserver -> [D3] unit-u-0 1.523373ms {"RequestId":105,"Response":"'body redacted'"} NotifyWatcher["9"].Stop
[LOG] 0:04.174 DEBUG juju.apiserver -> [D3] unit-u-0 2.361719409s {"RequestId":38,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["9"].Next
[LOG] 0:04.178 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":106,"Type":"StringsWatcher","Id":"8","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.179 DEBUG juju.apiserver -> [D3] unit-u-0 1.029821ms {"RequestId":106,"Response":"'body redacted'"} StringsWatcher["8"].Stop
[LOG] 0:04.179 DEBUG juju.apiserver -> [D3] unit-u-0 2.372888376s {"RequestId":36,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["8"].Next
[LOG] 0:04.183 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":107,"Type":"NotifyWatcher","Id":"7","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.185 DEBUG juju.apiserver -> [D3] unit-u-0 1.467477ms {"RequestId":107,"Response":"'body redacted'"} NotifyWatcher["7"].Stop
[LOG] 0:04.185 DEBUG juju.apiserver -> [D3] unit-u-0 2.384370995s {"RequestId":34,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["7"].Next
[LOG] 0:04.189 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":108,"Type":"NotifyWatcher","Id":"6","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.190 DEBUG juju.apiserver -> [D3] unit-u-0 1.307724ms {"RequestId":108,"Response":"'body redacted'"} NotifyWatcher["6"].Stop
[LOG] 0:04.191 DEBUG juju.apiserver -> [D3] unit-u-0 2.398142823s {"RequestId":32,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["6"].Next
[LOG] 0:04.195 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":109,"Type":"StringsWatcher","Id":"4","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.196 DEBUG juju.apiserver -> [D3] unit-u-0 923.379µs {"RequestId":109,"Response":"'body redacted'"} StringsWatcher["4"].Stop
[LOG] 0:04.196 DEBUG juju.apiserver -> [D3] unit-u-0 2.423579459s {"RequestId":28,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["4"].Next
[LOG] 0:04.200 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":110,"Type":"NotifyWatcher","Id":"3","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.200 DEBUG juju.apiserver -> [D3] unit-u-0 819.623µs {"RequestId":110,"Response":"'body redacted'"} NotifyWatcher["3"].Stop
[LOG] 0:04.201 DEBUG juju.apiserver -> [D3] unit-u-0 336.37038ms {"RequestId":92,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["3"].Next
[LOG] 0:04.204 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":111,"Type":"NotifyWatcher","Id":"2","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.205 DEBUG juju.apiserver -> [D3] unit-u-0 768.564µs {"RequestId":111,"Response":"'body redacted'"} NotifyWatcher["2"].Stop
[LOG] 0:04.205 DEBUG juju.apiserver -> [D3] unit-u-0 2.145439088s {"RequestId":55,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:04.207 ERROR juju.worker.uniter.filter tomb: dying
uniter_test.startUniter{unitTag:""}
uniter_test.waitHooks{}
[LOG] 0:04.209 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:04.209 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:04.209 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:04.210 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":112,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.217 DEBUG juju.apiserver -> [D3] unit-u-0 7.602209ms {"RequestId":112,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.219 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-8753706409450991905/1/tools/unit-u-0
[LOG] 0:04.219 DEBUG worker.uniter.jujuc jujud path /tmp/check-8753706409450991905/1/tools/unit-u-0/jujud
[LOG] 0:04.223 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":113,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.227 DEBUG juju.apiserver -> [D3] unit-u-0 4.442685ms {"RequestId":113,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.229 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-15 14:44:39.68939855 +1000 AEST
[LOG] 0:04.229 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-15 14:44:09.68939855 +1000 AEST
[LOG] 0:04.230 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":114,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:04.233 DEBUG juju.apiserver -> [D3] unit-u-0 4.049721ms {"RequestId":114,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:04.235 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":115,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.237 DEBUG juju.apiserver -> [D3] unit-u-0 1.922324ms {"RequestId":115,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:04.239 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":116,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.243 DEBUG juju.apiserver -> [D3] unit-u-0 4.077549ms {"RequestId":116,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.245 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":117,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.251 DEBUG juju.apiserver -> [D3] unit-u-0 5.533332ms {"RequestId":117,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.253 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":118,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:04.258 DEBUG juju.apiserver -> [D3] unit-u-0 5.41014ms {"RequestId":118,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:04.261 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":119,"Type":"Uniter","Version":2,"Request":"AssignedMachine","Params":"'params redacted'"}
waiting for hooks: []string{"install", "leader-elected", "config-changed", "start"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
uniter_test.verifyCharm{revision:0, attemptedRevision:1, checkFiles:filetesting.Entries(nil)}
step 1:
uniter_test.resolveError{resolved:"no-hooks"}
[LOG] 0:04.264 DEBUG juju.apiserver -> [D3] unit-u-0 3.2944ms {"RequestId":119,"Response":"'body redacted'"} Uniter[""].AssignedMachine
[LOG] 0:04.266 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":120,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
[LOG] 0:04.269 DEBUG juju.apiserver -> [D3] unit-u-0 3.330515ms {"RequestId":120,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
[LOG] 0:04.272 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-8753706409450991905/1/agents/unit-u-0/run.socket
[LOG] 0:04.273 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:04.273 DEBUG juju.worker.uniter juju-run listener running
[LOG] 0:04.275 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":121,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
step 2:
uniter_test.verifyWaitingUpgradeError{revision:1}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(0x51ebf0), status:"error", info:"upgrade failed", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:04.280 DEBUG juju.apiserver -> [D3] unit-u-0 5.075344ms {"RequestId":121,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.282 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":122,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.288 DEBUG juju.apiserver -> [D3] unit-u-0 5.385805ms {"RequestId":122,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.290 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":123,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.292 DEBUG juju.apiserver -> [D3] unit-u-0 2.512525ms {"RequestId":123,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.295 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":124,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.301 DEBUG juju.apiserver -> [D3] unit-u-0 6.291165ms {"RequestId":124,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.303 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":125,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.308 DEBUG juju.apiserver -> [D3] unit-u-0 4.184594ms {"RequestId":125,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.310 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":126,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.317 DEBUG juju.apiserver -> [D3] unit-u-0 6.957333ms {"RequestId":126,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.321 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":127,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.327 DEBUG juju.apiserver -> [D3] unit-u-0 6.224853ms {"RequestId":127,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.329 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:04.330 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":128,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.340 DEBUG juju.apiserver -> [D3] unit-u-0 9.55839ms {"RequestId":128,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.341 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":129,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.342 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":130,"Type":"NotifyWatcher","Id":"14","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.349 DEBUG juju.apiserver -> [D3] unit-u-0 7.296975ms {"RequestId":129,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.351 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":131,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.352 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":132,"Type":"NotifyWatcher","Id":"15","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.354 DEBUG juju.apiserver -> [D3] unit-u-0 3.276197ms {"RequestId":131,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.356 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":133,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.360 DEBUG juju.apiserver -> [D3] unit-u-0 4.729314ms {"RequestId":133,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.363 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":134,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:04.363 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":135,"Type":"NotifyWatcher","Id":"16","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.366 DEBUG juju.apiserver -> [D3] unit-u-0 3.169438ms {"RequestId":134,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:04.368 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":136,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.369 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":137,"Type":"StringsWatcher","Id":"17","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.374 DEBUG juju.apiserver -> [D3] unit-u-0 6.267637ms {"RequestId":136,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.377 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":138,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.378 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":139,"Type":"StringsWatcher","Id":"18","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.384 DEBUG juju.apiserver -> [D3] unit-u-0 6.594729ms {"RequestId":138,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
[LOG] 0:04.386 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":140,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:04.387 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":141,"Type":"NotifyWatcher","Id":"19","Request":"Next","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.396 DEBUG juju.apiserver -> [D3] unit-u-0 10.052429ms {"RequestId":140,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
[LOG] 0:04.399 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":142,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.400 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":143,"Type":"NotifyWatcher","Id":"20","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.401 DEBUG juju.apiserver -> [D3] unit-u-0 2.51011ms {"RequestId":142,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:04.403 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":144,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
[LOG] 0:04.404 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":145,"Type":"StringsWatcher","Id":"21","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.406 DEBUG juju.apiserver -> [D3] unit-u-0 2.741231ms {"RequestId":144,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
[LOG] 0:04.407 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:04.408 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":146,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.409 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":147,"Type":"NotifyWatcher","Id":"22","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.412 DEBUG juju.apiserver -> [D3] unit-u-0 4.348963ms {"RequestId":146,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.414 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":148,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.417 DEBUG juju.apiserver -> [D3] unit-u-0 2.871974ms {"RequestId":148,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.418 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:04.418 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:04.419 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":149,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.424 DEBUG juju.apiserver -> [D3] unit-u-0 5.533791ms {"RequestId":149,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.426 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:04.426 DEBUG juju.worker.uniter.filter no config change seen yet, skipping config event
[LOG] 0:04.426 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:04.427 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:04.427 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:04.428 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":150,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.432 DEBUG juju.apiserver -> [D3] unit-u-0 4.253476ms {"RequestId":150,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.435 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":151,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.441 DEBUG juju.apiserver -> [D3] unit-u-0 5.998094ms {"RequestId":151,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.443 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.443 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:04.443 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.443 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.443 INFO juju.worker.uniter resuming charm upgrade
[LOG] 0:04.444 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.444 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.444 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:04.444 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 starting
[LOG] 0:04.444 INFO juju.worker.uniter.operation running operation upgrade to cs:quantal/wordpress-1
[LOG] 0:04.444 INFO juju.worker.uniter.operation preparing operation "upgrade to cs:quantal/wordpress-1"
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.455 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.457 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":152,"Type":"NotifyWatcher","Id":"16","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.458 DEBUG juju.apiserver -> [D3] unit-u-0 1.036167ms {"RequestId":152,"Response":"'body redacted'"} NotifyWatcher["16"].Stop
[LOG] 0:04.458 DEBUG juju.apiserver -> [D3] unit-u-0 94.983006ms {"RequestId":135,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["16"].Next
[LOG] 0:04.460 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":153,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:04.465 DEBUG juju.apiserver -> [D3] unit-u-0 3.622455ms {"RequestId":153,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:04.466 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":154,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.466 INFO juju.worker.uniter.operation executing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.468 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.468 ERROR juju.worker.uniter.charm cannot upgrade charm: open /tmp/check-8753706409450991905/1/agents/unit-u-0/charm/.juju-deploying.preparing: permission denied
[LOG] 0:04.468 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 exiting
[LOG] 0:04.468 INFO juju.worker.uniter ModeConflicted starting
[LOG] 0:04.468 DEBUG juju.worker.uniter [AGENT-STATUS] error: upgrade failed
[LOG] 0:04.469 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":155,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:04.470 DEBUG juju.apiserver -> [D3] unit-u-0 3.433696ms {"RequestId":154,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.471 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":156,"Type":"StringsWatcher","Id":"18","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.471 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":157,"Type":"NotifyWatcher","Id":"23","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.472 DEBUG juju.apiserver -> [D3] unit-u-0 647.256µs {"RequestId":156,"Response":"'body redacted'"} StringsWatcher["18"].Stop
[LOG] 0:04.472 DEBUG juju.apiserver -> [D3] unit-u-0 93.671094ms {"RequestId":139,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["18"].Next
[LOG] 0:04.473 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":158,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.477 DEBUG juju.apiserver -> [D3] unit-u-0 3.671048ms {"RequestId":158,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.478 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.478 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.478 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.478 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.479 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":159,"Type":"StringsWatcher","Id":"24","Request":"Next","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.547 DEBUG juju.apiserver -> [D3] unit-u-0 77.737379ms {"RequestId":155,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:04.549 DEBUG juju.worker.uniter.filter want resolved event
[LOG] 0:04.549 DEBUG juju.worker.uniter.filter want forced upgrade true
[LOG] 0:04.549 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.550 DEBUG juju.worker.uniter.filter sent resolved event
[LOG] 0:04.550 INFO juju.worker.uniter.operation running operation clear resolved flag and continue upgrade to cs:quantal/wordpress-1
[LOG] 0:04.550 INFO juju.worker.uniter.operation preparing operation "clear resolved flag and continue upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.551 DEBUG juju.worker.uniter.filter resolved event handled
[LOG] 0:04.552 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":160,"Type":"Uniter","Version":2,"Request":"ClearResolved","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.574 DEBUG juju.apiserver -> [D3] unit-u-0 22.208688ms {"RequestId":160,"Response":"'body redacted'"} Uniter[""].ClearResolved
[LOG] 0:04.576 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":161,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.583 DEBUG juju.apiserver -> [D3] unit-u-0 6.774009ms {"RequestId":161,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.585 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":162,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.587 DEBUG juju.apiserver -> [D3] unit-u-0 2.364683ms {"RequestId":162,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.588 DEBUG juju.worker.uniter.filter resolved clear completed
[LOG] 0:04.597 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.599 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":163,"Type":"NotifyWatcher","Id":"23","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.601 DEBUG juju.apiserver -> [D3] unit-u-0 1.447291ms {"RequestId":163,"Response":"'body redacted'"} NotifyWatcher["23"].Stop
[LOG] 0:04.601 DEBUG juju.apiserver -> [D3] unit-u-0 129.456559ms {"RequestId":157,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["23"].Next
[LOG] 0:04.606 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":164,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:04.613 DEBUG juju.apiserver -> [D3] unit-u-0 7.651837ms {"RequestId":164,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:04.616 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":165,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.616 INFO juju.worker.uniter.operation executing operation "clear resolved flag and continue upgrade to cs:quantal/wordpress-1"
uniter_test.verifyCharm{revision:0, attemptedRevision:1, checkFiles:filetesting.Entries(nil)}
uniter_test.stopUniter{err:""}
[LOG] 0:04.619 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.619 ERROR juju.worker.uniter.charm cannot upgrade charm: open /tmp/check-8753706409450991905/1/agents/unit-u-0/charm/.juju-deploying.preparing: permission denied
[LOG] 0:04.619 INFO juju.worker.uniter ModeConflicted exiting
[LOG] 0:04.620 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:04.620 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:04.620 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:04.620 DEBUG juju.apiserver -> [D3] unit-u-0 4.360433ms {"RequestId":165,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.623 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":166,"Type":"StringsWatcher","Id":"24","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.624 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":167,"Type":"NotifyWatcher","Id":"25","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.625 DEBUG juju.apiserver -> [D3] unit-u-0 1.738359ms {"RequestId":166,"Response":"'body redacted'"} StringsWatcher["24"].Stop
[LOG] 0:04.625 DEBUG juju.apiserver -> [D3] unit-u-0 145.616ms {"RequestId":159,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["24"].Next
[LOG] 0:04.628 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":168,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.635 DEBUG juju.apiserver -> [D3] unit-u-0 7.549834ms {"RequestId":168,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.636 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.638 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":169,"Type":"NotifyWatcher","Id":"22","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.638 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":170,"Type":"StringsWatcher","Id":"26","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.639 DEBUG juju.apiserver -> [D3] unit-u-0 1.103602ms {"RequestId":169,"Response":"'body redacted'"} NotifyWatcher["22"].Stop
[LOG] 0:04.639 DEBUG juju.apiserver -> [D3] unit-u-0 229.794583ms {"RequestId":147,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["22"].Next
[LOG] 0:04.642 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":171,"Type":"StringsWatcher","Id":"21","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.643 DEBUG juju.apiserver -> [D3] unit-u-0 1.4349ms {"RequestId":171,"Response":"'body redacted'"} StringsWatcher["21"].Stop
[LOG] 0:04.644 DEBUG juju.apiserver -> [D3] unit-u-0 239.237507ms {"RequestId":145,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["21"].Next
[LOG] 0:04.647 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":172,"Type":"NotifyWatcher","Id":"20","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.649 DEBUG juju.apiserver -> [D3] unit-u-0 248.777744ms {"RequestId":143,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["20"].Next
[LOG] 0:04.649 DEBUG juju.apiserver -> [D3] unit-u-0 1.713405ms {"RequestId":172,"Response":"'body redacted'"} NotifyWatcher["20"].Stop
[LOG] 0:04.651 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":173,"Type":"NotifyWatcher","Id":"19","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.652 DEBUG juju.apiserver -> [D3] unit-u-0 1.607514ms {"RequestId":173,"Response":"'body redacted'"} NotifyWatcher["19"].Stop
[LOG] 0:04.652 DEBUG juju.apiserver -> [D3] unit-u-0 264.736284ms {"RequestId":141,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["19"].Next
[LOG] 0:04.655 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":174,"Type":"StringsWatcher","Id":"17","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.656 DEBUG juju.apiserver -> [D3] unit-u-0 526.399µs {"RequestId":174,"Response":"'body redacted'"} StringsWatcher["17"].Stop
[LOG] 0:04.656 DEBUG juju.apiserver -> [D3] unit-u-0 287.380221ms {"RequestId":137,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["17"].Next
[LOG] 0:04.659 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":175,"Type":"NotifyWatcher","Id":"15","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.660 DEBUG juju.apiserver -> [D3] unit-u-0 1.115269ms {"RequestId":175,"Response":"'body redacted'"} NotifyWatcher["15"].Stop
[LOG] 0:04.660 DEBUG juju.apiserver -> [D3] unit-u-0 308.199224ms {"RequestId":132,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["15"].Next
[LOG] 0:04.663 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":176,"Type":"NotifyWatcher","Id":"14","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.665 DEBUG juju.apiserver -> [D3] unit-u-0 1.398031ms {"RequestId":176,"Response":"'body redacted'"} NotifyWatcher["14"].Stop
[LOG] 0:04.665 DEBUG juju.apiserver -> [D3] unit-u-0 322.863664ms {"RequestId":130,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["14"].Next
[LOG] 0:04.667 ERROR juju.worker.uniter.filter tomb: dying
uniter_test.custom{f:(func(*check.C, *uniter_test.context))(0x525d00)}
uniter_test.startUniter{unitTag:""}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(0x51ebf0), status:"error", info:"upgrade failed", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:04.672 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:04.672 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:04.673 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:04.673 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":177,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.678 DEBUG juju.apiserver -> [D3] unit-u-0 4.959194ms {"RequestId":177,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.678 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-8753706409450991905/1/tools/unit-u-0
[LOG] 0:04.679 DEBUG worker.uniter.jujuc jujud path /tmp/check-8753706409450991905/1/tools/unit-u-0/jujud
[LOG] 0:04.680 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":178,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.683 DEBUG juju.apiserver -> [D3] unit-u-0 2.947452ms {"RequestId":178,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.683 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-15 14:44:40.152617608 +1000 AEST
[LOG] 0:04.683 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-15 14:44:10.152617608 +1000 AEST
[LOG] 0:04.684 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":179,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:04.688 DEBUG juju.apiserver -> [D3] unit-u-0 4.646835ms {"RequestId":179,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:04.690 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":180,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.693 DEBUG juju.apiserver -> [D3] unit-u-0 2.899006ms {"RequestId":180,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:04.696 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":181,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.701 DEBUG juju.apiserver -> [D3] unit-u-0 4.983353ms {"RequestId":181,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.703 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":182,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.709 DEBUG juju.apiserver -> [D3] unit-u-0 5.662857ms {"RequestId":182,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.711 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":183,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:04.717 DEBUG juju.apiserver -> [D3] unit-u-0 6.065184ms {"RequestId":183,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:04.720 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":184,"Type":"Uniter","Version":2,"Request":"AssignedMachine","Params":"'params redacted'"}
[LOG] 0:04.724 DEBUG juju.apiserver -> [D3] unit-u-0 4.19227ms {"RequestId":184,"Response":"'body redacted'"} Uniter[""].AssignedMachine
[LOG] 0:04.728 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":185,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
uniter_test.verifyCharm{revision:0, attemptedRevision:1, checkFiles:filetesting.Entries(nil)}
[LOG] 0:04.731 DEBUG juju.apiserver -> [D3] unit-u-0 3.302486ms {"RequestId":185,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
step 3:
uniter_test.fixUpgradeError{}
step 4:
uniter_test.resolveError{resolved:"no-hooks"}
[LOG] 0:04.734 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-8753706409450991905/1/agents/unit-u-0/run.socket
[LOG] 0:04.734 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:04.734 DEBUG juju.worker.uniter juju-run listener running
[LOG] 0:04.736 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":186,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.740 DEBUG juju.apiserver -> [D3] unit-u-0 3.578455ms {"RequestId":186,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.742 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":187,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
step 5:
uniter_test.waitHooks{"upgrade-charm", "config-changed"}
waiting for hooks: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm", "config-changed"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.747 DEBUG juju.apiserver -> [D3] unit-u-0 4.317837ms {"RequestId":187,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.749 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":188,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.751 DEBUG juju.apiserver -> [D3] unit-u-0 2.631276ms {"RequestId":188,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.753 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":189,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.759 DEBUG juju.apiserver -> [D3] unit-u-0 5.551296ms {"RequestId":189,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.761 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":190,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.766 DEBUG juju.apiserver -> [D3] unit-u-0 4.685018ms {"RequestId":190,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.768 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":191,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.773 DEBUG juju.apiserver -> [D3] unit-u-0 5.01363ms {"RequestId":191,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.776 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":192,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.782 DEBUG juju.apiserver -> [D3] unit-u-0 5.995981ms {"RequestId":192,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.783 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:04.784 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":193,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.792 DEBUG juju.apiserver -> [D3] unit-u-0 8.035964ms {"RequestId":193,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.795 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":194,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.795 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":195,"Type":"NotifyWatcher","Id":"27","Request":"Next","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.802 DEBUG juju.apiserver -> [D3] unit-u-0 6.910936ms {"RequestId":194,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.805 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":196,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.805 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":197,"Type":"NotifyWatcher","Id":"28","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.810 DEBUG juju.apiserver -> [D3] unit-u-0 5.530358ms {"RequestId":196,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.813 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":198,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.817 DEBUG juju.apiserver -> [D3] unit-u-0 3.747253ms {"RequestId":198,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.819 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":199,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:04.820 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":200,"Type":"NotifyWatcher","Id":"29","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.825 DEBUG juju.apiserver -> [D3] unit-u-0 6.452029ms {"RequestId":199,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:04.828 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":201,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.829 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":202,"Type":"StringsWatcher","Id":"30","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.835 DEBUG juju.apiserver -> [D3] unit-u-0 7.614209ms {"RequestId":201,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.838 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":203,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.839 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":204,"Type":"StringsWatcher","Id":"31","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.845 DEBUG juju.apiserver -> [D3] unit-u-0 7.542202ms {"RequestId":203,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
[LOG] 0:04.848 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":205,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:04.849 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":206,"Type":"NotifyWatcher","Id":"32","Request":"Next","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.857 DEBUG juju.apiserver -> [D3] unit-u-0 9.216359ms {"RequestId":205,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
[LOG] 0:04.861 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":207,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.862 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":208,"Type":"NotifyWatcher","Id":"33","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.865 DEBUG juju.apiserver -> [D3] unit-u-0 3.564486ms {"RequestId":207,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:04.868 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":209,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
[LOG] 0:04.869 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":210,"Type":"StringsWatcher","Id":"34","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.871 DEBUG juju.apiserver -> [D3] unit-u-0 3.164688ms {"RequestId":209,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
[LOG] 0:04.872 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:04.872 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:04.872 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:04.873 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":211,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.874 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":212,"Type":"NotifyWatcher","Id":"35","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.879 DEBUG juju.apiserver -> [D3] unit-u-0 5.892007ms {"RequestId":211,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.880 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:04.880 DEBUG juju.worker.uniter.filter no config change seen yet, skipping config event
[LOG] 0:04.881 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:04.882 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":213,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.888 DEBUG juju.apiserver -> [D3] unit-u-0 5.640652ms {"RequestId":213,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.890 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":214,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.895 DEBUG juju.apiserver -> [D3] unit-u-0 5.46421ms {"RequestId":214,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.897 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.897 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.897 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.897 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.897 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:04.897 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:04.899 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":215,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.904 DEBUG juju.apiserver -> [D3] unit-u-0 5.269543ms {"RequestId":215,"Response":"'body redacted'"} Uniter[""].Life
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.906 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":216,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.912 DEBUG juju.apiserver -> [D3] unit-u-0 5.685566ms {"RequestId":216,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.914 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:04.914 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.914 INFO juju.worker.uniter resuming charm upgrade
[LOG] 0:04.914 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:04.914 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 starting
[LOG] 0:04.914 INFO juju.worker.uniter.operation running operation upgrade to cs:quantal/wordpress-1
[LOG] 0:04.915 INFO juju.worker.uniter.operation preparing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.920 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.921 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":217,"Type":"NotifyWatcher","Id":"29","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.922 DEBUG juju.apiserver -> [D3] unit-u-0 101.974722ms {"RequestId":200,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["29"].Next
[LOG] 0:04.922 DEBUG juju.apiserver -> [D3] unit-u-0 1.431792ms {"RequestId":217,"Response":"'body redacted'"} NotifyWatcher["29"].Stop
[LOG] 0:04.925 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":218,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:04.932 DEBUG juju.apiserver -> [D3] unit-u-0 7.288224ms {"RequestId":218,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:04.935 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":219,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.935 INFO juju.worker.uniter.operation executing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.939 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.939 DEBUG juju.worker.uniter.charm deploying charm "cs:quantal/wordpress-1"
[LOG] 0:04.940 DEBUG juju.apiserver -> [D3] unit-u-0 5.376283ms {"RequestId":219,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.943 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":220,"Type":"StringsWatcher","Id":"31","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.944 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":221,"Type":"NotifyWatcher","Id":"36","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.944 DEBUG juju.apiserver -> [D3] unit-u-0 1.177189ms {"RequestId":220,"Response":"'body redacted'"} StringsWatcher["31"].Stop
[LOG] 0:04.945 DEBUG juju.apiserver -> [D3] unit-u-0 106.124672ms {"RequestId":204,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["31"].Next
[LOG] 0:04.947 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":222,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.949 DEBUG juju.worker.uniter.charm finishing deploy of charm "cs:quantal/wordpress-1"
[LOG] 0:04.950 INFO juju.worker.uniter.operation committing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.952 DEBUG juju.apiserver -> [D3] unit-u-0 5.25601ms {"RequestId":222,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.953 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.953 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.953 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.954 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.954 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 exiting
[LOG] 0:04.954 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.954 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":223,"Type":"StringsWatcher","Id":"37","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.956 INFO juju.worker.uniter checking leadership status
[LOG] 0:04.956 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:04.956 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:04.956 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:04.956 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:04.956 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:04.956 INFO juju.worker.uniter found queued "upgrade-charm" hook
[LOG] 0:04.957 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":224,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.960 DEBUG juju.apiserver -> [D3] unit-u-0 2.422605ms {"RequestId":224,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.961 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":225,"Type":"Uniter","Version":2,"Request":"StorageAttachmentLife","Params":"'params redacted'"}
[LOG] 0:04.962 DEBUG juju.apiserver -> [D3] unit-u-0 557.74µs {"RequestId":225,"Response":"'body redacted'"} Uniter[""].StorageAttachmentLife
[LOG] 0:04.963 INFO juju.worker.uniter.operation running operation run upgrade-charm hook
[LOG] 0:04.963 INFO juju.worker.uniter.operation preparing operation "run upgrade-charm hook"
[LOG] 0:04.964 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":226,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:04.966 DEBUG juju.apiserver -> [D3] unit-u-0 1.838063ms {"RequestId":226,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:04.968 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":227,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:04.974 DEBUG juju.apiserver -> [D3] unit-u-0 5.835583ms {"RequestId":227,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:04.976 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":228,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.984 DEBUG juju.apiserver -> [D3] unit-u-0 7.916218ms {"RequestId":228,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.986 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":229,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:04.998 DEBUG juju.apiserver -> [D3] unit-u-0 11.570858ms {"RequestId":229,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:05.009 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":230,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:05.017 DEBUG juju.apiserver -> [D3] unit-u-0 7.270115ms {"RequestId":230,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:05.020 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":231,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:05.026 DEBUG juju.apiserver -> [D3] unit-u-0 6.311944ms {"RequestId":231,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:05.028 INFO juju.worker.uniter.operation executing operation "run upgrade-charm hook"
[LOG] 0:05.029 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running upgrade-charm hook
[LOG] 0:05.030 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":232,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:05.112 DEBUG juju.apiserver -> [D3] unit-u-0 81.964162ms {"RequestId":232,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:05.247 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "upgrade-charm"]
[LOG] 0:05.248 DEBUG worker.uniter.jujuc hook context id "u/0-upgrade-charm-7105718165805358567"; dir "/tmp/check-8753706409450991905/1/agents/unit-u-0/charm"
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:05.248 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d upgrade-charm
[LOG] 0:05.253 INFO juju.worker.uniter.context handling reboot
[LOG] 0:05.253 INFO juju.worker.uniter.operation ran "upgrade-charm" hook
[LOG] 0:05.255 INFO juju.worker.uniter.operation committing operation "run upgrade-charm hook"
[LOG] 0:05.256 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:05.256 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:05.262 INFO juju.worker.uniter checking leadership status
[LOG] 0:05.263 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:05.263 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:05.263 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:05.263 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:05.263 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:05.263 INFO juju.worker.uniter found queued "config-changed" hook
[LOG] 0:05.263 INFO juju.worker.uniter.operation running operation run config-changed hook
[LOG] 0:05.263 INFO juju.worker.uniter.operation preparing operation "run config-changed hook"
[LOG] 0:05.263 DEBUG juju.worker.uniter.filter discarded config event
[LOG] 0:05.264 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":233,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:05.267 DEBUG juju.apiserver -> [D3] unit-u-0 3.189554ms {"RequestId":233,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:05.270 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":234,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:05.276 DEBUG juju.apiserver -> [D3] unit-u-0 6.013558ms {"RequestId":234,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:05.278 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":235,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:05.286 DEBUG juju.apiserver -> [D3] unit-u-0 8.066643ms {"RequestId":235,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:05.289 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":236,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:05.298 DEBUG juju.apiserver -> [D3] unit-u-0 9.117524ms {"RequestId":236,"Response":"'body redacted'"} Uniter[""].EnvironConfig
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
[LOG] 0:05.309 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":237,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:05.315 DEBUG juju.apiserver -> [D3] unit-u-0 6.118208ms {"RequestId":237,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:05.317 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":238,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:05.322 DEBUG juju.apiserver -> [D3] unit-u-0 5.129797ms {"RequestId":238,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:05.325 INFO juju.worker.uniter.operation executing operation "run config-changed hook"
[LOG] 0:05.326 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running config-changed hook
[LOG] 0:05.327 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":239,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
[LOG] 0:05.412 DEBUG juju.apiserver -> [D3] unit-u-0 84.656877ms {"RequestId":239,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:05.440 INFO juju.mongo dialled mongo successfully on address "[::1]:50527"
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
[LOG] 0:05.546 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "config-changed"]
[LOG] 0:05.546 DEBUG worker.uniter.jujuc hook context id "u/0-config-changed-8691313778540159892"; dir "/tmp/check-8753706409450991905/1/agents/unit-u-0/charm"
[LOG] 0:05.546 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d config-changed
[LOG] 0:05.550 INFO juju.worker.uniter.context handling reboot
[LOG] 0:05.550 INFO juju.worker.uniter.operation ran "config-changed" hook
[LOG] 0:05.551 INFO juju.worker.uniter.operation committing operation "run config-changed hook"
[LOG] 0:05.552 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:05.552 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:05.556 INFO juju.worker.uniter checking leadership status
[LOG] 0:05.556 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:05.556 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:05.556 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:05.556 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:05.556 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:05.556 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:05.556 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:05.557 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:05.557 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:05.557 INFO juju.worker.uniter waiting to lose leadership
[LOG] 0:05.557 DEBUG juju.worker.uniter.filter want forced upgrade false
[LOG] 0:05.558 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:05.558 DEBUG juju.worker.leadership u/0 got wait request for u leadership loss
[LOG] 0:05.558 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:05.558 DEBUG juju.worker.leadership waiting for u/0 to lose u leadership
[LOG] 0:05.559 DEBUG juju.worker.uniter [AGENT-STATUS] idle:
[LOG] 0:05.562 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":240,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm", "config-changed"}
step 6:
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(nil), status:"idle", info:"", data:map[string]interface {}(nil), charm:1, resolved:""}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:05.666 DEBUG juju.apiserver -> [D3] unit-u-0 105.114421ms {"RequestId":240,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
uniter_test.go:947:
s.runUniterTests(c, []uniterTest{
// Upgrade scenarios - handling conflicts.
ut(
"upgrade: resolving doesn't help until underlying problem is fixed",
startUpgradeError{},
resolveError{state.ResolvedNoHooks},
verifyWaitingUpgradeError{revision: 1},
fixUpgradeError{},
resolveError{state.ResolvedNoHooks},
waitHooks{"upgrade-charm", "config-changed"},
waitUnitAgent{
status: params.StatusIdle,
charm: 1,
},
waitUnitAgent{
statusGetter: unitStatusGetter,
status: params.StatusUnknown,
charm: 1,
},
verifyCharm{revision: 1},
), ut(
`upgrade: forced upgrade does work without explicit resolution if underlying problem was fixed`,
startUpgradeError{},
resolveError{state.ResolvedNoHooks},
verifyWaitingUpgradeError{revision: 1},
fixUpgradeError{},
createCharm{revision: 2},
serveCharm{},
upgradeCharm{revision: 2, forced: true},
waitHooks{"upgrade-charm", "config-changed"},
waitUnitAgent{
status: params.StatusIdle,
charm: 2,
},
waitUnitAgent{
statusGetter: unitStatusGetter,
status: params.StatusUnknown,
charm: 2,
},
verifyCharm{revision: 2},
), ut(
"upgrade conflict service dying",
startUpgradeError{},
serviceDying,
verifyWaitingUpgradeError{revision: 1},
fixUpgradeError{},
resolveError{state.ResolvedNoHooks},
waitHooks{"upgrade-charm", "config-changed", "stop"},
waitUniterDead{},
), ut(
"upgrade conflict unit dying",
startUpgradeError{},
unitDying,
verifyWaitingUpgradeError{revision: 1},
fixUpgradeError{},
resolveError{state.ResolvedNoHooks},
waitHooks{"upgrade-charm", "config-changed", "stop"},
waitUniterDead{},
), ut(
"upgrade conflict unit dead",
startUpgradeError{},
unitDead,
waitUniterDead{},
waitHooks{},
fixUpgradeError{},
),
})
util_test.go:727:
c.Fatalf("never reached desired status")
... Error: never reached desired status
[LOG] 0:15.677 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:15.677 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:15.677 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:15.677 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:15.679 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":241,"Type":"NotifyWatcher","Id":"35","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.680 DEBUG juju.apiserver -> [D3] unit-u-0 1.664484ms {"RequestId":241,"Response":"'body redacted'"} NotifyWatcher["35"].Stop
[LOG] 0:15.681 DEBUG juju.apiserver -> [D3] unit-u-0 10.806114905s {"RequestId":212,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["35"].Next
[LOG] 0:15.684 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":242,"Type":"StringsWatcher","Id":"34","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.686 DEBUG juju.apiserver -> [D3] unit-u-0 1.448043ms {"RequestId":242,"Response":"'body redacted'"} StringsWatcher["34"].Stop
[LOG] 0:15.686 DEBUG juju.apiserver -> [D3] unit-u-0 10.817013018s {"RequestId":210,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["34"].Next
[LOG] 0:15.691 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":243,"Type":"NotifyWatcher","Id":"33","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.691 DEBUG juju.apiserver -> [D3] unit-u-0 878.347µs {"RequestId":243,"Response":"'body redacted'"} NotifyWatcher["33"].Stop
[LOG] 0:15.691 DEBUG juju.apiserver -> [D3] unit-u-0 10.829547477s {"RequestId":208,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["33"].Next
[LOG] 0:15.695 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":244,"Type":"NotifyWatcher","Id":"32","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.696 DEBUG juju.apiserver -> [D3] unit-u-0 1.509039ms {"RequestId":244,"Response":"'body redacted'"} NotifyWatcher["32"].Stop
[LOG] 0:15.697 DEBUG juju.apiserver -> [D3] unit-u-0 10.847765199s {"RequestId":206,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["32"].Next
[LOG] 0:15.700 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":245,"Type":"StringsWatcher","Id":"30","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.701 DEBUG juju.apiserver -> [D3] unit-u-0 1.436286ms {"RequestId":245,"Response":"'body redacted'"} StringsWatcher["30"].Stop
[LOG] 0:15.702 DEBUG juju.apiserver -> [D3] unit-u-0 10.872383208s {"RequestId":202,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["30"].Next
[LOG] 0:15.705 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":246,"Type":"NotifyWatcher","Id":"28","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.706 DEBUG juju.apiserver -> [D3] unit-u-0 1.038559ms {"RequestId":246,"Response":"'body redacted'"} NotifyWatcher["28"].Stop
[LOG] 0:15.706 DEBUG juju.apiserver -> [D3] unit-u-0 10.900253416s {"RequestId":197,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["28"].Next
[LOG] 0:15.710 DEBUG juju.apiserver <- [D3] unit-u-0 {"RequestId":247,"Type":"NotifyWatcher","Id":"27","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.711 DEBUG juju.apiserver -> [D3] unit-u-0 10.915425938s {"RequestId":195,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["27"].Next
[LOG] 0:15.711 DEBUG juju.apiserver -> [D3] unit-u-0 1.294172ms {"RequestId":247,"Response":"'body redacted'"} NotifyWatcher["27"].Stop
[LOG] 0:15.713 ERROR juju.worker.uniter.filter tomb: dying
[LOG] 0:15.716 DEBUG juju.apiserver -> [D3] unit-u-0 10.761053991s {"RequestId":223,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["37"].Next
[LOG] 0:15.716 DEBUG juju.apiserver -> [D3] unit-u-0 10.772309544s {"RequestId":221,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["36"].Next
[LOG] 0:15.717 ERROR juju.rpc error writing response: write tcp 127.0.0.1:54998->127.0.0.1:32851: write: broken pipe
[LOG] 0:15.718 INFO juju.apiserver [D2] user-dummy-admin@local API connection terminated after 15.155389382s
[LOG] 0:15.718 DEBUG juju.apiserver -> [D3] unit-u-0 11.079372499s {"RequestId":170,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["26"].Next
[LOG] 0:15.718 INFO juju.provider.dummy reset environment
[LOG] 0:15.719 DEBUG juju.apiserver -> [D3] unit-u-0 11.094409518s {"RequestId":167,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["25"].Next
[LOG] 0:15.719 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.720 DEBUG juju.apiserver -> [D3] unit-u-0 11.613888954s {"RequestId":104,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["13"].Next
[LOG] 0:15.720 ERROR juju.rpc error writing response: write tcp 127.0.0.1:54998->127.0.0.1:32851: write: broken pipe
[LOG] 0:15.720 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.721 DEBUG juju.apiserver -> [D3] unit-u-0 11.629466926s {"RequestId":102,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["12"].Next
[LOG] 0:15.721 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.722 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.722 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.722 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.723 ERROR juju.rpc error writing response: write tcp 127.0.0.1:54998->127.0.0.1:32851: write: broken pipe
[LOG] 0:15.723 ERROR juju.rpc error writing response: write tcp 127.0.0.1:54998->127.0.0.1:32851: write: broken pipe
[LOG] 0:15.723 ERROR juju.rpc error writing response: write tcp 127.0.0.1:54998->127.0.0.1:32851: write: broken pipe
[LOG] 0:15.726 INFO juju.rpc error closing codec: write tcp 127.0.0.1:54998->127.0.0.1:32851: write: broken pipe
[LOG] 0:15.727 INFO juju.apiserver [D3] unit-u-0 API connection terminated after 14.179095657s
[LOG] 0:15.738 INFO juju.testing reset successfully reset admin password
[LOG] 0:15.775 INFO juju.testing reset successfully reset admin password
[LOG] 0:15.779 DEBUG juju.environs.configstore Made dir /tmp/check-8753706409450991905/598/home/ubuntu/.juju/environments
[LOG] 0:15.793 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:15.796 DEBUG juju.environs.configstore writing jenv file to /tmp/check-8753706409450991905/598/home/ubuntu/.juju/environments/dummyenv.jenv
[LOG] 0:15.797 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:15.797 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:15.800 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-precise-amd64
[LOG] 0:15.804 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:15.810 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:15.810 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:15.810 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:15.811 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/601/tools/streams/v1/index2.json"
[LOG] 0:15.813 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64 map[20150615:0xc208cd1c20]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64 map[20150615:0xc208c64300]}] map[] Mon, 15 Jun 2015 14:43:51 +1000 products:1.0 com.ubuntu.juju:released:tools }
[LOG] 0:15.815 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/601/tools/streams/v1/index2.json"
[LOG] 0:15.815 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-8753706409450991905/601/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:15.816 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/601/tools/streams/v1/index2.json"
[LOG] 0:15.817 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-8753706409450991905/601/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:15.817 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/601/tools/streams/v1/index2.json"
[LOG] 0:15.818 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-8753706409450991905/601/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:15.823 INFO juju.environs.tools Metadata for stream "released" unchanged
[LOG] 0:15.823 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:15.823 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:15.824 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:15.824 DEBUG juju.environs.bootstrap environment "dummyenv" supports service/machine networks: true
[LOG] 0:15.824 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:15.824 DEBUG juju.environs.bootstrap looking for bootstrap tools: version=1.25-alpha1
[LOG] 0:15.824 INFO juju.environs.tools reading tools with major.minor version 1.25
[LOG] 0:15.824 INFO juju.environs.tools filtering tools by version: 1.25-alpha1
[LOG] 0:15.827 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-8753706409450991905/601/tools/streams/v1/index2.json"
[LOG] 0:15.832 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64 map[20150615:0xc208694ae0]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64 map[20150615:0xc208702180]}] map[] Mon, 15 Jun 2015 14:43:51 +1000 products:1.0 com.ubuntu.juju:released:tools }
[LOG] 0:15.837 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:15.837 INFO juju.provider.dummy would pick tools from 1.25-alpha1-trusty-amd64
[LOG] 0:15.838 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:15.838 INFO juju.state opening state, mongo addresses: ["[::1]:50527" "localhost:50527"]; entity <nil>
[LOG] 0:15.838 DEBUG juju.state dialing mongo
[LOG] 0:15.841 INFO juju.mongo dialled mongo successfully on address "[::1]:50527"
[LOG] 0:15.843 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:50527"
[LOG] 0:15.844 DEBUG juju.state connection established
[LOG] 0:15.936 INFO juju.state starting presence watcher
[LOG] 0:15.941 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:50527"
[LOG] 0:16.096 DEBUG juju.provider.dummy setting password for "dummy-admin" to "dummy-secret"
[LOG] 0:16.114 INFO juju.apiserver listening on "[::]:44540"
[LOG] 0:16.117 INFO juju.environs.bootstrap newest version: 1.25-alpha1
[LOG] 0:16.117 INFO juju.environs.bootstrap picked bootstrap tools version: 1.25-alpha1
[LOG] 0:16.118 INFO juju.state opening state, mongo addresses: ["[::1]:50527" "localhost:50527"]; entity <nil>
[LOG] 0:16.118 DEBUG juju.state dialing mongo
[LOG] 0:16.124 INFO juju.mongo dialled mongo successfully on address "[::1]:50527"
[LOG] 0:16.125 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:50527"
[LOG] 0:16.128 DEBUG juju.state connection established
[LOG] 0:16.207 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:16.209 INFO juju.api dialing "wss://localhost:44540/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:16.280 INFO juju.apiserver [D4] API connection from 127.0.0.1:43881
[LOG] 0:16.280 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:16.280 INFO juju.api connection established to "wss://localhost:44540/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:16.282 DEBUG juju.apiserver <- [D4] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:16.290 DEBUG juju.apiserver hostPorts: []
[LOG] 0:16.293 DEBUG juju.apiserver -> [D4] user-dummy-admin@local 11.158658ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:16.318 DEBUG juju.state setting API hostPorts: [[localhost:44540]]
[LOG] 0:16.326 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:16.329 DEBUG juju.environs.configstore writing jenv file to /tmp/check-8753706409450991905/598/home/ubuntu/.juju/environments/dummyenv.jenv
jenv host ports: [][]network.HostPort{[]network.HostPort{localhost:44540}}
[LOG] 0:16.347 INFO juju.apiserver [D4] user-dummy-admin@local API connection terminated after 66.697329ms
[LOG] 0:16.348 INFO juju.provider.dummy reset environment
[LOG] 0:16.367 INFO juju.testing reset successfully reset admin password
[LOG] 0:16.399 INFO juju.testing reset successfully reset admin password
[LOG] 0:16.411 INFO juju.testing reset successfully reset admin password
2015-06-15 04:45:02 WARNING juju.worker.uniter upgrade123.go:26 no uniter state file found for unit unit-mysql-0, skipping uniter upgrade step
OOPS: 46 passed, 1 FAILED
--- FAIL: TestPackage-4 (488.18s)
FAIL
FAIL github.com/juju/juju/worker/uniter 488.547s
ok github.com/juju/juju/worker/uniter/charm 10.278s
ok github.com/juju/juju/worker/uniter/filter 30.624s
ok github.com/juju/juju/worker/uniter/hook 1.682s
? github.com/juju/juju/worker/uniter/hook/hooktesting [no test files]
ok github.com/juju/juju/worker/uniter/operation 1.493s
ok github.com/juju/juju/worker/uniter/relation 1.447s
ok github.com/juju/juju/worker/uniter/runner 147.559s
ok github.com/juju/juju/worker/uniter/runner/debug 2.309s
ok github.com/juju/juju/worker/uniter/runner/jujuc 1.889s
? github.com/juju/juju/worker/uniter/runner/jujuc/testing [no test files]
ok github.com/juju/juju/worker/uniter/storage 1.747s
ok github.com/juju/juju/worker/upgrader 9.917s
ok github.com/juju/juju/worker/util 1.058s
ok github.com/juju/juju/wrench 1.271s
|