Ubuntu Pastebin

Paste from dfc at Wed, 24 Jun 2015 00:29:42 +0000

Download as text
   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
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
ok  	github.com/juju/juju	1.112s
ok  	github.com/juju/juju/agent	6.815s
ok  	github.com/juju/juju/agent/tools	1.577s
==================
WARNING: DATA RACE
Read by goroutine 82:
  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:413 +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:429 +0x1b1
  github.com/juju/juju/apiserver.(*Server).(github.com/juju/juju/apiserver.apiHandler)-fm()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:375 +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 52:
  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:405 +0xed8

Goroutine 82 (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:404 +0xed7

Goroutine 52 (finished) created at:
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:209 +0xa63
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/provider/dummy.(*environ).Bootstrap()
      /home/dfc/src/github.com/juju/juju/provider/dummy/environs.go:778 +0x1d19
  github.com/juju/juju/environs/bootstrap.Bootstrap()
      /home/dfc/src/github.com/juju/juju/environs/bootstrap/bootstrap.go:138 +0x1596
  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	35.782s
ok  	github.com/juju/juju/api/action	2.328s
ok  	github.com/juju/juju/api/agent	8.009s
ok  	github.com/juju/juju/api/annotations	1.423s
ok  	github.com/juju/juju/api/backups	7.967s
?   	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.457s
ok  	github.com/juju/juju/api/charmrevisionupdater	4.090s
ok  	github.com/juju/juju/api/charms	1.517s
ok  	github.com/juju/juju/api/cleaner	1.418s
?   	github.com/juju/juju/api/common	[no test files]
ok  	github.com/juju/juju/api/deployer	19.957s
ok  	github.com/juju/juju/api/diskmanager	1.216s
ok  	github.com/juju/juju/api/environment	3.289s
ok  	github.com/juju/juju/api/environmentmanager	7.556s
ok  	github.com/juju/juju/api/firewaller	36.680s
ok  	github.com/juju/juju/api/highavailability	4.437s
?   	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.231s
ok  	github.com/juju/juju/api/instancepoller	1.318s
ok  	github.com/juju/juju/api/keymanager	9.662s
ok  	github.com/juju/juju/api/keyupdater	6.174s
ok  	github.com/juju/juju/api/leadership	1.077s
ok  	github.com/juju/juju/api/logger	4.337s
ok  	github.com/juju/juju/api/machinemanager	1.272s
ok  	github.com/juju/juju/api/machiner	11.335s
ok  	github.com/juju/juju/api/metricsmanager	3.034s
ok  	github.com/juju/juju/api/networker	9.340s
ok  	github.com/juju/juju/api/provisioner	45.083s
ok  	github.com/juju/juju/api/reboot	8.905s
ok  	github.com/juju/juju/api/resumer	1.347s
ok  	github.com/juju/juju/api/rsyslog	3.795s
ok  	github.com/juju/juju/api/service	4.668s
ok  	github.com/juju/juju/api/storage	1.315s
ok  	github.com/juju/juju/api/storageprovisioner	1.408s
?   	github.com/juju/juju/api/testing	[no test files]
ok  	github.com/juju/juju/api/uniter	166.581s
ok  	github.com/juju/juju/api/upgrader	26.649s
ok  	github.com/juju/juju/api/usermanager	10.250s
ok  	github.com/juju/juju/api/watcher	9.007s
ok  	github.com/juju/juju/apiserver	306.114s
ok  	github.com/juju/juju/apiserver/action	17.222s
ok  	github.com/juju/juju/apiserver/agent	15.409s
ok  	github.com/juju/juju/apiserver/annotations	9.813s
ok  	github.com/juju/juju/apiserver/authentication	11.005s
ok  	github.com/juju/juju/apiserver/backups	11.290s
ok  	github.com/juju/juju/apiserver/block	4.575s
ok  	github.com/juju/juju/apiserver/charmrevisionupdater	12.509s
?   	github.com/juju/juju/apiserver/charmrevisionupdater/testing	[no test files]
ok  	github.com/juju/juju/apiserver/charms	6.516s
ok  	github.com/juju/juju/apiserver/cleaner	1.461s
ok  	github.com/juju/juju/apiserver/client	385.944s
ok  	github.com/juju/juju/apiserver/common	15.140s
?   	github.com/juju/juju/apiserver/common/testing	[no test files]
ok  	github.com/juju/juju/apiserver/deployer	15.307s
ok  	github.com/juju/juju/apiserver/diskmanager	1.484s
ok  	github.com/juju/juju/apiserver/environment	2.944s
ok  	github.com/juju/juju/apiserver/environmentmanager	11.688s
ok  	github.com/juju/juju/apiserver/firewaller	23.789s
ok  	github.com/juju/juju/apiserver/highavailability	8.738s
ok  	github.com/juju/juju/apiserver/http	1.346s
?   	github.com/juju/juju/apiserver/http/testing	[no test files]
ok  	github.com/juju/juju/apiserver/imagemanager	6.889s
ok  	github.com/juju/juju/apiserver/instancepoller	1.543s
ok  	github.com/juju/juju/apiserver/keymanager	11.191s
?   	github.com/juju/juju/apiserver/keymanager/testing	[no test files]
ok  	github.com/juju/juju/apiserver/keyupdater	6.014s
ok  	github.com/juju/juju/apiserver/leadership	1.074s
ok  	github.com/juju/juju/apiserver/logger	6.667s
ok  	github.com/juju/juju/apiserver/machine	6.625s
ok  	github.com/juju/juju/apiserver/machinemanager	1.334s
ok  	github.com/juju/juju/apiserver/meterstatus	1.057s
ok  	github.com/juju/juju/apiserver/metricsender	30.535s
?   	github.com/juju/juju/apiserver/metricsender/testing	[no test files]
ok  	github.com/juju/juju/apiserver/metricsender/wireformat	4.165s
ok  	github.com/juju/juju/apiserver/metricsmanager	14.317s
ok  	github.com/juju/juju/apiserver/networker	9.674s
ok  	github.com/juju/juju/apiserver/params	1.827s
ok  	github.com/juju/juju/apiserver/provisioner	95.318s
ok  	github.com/juju/juju/apiserver/reboot	9.920s
ok  	github.com/juju/juju/apiserver/resumer	1.392s
ok  	github.com/juju/juju/apiserver/rsyslog	9.144s
ok  	github.com/juju/juju/apiserver/service	15.361s
ok  	github.com/juju/juju/apiserver/storage	1.525s
ok  	github.com/juju/juju/apiserver/storageprovisioner	34.480s
?   	github.com/juju/juju/apiserver/testing	[no test files]
ok  	github.com/juju/juju/apiserver/uniter	340.693s
ok  	github.com/juju/juju/apiserver/upgrader	31.158s
ok  	github.com/juju/juju/apiserver/usermanager	13.758s
ok  	github.com/juju/juju/audit	1.019s
ok  	github.com/juju/juju/bzr	10.358s
ok  	github.com/juju/juju/cert	9.393s
ok  	github.com/juju/juju/cloudconfig	3.406s
ok  	github.com/juju/juju/cloudconfig/cloudinit	5.799s
ok  	github.com/juju/juju/cloudconfig/containerinit	1.303s
ok  	github.com/juju/juju/cloudconfig/instancecfg	1.287s
ok  	github.com/juju/juju/cloudconfig/providerinit	2.803s
?   	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.365s
ok  	github.com/juju/juju/cmd/juju	1961.973s
ok  	github.com/juju/juju/cmd/juju/action	19.707s
ok  	github.com/juju/juju/cmd/juju/backups	1.523s
ok  	github.com/juju/juju/cmd/juju/block	1.348s
ok  	github.com/juju/juju/cmd/juju/cachedimages	1.332s
ok  	github.com/juju/juju/cmd/juju/common	1.299s
ok  	github.com/juju/juju/cmd/juju/environment	1.988s
ok  	github.com/juju/juju/cmd/juju/machine	1.417s
ok  	github.com/juju/juju/cmd/juju/service	2.173s
ok  	github.com/juju/juju/cmd/juju/storage	1.699s
ok  	github.com/juju/juju/cmd/juju/user	1.537s
ok  	github.com/juju/juju/cmd/jujud	19.449s
==================
WARNING: DATA RACE
Read by goroutine 355:
  crypto/tls.(*Config).getCertificate()
      /home/dfc/go/src/crypto/tls/common.go:509 +0xd3
  crypto/tls.(*serverHandshakeState).readClientHello()
      /home/dfc/go/src/crypto/tls/handshake_server.go:195 +0x136c
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:48 +0x101
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 122:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x834
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 355 (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:404 +0xed7

Goroutine 122 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 355:
  crypto/tls.(*serverHandshakeState).readClientHello()
      /home/dfc/go/src/crypto/tls/handshake_server.go:200 +0x14b0
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:48 +0x101
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 122:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7da
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 355 (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:404 +0xed7

Goroutine 122 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 355:
  crypto/tls.(*serverHandshakeState).readClientHello()
      /home/dfc/go/src/crypto/tls/handshake_server.go:203 +0x1541
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:48 +0x101
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 122:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7da
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 355 (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:404 +0xed7

Goroutine 122 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 355:
  crypto/tls.(*serverHandshakeState).doFullHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:342 +0x135
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:80 +0x3ef
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 122:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7da
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 355 (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:404 +0xed7

Goroutine 122 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 355:
  crypto/tls.(*serverHandshakeState).doFullHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:360 +0x5c7
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:80 +0x3ef
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 122:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7da
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 355 (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:404 +0xed7

Goroutine 122 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
OK: 103 passed, 1 skipped
PASS
Found 5 data race(s)
FAIL	github.com/juju/juju/cmd/jujud/agent	221.084s
?   	github.com/juju/juju/cmd/jujud/agent/testing	[no test files]
ok  	github.com/juju/juju/cmd/jujud/reboot	13.994s
ok  	github.com/juju/juju/cmd/jujud/util	1.245s
ok  	github.com/juju/juju/cmd/plugins/juju-metadata	30.114s
?   	github.com/juju/juju/cmd/plugins/juju-restore	[no test files]
ok  	github.com/juju/juju/cmd/plugins/local	1.631s
?   	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.117s
ok  	github.com/juju/juju/container	2.108s
ok  	github.com/juju/juju/container/factory	1.399s
ok  	github.com/juju/juju/container/kvm	1.403s
ok  	github.com/juju/juju/container/kvm/mock	1.246s
?   	github.com/juju/juju/container/kvm/testing	[no test files]
ok  	github.com/juju/juju/container/lxc	6.266s
?   	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.609s
?   	github.com/juju/juju/environmentserver/authentication	[no test files]
ok  	github.com/juju/juju/environs	2.296s
ok  	github.com/juju/juju/environs/bootstrap	467.864s
ok  	github.com/juju/juju/environs/config	4.809s
ok  	github.com/juju/juju/environs/configstore	2.556s
ok  	github.com/juju/juju/environs/filestorage	1.184s
ok  	github.com/juju/juju/environs/httpstorage	4.590s
ok  	github.com/juju/juju/environs/imagemetadata	1.802s
?   	github.com/juju/juju/environs/imagemetadata/testing	[no test files]
ok  	github.com/juju/juju/environs/instances	1.686s
ok  	github.com/juju/juju/environs/jujutest	1.301s
ok  	github.com/juju/juju/environs/manual	5.800s
ok  	github.com/juju/juju/environs/simplestreams	2.001s
?   	github.com/juju/juju/environs/simplestreams/testing	[no test files]
ok  	github.com/juju/juju/environs/sshstorage	4.317s
ok  	github.com/juju/juju/environs/storage	1.255s
ok  	github.com/juju/juju/environs/sync	1.967s
ok  	github.com/juju/juju/environs/tags	1.223s
ok  	github.com/juju/juju/environs/testing	1.287s
ok  	github.com/juju/juju/environs/tools	3.255s
?   	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]
==================
WARNING: DATA RACE
Read by goroutine 320:
  crypto/tls.(*Config).getCertificate()
      /home/dfc/go/src/crypto/tls/common.go:509 +0xd3
  crypto/tls.(*serverHandshakeState).readClientHello()
      /home/dfc/go/src/crypto/tls/handshake_server.go:195 +0x136c
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:48 +0x101
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 201:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x834
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 320 (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:404 +0xed7

Goroutine 201 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 320:
  crypto/tls.(*serverHandshakeState).readClientHello()
      /home/dfc/go/src/crypto/tls/handshake_server.go:200 +0x14b0
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:48 +0x101
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 201:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7da
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 320 (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:404 +0xed7

Goroutine 201 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 320:
  crypto/tls.(*serverHandshakeState).readClientHello()
      /home/dfc/go/src/crypto/tls/handshake_server.go:203 +0x1541
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:48 +0x101
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 201:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7da
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 320 (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:404 +0xed7

Goroutine 201 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 320:
  crypto/tls.(*serverHandshakeState).doFullHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:342 +0x135
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:80 +0x3ef
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 201:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7da
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 320 (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:404 +0xed7

Goroutine 201 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 320:
  crypto/tls.(*serverHandshakeState).doFullHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:360 +0x5c7
  crypto/tls.(*Conn).serverHandshake()
      /home/dfc/go/src/crypto/tls/handshake_server.go:80 +0x3ef
  crypto/tls.(*Conn).Handshake()
      /home/dfc/go/src/crypto/tls/conn.go:976 +0x1e8
  crypto/tls.(*Conn).Read()
      /home/dfc/go/src/crypto/tls/conn.go:884 +0x7c
  github.com/juju/juju/apiserver.(*changeCertConn).Read()
      <autogenerated>:39 +0xa0
  net/http.(*liveSwitchReader).Read()
      /home/dfc/go/src/net/http/server.go:212 +0xc7
  io.(*LimitedReader).Read()
      /home/dfc/go/src/io/io.go:427 +0x15d
  bufio.(*Reader).fill()
      /home/dfc/go/src/bufio/bufio.go:97 +0x364
  bufio.(*Reader).ReadSlice()
      /home/dfc/go/src/bufio/bufio.go:328 +0x5a8
  bufio.(*Reader).ReadLine()
      /home/dfc/go/src/bufio/bufio.go:357 +0x6c
  net/textproto.(*Reader).readLineSlice()
      /home/dfc/go/src/net/textproto/reader.go:55 +0xa2
  net/textproto.(*Reader).ReadLine()
      /home/dfc/go/src/net/textproto/reader.go:36 +0x4d
  net/http.ReadRequest()
      /home/dfc/go/src/net/http/request.go:624 +0xc6
  net/http.(*conn).readRequest()
      /home/dfc/go/src/net/http/server.go:614 +0x3c1
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1217 +0x9f9

Previous write by goroutine 201:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7da
  github.com/juju/juju/apiserver.(*changeCertListener).processCertChanges()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:142 +0x1e4
  github.com/juju/juju/apiserver.newChangeCertListener.func1()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:113 +0x6b

Goroutine 320 (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:404 +0xed7

Goroutine 201 (running) created at:
  github.com/juju/juju/apiserver.newChangeCertListener()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:114 +0x128
  github.com/juju/juju/apiserver.newServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:208 +0xa01
  github.com/juju/juju/apiserver.NewServer()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:179 +0x21f
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).newApiserverWorker()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1223 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1187 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:262 +0x4fa
==================
OK: 57 passed
PASS
Found 5 data race(s)
FAIL	github.com/juju/juju/featuretests	73.552s
ok  	github.com/juju/juju/instance	1.091s
?   	github.com/juju/juju/instance/testing	[no test files]
ok  	github.com/juju/juju/juju	18.091s
ok  	github.com/juju/juju/juju/arch	1.405s
?   	github.com/juju/juju/juju/names	[no test files]
ok  	github.com/juju/juju/juju/osenv	1.394s
ok  	github.com/juju/juju/juju/paths	1.303s
?   	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.024s
ok  	github.com/juju/juju/lease	1.852s
ok  	github.com/juju/juju/mongo	2.642s
ok  	github.com/juju/juju/network	1.622s
?   	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.293s
ok  	github.com/juju/juju/provider/cloudsigma	4.560s
ok  	github.com/juju/juju/provider/common	2.580s
ok  	github.com/juju/juju/provider/dummy	6.721s
ok  	github.com/juju/juju/provider/ec2	45.250s
ok  	github.com/juju/juju/provider/gce	5.723s
ok  	github.com/juju/juju/provider/gce/google	1.443s
==================
WARNING: DATA RACE
Read by goroutine 266:
  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 271:
  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 266 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1807 +0x464

Goroutine 271 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1807 +0x464
==================
==================
WARNING: DATA RACE
Read by goroutine 266:
  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 271:
  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 266 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1807 +0x464

Goroutine 271 (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.244s
ok  	github.com/juju/juju/provider/local	7.969s
ok  	github.com/juju/juju/provider/maas	19.854s
ok  	github.com/juju/juju/provider/manual	1.757s
ok  	github.com/juju/juju/provider/openstack	53.457s
ok  	github.com/juju/juju/provider/vsphere	5.709s
ok  	github.com/juju/juju/rpc	1.506s
ok  	github.com/juju/juju/rpc/jsoncodec	1.258s
?   	github.com/juju/juju/rpc/rpcreflect	[no test files]
ok  	github.com/juju/juju/service	2.330s
ok  	github.com/juju/juju/service/common	1.079s
ok  	github.com/juju/juju/service/common/testing	1.027s
ok  	github.com/juju/juju/service/systemd	1.375s
?   	github.com/juju/juju/service/systemd/testing	[no test files]
ok  	github.com/juju/juju/service/upstart	1.591s
ok  	github.com/juju/juju/service/windows	1.283s
ok  	github.com/juju/juju/state	792.424s
ok  	github.com/juju/juju/state/backups	21.053s
?   	github.com/juju/juju/state/backups/testing	[no test files]
ok  	github.com/juju/juju/state/imagestorage	3.386s
ok  	github.com/juju/juju/state/lease	4.950s
ok  	github.com/juju/juju/state/multiwatcher	1.020s
ok  	github.com/juju/juju/state/presence	9.711s
ok  	github.com/juju/juju/state/storage	1.540s
?   	github.com/juju/juju/state/testing	[no test files]
ok  	github.com/juju/juju/state/toolstorage	2.703s
ok  	github.com/juju/juju/state/utils	2.617s
ok  	github.com/juju/juju/state/watcher	8.265s
ok  	github.com/juju/juju/storage	1.249s
ok  	github.com/juju/juju/storage/poolmanager	3.538s
ok  	github.com/juju/juju/storage/provider	1.337s
?   	github.com/juju/juju/storage/provider/dummy	[no test files]
ok  	github.com/juju/juju/storage/provider/registry	1.064s
?   	github.com/juju/juju/testcharms	[no test files]
ok  	github.com/juju/juju/testing	1.230s
ok  	github.com/juju/juju/testing/factory	7.821s
ok  	github.com/juju/juju/tools	1.035s
ok  	github.com/juju/juju/upgrades	64.123s
ok  	github.com/juju/juju/utils	1.193s
==================
WARNING: DATA RACE
Write by goroutine 64:
  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 +0xc3
  github.com/juju/juju/utils/ssh_test.(*sshServer).run()
      /home/dfc/src/github.com/juju/juju/utils/ssh/ssh_gocrypto_test.go:89 +0x7b5

Previous read by goroutine 57:
  gopkg.in/check%2ev1.(*resultTracker)._loopRoutine()
      /home/dfc/src/gopkg.in/check.v1/check.go:458 +0x1f2

Goroutine 64 (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 57 (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/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
==================
OK: 45 passed, 1 skipped
PASS
Found 1 data race(s)
FAIL	github.com/juju/juju/utils/ssh	6.648s
?   	github.com/juju/juju/utils/ssh/testing	[no test files]
ok  	github.com/juju/juju/utils/syslog	1.182s
?   	github.com/juju/juju/utils/syslog/testing	[no test files]
ok  	github.com/juju/juju/version	1.579s
==================
WARNING: DATA RACE
Read by goroutine 56:
  github.com/juju/juju/environs/config.(*Config).AllAttrs()
      /home/dfc/src/github.com/juju/juju/environs/config/config.go:1194 +0x5b
  github.com/juju/juju/worker_test.(*fakeState).AssertConfig()
      /home/dfc/src/github.com/juju/juju/worker/environ_test.go:281 +0xbb
  github.com/juju/juju/worker_test.(*environSuite).TestEnvironmentChanges()
      /home/dfc/src/github.com/juju/juju/worker/environ_test.go:130 +0x347
  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 59:
  github.com/juju/juju/environs/config.Validate()
      /home/dfc/src/github.com/juju/juju/environs/config/config.go:637 +0x17a8
  github.com/juju/juju/provider/dummy.(*environProvider).Validate()
      /home/dfc/src/github.com/juju/juju/provider/dummy/environs.go:528 +0x61
  github.com/juju/juju/provider/dummy.(*environProvider).newConfig()
      /home/dfc/src/github.com/juju/juju/provider/dummy/environs.go:511 +0x54
  github.com/juju/juju/provider/dummy.(*environProvider).Open()
      /home/dfc/src/github.com/juju/juju/provider/dummy/environs.go:561 +0xb3
  github.com/juju/juju/environs.New()
      /home/dfc/src/github.com/juju/juju/environs/open.go:150 +0x117
  github.com/juju/juju/worker.(*EnvironObserver).loop()
      /home/dfc/src/github.com/juju/juju/worker/environ.go:125 +0x3ea
  github.com/juju/juju/worker.NewEnvironObserver.func1()
      /home/dfc/src/github.com/juju/juju/worker/environ.go:105 +0xd8

Goroutine 56 (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/worker_test.TestPackage()
      /home/dfc/src/github.com/juju/juju/worker/environ_test.go:28 +0x2e
  testing.tRunner()
      /home/dfc/go/src/testing/testing.go:455 +0xdc

Goroutine 59 (running) created at:
  github.com/juju/juju/worker.NewEnvironObserver()
      /home/dfc/src/github.com/juju/juju/worker/environ.go:106 +0x2ff
  github.com/juju/juju/worker_test.(*environSuite).TestEnvironmentChanges()
      /home/dfc/src/github.com/juju/juju/worker/environ_test.go:126 +0x21f
  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 56:
  runtime.mapiterinit()
      /home/dfc/go/src/runtime/hashmap.go:559 +0x0
  github.com/juju/juju/environs/config.(*Config).AllAttrs()
      /home/dfc/src/github.com/juju/juju/environs/config/config.go:1194 +0x91
  github.com/juju/juju/worker_test.(*fakeState).AssertConfig()
      /home/dfc/src/github.com/juju/juju/worker/environ_test.go:281 +0xbb
  github.com/juju/juju/worker_test.(*environSuite).TestEnvironmentChanges()
      /home/dfc/src/github.com/juju/juju/worker/environ_test.go:130 +0x347
  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 59:
  runtime.mapassign1()
      /home/dfc/go/src/runtime/hashmap.go:411 +0x0
  github.com/juju/juju/environs/config.ProcessDeprecatedAttributes()
      /home/dfc/src/github.com/juju/juju/environs/config/config.go:456 +0x1c6
  github.com/juju/juju/environs/config.Validate()
      /home/dfc/src/github.com/juju/juju/environs/config/config.go:637 +0x178a
  github.com/juju/juju/provider/dummy.(*environProvider).Validate()
      /home/dfc/src/github.com/juju/juju/provider/dummy/environs.go:528 +0x61
  github.com/juju/juju/provider/dummy.(*environProvider).newConfig()
      /home/dfc/src/github.com/juju/juju/provider/dummy/environs.go:511 +0x54
  github.com/juju/juju/provider/dummy.(*environProvider).Open()
      /home/dfc/src/github.com/juju/juju/provider/dummy/environs.go:561 +0xb3
  github.com/juju/juju/environs.New()
      /home/dfc/src/github.com/juju/juju/environs/open.go:150 +0x117
  github.com/juju/juju/worker.(*EnvironObserver).loop()
      /home/dfc/src/github.com/juju/juju/worker/environ.go:125 +0x3ea
  github.com/juju/juju/worker.NewEnvironObserver.func1()
      /home/dfc/src/github.com/juju/juju/worker/environ.go:105 +0xd8

Goroutine 56 (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/worker_test.TestPackage()
      /home/dfc/src/github.com/juju/juju/worker/environ_test.go:28 +0x2e
  testing.tRunner()
      /home/dfc/go/src/testing/testing.go:455 +0xdc

Goroutine 59 (running) created at:
  github.com/juju/juju/worker.NewEnvironObserver()
      /home/dfc/src/github.com/juju/juju/worker/environ.go:106 +0x2ff
  github.com/juju/juju/worker_test.(*environSuite).TestEnvironmentChanges()
      /home/dfc/src/github.com/juju/juju/worker/environ_test.go:126 +0x21f
  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
==================
OK: 51 passed
PASS
Found 2 data race(s)
FAIL	github.com/juju/juju/worker	4.399s
ok  	github.com/juju/juju/worker/addresser	28.727s
ok  	github.com/juju/juju/worker/agent	1.050s
ok  	github.com/juju/juju/worker/apiaddressupdater	4.473s
ok  	github.com/juju/juju/worker/apicaller	1.306s
ok  	github.com/juju/juju/worker/authenticationworker	7.247s
ok  	github.com/juju/juju/worker/certupdater	1.533s
ok  	github.com/juju/juju/worker/charmrevisionworker	9.037s
ok  	github.com/juju/juju/worker/cleaner	1.396s
ok  	github.com/juju/juju/worker/conv2state	1.332s
ok  	github.com/juju/juju/worker/dblogpruner	16.235s
ok  	github.com/juju/juju/worker/dependency	3.929s
?   	github.com/juju/juju/worker/dependency/testing	[no test files]
ok  	github.com/juju/juju/worker/deployer	9.010s
ok  	github.com/juju/juju/worker/diskmanager	1.274s
ok  	github.com/juju/juju/worker/envworkermanager	5.804s
ok  	github.com/juju/juju/worker/firewaller	39.240s
ok  	github.com/juju/juju/worker/instancepoller	7.671s
ok  	github.com/juju/juju/worker/leadership	1.828s
ok  	github.com/juju/juju/worker/localstorage	1.067s
ok  	github.com/juju/juju/worker/logger	2.896s
ok  	github.com/juju/juju/worker/logsender	2.341s
ok  	github.com/juju/juju/worker/machinelock	1.270s
ok  	github.com/juju/juju/worker/machiner	20.959s
ok  	github.com/juju/juju/worker/metricworker	1.771s
ok  	github.com/juju/juju/worker/minunitsworker	3.617s
ok  	github.com/juju/juju/worker/networker	10.994s

----------------------------------------------------------------------
FAIL: worker_test.go:329: workerSuite.TestFatalErrors

test 0: State.StateServerInfo -> cannot get state server info: sample
[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 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.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)}}
[LOG] 0:00.011 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.011 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.012 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.012 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{}
[LOG] 0:00.012 DEBUG juju.worker.peergrouper extra: []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.012 DEBUG juju.worker.peergrouper maxId: 0
[LOG] 0:00.012 ERROR juju.worker.peergrouper peergrouper loop terminated: cannot compute desired peer group: voting non-machine 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)} found in peer group
worker_test.go:351:
    DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
        s.PatchValue(&pollInterval, 5*time.Millisecond)
        for i, testCase := range fatalErrorsTests {
            c.Logf("test %d: %s -> %s", i, testCase.errPattern, testCase.expectErr)
            resetErrors()
            st := NewFakeState()
            st.session.InstantlyReady = true
            InitState(c, st, 3, ipVersion)
            setErrorFor(testCase.errPattern, errors.New("sample"))
            w := newWorker(st, noPublisher{})
            done := make(chan error)
            go func() {
                done <- w.Wait()
            }()
            select {
            case err := <-done:
                c.Assert(err, gc.ErrorMatches, testCase.expectErr)
            case <-time.After(coretesting.LongWait):
                c.Fatalf("timed out waiting for error")
            }
        }
    })
worker_test.go:346:
    c.Assert(err, gc.ErrorMatches, testCase.expectErr)
... error string = "cannot compute desired peer group: voting non-machine 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)} found in peer group"
... regex string = "cannot get state server info: sample"


----------------------------------------------------------------------
FAIL: worker_test.go:354: workerSuite.TestSetMembersErrorIsNotFatal

[LOG] 0:00.004 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 12" -> <nil>
[LOG] 0:00.004 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 13" -> <nil>
[LOG] 0:00.004 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 10" -> <nil>
[LOG] 0:00.004 INFO juju.worker.peergrouper fakeState.addMachine "10"
[LOG] 0:00.005 INFO juju.worker.peergrouper fakeState.addMachine "11"
[LOG] 0:00.005 INFO juju.worker.peergrouper fakeState.addMachine "12"
[LOG] 0:00.005 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 true" -> <nil>
[LOG] 0:00.005 ERROR juju.worker.peergrouper errorFor "Session.Set" -> <nil>
[LOG] 0:00.006 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)}}
mustNext 0xc82054d560
[LOG] 0:00.008 ERROR juju.worker.peergrouper errorFor "State.StateServerInfo" -> <nil>
[LOG] 0:00.009 DEBUG juju.worker.peergrouper found new machine "10"
[LOG] 0:00.009 ERROR juju.worker.peergrouper errorFor "State.Machine 10" -> <nil>
[LOG] 0:00.009 DEBUG juju.worker.peergrouper found new machine "11"
[LOG] 0:00.009 ERROR juju.worker.peergrouper errorFor "State.Machine 11" -> <nil>
[LOG] 0:00.010 DEBUG juju.worker.peergrouper found new machine "12"
[LOG] 0:00.010 ERROR juju.worker.peergrouper errorFor "State.Machine 12" -> <nil>
[LOG] 0:00.010 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 10" -> <nil>
[LOG] 0:00.010 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 10" -> <nil>
[LOG] 0:00.010 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 11" -> <nil>
[LOG] 0:00.012 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 12" -> <nil>
[LOG] 0:00.012 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.012 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.013 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.013 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{&peergrouper.machine{id: "10", wantsVote: true, hostPort: "0.1.2.10:1234"}:(*replicaset.Member)(0xc8203e1540)}
[LOG] 0:00.013 DEBUG juju.worker.peergrouper extra: []replicaset.Member(nil)
[LOG] 0:00.013 DEBUG juju.worker.peergrouper maxId: 0
[LOG] 0:00.013 DEBUG juju.worker.peergrouper assessing possible peer group changes:
[LOG] 0:00.013 DEBUG juju.worker.peergrouper machine "10" is already voting
[LOG] 0:00.013 DEBUG juju.worker.peergrouper machine "11" is not ready (has status: false)
[LOG] 0:00.013 DEBUG juju.worker.peergrouper machine "12" is not ready (has status: false)
[LOG] 0:00.013 DEBUG juju.worker.peergrouper assessed
[LOG] 0:00.014 DEBUG juju.worker.peergrouper desired peer group members: []replicaset.Member{replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc82032b3a0), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc82032b390)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc82032b430), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc82032b420)}, 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.014 ERROR juju.worker.peergrouper errorFor "Session.Set" -> sample
[LOG] 0:00.014 INFO juju.worker.peergrouper not setting replicaset members to []replicaset.Member{replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc82032b3a0), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc82032b390)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc82032b430), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc82032b420)}, 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.014 ERROR juju.worker.peergrouper cannot set replicaset: sample
mustNext done 0xc82054d560, ok: true, val: true
mustNext 0xc82054d560
[LOG] 0:00.015 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 11" -> <nil>
[LOG] 0:00.015 ERROR juju.worker.peergrouper errorFor "Machine.Refresh 12" -> <nil>
[LOG] 0:00.015 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 10" -> <nil>
[LOG] 0:00.015 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 11" -> <nil>
[LOG] 0:00.015 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 12" -> <nil>
[LOG] 0:00.015 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.016 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.017 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.017 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{&peergrouper.machine{id: "10", wantsVote: true, hostPort: "0.1.2.10:1234"}:(*replicaset.Member)(0xc8205d44b0)}
[LOG] 0:00.017 DEBUG juju.worker.peergrouper extra: []replicaset.Member(nil)
[LOG] 0:00.017 DEBUG juju.worker.peergrouper maxId: 0
[LOG] 0:00.017 DEBUG juju.worker.peergrouper assessing possible peer group changes:
[LOG] 0:00.017 DEBUG juju.worker.peergrouper machine "10" is already voting
[LOG] 0:00.017 DEBUG juju.worker.peergrouper machine "11" is not ready (has status: false)
[LOG] 0:00.017 DEBUG juju.worker.peergrouper machine "12" is not ready (has status: false)
[LOG] 0:00.017 DEBUG juju.worker.peergrouper assessed
[LOG] 0:00.018 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)(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)(0xc8205817f0), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc8205817e0)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc820581880), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc820581870)}}
[LOG] 0:00.018 ERROR juju.worker.peergrouper errorFor "Session.Set" -> sample
[LOG] 0:00.018 INFO juju.worker.peergrouper not 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)(0xc8205817f0), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc8205817e0)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc820581880), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc820581870)}}
[LOG] 0:00.018 ERROR juju.worker.peergrouper cannot set replicaset: sample
[LOG] 0:00.018 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 11" -> <nil>
[LOG] 0:00.018 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 12" -> <nil>
[LOG] 0:00.018 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 10" -> <nil>
[LOG] 0:00.018 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.019 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.020 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.020 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{&peergrouper.machine{id: "10", wantsVote: true, hostPort: "0.1.2.10:1234"}:(*replicaset.Member)(0xc8205d53b0)}
[LOG] 0:00.020 DEBUG juju.worker.peergrouper extra: []replicaset.Member(nil)
mustNext done 0xc82054d560, ok: true, val: true
mustNext 0xc82054d560
[LOG] 0:00.020 DEBUG juju.worker.peergrouper maxId: 0
[LOG] 0:00.020 DEBUG juju.worker.peergrouper assessing possible peer group changes:
[LOG] 0:00.020 DEBUG juju.worker.peergrouper machine "10" is already voting
[LOG] 0:00.021 DEBUG juju.worker.peergrouper machine "11" is not ready (has status: false)
[LOG] 0:00.021 DEBUG juju.worker.peergrouper machine "12" is not ready (has status: false)
[LOG] 0:00.021 DEBUG juju.worker.peergrouper assessed
[LOG] 0:00.021 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)(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)(0xc820301720), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc820301710)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc8203017b0), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc8203017a0)}}
[LOG] 0:00.021 ERROR juju.worker.peergrouper errorFor "Session.Set" -> sample
[LOG] 0:00.022 INFO juju.worker.peergrouper not 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)(0xc820301720), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc820301710)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc8203017b0), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc8203017a0)}}
[LOG] 0:00.022 ERROR juju.worker.peergrouper cannot set replicaset: sample
mustNext done 0xc82054d560, ok: true, val: true
[LOG] 0:00.022 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 10" -> <nil>
[LOG] 0:00.022 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 11" -> <nil>
[LOG] 0:00.022 ERROR juju.worker.peergrouper errorFor "Machine.InstanceId 12" -> <nil>
[LOG] 0:00.022 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.023 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: "10", wantsVote: true, hostPort: "0.1.2.10:1234"}:(*replicaset.Member)(0xc82058c500)}
[LOG] 0:00.023 DEBUG juju.worker.peergrouper extra: []replicaset.Member(nil)
[LOG] 0:00.023 DEBUG juju.worker.peergrouper maxId: 0
[LOG] 0:00.024 DEBUG juju.worker.peergrouper assessing possible peer group changes:
[LOG] 0:00.024 DEBUG juju.worker.peergrouper machine "11" is not ready (has status: false)
[LOG] 0:00.024 DEBUG juju.worker.peergrouper machine "12" is not ready (has status: false)
[LOG] 0:00.024 DEBUG juju.worker.peergrouper machine "10" is already voting
[LOG] 0:00.024 DEBUG juju.worker.peergrouper assessed
[LOG] 0:00.024 DEBUG juju.worker.peergrouper desired peer group members: []replicaset.Member{replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc82037b3c0), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc82037b3b0)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc82037b450), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc82037b440)}, 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.024 ERROR juju.worker.peergrouper errorFor "Session.Set" -> sample
[LOG] 0:00.025 INFO juju.worker.peergrouper not setting replicaset members to []replicaset.Member{replicaset.Member{Id:1, Address:"0.1.2.11:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc82037b3c0), Tags:map[string]string{"juju-machine-id":"11"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc82037b3b0)}, replicaset.Member{Id:2, Address:"0.1.2.12:1234", Arbiter:(*bool)(nil), BuildIndexes:(*bool)(nil), Hidden:(*bool)(nil), Priority:(*float64)(0xc82037b450), Tags:map[string]string{"juju-machine-id":"12"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(0xc82037b440)}, 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.025 ERROR juju.worker.peergrouper cannot set replicaset: sample
[LOG] 0:00.025 ERROR juju.worker.peergrouper peergrouper loop terminated: tomb: dying
[LOG] 0:00.025 INFO juju.worker.peergrouper fakeState.addMachine "10"
[LOG] 0:00.025 INFO juju.worker.peergrouper fakeState.addMachine "11"
[LOG] 0:00.026 INFO juju.worker.peergrouper fakeState.addMachine "12"
[LOG] 0:00.026 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 true" -> <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)}}
mustNext 0xc820245950
[LOG] 0:00.028 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.029 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.030 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.030 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{}
[LOG] 0:00.030 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)(nil), Tags:map[string]string{"juju-machine-id":"10"}, SlaveDelay:(*time.Duration)(nil), Votes:(*int)(nil)}}
[LOG] 0:00.030 DEBUG juju.worker.peergrouper maxId: 0
[LOG] 0:00.031 ERROR juju.worker.peergrouper peergrouper loop terminated: cannot compute desired peer group: voting non-machine 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)} found in peer group
worker_test.go:381:
    DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
        st := NewFakeState()
        InitState(c, st, 3, ipVersion)
        st.session.setStatus(mkStatuses("0p 1s 2s", ipVersion))
        var setCount voyeur.Value
        setErrorFuncFor("Session.Set", func() error {
            setCount.Set(true)
            return errors.New("sample")
        })
        s.PatchValue(&initialRetryInterval, 10*time.Microsecond)
        s.PatchValue(&maxRetryInterval, coretesting.ShortWait/4)

        w := newWorker(st, noPublisher{})
        defer func() {
            c.Check(worker.Stop(w), gc.IsNil)
        }()

        // See that the worker is retrying.
        setCountW := setCount.Watch()
        mustNext(c, setCountW)
        mustNext(c, setCountW)
        mustNext(c, setCountW)

        resetErrors()
    })
worker_test.go:515:
    c.Fatalf("timed out waiting for value to be set")
... Error: timed out waiting for value to be set

worker_test.go:381:
    DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
        st := NewFakeState()
        InitState(c, st, 3, ipVersion)
        st.session.setStatus(mkStatuses("0p 1s 2s", ipVersion))
        var setCount voyeur.Value
        setErrorFuncFor("Session.Set", func() error {
            setCount.Set(true)
            return errors.New("sample")
        })
        s.PatchValue(&initialRetryInterval, 10*time.Microsecond)
        s.PatchValue(&maxRetryInterval, coretesting.ShortWait/4)

        w := newWorker(st, noPublisher{})
        defer func() {
            c.Check(worker.Stop(w), gc.IsNil)
        }()

        // See that the worker is retrying.
        setCountW := setCount.Watch()
        mustNext(c, setCountW)
        mustNext(c, setCountW)
        mustNext(c, setCountW)

        resetErrors()
    })
worker_test.go:371:
    c.Check(worker.Stop(w), gc.IsNil)
... value *errors.errorString = &errors.errorString{s:"cannot compute desired peer group: voting non-machine 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)} found in peer group"} ("cannot compute desired peer group: voting non-machine 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)} found in peer group")


----------------------------------------------------------------------
FAIL: worker_test.go:390: workerSuite.TestStateServersArePublished

[LOG] 0:00.001 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.002 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 true" -> <nil>
[LOG] 0:00.002 ERROR juju.worker.peergrouper errorFor "Session.Set" -> <nil>
[LOG] 0:00.002 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.003 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.021 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.021 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.021 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{}
[LOG] 0:00.021 DEBUG juju.worker.peergrouper extra: []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.021 DEBUG juju.worker.peergrouper maxId: 0
worker_test.go:423:
[LOG] 0:00.028 ERROR juju.worker.peergrouper peergrouper loop terminated: cannot compute desired peer group: voting non-machine 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)} found in peer group
    DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
        publishCh := make(chan [][]network.HostPort)
        publish := func(apiServers [][]network.HostPort, instanceIds []instance.Id) error {
            publishCh <- apiServers
            return nil
        }

        st := NewFakeState()
        InitState(c, st, 3, ipVersion)
        w := newWorker(st, PublisherFunc(publish))
        defer func() {
            c.Check(worker.Stop(w), gc.IsNil)
        }()
        select {
        case servers := <-publishCh:
            AssertAPIHostPorts(c, servers, ExpectedAPIHostPorts(3, ipVersion))
        case <-time.After(coretesting.LongWait):
            c.Fatalf("timed out waiting for publish")
        }

        // Change one of the servers' API addresses and check that it's published.
        var newMachine10APIHostPorts []network.HostPort
        newMachine10APIHostPorts = network.NewHostPorts(apiPort, ipVersion.extraHostPort)
        st.machine("10").setAPIHostPorts(newMachine10APIHostPorts)
        select {
        case servers := <-publishCh:
            expected := ExpectedAPIHostPorts(3, ipVersion)
            expected[0] = newMachine10APIHostPorts
            AssertAPIHostPorts(c, servers, expected)
        case <-time.After(coretesting.LongWait):
            c.Fatalf("timed out waiting for publish")
        }
    })
desired_test.go:433:
    c.Assert(got, gc.HasLen, len(want))
... obtained [][]network.HostPort = [][]network.HostPort{}
... n int = 3

worker_test.go:423:
    DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
        publishCh := make(chan [][]network.HostPort)
        publish := func(apiServers [][]network.HostPort, instanceIds []instance.Id) error {
            publishCh <- apiServers
            return nil
        }

        st := NewFakeState()
        InitState(c, st, 3, ipVersion)
        w := newWorker(st, PublisherFunc(publish))
        defer func() {
            c.Check(worker.Stop(w), gc.IsNil)
        }()
        select {
        case servers := <-publishCh:
            AssertAPIHostPorts(c, servers, ExpectedAPIHostPorts(3, ipVersion))
        case <-time.After(coretesting.LongWait):
            c.Fatalf("timed out waiting for publish")
        }

        // Change one of the servers' API addresses and check that it's published.
        var newMachine10APIHostPorts []network.HostPort
        newMachine10APIHostPorts = network.NewHostPorts(apiPort, ipVersion.extraHostPort)
        st.machine("10").setAPIHostPorts(newMachine10APIHostPorts)
        select {
        case servers := <-publishCh:
            expected := ExpectedAPIHostPorts(3, ipVersion)
            expected[0] = newMachine10APIHostPorts
            AssertAPIHostPorts(c, servers, expected)
        case <-time.After(coretesting.LongWait):
            c.Fatalf("timed out waiting for publish")
        }
    })
worker_test.go:402:
    c.Check(worker.Stop(w), gc.IsNil)
... value *errors.errorString = &errors.errorString{s:"cannot compute desired peer group: voting non-machine 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)} found in peer group"} ("cannot compute desired peer group: voting non-machine 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)} found in peer group")


----------------------------------------------------------------------
FAIL: worker_test.go:467: workerSuite.TestWorkerPublishesInstanceIds

[LOG] 0:00.001 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 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.002 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.003 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
worker_test.go:493:
[LOG] 0:00.009 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{}
[LOG] 0:00.012 DEBUG juju.worker.peergrouper extra: []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.012 DEBUG juju.worker.peergrouper maxId: 0
[LOG] 0:00.012 ERROR juju.worker.peergrouper peergrouper loop terminated: cannot compute desired peer group: voting non-machine 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)} found in peer group
    DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
        s.PatchValue(&pollInterval, coretesting.LongWait+time.Second)
        s.PatchValue(&initialRetryInterval, 5*time.Millisecond)
        s.PatchValue(&maxRetryInterval, initialRetryInterval)

        publishCh := make(chan []instance.Id, 100)

        publish := func(apiServers [][]network.HostPort, instanceIds []instance.Id) error {
            publishCh <- instanceIds
            return nil
        }
        st := NewFakeState()
        InitState(c, st, 3, ipVersion)

        w := newWorker(st, PublisherFunc(publish))
        defer func() {
            c.Check(worker.Stop(w), gc.IsNil)
        }()

        select {
        case instanceIds := <-publishCh:
            c.Assert(instanceIds, jc.SameContents, []instance.Id{"id-10", "id-11", "id-12"})
        case <-time.After(coretesting.LongWait):
            c.Errorf("timed out waiting for publish")
        }
    })
worker_test.go:489:
    c.Assert(instanceIds, jc.SameContents, []instance.Id{"id-10", "id-11", "id-12"})
... obtained []instance.Id = []instance.Id{}
... expected []instance.Id = []instance.Id{"id-10", "id-11", "id-12"}

worker_test.go:493:
    DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
        s.PatchValue(&pollInterval, coretesting.LongWait+time.Second)
        s.PatchValue(&initialRetryInterval, 5*time.Millisecond)
        s.PatchValue(&maxRetryInterval, initialRetryInterval)

        publishCh := make(chan []instance.Id, 100)

        publish := func(apiServers [][]network.HostPort, instanceIds []instance.Id) error {
            publishCh <- instanceIds
            return nil
        }
        st := NewFakeState()
        InitState(c, st, 3, ipVersion)

        w := newWorker(st, PublisherFunc(publish))
        defer func() {
            c.Check(worker.Stop(w), gc.IsNil)
        }()

        select {
        case instanceIds := <-publishCh:
            c.Assert(instanceIds, jc.SameContents, []instance.Id{"id-10", "id-11", "id-12"})
        case <-time.After(coretesting.LongWait):
            c.Errorf("timed out waiting for publish")
        }
    })
worker_test.go:484:
    c.Check(worker.Stop(w), gc.IsNil)
... value *errors.errorString = &errors.errorString{s:"cannot compute desired peer group: voting non-machine 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)} found in peer group"} ("cannot compute desired peer group: voting non-machine 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)} found in peer group")


----------------------------------------------------------------------
FAIL: worker_test.go:426: workerSuite.TestWorkerRetriesOnPublishError

[LOG] 0:00.001 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.002 ERROR juju.worker.peergrouper errorFor "Machine.SetHasVote 10 true" -> <nil>
[LOG] 0:00.002 ERROR juju.worker.peergrouper errorFor "Session.Set" -> <nil>
[LOG] 0:00.002 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.003 ERROR juju.worker.peergrouper cannot publish API server addresses: publish error
worker_test.go:464:
[LOG] 0:00.014 ERROR juju.worker.peergrouper errorFor "Session.CurrentStatus" -> <nil>
[LOG] 0:00.014 ERROR juju.worker.peergrouper errorFor "Session.CurrentMembers" -> <nil>
[LOG] 0:00.014 DEBUG juju.worker.peergrouper calculating desired peer group
[LOG] 0:00.015 DEBUG juju.worker.peergrouper members: map[*peergrouper.machine]*replicaset.Member{}
[LOG] 0:00.015 DEBUG juju.worker.peergrouper extra: []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.015 DEBUG juju.worker.peergrouper maxId: 0
[LOG] 0:00.016 ERROR juju.worker.peergrouper peergrouper loop terminated: cannot compute desired peer group: voting non-machine 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)} found in peer group
    DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
        s.PatchValue(&pollInterval, coretesting.LongWait+time.Second)
        s.PatchValue(&initialRetryInterval, 5*time.Millisecond)
        s.PatchValue(&maxRetryInterval, initialRetryInterval)

        publishCh := make(chan [][]network.HostPort, 100)

        count := 0
        publish := func(apiServers [][]network.HostPort, instanceIds []instance.Id) error {
            publishCh <- apiServers
            count++
            if count <= 3 {
                return fmt.Errorf("publish error")
            }
            return nil
        }
        st := NewFakeState()
        InitState(c, st, 3, ipVersion)

        w := newWorker(st, PublisherFunc(publish))
        defer func() {
            c.Check(worker.Stop(w), gc.IsNil)
        }()

        for i := 0; i < 4; i++ {
            select {
            case servers := <-publishCh:
                AssertAPIHostPorts(c, servers, ExpectedAPIHostPorts(3, ipVersion))
            case <-time.After(coretesting.LongWait):
                c.Fatalf("timed out waiting for publish #%d", i)
            }
        }
        select {
        case <-publishCh:
            c.Errorf("unexpected publish event")
        case <-time.After(coretesting.ShortWait):
        }
    })
desired_test.go:433:
    c.Assert(got, gc.HasLen, len(want))
... obtained [][]network.HostPort = [][]network.HostPort{}
... n int = 3

worker_test.go:464:
    DoTestForIPv4AndIPv6(func(ipVersion TestIPVersion) {
        s.PatchValue(&pollInterval, coretesting.LongWait+time.Second)
        s.PatchValue(&initialRetryInterval, 5*time.Millisecond)
        s.PatchValue(&maxRetryInterval, initialRetryInterval)

        publishCh := make(chan [][]network.HostPort, 100)

        count := 0
        publish := func(apiServers [][]network.HostPort, instanceIds []instance.Id) error {
            publishCh <- apiServers
            count++
            if count <= 3 {
                return fmt.Errorf("publish error")
            }
            return nil
        }
        st := NewFakeState()
        InitState(c, st, 3, ipVersion)

        w := newWorker(st, PublisherFunc(publish))
        defer func() {
            c.Check(worker.Stop(w), gc.IsNil)
        }()

        for i := 0; i < 4; i++ {
            select {
            case servers := <-publishCh:
                AssertAPIHostPorts(c, servers, ExpectedAPIHostPorts(3, ipVersion))
            case <-time.After(coretesting.LongWait):
                c.Fatalf("timed out waiting for publish #%d", i)
            }
        }
        select {
        case <-publishCh:
            c.Errorf("unexpected publish event")
        case <-time.After(coretesting.ShortWait):
        }
    })
worker_test.go:448:
    c.Check(worker.Stop(w), gc.IsNil)
... value *errors.errorString = &errors.errorString{s:"cannot compute desired peer group: voting non-machine 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)} found in peer group"} ("cannot compute desired peer group: voting non-machine 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)} found in peer group")

OOPS: 11 passed, 5 FAILED
--- FAIL: TestPackage (23.63s)
FAIL
FAIL	github.com/juju/juju/worker/peergrouper	24.182s
ok  	github.com/juju/juju/worker/provisioner	132.306s
ok  	github.com/juju/juju/worker/proxyupdater	5.618s
ok  	github.com/juju/juju/worker/reboot	13.947s
ok  	github.com/juju/juju/worker/resumer	1.903s
ok  	github.com/juju/juju/worker/rsyslog	9.151s

----------------------------------------------------------------------
FAIL: singular_test.go:133: singularSuite.TestPingCalledOnceOnlyForSeveralWorkers

[LOG] 0:00.000 INFO juju.worker.singular runner created; isMaster false
[LOG] 0:00.001 INFO juju.worker.singular standby "worker0"
[LOG] 0:00.001 INFO juju.worker start "worker0"
[LOG] 0:00.002 INFO juju.worker.singular standby "worker1"
[LOG] 0:00.002 INFO juju.worker.singular standby "worker2"
[LOG] 0:00.002 INFO juju.worker start "worker2"
[LOG] 0:00.003 INFO juju.worker start "worker1"
[LOG] 0:00.003 INFO juju.worker.singular standby "worker3"
[LOG] 0:00.003 INFO juju.worker.singular standby "worker4"
[LOG] 0:00.003 INFO juju.worker start "worker4"
[LOG] 0:00.003 INFO juju.worker start "worker3"
singular_test.go:166:
    c.Assert(n, gc.Equals, 1)
... obtained int = 2
... expected int = 1

OOPS: 3 passed, 1 skipped, 1 FAILED
--- FAIL: TestPackage (0.16s)
FAIL
FAIL	github.com/juju/juju/worker/singular	0.306s
?   	github.com/juju/juju/worker/statushistorypruner	[no test files]
ok  	github.com/juju/juju/worker/storageprovisioner	2.157s
ok  	github.com/juju/juju/worker/terminationworker	1.309s
ok  	github.com/juju/juju/worker/txnpruner	1.290s

----------------------------------------------------------------------
FAIL: uniter_test.go:1997: UniterSuite.TestLeadershipUnexpectedDepose

[LOG] 0:00.021 DEBUG juju.environs.configstore Made dir /tmp/check-6872746867395045491/91/home/ubuntu/.juju/environments
[LOG] 0:00.044 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:00.048 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6872746867395045491/91/home/ubuntu/.juju/environments/dummyenv.jenv
[LOG] 0:00.049 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.049 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:00.055 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-precise-amd64
[LOG] 0:00.060 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:00.075 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.076 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.076 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.080 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/94/tools/streams/v1/index2.json"
[LOG] 0:00.084 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc82072cc00]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc82072cd20]}] map[] Wed, 24 Jun 2015 10:16:50 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:00.087 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/94/tools/streams/v1/index2.json"
[LOG] 0:00.088 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/94/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.089 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/94/tools/streams/v1/index2.json"
[LOG] 0:00.090 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/94/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.091 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/94/tools/streams/v1/index2.json"
[LOG] 0:00.092 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/94/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.098 INFO juju.environs.tools Metadata for stream "released" unchanged
[LOG] 0:00.098 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.098 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.098 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.099 DEBUG juju.environs.bootstrap environment "dummyenv" supports service/machine networks: true
[LOG] 0:00.099 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.099 DEBUG juju.environs.bootstrap looking for bootstrap tools: version=1.25-alpha1
[LOG] 0:00.099 INFO juju.environs.tools reading tools with major.minor version 1.25
[LOG] 0:00.099 INFO juju.environs.tools filtering tools by version: 1.25-alpha1
[LOG] 0:00.102 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/94/tools/streams/v1/index2.json"
[LOG] 0:00.107 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc82072dda0]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc82072dec0]}] map[] Wed, 24 Jun 2015 10:16:50 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:00.116 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.116 INFO juju.provider.dummy would pick tools from 1.25-alpha1-trusty-amd64
[LOG] 0:00.117 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:00.117 INFO juju.state opening state, mongo addresses: ["[::1]:45767" "localhost:45767"]; entity <nil>
[LOG] 0:00.117 DEBUG juju.state dialing mongo
[LOG] 0:00.122 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:00.125 DEBUG juju.state connection established
[LOG] 0:00.131 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:00.178 INFO juju.state starting presence watcher
[LOG] 0:00.184 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:00.255 DEBUG juju.provider.dummy setting password for "dummy-admin" to "dummy-secret"
[LOG] 0:00.268 INFO juju.apiserver listening on "[::]:45429"
[LOG] 0:00.270 INFO juju.environs.bootstrap newest version: 1.25-alpha1
[LOG] 0:00.270 INFO juju.environs.bootstrap picked bootstrap tools version: 1.25-alpha1
[LOG] 0:00.270 INFO juju.state opening state, mongo addresses: ["[::1]:45767" "localhost:45767"]; entity <nil>
[LOG] 0:00.270 DEBUG juju.state dialing mongo
[LOG] 0:00.278 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:00.281 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:00.283 DEBUG juju.state connection established
[LOG] 0:00.349 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:00.355 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:00.355 INFO juju.api dialing "wss://localhost:45429/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.435 INFO juju.apiserver [2D] API connection from 127.0.0.1:41843
[LOG] 0:00.435 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:00.436 INFO juju.api connection established to "wss://localhost:45429/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.437 DEBUG juju.apiserver <- [2D] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:00.441 DEBUG juju.apiserver hostPorts: []
[LOG] 0:00.442 DEBUG juju.apiserver -> [2D] user-dummy-admin@local 5.50645ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:00.454 DEBUG juju.state setting API hostPorts: [[localhost:45429]]
[LOG] 0:00.458 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:00.462 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6872746867395045491/91/home/ubuntu/.juju/environments/dummyenv.jenv
jenv host ports: [][]network.HostPort{[]network.HostPort{localhost:45429}}

test 0: leader-settings-changed triggers when deposed (while running)

step 0:

uniter_test.quickStart{minion:false}
uniter_test.createCharm{revision:0, badHooks:[]string(nil), customize:(func(*check.C, *uniter_test.context, string))(nil)}
uniter_test.addCharm{dir:(*charm.CharmDir)(0xc8206e98c0), curl:(*charm.URL)(0xc820af09b0)}
uniter_test.serveCharm{}
[LOG] 0:00.659 DEBUG juju.storage resource catalog entry created with id "f0f4eb5cb3048997e13e8660650d974f508b3e6b4acc167e7c9523d46b57adfcc4e1e28673c42bfd693c25d8fa0faea9"
[LOG] 0:00.686 DEBUG juju.storage managed resource entry created with path "environs/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms/wordpress/0" -> "f0f4eb5cb3048997e13e8660650d974f508b3e6b4acc167e7c9523d46b57adfcc4e1e28673c42bfd693c25d8fa0faea9"
uniter_test.createUniter{minion:false}
uniter_test.ensureStateWorker{}
[LOG] 0:00.819 DEBUG juju.state setting API hostPorts: [[0.1.2.3:1234]]
[LOG] 0:00.830 DEBUG juju.state setting API hostPorts: [[localhost:45429]]
uniter_test.createServiceAndUnit{serviceName:""}
[LOG] 0:01.195 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:01.198 INFO juju.api dialing "wss://localhost:45429/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:01.279 INFO juju.apiserver [2E] API connection from 127.0.0.1:41855
[LOG] 0:01.280 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:01.280 INFO juju.api connection established to "wss://localhost:45429/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:01.281 DEBUG juju.apiserver <- [2E] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:01.295 DEBUG juju.apiserver hostPorts: [[localhost:45429]]
[LOG] 0:01.296 DEBUG juju.apiserver -> [2E] unit-u-0 15.257049ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
API: login as "unit-u-0" successful
uniter_test.startUniter{unitTag:""}
uniter_test.waitAddresses{}
[LOG] 0:01.308 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":3,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.309 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:01.309 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.309 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.313 DEBUG juju.apiserver -> [2E] unit-u-0 4.912553ms {"RequestId":3,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.315 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-6872746867395045491/1/tools/unit-u-0
[LOG] 0:01.315 DEBUG worker.uniter.jujuc jujud path /tmp/check-6872746867395045491/1/tools/unit-u-0/jujud
[LOG] 0:01.317 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":4,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.319 DEBUG juju.apiserver -> [2E] unit-u-0 2.895746ms {"RequestId":4,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.321 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":5,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:01.323 DEBUG juju.apiserver -> [2E] unit-u-0 2.422435ms {"RequestId":5,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:01.325 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":6,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:01.329 DEBUG juju.apiserver -> [2E] unit-u-0 3.763128ms {"RequestId":6,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:01.331 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":7,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.333 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:51.957571505 +1000 AEST
[LOG] 0:01.334 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:51.907571505 +1000 AEST
[LOG] 0:01.336 DEBUG juju.apiserver -> [2E] unit-u-0 5.766785ms {"RequestId":7,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.344 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":8,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.348 DEBUG juju.apiserver -> [2E] unit-u-0 7.370323ms {"RequestId":8,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.349 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":9,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:01.352 DEBUG juju.apiserver -> [2E] unit-u-0 2.750233ms {"RequestId":9,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:01.354 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":10,"Type":"Uniter","Version":2,"Request":"AssignedMachine","Params":"'params redacted'"}
[LOG] 0:01.355 DEBUG juju.apiserver -> [2E] unit-u-0 1.918284ms {"RequestId":10,"Response":"'body redacted'"} Uniter[""].AssignedMachine
[LOG] 0:01.357 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":11,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
[LOG] 0:01.359 DEBUG juju.apiserver -> [2E] unit-u-0 1.839166ms {"RequestId":11,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
[LOG] 0:01.360 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.360 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.360 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.360 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":12,"Type":"Uniter","Version":2,"Request":"Life","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.370 DEBUG juju.apiserver -> [2E] unit-u-0 9.322442ms {"RequestId":12,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.375 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":13,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.378 DEBUG juju.apiserver -> [2E] unit-u-0 3.261769ms {"RequestId":13,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.379 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-6872746867395045491/1/agents/unit-u-0/run.socket
[LOG] 0:01.380 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:01.381 DEBUG juju.worker.uniter juju-run listener running
[LOG] 0:01.381 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":14,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.384 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.008368346 +1000 AEST
[LOG] 0:01.384 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:51.958368346 +1000 AEST
[LOG] 0:01.385 DEBUG juju.apiserver -> [2E] unit-u-0 3.982188ms {"RequestId":14,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.387 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":15,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.390 DEBUG juju.apiserver -> [2E] unit-u-0 2.80428ms {"RequestId":15,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.392 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":16,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:01.393 DEBUG juju.apiserver -> [2E] unit-u-0 1.941898ms {"RequestId":16,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:01.395 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":17,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.409 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.008377724 +1000 AEST
[LOG] 0:01.410 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.410 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.410 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.414 DEBUG juju.apiserver -> [2E] unit-u-0 19.365226ms {"RequestId":17,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:01.416 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":18,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.419 DEBUG juju.apiserver -> [2E] unit-u-0 3.395733ms {"RequestId":18,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.420 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.058665676 +1000 AEST
[LOG] 0:01.420 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.008665676 +1000 AEST
[LOG] 0:01.421 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":19,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.423 DEBUG juju.apiserver -> [2E] unit-u-0 2.757954ms {"RequestId":19,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.425 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":20,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.427 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:01.428 DEBUG juju.apiserver -> [2E] unit-u-0 3.278979ms {"RequestId":20,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.429 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:01.430 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":21,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.437 DEBUG juju.apiserver -> [2E] unit-u-0 7.29082ms {"RequestId":21,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:01.439 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":22,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:01.439 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":23,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.443 DEBUG juju.apiserver -> [2E] unit-u-0 4.419097ms {"RequestId":22,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:01.446 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":24,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.446 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":25,"Type":"NotifyWatcher","Id":"3","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.449 DEBUG juju.apiserver -> [2E] unit-u-0 3.574824ms {"RequestId":24,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.451 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":26,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:01.454 DEBUG juju.apiserver -> [2E] unit-u-0 2.97666ms {"RequestId":26,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:01.456 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":27,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:01.457 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":28,"Type":"StringsWatcher","Id":"4","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.460 DEBUG juju.apiserver -> [2E] unit-u-0 4.333766ms {"RequestId":27,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:01.461 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.461 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.461 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.058675448 +1000 AEST
[LOG] 0:01.461 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.463 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":29,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.463 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":30,"Type":"StringsWatcher","Id":"5","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.467 DEBUG juju.apiserver -> [2E] unit-u-0 4.316669ms {"RequestId":29,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
[LOG] 0:01.471 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":31,"Type":"NotifyWatcher","Id":"6","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.474 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":32,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:01.477 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.109441307 +1000 AEST
[LOG] 0:01.477 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.059441307 +1000 AEST
[LOG] 0:01.480 DEBUG juju.apiserver -> [2E] unit-u-0 5.702029ms {"RequestId":32,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
[LOG] 0:01.481 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":33,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:01.482 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":34,"Type":"NotifyWatcher","Id":"7","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.483 DEBUG juju.apiserver -> [2E] unit-u-0 1.773026ms {"RequestId":33,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:01.485 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":35,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.486 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":36,"Type":"StringsWatcher","Id":"8","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.488 DEBUG juju.apiserver -> [2E] unit-u-0 2.177842ms {"RequestId":35,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
[LOG] 0:01.489 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:01.490 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":37,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.491 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":38,"Type":"NotifyWatcher","Id":"9","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.492 DEBUG juju.apiserver -> [2E] unit-u-0 2.627268ms {"RequestId":37,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.494 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":39,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:01.496 DEBUG juju.apiserver -> [2E] unit-u-0 1.853465ms {"RequestId":39,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:01.496 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:01.496 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:01.496 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:01.497 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:01.497 DEBUG juju.worker.uniter.filter want leader settings event: true
[LOG] 0:01.497 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:01.497 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:01.497 INFO juju.worker.uniter resuming charm install
[LOG] 0:01.497 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:01.497 INFO juju.worker.uniter ModeInstalling cs:quantal/wordpress-0 starting
[LOG] 0:01.498 INFO juju.worker.uniter.operation running operation install cs:quantal/wordpress-0
[LOG] 0:01.498 INFO juju.worker.uniter.operation preparing operation "install cs:quantal/wordpress-0"
[LOG] 0:01.499 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":40,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.499 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":41,"Type":"Uniter","Version":2,"Request":"CharmArchiveURLs","Params":"'params redacted'"}
[LOG] 0:01.501 DEBUG juju.apiserver -> [2E] unit-u-0 1.793326ms {"RequestId":41,"Response":"'body redacted'"} Uniter[""].CharmArchiveURLs
[LOG] 0:01.503 INFO juju.worker.uniter.charm downloading cs:quantal/wordpress-0 from https://localhost:45429/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?file=%2A&url=cs%3Aquantal%2Fwordpress-0
[LOG] 0:01.508 DEBUG juju.apiserver -> [2E] unit-u-0 9.054101ms {"RequestId":40,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.509 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":42,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.510 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.109451377 +1000 AEST
[LOG] 0:01.511 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.511 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.511 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.521 DEBUG juju.apiserver -> [2E] unit-u-0 12.266107ms {"RequestId":42,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.523 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:01.523 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:01.523 DEBUG juju.worker.uniter.filter no config change seen yet, skipping config event
[LOG] 0:01.523 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:01.524 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":43,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.531 DEBUG juju.apiserver -> [2E] unit-u-0 7.715236ms {"RequestId":43,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:01.534 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.159734399 +1000 AEST
[LOG] 0:01.534 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.109734399 +1000 AEST
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.561 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.159744204 +1000 AEST
[LOG] 0:01.561 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.561 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.561 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.573 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.210103444 +1000 AEST
[LOG] 0:01.574 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.160103444 +1000 AEST
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.612 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.21011352 +1000 AEST
[LOG] 0:01.612 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.612 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.612 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.622 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.260607312 +1000 AEST
[LOG] 0:01.622 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.210607312 +1000 AEST
[LOG] 0:01.646 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:01.662 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.663 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.663 INFO juju.lease "u/0" obtained lease for "u-leadership"
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.674 INFO juju.worker.uniter.charm download complete
[LOG] 0:01.675 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":44,"Type":"Uniter","Version":2,"Request":"CharmArchiveSha256","Params":"'params redacted'"}
[LOG] 0:01.681 DEBUG juju.apiserver -> [2E] unit-u-0 5.872287ms {"RequestId":44,"Response":"'body redacted'"} Uniter[""].CharmArchiveSha256
[LOG] 0:01.682 INFO juju.worker.uniter.charm download verified
[LOG] 0:01.692 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.311355397 +1000 AEST
[LOG] 0:01.692 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.261355397 +1000 AEST
[LOG] 0:01.692 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.311365644 +1000 AEST
[LOG] 0:01.703 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-0"
[LOG] 0:01.704 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":45,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:01.713 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.713 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.713 INFO juju.lease "u/0" obtained lease for "u-leadership"
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.738 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.361630184 +1000 AEST
[LOG] 0:01.738 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.311630184 +1000 AEST
[LOG] 0:01.740 DEBUG juju.apiserver -> [2E] unit-u-0 36.252949ms {"RequestId":45,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:01.741 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:01.742 INFO juju.worker.uniter.operation executing operation "install cs:quantal/wordpress-0"
[LOG] 0:01.742 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":46,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:01.742 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-0"
[LOG] 0:01.743 DEBUG juju.worker.uniter.charm deploying charm "cs:quantal/wordpress-0"
[LOG] 0:01.748 DEBUG juju.apiserver -> [2E] unit-u-0 3.377665ms {"RequestId":46,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:01.750 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":47,"Type":"StringsWatcher","Id":"5","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:01.750 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":48,"Type":"NotifyWatcher","Id":"10","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.756 DEBUG juju.worker.uniter.charm finishing deploy of charm "cs:quantal/wordpress-0"
[LOG] 0:01.757 DEBUG juju.apiserver -> [2E] unit-u-0 1.190174ms {"RequestId":47,"Response":"'body redacted'"} StringsWatcher["5"].Stop
[LOG] 0:01.757 INFO juju.worker.uniter.operation committing operation "install cs:quantal/wordpress-0"
[LOG] 0:01.757 DEBUG juju.apiserver -> [2E] unit-u-0 293.996302ms {"RequestId":30,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["5"].Next
[LOG] 0:01.759 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":49,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:01.765 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.765 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.765 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.36164018 +1000 AEST
[LOG] 0:01.765 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.767 INFO juju.worker.uniter ModeInstalling cs:quantal/wordpress-0 exiting
[LOG] 0:01.767 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:01.780 DEBUG juju.apiserver -> [2E] unit-u-0 20.961419ms {"RequestId":49,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:01.781 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:01.781 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:01.781 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:01.782 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:01.783 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":50,"Type":"StringsWatcher","Id":"11","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.783 INFO juju.worker.uniter checking leadership status
[LOG] 0:01.789 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.413932524 +1000 AEST
[LOG] 0:01.789 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.363932524 +1000 AEST
[LOG] 0:01.789 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:01.789 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:01.789 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:01.789 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:01.789 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:01.789 INFO juju.worker.uniter found queued "install" hook
[LOG] 0:01.789 INFO juju.worker.uniter.operation running operation run install hook
[LOG] 0:01.789 INFO juju.worker.uniter.operation preparing operation "run install hook"
[LOG] 0:01.790 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":51,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:01.792 DEBUG juju.apiserver -> [2E] unit-u-0 1.538764ms {"RequestId":51,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:01.793 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":52,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:01.797 DEBUG juju.apiserver -> [2E] unit-u-0 4.042795ms {"RequestId":52,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:01.798 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":53,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.801 DEBUG juju.apiserver -> [2E] unit-u-0 3.083556ms {"RequestId":53,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:01.802 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":54,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
want unit status "idle", got "allocating"; still waiting
[LOG] 0:01.810 DEBUG juju.apiserver -> [2E] unit-u-0 7.323664ms {"RequestId":54,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:01.813 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.413949631 +1000 AEST
[LOG] 0:01.815 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":55,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:01.815 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.815 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.816 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.817 DEBUG juju.apiserver -> [2E] unit-u-0 2.152719ms {"RequestId":55,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:01.818 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":56,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:01.821 DEBUG juju.apiserver -> [2E] unit-u-0 2.893295ms {"RequestId":56,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:01.822 INFO juju.worker.uniter.operation executing operation "run install hook"
[LOG] 0:01.822 DEBUG juju.apiserver -> [2E] unit-u-0 382.898915ms {"RequestId":23,"Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:01.823 DEBUG juju.worker.uniter.context [WORKLOAD-STATUS] maintenance: installing charm software
[LOG] 0:01.823 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:01.824 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":57,"Type":"Uniter","Version":2,"Request":"SetUnitStatus","Params":"'params redacted'"}
[LOG] 0:01.825 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":58,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.825 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":59,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.825 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.464198048 +1000 AEST
[LOG] 0:01.825 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.414198048 +1000 AEST
[LOG] 0:01.828 DEBUG juju.apiserver -> [2E] unit-u-0 2.365152ms {"RequestId":59,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.829 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":60,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:01.831 DEBUG juju.apiserver -> [2E] unit-u-0 2.41703ms {"RequestId":60,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:01.863 DEBUG juju.apiserver -> [2E] unit-u-0 39.30832ms {"RequestId":57,"Response":"'body redacted'"} Uniter[""].SetUnitStatus
want unit status "idle", got "allocating"; still waiting
[LOG] 0:01.864 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running install hook
[LOG] 0:01.865 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":61,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:01.865 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.464207998 +1000 AEST
[LOG] 0:01.866 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.866 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.866 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.880 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.514471946 +1000 AEST
[LOG] 0:01.880 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.464471946 +1000 AEST
[LOG] 0:01.916 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.514481079 +1000 AEST
[LOG] 0:01.916 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.916 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.916 INFO juju.lease "u/0" obtained lease for "u-leadership"
want unit status "idle", got "executing"; still waiting
[LOG] 0:01.929 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.564754525 +1000 AEST
[LOG] 0:01.929 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.514754525 +1000 AEST
[LOG] 0:01.930 DEBUG juju.apiserver -> [2E] unit-u-0 65.398426ms {"RequestId":61,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:01.966 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.564764307 +1000 AEST
[LOG] 0:01.966 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:01.967 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.967 INFO juju.lease "u/0" obtained lease for "u-leadership"
want unit status "idle", got "executing"; still waiting
[LOG] 0:01.982 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.615353289 +1000 AEST
[LOG] 0:01.982 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.565353289 +1000 AEST
[LOG] 0:01.997 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "install"]
[LOG] 0:01.997 DEBUG worker.uniter.jujuc hook context id "u/0-install-6754232944732928011"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:01.998 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d install
[LOG] 0:02.000 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.000 INFO juju.worker.uniter.operation ran "install" hook
[LOG] 0:02.001 INFO juju.worker.uniter.operation committing operation "run install hook"
[LOG] 0:02.001 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.001 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.005 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.006 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.006 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.006 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.006 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.006 INFO juju.worker.uniter.operation running operation accept leadership
[LOG] 0:02.006 INFO juju.worker.uniter.operation preparing operation "accept leadership"
[LOG] 0:02.006 INFO juju.worker.uniter.operation committing operation "accept leadership"
[LOG] 0:02.007 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.007 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.007 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:02.011 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.011 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.011 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.011 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.011 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.012 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.012 INFO juju.worker.uniter found queued "leader-elected" hook
[LOG] 0:02.012 INFO juju.worker.uniter.operation running operation run leader-elected hook
[LOG] 0:02.012 INFO juju.worker.uniter.operation preparing operation "run leader-elected hook"
[LOG] 0:02.015 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":62,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.017 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.018 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.018 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.61537099 +1000 AEST
[LOG] 0:02.018 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.019 DEBUG juju.apiserver -> [2E] unit-u-0 3.998254ms {"RequestId":62,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.024 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":63,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.033 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.666336932 +1000 AEST
[LOG] 0:02.033 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.616336932 +1000 AEST
[LOG] 0:02.036 DEBUG juju.apiserver -> [2E] unit-u-0 11.736618ms {"RequestId":63,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.040 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":64,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.045 DEBUG juju.apiserver -> [2E] unit-u-0 5.573073ms {"RequestId":64,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.047 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":65,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.053 DEBUG juju.apiserver -> [2E] unit-u-0 6.600811ms {"RequestId":65,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.060 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":66,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.063 DEBUG juju.apiserver -> [2E] unit-u-0 3.072402ms {"RequestId":66,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.064 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":67,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.067 DEBUG juju.apiserver -> [2E] unit-u-0 2.976535ms {"RequestId":67,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.067 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.666354847 +1000 AEST
[LOG] 0:02.068 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.068 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.068 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.076 INFO juju.worker.uniter.operation executing operation "run leader-elected hook"
[LOG] 0:02.078 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running leader-elected hook
[LOG] 0:02.079 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":68,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:02.089 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.716626608 +1000 AEST
[LOG] 0:02.089 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.666626608 +1000 AEST
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.118 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.118 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.120 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.716636438 +1000 AEST
[LOG] 0:02.120 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.135 DEBUG juju.apiserver -> [2E] unit-u-0 56.650558ms {"RequestId":68,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:02.150 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.766896904 +1000 AEST
[LOG] 0:02.150 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.716896904 +1000 AEST
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.168 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.766907632 +1000 AEST
[LOG] 0:02.171 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.171 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.171 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.183 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.819646018 +1000 AEST
[LOG] 0:02.183 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.769646018 +1000 AEST
[LOG] 0:02.200 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "leader-elected"]
[LOG] 0:02.200 DEBUG worker.uniter.jujuc hook context id "u/0-leader-elected-8784129782561832370"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:02.201 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d leader-elected
[LOG] 0:02.202 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.202 INFO juju.worker.uniter.operation ran "leader-elected" hook
[LOG] 0:02.204 INFO juju.worker.uniter.operation committing operation "run leader-elected hook"
[LOG] 0:02.205 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.205 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.209 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.209 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.209 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.209 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.209 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.210 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.210 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:02.210 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.210 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:02.211 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:02.212 INFO juju.worker.uniter.operation running operation run config-changed hook
[LOG] 0:02.212 INFO juju.worker.uniter.operation preparing operation "run config-changed hook"
[LOG] 0:02.215 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":69,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.216 DEBUG juju.worker.uniter.filter discarded config event
[LOG] 0:02.216 DEBUG juju.apiserver -> [2E] unit-u-0 1.689454ms {"RequestId":69,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.218 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":70,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.220 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.819671589 +1000 AEST
[LOG] 0:02.223 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.223 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.223 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.226 DEBUG juju.apiserver -> [2E] unit-u-0 7.90137ms {"RequestId":70,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.246 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":71,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.249 DEBUG juju.apiserver -> [2E] unit-u-0 3.456889ms {"RequestId":71,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.250 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.871541168 +1000 AEST
[LOG] 0:02.250 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.821541168 +1000 AEST
[LOG] 0:02.250 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":72,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.254 DEBUG juju.apiserver -> [2E] unit-u-0 3.882077ms {"RequestId":72,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.258 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":73,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.261 DEBUG juju.apiserver -> [2E] unit-u-0 2.210593ms {"RequestId":73,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.262 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":74,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.264 DEBUG juju.apiserver -> [2E] unit-u-0 2.049875ms {"RequestId":74,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.265 INFO juju.worker.uniter.operation executing operation "run config-changed hook"
[LOG] 0:02.265 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running config-changed hook
[LOG] 0:02.266 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":75,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:02.271 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.871552754 +1000 AEST
[LOG] 0:02.273 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.273 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.273 INFO juju.lease "u/0" obtained lease for "u-leadership"
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.305 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.921934526 +1000 AEST
[LOG] 0:02.306 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.871934526 +1000 AEST
[LOG] 0:02.323 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.921945902 +1000 AEST
[LOG] 0:02.324 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.324 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.324 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.330 DEBUG juju.apiserver -> [2E] unit-u-0 64.247275ms {"RequestId":75,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:02.352 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:52.972593054 +1000 AEST
[LOG] 0:02.352 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.922593054 +1000 AEST
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.374 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:52.97260403 +1000 AEST
[LOG] 0:02.375 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.376 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.376 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.387 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.024342299 +1000 AEST
[LOG] 0:02.387 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:52.974342299 +1000 AEST
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.423 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "config-changed"]
[LOG] 0:02.423 DEBUG worker.uniter.jujuc hook context id "u/0-config-changed-5886094036284736104"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:02.423 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d config-changed
[LOG] 0:02.425 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.024370646 +1000 AEST
[LOG] 0:02.425 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.426 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.426 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.426 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.426 INFO juju.worker.uniter.operation ran "config-changed" hook
[LOG] 0:02.427 INFO juju.worker.uniter.operation committing operation "run config-changed hook"
[LOG] 0:02.427 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:02.427 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.430 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.435 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.074608739 +1000 AEST
[LOG] 0:02.435 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.024608739 +1000 AEST
[LOG] 0:02.435 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.435 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.435 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.435 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.436 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.436 INFO juju.worker.uniter found queued "start" hook
[LOG] 0:02.436 INFO juju.worker.uniter.operation running operation run start hook
[LOG] 0:02.436 INFO juju.worker.uniter.operation preparing operation "run start hook"
[LOG] 0:02.436 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":76,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.446 DEBUG juju.apiserver -> [2E] unit-u-0 9.685682ms {"RequestId":76,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.448 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":77,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.453 DEBUG juju.apiserver -> [2E] unit-u-0 5.005331ms {"RequestId":77,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.455 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":78,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.458 DEBUG juju.apiserver -> [2E] unit-u-0 3.560319ms {"RequestId":78,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.459 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":79,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.465 DEBUG juju.apiserver -> [2E] unit-u-0 5.827648ms {"RequestId":79,"Response":"'body redacted'"} Uniter[""].EnvironConfig
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.476 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.074615938 +1000 AEST
[LOG] 0:02.476 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.476 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.476 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.477 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":80,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.482 DEBUG juju.apiserver -> [2E] unit-u-0 5.075101ms {"RequestId":80,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.484 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":81,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.487 DEBUG juju.apiserver -> [2E] unit-u-0 3.139316ms {"RequestId":81,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.488 INFO juju.worker.uniter.operation executing operation "run start hook"
[LOG] 0:02.488 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running start hook
[LOG] 0:02.489 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":82,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:02.514 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.125052111 +1000 AEST
[LOG] 0:02.514 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.075052111 +1000 AEST
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.526 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.125063448 +1000 AEST
[LOG] 0:02.527 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.527 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.527 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.545 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.175356851 +1000 AEST
[LOG] 0:02.545 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.125356851 +1000 AEST
[LOG] 0:02.557 DEBUG juju.apiserver -> [2E] unit-u-0 67.781041ms {"RequestId":82,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:02.577 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.175367272 +1000 AEST
[LOG] 0:02.577 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.577 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.577 INFO juju.lease "u/0" obtained lease for "u-leadership"
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.593 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.225713375 +1000 AEST
[LOG] 0:02.593 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.175713375 +1000 AEST
[LOG] 0:02.627 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.225730414 +1000 AEST
[LOG] 0:02.627 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.627 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.627 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:02.630 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "start"]
[LOG] 0:02.630 DEBUG worker.uniter.jujuc hook context id "u/0-start-985438359367228876"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:02.630 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d start
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.640 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.641 INFO juju.worker.uniter.operation ran "start" hook
[LOG] 0:02.641 DEBUG juju.worker.uniter.context [WORKLOAD-STATUS] unknown: 
[LOG] 0:02.643 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.276029712 +1000 AEST
[LOG] 0:02.644 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.226029712 +1000 AEST
[LOG] 0:02.644 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":83,"Type":"Uniter","Version":2,"Request":"SetUnitStatus","Params":"'params redacted'"}
[LOG] 0:02.677 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.276047963 +1000 AEST
[LOG] 0:02.677 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.678 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.678 INFO juju.lease "u/0" obtained lease for "u-leadership"
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.692 DEBUG juju.apiserver -> [2E] unit-u-0 48.938568ms {"RequestId":83,"Response":"'body redacted'"} Uniter[""].SetUnitStatus
[LOG] 0:02.694 INFO juju.worker.uniter.operation committing operation "run start hook"
[LOG] 0:02.694 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.694 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.698 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.699 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.326306294 +1000 AEST
[LOG] 0:02.699 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.276306294 +1000 AEST
[LOG] 0:02.699 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.699 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.699 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.699 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.699 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.699 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:02.699 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.699 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:02.699 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:02.700 INFO juju.worker.uniter waiting to lose leadership
[LOG] 0:02.700 DEBUG juju.worker.uniter.filter want forced upgrade false
[LOG] 0:02.700 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:02.700 DEBUG juju.worker.leadership u/0 got wait request for u leadership loss
[LOG] 0:02.700 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.700 DEBUG juju.worker.leadership waiting for u/0 to lose u leadership
[LOG] 0:02.737 DEBUG juju.worker.uniter [AGENT-STATUS] idle: 
[LOG] 0:02.739 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":84,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:02.763 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.326316474 +1000 AEST
[LOG] 0:02.763 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.764 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.764 INFO juju.lease "u/0" obtained lease for "u-leadership"
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)}
step 1:

uniter_test.forceMinion{}
deposing local unit (attempt 0)
[LOG] 0:02.799 INFO juju.lease "u/0" released lease for namespace "u-leadership"
[LOG] 0:02.800 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.412309954 +1000 AEST
[LOG] 0:02.800 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.362309954 +1000 AEST
[LOG] 0:02.814 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.814 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.827 DEBUG juju.apiserver -> [2E] unit-u-0 87.853952ms {"RequestId":84,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:02.834 INFO juju.lease Notifying namespace "u-leadership" subscribers that its lease has been released.
[LOG] 0:02.834 INFO juju.lease "u/0" obtained lease for "u-leadership"
promoting other unit (attempt 0)
deposing local unit (attempt 1)
[LOG] 0:02.861 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.462651614 +1000 AEST
[LOG] 0:02.861 INFO juju.lease "u/0" released lease for namespace "u-leadership"
[LOG] 0:02.862 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.462639853 +1000 AEST
[LOG] 0:02.862 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.412639853 +1000 AEST
[LOG] 0:02.864 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.864 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.880 INFO juju.lease Notifying namespace "u-leadership" subscribers that its lease has been released.
promoting other unit (attempt 1)
[LOG] 0:02.881 INFO juju.lease "u/0" obtained lease for "u-leadership"
deposing local unit (attempt 2)
[LOG] 0:02.898 INFO juju.lease "u/0" released lease for namespace "u-leadership"
[LOG] 0:02.898 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.512908124 +1000 AEST
[LOG] 0:02.898 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.462908124 +1000 AEST
[LOG] 0:02.915 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.915 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.919 INFO juju.lease Notifying namespace "u-leadership" subscribers that its lease has been released.
[LOG] 0:02.919 INFO juju.lease "u/0" obtained lease for "u-leadership"
promoting other unit (attempt 2)
[LOG] 0:02.942 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.563669573 +1000 AEST
[LOG] 0:02.942 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.513669573 +1000 AEST
[LOG] 0:02.942 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.563690938 +1000 AEST
uniter_test.go:2010:
[LOG] 0:02.966 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:02.966 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:02.966 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:03.006 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.61451923 +1000 AEST
[LOG] 0:03.006 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.56451923 +1000 AEST
[LOG] 0:03.015 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.614531944 +1000 AEST
[LOG] 0:03.016 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:03.016 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:03.016 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:03.026 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.664872798 +1000 AEST
[LOG] 0:03.026 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.614872798 +1000 AEST
[LOG] 0:03.066 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.664880621 +1000 AEST
[LOG] 0:03.066 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:03.066 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:03.066 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:03.078 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.715119024 +1000 AEST
[LOG] 0:03.078 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.665119024 +1000 AEST
    s.runUniterTests(c, []uniterTest{
        ut(
            // NOTE: this is a strange and ugly test, intended to detect what
            // *would* happen if the uniter suddenly failed to renew its lease;
            // it depends on an artificially shortened tracker refresh time to
            // run in a reasonable amount of time.
            "leader-settings-changed triggers when deposed (while running)",
            quickStart{},
            forceMinion{},
            waitHooks{"leader-settings-changed"},
        ),
    })
util_test.go:1448:
[LOG] 0:03.116 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.71512954 +1000 AEST
[LOG] 0:03.117 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:03.117 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:03.117 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:03.127 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.765429019 +1000 AEST
[LOG] 0:03.127 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.715429019 +1000 AEST
[LOG] 0:03.167 DEBUG juju.lease Setting next expiration to 2015-06-24 10:16:53.76543843 +1000 AEST
[LOG] 0:03.167 DEBUG juju.worker.leadership u/0 renewing lease for u leadership
[LOG] 0:03.167 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:03.167 INFO juju.lease "u/0" obtained lease for "u-leadership"
    c.Fatalf("failed to promote a different leader")
... Error: failed to promote a different leader

[LOG] 0:03.175 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:03.176 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:03.182 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:16:53.815709302 +1000 AEST
[LOG] 0:03.182 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:16:53.765709302 +1000 AEST
[LOG] 0:03.182 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:03.182 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:03.183 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":85,"Type":"NotifyWatcher","Id":"9","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.183 DEBUG juju.apiserver -> [2E] unit-u-0 408.009µs {"RequestId":85,"Response":"'body redacted'"} NotifyWatcher["9"].Stop
[LOG] 0:03.183 DEBUG juju.apiserver -> [2E] unit-u-0 1.692761483s {"RequestId":38,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["9"].Next
[LOG] 0:03.185 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":86,"Type":"StringsWatcher","Id":"8","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.186 DEBUG juju.apiserver -> [2E] unit-u-0 646.94µs {"RequestId":86,"Response":"'body redacted'"} StringsWatcher["8"].Stop
[LOG] 0:03.187 DEBUG juju.apiserver -> [2E] unit-u-0 1.700583244s {"RequestId":36,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["8"].Next
[LOG] 0:03.189 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":87,"Type":"NotifyWatcher","Id":"7","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.189 DEBUG juju.apiserver -> [2E] unit-u-0 648.547µs {"RequestId":87,"Response":"'body redacted'"} NotifyWatcher["7"].Stop
[LOG] 0:03.190 DEBUG juju.apiserver -> [2E] unit-u-0 1.707965537s {"RequestId":34,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["7"].Next
[LOG] 0:03.191 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":88,"Type":"NotifyWatcher","Id":"6","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.192 DEBUG juju.apiserver -> [2E] unit-u-0 1.721328985s {"RequestId":31,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["6"].Next
[LOG] 0:03.193 DEBUG juju.apiserver -> [2E] unit-u-0 654.387µs {"RequestId":88,"Response":"'body redacted'"} NotifyWatcher["6"].Stop
[LOG] 0:03.195 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":89,"Type":"StringsWatcher","Id":"4","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.196 DEBUG juju.apiserver -> [2E] unit-u-0 722.338µs {"RequestId":89,"Response":"'body redacted'"} StringsWatcher["4"].Stop
[LOG] 0:03.197 DEBUG juju.apiserver -> [2E] unit-u-0 1.739253807s {"RequestId":28,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["4"].Next
[LOG] 0:03.199 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":90,"Type":"NotifyWatcher","Id":"3","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.200 DEBUG juju.apiserver -> [2E] unit-u-0 754.593µs {"RequestId":90,"Response":"'body redacted'"} NotifyWatcher["3"].Stop
[LOG] 0:03.201 DEBUG juju.apiserver -> [2E] unit-u-0 1.753993679s {"RequestId":25,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["3"].Next
[LOG] 0:03.203 DEBUG juju.apiserver <- [2E] unit-u-0 {"RequestId":91,"Type":"NotifyWatcher","Id":"2","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.203 DEBUG juju.apiserver -> [2E] unit-u-0 682.013µs {"RequestId":91,"Response":"'body redacted'"} NotifyWatcher["2"].Stop
[LOG] 0:03.204 DEBUG juju.apiserver -> [2E] unit-u-0 1.379177813s {"RequestId":58,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:03.205 ERROR juju.worker.uniter.filter tomb: dying
[LOG] 0:03.207 DEBUG juju.apiserver -> [2E] unit-u-0 1.424164732s {"RequestId":50,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["11"].Next
[LOG] 0:03.208 DEBUG juju.apiserver -> [2E] unit-u-0 1.45733391s {"RequestId":48,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["10"].Next
[LOG] 0:03.209 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:03.211 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:03.212 INFO juju.apiserver [2D] user-dummy-admin@local API connection terminated after 2.777647247s
[LOG] 0:03.213 INFO juju.provider.dummy reset environment
[LOG] 0:03.214 INFO juju.apiserver [2E] unit-u-0 API connection terminated after 1.934863294s
[LOG] 0:03.227 INFO juju.testing reset successfully reset admin password
[LOG] 0:03.260 INFO juju.testing reset successfully reset admin password
[LOG] 0:03.263 DEBUG juju.environs.configstore Made dir /tmp/check-6872746867395045491/96/home/ubuntu/.juju/environments
[LOG] 0:03.283 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:03.287 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6872746867395045491/96/home/ubuntu/.juju/environments/dummyenv.jenv
[LOG] 0:03.288 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:03.288 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:03.300 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-precise-amd64
[LOG] 0:03.306 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:03.322 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:03.322 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:03.322 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:03.323 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/99/tools/streams/v1/index2.json"
[LOG] 0:03.326 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc820a203c0]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc820a205a0]}] map[] Wed, 24 Jun 2015 10:16:53 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:03.327 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/99/tools/streams/v1/index2.json"
[LOG] 0:03.328 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/99/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:03.329 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/99/tools/streams/v1/index2.json"
[LOG] 0:03.329 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/99/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:03.330 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/99/tools/streams/v1/index2.json"
[LOG] 0:03.330 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/99/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:03.334 INFO juju.environs.tools Metadata for stream "released" unchanged
[LOG] 0:03.334 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:03.334 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:03.335 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:03.335 DEBUG juju.environs.bootstrap environment "dummyenv" supports service/machine networks: true
[LOG] 0:03.335 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:03.335 DEBUG juju.environs.bootstrap looking for bootstrap tools: version=1.25-alpha1
[LOG] 0:03.335 INFO juju.environs.tools reading tools with major.minor version 1.25
[LOG] 0:03.335 INFO juju.environs.tools filtering tools by version: 1.25-alpha1
[LOG] 0:03.337 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/99/tools/streams/v1/index2.json"
[LOG] 0:03.346 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc820a5e180]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc820a5e540]}] map[] Wed, 24 Jun 2015 10:16:53 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:03.352 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:03.352 INFO juju.provider.dummy would pick tools from 1.25-alpha1-trusty-amd64
[LOG] 0:03.353 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:03.354 INFO juju.state opening state, mongo addresses: ["[::1]:45767" "localhost:45767"]; entity <nil>
[LOG] 0:03.354 DEBUG juju.state dialing mongo
[LOG] 0:03.357 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:03.359 DEBUG juju.state connection established
[LOG] 0:03.366 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:03.411 INFO juju.state starting presence watcher
[LOG] 0:03.414 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:03.489 DEBUG juju.provider.dummy setting password for "dummy-admin" to "dummy-secret"
[LOG] 0:03.496 INFO juju.apiserver listening on "[::]:43354"
[LOG] 0:03.498 INFO juju.environs.bootstrap newest version: 1.25-alpha1
[LOG] 0:03.499 INFO juju.environs.bootstrap picked bootstrap tools version: 1.25-alpha1
[LOG] 0:03.499 INFO juju.state opening state, mongo addresses: ["[::1]:45767" "localhost:45767"]; entity <nil>
[LOG] 0:03.499 DEBUG juju.state dialing mongo
[LOG] 0:03.503 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:03.506 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:03.510 DEBUG juju.state connection established
[LOG] 0:03.567 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:03.574 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:03.576 INFO juju.api dialing "wss://localhost:43354/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:03.649 INFO juju.apiserver [2F] API connection from 127.0.0.1:53939
[LOG] 0:03.650 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:03.650 INFO juju.api connection established to "wss://localhost:43354/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:03.651 DEBUG juju.apiserver <- [2F] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:03.655 DEBUG juju.apiserver hostPorts: []
[LOG] 0:03.656 DEBUG juju.apiserver -> [2F] user-dummy-admin@local 5.377896ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:03.670 DEBUG juju.state setting API hostPorts: [[localhost:43354]]
[LOG] 0:03.677 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:03.681 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6872746867395045491/96/home/ubuntu/.juju/environments/dummyenv.jenv
jenv host ports: [][]network.HostPort{[]network.HostPort{localhost:43354}}
[LOG] 0:03.696 INFO juju.provider.dummy reset environment
[LOG] 0:03.697 INFO juju.apiserver [2F] user-dummy-admin@local API connection terminated after 47.280151ms
[LOG] 0:03.704 INFO juju.testing reset successfully reset admin password
[LOG] 0:03.720 INFO juju.testing reset successfully reset admin password
[LOG] 0:03.726 INFO juju.testing reset successfully reset admin password

----------------------------------------------------------------------
FAIL: uniter_test.go:892: UniterSuite.TestUniterUpgradeConflicts

[LOG] 0:00.027 DEBUG juju.environs.configstore Made dir /tmp/check-6872746867395045491/603/home/ubuntu/.juju/environments
[LOG] 0:00.044 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:00.047 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6872746867395045491/603/home/ubuntu/.juju/environments/dummyenv.jenv
[LOG] 0:00.047 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.047 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:00.051 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-precise-amd64
[LOG] 0:00.055 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:00.066 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.067 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.067 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.069 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/606/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[20150624:0xc82059f140]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc82059f2c0]}] map[] Wed, 24 Jun 2015 10:22:18 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:00.075 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/606/tools/streams/v1/index2.json"
[LOG] 0:00.075 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/606/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.076 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/606/tools/streams/v1/index2.json"
[LOG] 0:00.076 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/606/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.077 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/606/tools/streams/v1/index2.json"
[LOG] 0:00.078 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/606/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.081 INFO juju.environs.tools Metadata for stream "released" unchanged
[LOG] 0:00.081 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.081 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.081 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.082 DEBUG juju.environs.bootstrap environment "dummyenv" supports service/machine networks: true
[LOG] 0:00.082 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.082 DEBUG juju.environs.bootstrap looking for bootstrap tools: version=1.25-alpha1
[LOG] 0:00.082 INFO juju.environs.tools reading tools with major.minor version 1.25
[LOG] 0:00.082 INFO juju.environs.tools filtering tools by version: 1.25-alpha1
[LOG] 0:00.084 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/606/tools/streams/v1/index2.json"
[LOG] 0:00.086 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc82063b020]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc82063b140]}] map[] Wed, 24 Jun 2015 10:22:18 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:00.091 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.091 INFO juju.provider.dummy would pick tools from 1.25-alpha1-trusty-amd64
[LOG] 0:00.091 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:00.091 INFO juju.state opening state, mongo addresses: ["[::1]:45767" "localhost:45767"]; entity <nil>
[LOG] 0:00.092 DEBUG juju.state dialing mongo
[LOG] 0:00.095 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:00.096 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:00.100 DEBUG juju.state connection established
[LOG] 0:00.189 INFO juju.state starting presence watcher
[LOG] 0:00.194 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:00.349 DEBUG juju.provider.dummy setting password for "dummy-admin" to "dummy-secret"
[LOG] 0:00.366 INFO juju.apiserver listening on "[::]:52386"
[LOG] 0:00.370 INFO juju.environs.bootstrap newest version: 1.25-alpha1
[LOG] 0:00.370 INFO juju.environs.bootstrap picked bootstrap tools version: 1.25-alpha1
[LOG] 0:00.371 INFO juju.state opening state, mongo addresses: ["[::1]:45767" "localhost:45767"]; entity <nil>
[LOG] 0:00.371 DEBUG juju.state dialing mongo
[LOG] 0:00.376 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:00.378 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:00.383 DEBUG juju.state connection established
[LOG] 0:00.458 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:00.460 INFO juju.api dialing "wss://localhost:52386/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.531 INFO juju.apiserver [D5] API connection from 127.0.0.1:41443
[LOG] 0:00.531 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:00.531 INFO juju.api connection established to "wss://localhost:52386/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.534 DEBUG juju.apiserver <- [D5] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:00.545 DEBUG juju.apiserver hostPorts: []
[LOG] 0:00.547 DEBUG juju.apiserver -> [D5] user-dummy-admin@local 14.050188ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:00.574 DEBUG juju.state setting API hostPorts: [[localhost:52386]]
[LOG] 0:00.583 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:00.588 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6872746867395045491/603/home/ubuntu/.juju/environments/dummyenv.jenv
jenv host ports: [][]network.HostPort{[]network.HostPort{localhost:52386}}

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))(0x5278d0)}
uniter_test.addCharm{dir:(*charm.CharmDir)(0xc8202c3fc0), curl:(*charm.URL)(0xc82024ccd0)}
[LOG] 0:00.689 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
uniter_test.serveCharm{}
[LOG] 0:00.742 DEBUG juju.storage resource catalog entry created with id "645880b4a2fd27e129f15809e60f42788291e1fc5949dc2e3b79422b3b1c81f5b912befba7ebb2f25006d00a253b5656"
[LOG] 0:00.791 DEBUG juju.storage managed resource entry created with path "environs/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms/wordpress/0" -> "645880b4a2fd27e129f15809e60f42788291e1fc5949dc2e3b79422b3b1c81f5b912befba7ebb2f25006d00a253b5656"
uniter_test.createUniter{minion:false}
uniter_test.ensureStateWorker{}
[LOG] 0:00.981 DEBUG juju.state setting API hostPorts: [[0.1.2.3:1234]]
[LOG] 0:01.000 DEBUG juju.state setting API hostPorts: [[localhost:52386]]
uniter_test.createServiceAndUnit{serviceName:""}
[LOG] 0:01.498 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:01.503 INFO juju.api dialing "wss://localhost:52386/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:01.577 INFO juju.apiserver [D6] API connection from 127.0.0.1:41445
[LOG] 0:01.578 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:01.578 INFO juju.api connection established to "wss://localhost:52386/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:01.579 DEBUG juju.apiserver <- [D6] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:01.598 DEBUG juju.apiserver hostPorts: [[localhost:52386]]
[LOG] 0:01.599 DEBUG juju.apiserver -> [D6] unit-u-0 19.676597ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
API: login as "unit-u-0" successful
uniter_test.startUniter{unitTag:""}
uniter_test.waitAddresses{}
[LOG] 0:01.612 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:01.612 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.612 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.612 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":3,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.618 DEBUG juju.apiserver -> [D6] unit-u-0 5.992201ms {"RequestId":3,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.619 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-6872746867395045491/1/tools/unit-u-0
[LOG] 0:01.620 DEBUG worker.uniter.jujuc jujud path /tmp/check-6872746867395045491/1/tools/unit-u-0/jujud
[LOG] 0:01.621 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":4,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.625 DEBUG juju.apiserver -> [D6] unit-u-0 3.81334ms {"RequestId":4,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.626 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":5,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:01.628 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:23:19.746549509 +1000 AEST
[LOG] 0:01.629 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:22:49.746549509 +1000 AEST
[LOG] 0:01.630 DEBUG juju.apiserver -> [D6] unit-u-0 3.494305ms {"RequestId":5,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:01.631 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":6,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:01.633 DEBUG juju.apiserver -> [D6] unit-u-0 1.961165ms {"RequestId":6,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:01.635 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":7,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.640 DEBUG juju.apiserver -> [D6] unit-u-0 4.785501ms {"RequestId":7,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.642 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":8,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.649 DEBUG juju.apiserver -> [D6] unit-u-0 6.40487ms {"RequestId":8,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.652 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":9,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:01.657 DEBUG juju.apiserver -> [D6] unit-u-0 5.265707ms {"RequestId":9,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:01.660 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":10,"Type":"Uniter","Version":2,"Request":"AssignedMachine","Params":"'params redacted'"}
[LOG] 0:01.662 DEBUG juju.apiserver -> [D6] unit-u-0 2.263345ms {"RequestId":10,"Response":"'body redacted'"} Uniter[""].AssignedMachine
[LOG] 0:01.665 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":11,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
[LOG] 0:01.669 DEBUG juju.apiserver -> [D6] unit-u-0 5.054398ms {"RequestId":11,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
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.672 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":12,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.679 DEBUG juju.apiserver -> [D6] unit-u-0 7.459062ms {"RequestId":12,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.681 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":13,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.685 DEBUG juju.apiserver -> [D6] unit-u-0 3.41734ms {"RequestId":13,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.686 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-6872746867395045491/1/agents/unit-u-0/run.socket
[LOG] 0:01.686 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:01.687 DEBUG juju.worker.uniter juju-run listener running
[LOG] 0:01.688 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":14,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.691 DEBUG juju.apiserver -> [D6] unit-u-0 3.602619ms {"RequestId":14,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.694 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":15,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.699 DEBUG juju.apiserver -> [D6] unit-u-0 4.865801ms {"RequestId":15,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.701 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":16,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:01.705 DEBUG juju.apiserver -> [D6] unit-u-0 3.701603ms {"RequestId":16,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:01.707 DEBUG juju.apiserver <- [D6] 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.734 DEBUG juju.apiserver -> [D6] unit-u-0 26.384639ms {"RequestId":17,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:01.736 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":18,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.742 DEBUG juju.apiserver -> [D6] unit-u-0 5.892505ms {"RequestId":18,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.745 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":19,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.749 DEBUG juju.apiserver -> [D6] unit-u-0 4.557566ms {"RequestId":19,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.752 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":20,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.757 DEBUG juju.apiserver -> [D6] unit-u-0 5.55104ms {"RequestId":20,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.758 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:01.760 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":21,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:01.768 DEBUG juju.apiserver -> [D6] unit-u-0 8.237844ms {"RequestId":21,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:01.771 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":22,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:01.772 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":23,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.781 DEBUG juju.apiserver -> [D6] unit-u-0 9.373385ms {"RequestId":22,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:01.783 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":24,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.785 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":25,"Type":"NotifyWatcher","Id":"3","Request":"Next","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.789 DEBUG juju.apiserver -> [D6] unit-u-0 6.201934ms {"RequestId":24,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.792 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":26,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:01.798 DEBUG juju.apiserver -> [D6] unit-u-0 5.960821ms {"RequestId":26,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:01.801 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":27,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:01.802 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":28,"Type":"StringsWatcher","Id":"4","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.809 DEBUG juju.apiserver -> [D6] unit-u-0 8.106439ms {"RequestId":27,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:01.810 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":29,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.811 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":30,"Type":"StringsWatcher","Id":"5","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.815 DEBUG juju.apiserver -> [D6] unit-u-0 4.851703ms {"RequestId":29,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
[LOG] 0:01.817 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":31,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:01.818 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":32,"Type":"NotifyWatcher","Id":"6","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.822 DEBUG juju.apiserver -> [D6] unit-u-0 5.298656ms {"RequestId":31,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
[LOG] 0:01.824 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":33,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:01.825 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":34,"Type":"NotifyWatcher","Id":"7","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.827 DEBUG juju.apiserver -> [D6] unit-u-0 2.737373ms {"RequestId":33,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:01.829 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":35,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
[LOG] 0:01.830 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":36,"Type":"StringsWatcher","Id":"8","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.832 DEBUG juju.apiserver -> [D6] unit-u-0 2.63656ms {"RequestId":35,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
[LOG] 0:01.833 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:01.834 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":37,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.834 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":38,"Type":"NotifyWatcher","Id":"9","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.838 DEBUG juju.apiserver -> [D6] unit-u-0 4.175073ms {"RequestId":37,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.840 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":39,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.845 DEBUG juju.apiserver -> [D6] unit-u-0 5.608355ms {"RequestId":39,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.846 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:01.847 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:01.847 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:01.847 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:01.847 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:01.847 DEBUG juju.worker.uniter.filter want leader settings event: true
[LOG] 0:01.848 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:01.848 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:01.848 INFO juju.worker.uniter resuming charm install
[LOG] 0:01.848 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:01.848 INFO juju.worker.uniter ModeInstalling cs:quantal/wordpress-0 starting
[LOG] 0:01.848 INFO juju.worker.uniter.operation running operation install cs:quantal/wordpress-0
[LOG] 0:01.848 INFO juju.worker.uniter.operation preparing operation "install cs:quantal/wordpress-0"
[LOG] 0:01.849 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":40,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.850 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":41,"Type":"Uniter","Version":2,"Request":"CharmArchiveURLs","Params":"'params redacted'"}
[LOG] 0:01.852 DEBUG juju.apiserver -> [D6] unit-u-0 2.054778ms {"RequestId":41,"Response":"'body redacted'"} Uniter[""].CharmArchiveURLs
[LOG] 0:01.853 DEBUG juju.apiserver -> [D6] unit-u-0 4.003121ms {"RequestId":40,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.853 INFO juju.worker.uniter.charm downloading cs:quantal/wordpress-0 from https://localhost:52386/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?file=%2A&url=cs%3Aquantal%2Fwordpress-0
[LOG] 0:01.854 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":42,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:01.856 DEBUG juju.apiserver -> [D6] unit-u-0 2.601551ms {"RequestId":42,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:01.857 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:01.859 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":43,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.863 DEBUG juju.apiserver -> [D6] unit-u-0 4.579157ms {"RequestId":43,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:01.864 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:01.864 DEBUG juju.worker.uniter.filter no config change seen yet, skipping config event
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.945 INFO juju.worker.uniter.charm download complete
[LOG] 0:01.946 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":44,"Type":"Uniter","Version":2,"Request":"CharmArchiveSha256","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.950 DEBUG juju.apiserver -> [D6] unit-u-0 4.300842ms {"RequestId":44,"Response":"'body redacted'"} Uniter[""].CharmArchiveSha256
[LOG] 0:01.951 INFO juju.worker.uniter.charm download verified
[LOG] 0:01.955 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-0"
[LOG] 0:01.957 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":45,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:01.996 DEBUG juju.apiserver -> [D6] unit-u-0 39.080686ms {"RequestId":45,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:01.999 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":46,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:01.999 INFO juju.worker.uniter.operation executing operation "install cs:quantal/wordpress-0"
[LOG] 0:01.999 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-0"
[LOG] 0:02.000 DEBUG juju.worker.uniter.charm deploying charm "cs:quantal/wordpress-0"
[LOG] 0:02.005 DEBUG juju.apiserver -> [D6] unit-u-0 6.797909ms {"RequestId":46,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
want unit status "idle", got "allocating"; still waiting
[LOG] 0:02.009 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":47,"Type":"StringsWatcher","Id":"5","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:02.009 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":48,"Type":"NotifyWatcher","Id":"10","Request":"Next","Params":"'params redacted'"}
[LOG] 0:02.009 DEBUG juju.worker.uniter.charm finishing deploy of charm "cs:quantal/wordpress-0"
[LOG] 0:02.010 DEBUG juju.apiserver -> [D6] unit-u-0 1.267881ms {"RequestId":47,"Response":"'body redacted'"} StringsWatcher["5"].Stop
[LOG] 0:02.010 INFO juju.worker.uniter.operation committing operation "install cs:quantal/wordpress-0"
[LOG] 0:02.010 DEBUG juju.apiserver -> [D6] unit-u-0 198.781342ms {"RequestId":30,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["5"].Next
[LOG] 0:02.011 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":49,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:02.014 INFO juju.worker.uniter ModeInstalling cs:quantal/wordpress-0 exiting
[LOG] 0:02.014 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.015 DEBUG juju.apiserver -> [D6] unit-u-0 3.231483ms {"RequestId":49,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:02.015 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:02.015 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:02.015 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:02.016 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:02.016 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":50,"Type":"StringsWatcher","Id":"11","Request":"Next","Params":"'params redacted'"}
[LOG] 0:02.018 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.018 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.018 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.019 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.019 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.019 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.019 INFO juju.worker.uniter found queued "install" hook
[LOG] 0:02.019 INFO juju.worker.uniter.operation running operation run install hook
[LOG] 0:02.019 INFO juju.worker.uniter.operation preparing operation "run install hook"
[LOG] 0:02.020 DEBUG juju.apiserver -> [D6] unit-u-0 247.931553ms {"RequestId":23,"Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:02.022 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":51,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.022 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:02.023 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":52,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:02.024 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":53,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:02.025 DEBUG juju.apiserver -> [D6] unit-u-0 3.533789ms {"RequestId":51,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.026 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":54,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.027 DEBUG juju.apiserver -> [D6] unit-u-0 3.064609ms {"RequestId":53,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:02.028 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":55,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:02.030 DEBUG juju.apiserver -> [D6] unit-u-0 3.756143ms {"RequestId":54,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.030 DEBUG juju.apiserver -> [D6] unit-u-0 2.109488ms {"RequestId":55,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:02.032 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":56,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.035 DEBUG juju.apiserver -> [D6] unit-u-0 3.386495ms {"RequestId":56,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.036 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":57,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.044 DEBUG juju.apiserver -> [D6] unit-u-0 7.330536ms {"RequestId":57,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.050 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":58,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.055 DEBUG juju.apiserver -> [D6] unit-u-0 4.871513ms {"RequestId":58,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.057 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":59,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.062 DEBUG juju.apiserver -> [D6] unit-u-0 5.163579ms {"RequestId":59,"Response":"'body redacted'"} Uniter[""].PrivateAddress
want unit status "idle", got "allocating"; still waiting
[LOG] 0:02.064 INFO juju.worker.uniter.operation executing operation "run install hook"
[LOG] 0:02.064 DEBUG juju.worker.uniter.context [WORKLOAD-STATUS] maintenance: installing charm software
[LOG] 0:02.066 DEBUG juju.apiserver <- [D6] 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.140 DEBUG juju.apiserver -> [D6] unit-u-0 73.863342ms {"RequestId":60,"Response":"'body redacted'"} Uniter[""].SetUnitStatus
[LOG] 0:02.141 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running install hook
[LOG] 0:02.143 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":61,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.225 DEBUG juju.apiserver -> [D6] unit-u-0 82.184421ms {"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.346 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "install"]
[LOG] 0:02.346 DEBUG worker.uniter.jujuc hook context id "u/0-install-5712667510789595133"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:02.347 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d install
[LOG] 0:02.352 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.352 INFO juju.worker.uniter.operation ran "install" hook
[LOG] 0:02.355 INFO juju.worker.uniter.operation committing operation "run install hook"
[LOG] 0:02.355 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.355 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.358 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.358 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.358 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.358 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.358 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.358 INFO juju.worker.uniter.operation running operation accept leadership
[LOG] 0:02.358 INFO juju.worker.uniter.operation preparing operation "accept leadership"
[LOG] 0:02.358 INFO juju.worker.uniter.operation committing operation "accept leadership"
[LOG] 0:02.359 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.359 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.359 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:02.361 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.362 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.362 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.362 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.362 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.362 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.362 INFO juju.worker.uniter found queued "leader-elected" hook
[LOG] 0:02.362 INFO juju.worker.uniter.operation running operation run leader-elected hook
[LOG] 0:02.362 INFO juju.worker.uniter.operation preparing operation "run leader-elected hook"
[LOG] 0:02.364 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":62,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.368 DEBUG juju.apiserver -> [D6] unit-u-0 3.935858ms {"RequestId":62,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.371 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":63,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.383 DEBUG juju.apiserver -> [D6] unit-u-0 12.027117ms {"RequestId":63,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.385 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":64,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.390 DEBUG juju.apiserver -> [D6] unit-u-0 5.248106ms {"RequestId":64,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.392 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":65,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.403 DEBUG juju.apiserver -> [D6] unit-u-0 10.862908ms {"RequestId":65,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.412 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":66,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.416 DEBUG juju.apiserver -> [D6] unit-u-0 4.007497ms {"RequestId":66,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.418 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":67,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.422 DEBUG juju.apiserver -> [D6] unit-u-0 3.782075ms {"RequestId":67,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.423 INFO juju.worker.uniter.operation executing operation "run leader-elected hook"
[LOG] 0:02.424 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running leader-elected hook
[LOG] 0:02.425 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":68,"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:02.501 DEBUG juju.apiserver -> [D6] unit-u-0 76.069104ms {"RequestId":68,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.609 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "leader-elected"]
[LOG] 0:02.609 DEBUG worker.uniter.jujuc hook context id "u/0-leader-elected-4044032184820699384"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:02.609 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d leader-elected
[LOG] 0:02.612 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.613 INFO juju.worker.uniter.operation ran "leader-elected" hook
[LOG] 0:02.614 INFO juju.worker.uniter.operation committing operation "run leader-elected hook"
[LOG] 0:02.615 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.615 INFO juju.worker.uniter ModeContinue starting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.620 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.620 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.620 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.620 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.620 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.620 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.620 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:02.620 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.621 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:02.621 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:02.621 INFO juju.worker.uniter.operation running operation run config-changed hook
[LOG] 0:02.621 INFO juju.worker.uniter.operation preparing operation "run config-changed hook"
[LOG] 0:02.621 DEBUG juju.worker.uniter.filter discarded config event
[LOG] 0:02.622 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":69,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.626 DEBUG juju.apiserver -> [D6] unit-u-0 3.970364ms {"RequestId":69,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.629 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":70,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.634 DEBUG juju.apiserver -> [D6] unit-u-0 4.51536ms {"RequestId":70,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.636 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":71,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.643 DEBUG juju.apiserver -> [D6] unit-u-0 7.436045ms {"RequestId":71,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.646 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":72,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.656 DEBUG juju.apiserver -> [D6] unit-u-0 9.394242ms {"RequestId":72,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.667 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":73,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.673 DEBUG juju.apiserver -> [D6] unit-u-0 6.388909ms {"RequestId":73,"Response":"'body redacted'"} Uniter[""].PublicAddress
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.677 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":74,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.682 DEBUG juju.apiserver -> [D6] unit-u-0 6.400551ms {"RequestId":74,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.684 INFO juju.worker.uniter.operation executing operation "run config-changed hook"
[LOG] 0:02.685 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running config-changed hook
[LOG] 0:02.687 DEBUG juju.apiserver <- [D6] 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.758 DEBUG juju.apiserver -> [D6] unit-u-0 70.811325ms {"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.876 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "config-changed"]
[LOG] 0:02.876 DEBUG worker.uniter.jujuc hook context id "u/0-config-changed-647417696392656048"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:02.876 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d config-changed
[LOG] 0:02.879 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.879 INFO juju.worker.uniter.operation ran "config-changed" hook
[LOG] 0:02.880 INFO juju.worker.uniter.operation committing operation "run config-changed hook"
[LOG] 0:02.881 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:02.881 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.886 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.886 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.886 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.886 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.886 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.888 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.888 INFO juju.worker.uniter found queued "start" hook
[LOG] 0:02.888 INFO juju.worker.uniter.operation running operation run start hook
[LOG] 0:02.888 INFO juju.worker.uniter.operation preparing operation "run start hook"
[LOG] 0:02.890 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":76,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.892 DEBUG juju.apiserver -> [D6] unit-u-0 2.096548ms {"RequestId":76,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.896 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":77,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.902 DEBUG juju.apiserver -> [D6] unit-u-0 5.390524ms {"RequestId":77,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.903 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":78,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.907 DEBUG juju.apiserver -> [D6] unit-u-0 3.834827ms {"RequestId":78,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.909 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":79,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.917 DEBUG juju.apiserver -> [D6] unit-u-0 7.890432ms {"RequestId":79,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.926 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":80,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.931 DEBUG juju.apiserver -> [D6] unit-u-0 5.555069ms {"RequestId":80,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.934 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":81,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.940 DEBUG juju.apiserver -> [D6] unit-u-0 5.812378ms {"RequestId":81,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.942 INFO juju.worker.uniter.operation executing operation "run start hook"
[LOG] 0:02.942 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running start hook
[LOG] 0:02.944 DEBUG juju.apiserver <- [D6] 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.020 DEBUG juju.apiserver -> [D6] unit-u-0 76.178057ms {"RequestId":82,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
[LOG] 0:03.135 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "start"]
[LOG] 0:03.135 DEBUG worker.uniter.jujuc hook context id "u/0-start-36857604934253149"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:03.136 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d start
[LOG] 0:03.140 INFO juju.worker.uniter.context handling reboot
[LOG] 0:03.141 INFO juju.worker.uniter.operation ran "start" hook
[LOG] 0:03.141 DEBUG juju.worker.uniter.context [WORKLOAD-STATUS] unknown: 
[LOG] 0:03.143 DEBUG juju.apiserver <- [D6] 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.233 DEBUG juju.apiserver -> [D6] unit-u-0 89.983594ms {"RequestId":83,"Response":"'body redacted'"} Uniter[""].SetUnitStatus
[LOG] 0:03.237 INFO juju.worker.uniter.operation committing operation "run start hook"
[LOG] 0:03.238 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:03.238 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:03.244 INFO juju.worker.uniter checking leadership status
[LOG] 0:03.244 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:03.244 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:03.244 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:03.244 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:03.244 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:03.244 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:03.244 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:03.244 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:03.244 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:03.245 INFO juju.worker.uniter waiting to lose leadership
[LOG] 0:03.245 DEBUG juju.worker.leadership u/0 got wait request for u leadership loss
[LOG] 0:03.245 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:03.245 DEBUG juju.worker.uniter.filter want forced upgrade false
[LOG] 0:03.246 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:03.246 DEBUG juju.worker.leadership waiting for u/0 to lose u leadership
[LOG] 0:03.246 DEBUG juju.worker.uniter [AGENT-STATUS] idle: 
[LOG] 0:03.248 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":84,"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)(0xc820a77640), curl:(*charm.URL)(0xc82034bdb0)}
[LOG] 0:03.333 DEBUG juju.apiserver -> [D6] unit-u-0 85.556049ms {"RequestId":84,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
uniter_test.serveCharm{}
[LOG] 0:03.417 DEBUG juju.storage resource catalog entry created with id "9307d453c98ed8c9f9c712b99719ee6e8cd0938df2b83c0f8d79cbfa2736a4a669d0037c63061c06fbb84d26776d2250"
[LOG] 0:03.461 DEBUG juju.storage managed resource entry created with path "environs/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms/wordpress/1" -> "9307d453c98ed8c9f9c712b99719ee6e8cd0938df2b83c0f8d79cbfa2736a4a669d0037c63061c06fbb84d26776d2250"
uniter_test.upgradeCharm{revision:1, forced:false}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(0x5207c0), status:"error", info:"upgrade failed", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:03.585 DEBUG juju.apiserver -> [D6] unit-u-0 1.800579942s {"RequestId":25,"Response":"'body redacted'"} NotifyWatcher["3"].Next
[LOG] 0:03.587 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:03.588 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":85,"Type":"NotifyWatcher","Id":"3","Request":"Next","Params":"'params redacted'"}
[LOG] 0:03.590 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":86,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.596 DEBUG juju.apiserver -> [D6] unit-u-0 5.911928ms {"RequestId":86,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.598 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":87,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:03.604 DEBUG juju.apiserver -> [D6] unit-u-0 5.672496ms {"RequestId":87,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:03.605 DEBUG juju.worker.uniter.filter preparing new upgrade event
[LOG] 0:03.606 DEBUG juju.worker.uniter.filter sent upgrade event
[LOG] 0:03.606 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:03.606 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 starting
[LOG] 0:03.606 INFO juju.worker.uniter.operation running operation upgrade to cs:quantal/wordpress-1
[LOG] 0:03.607 INFO juju.worker.uniter.operation preparing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:03.608 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":88,"Type":"Uniter","Version":2,"Request":"CharmArchiveURLs","Params":"'params redacted'"}
[LOG] 0:03.610 DEBUG juju.apiserver -> [D6] unit-u-0 2.219426ms {"RequestId":88,"Response":"'body redacted'"} Uniter[""].CharmArchiveURLs
[LOG] 0:03.612 INFO juju.worker.uniter.charm downloading cs:quantal/wordpress-1 from https://localhost:52386/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.682 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:03.700 INFO juju.worker.uniter.charm download complete
[LOG] 0:03.703 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":89,"Type":"Uniter","Version":2,"Request":"CharmArchiveSha256","Params":"'params redacted'"}
[LOG] 0:03.709 DEBUG juju.apiserver -> [D6] unit-u-0 5.953231ms {"RequestId":89,"Response":"'body redacted'"} Uniter[""].CharmArchiveSha256
[LOG] 0:03.711 INFO juju.worker.uniter.charm download verified
[LOG] 0:03.719 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:03.721 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":90,"Type":"NotifyWatcher","Id":"10","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.722 DEBUG juju.apiserver -> [D6] unit-u-0 1.01143ms {"RequestId":90,"Response":"'body redacted'"} NotifyWatcher["10"].Stop
[LOG] 0:03.722 DEBUG juju.apiserver -> [D6] unit-u-0 1.712910973s {"RequestId":48,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["10"].Next
[LOG] 0:03.726 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":91,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-1", got "cs:quantal/wordpress-0"; still waiting
[LOG] 0:03.739 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
want unit status "error", got "unknown"; still waiting
[LOG] 0:03.795 DEBUG juju.apiserver -> [D6] unit-u-0 69.517446ms {"RequestId":91,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:03.797 INFO juju.worker.uniter.operation executing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:03.797 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":92,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:03.798 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:03.799 ERROR juju.worker.uniter.charm cannot upgrade charm: open /tmp/check-6872746867395045491/1/agents/unit-u-0/charm/.juju-deploying.preparing: permission denied
[LOG] 0:03.799 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 exiting
[LOG] 0:03.799 INFO juju.worker.uniter ModeConflicted starting
[LOG] 0:03.799 DEBUG juju.worker.uniter [AGENT-STATUS] error: upgrade failed
[LOG] 0:03.800 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":93,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:03.800 DEBUG juju.apiserver -> [D6] unit-u-0 3.933648ms {"RequestId":92,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:03.802 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":94,"Type":"StringsWatcher","Id":"11","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.803 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":95,"Type":"NotifyWatcher","Id":"12","Request":"Next","Params":"'params redacted'"}
[LOG] 0:03.804 DEBUG juju.apiserver -> [D6] unit-u-0 1.060257ms {"RequestId":94,"Response":"'body redacted'"} StringsWatcher["11"].Stop
[LOG] 0:03.804 DEBUG juju.apiserver -> [D6] unit-u-0 1.787069163s {"RequestId":50,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["11"].Next
[LOG] 0:03.806 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":96,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:03.808 DEBUG juju.apiserver -> [D6] unit-u-0 1.784975107s {"RequestId":52,"Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:03.810 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":97,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:03.811 DEBUG juju.apiserver -> [D6] unit-u-0 4.927148ms {"RequestId":96,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:03.812 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:03.812 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:03.813 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":98,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.814 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":99,"Type":"StringsWatcher","Id":"13","Request":"Next","Params":"'params redacted'"}
[LOG] 0:03.817 DEBUG juju.apiserver -> [D6] unit-u-0 3.926747ms {"RequestId":98,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.819 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":100,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:03.821 DEBUG juju.apiserver -> [D6] unit-u-0 2.07382ms {"RequestId":100,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:03.821 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:03.821 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:03.821 DEBUG juju.worker.uniter.filter preparing new config event
uniter_test.verifyWaiting{}
uniter_test.stopUniter{err:""}
[LOG] 0:03.875 DEBUG juju.apiserver -> [D6] unit-u-0 74.701945ms {"RequestId":93,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:03.876 DEBUG juju.worker.uniter.filter want resolved event
[LOG] 0:03.876 DEBUG juju.worker.uniter.filter want forced upgrade true
[LOG] 0:03.876 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:03.876 INFO juju.worker.uniter ModeConflicted exiting
[LOG] 0:03.877 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:03.877 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:03.878 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:03.880 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":101,"Type":"NotifyWatcher","Id":"9","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.881 DEBUG juju.apiserver -> [D6] unit-u-0 1.508292ms {"RequestId":101,"Response":"'body redacted'"} NotifyWatcher["9"].Stop
[LOG] 0:03.881 DEBUG juju.apiserver -> [D6] unit-u-0 2.046582506s {"RequestId":38,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["9"].Next
[LOG] 0:03.884 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":102,"Type":"StringsWatcher","Id":"8","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.885 DEBUG juju.apiserver -> [D6] unit-u-0 1.464552ms {"RequestId":102,"Response":"'body redacted'"} StringsWatcher["8"].Stop
[LOG] 0:03.885 DEBUG juju.apiserver -> [D6] unit-u-0 2.05560654s {"RequestId":36,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["8"].Next
[LOG] 0:03.888 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":103,"Type":"NotifyWatcher","Id":"7","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.889 DEBUG juju.apiserver -> [D6] unit-u-0 1.142355ms {"RequestId":103,"Response":"'body redacted'"} NotifyWatcher["7"].Stop
[LOG] 0:03.889 DEBUG juju.apiserver -> [D6] unit-u-0 2.064138675s {"RequestId":34,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["7"].Next
[LOG] 0:03.893 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":104,"Type":"NotifyWatcher","Id":"6","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.893 DEBUG juju.apiserver -> [D6] unit-u-0 699.544µs {"RequestId":104,"Response":"'body redacted'"} NotifyWatcher["6"].Stop
[LOG] 0:03.894 DEBUG juju.apiserver -> [D6] unit-u-0 2.075733899s {"RequestId":32,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["6"].Next
[LOG] 0:03.897 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":105,"Type":"StringsWatcher","Id":"4","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.898 DEBUG juju.apiserver -> [D6] unit-u-0 636.141µs {"RequestId":105,"Response":"'body redacted'"} StringsWatcher["4"].Stop
[LOG] 0:03.898 DEBUG juju.apiserver -> [D6] unit-u-0 2.096146713s {"RequestId":28,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["4"].Next
[LOG] 0:03.902 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":106,"Type":"NotifyWatcher","Id":"3","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.903 DEBUG juju.apiserver -> [D6] unit-u-0 622.534µs {"RequestId":106,"Response":"'body redacted'"} NotifyWatcher["3"].Stop
[LOG] 0:03.903 DEBUG juju.apiserver -> [D6] unit-u-0 314.695554ms {"RequestId":85,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["3"].Next
[LOG] 0:03.906 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":107,"Type":"NotifyWatcher","Id":"2","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.907 DEBUG juju.apiserver -> [D6] unit-u-0 1.156527ms {"RequestId":107,"Response":"'body redacted'"} NotifyWatcher["2"].Stop
[LOG] 0:03.907 DEBUG juju.apiserver -> [D6] unit-u-0 97.689402ms {"RequestId":97,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:03.909 ERROR juju.worker.uniter.filter tomb: dying
uniter_test.startUniter{unitTag:""}
uniter_test.waitHooks{}
[LOG] 0:03.912 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:03.912 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:03.913 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:03.914 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":108,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.919 DEBUG juju.apiserver -> [D6] unit-u-0 4.954613ms {"RequestId":108,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.920 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-6872746867395045491/1/tools/unit-u-0
[LOG] 0:03.920 DEBUG worker.uniter.jujuc jujud path /tmp/check-6872746867395045491/1/tools/unit-u-0/jujud
[LOG] 0:03.922 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":109,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.925 DEBUG juju.apiserver -> [D6] unit-u-0 3.600943ms {"RequestId":109,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.926 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:23:22.047470706 +1000 AEST
[LOG] 0:03.926 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:22:52.047470706 +1000 AEST
[LOG] 0:03.927 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":110,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:03.930 DEBUG juju.apiserver -> [D6] unit-u-0 3.164421ms {"RequestId":110,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:03.932 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":111,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:03.934 DEBUG juju.apiserver -> [D6] unit-u-0 1.890112ms {"RequestId":111,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:03.936 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":112,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.941 DEBUG juju.apiserver -> [D6] unit-u-0 4.527587ms {"RequestId":112,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.944 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":113,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.950 DEBUG juju.apiserver -> [D6] unit-u-0 6.492502ms {"RequestId":113,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.953 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":114,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:03.958 DEBUG juju.apiserver -> [D6] unit-u-0 5.309042ms {"RequestId":114,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:03.965 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":115,"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:03.969 DEBUG juju.apiserver -> [D6] unit-u-0 4.815694ms {"RequestId":115,"Response":"'body redacted'"} Uniter[""].AssignedMachine
[LOG] 0:03.971 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":116,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
[LOG] 0:03.975 DEBUG juju.apiserver -> [D6] unit-u-0 3.455792ms {"RequestId":116,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
[LOG] 0:03.980 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-6872746867395045491/1/agents/unit-u-0/run.socket
[LOG] 0:03.981 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:03.981 DEBUG juju.worker.uniter juju-run listener running
[LOG] 0:03.982 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":117,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.985 DEBUG juju.apiserver -> [D6] unit-u-0 3.469802ms {"RequestId":117,"Response":"'body redacted'"} Uniter[""].Life
step 2:

uniter_test.verifyWaitingUpgradeError{revision:1}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(0x5207c0), status:"error", info:"upgrade failed", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:03.987 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":118,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.991 DEBUG juju.apiserver -> [D6] unit-u-0 4.190628ms {"RequestId":118,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.993 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":119,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:03.995 DEBUG juju.apiserver -> [D6] unit-u-0 1.819587ms {"RequestId":119,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:03.996 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":120,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:03.999 DEBUG juju.apiserver -> [D6] unit-u-0 3.49658ms {"RequestId":120,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.001 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":121,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.004 DEBUG juju.apiserver -> [D6] unit-u-0 3.362517ms {"RequestId":121,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.006 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":122,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.010 DEBUG juju.apiserver -> [D6] unit-u-0 4.007375ms {"RequestId":122,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.012 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":123,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.017 DEBUG juju.apiserver -> [D6] unit-u-0 4.896401ms {"RequestId":123,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.019 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:04.020 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":124,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.025 DEBUG juju.apiserver -> [D6] unit-u-0 5.419368ms {"RequestId":124,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.027 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":125,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.028 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":126,"Type":"NotifyWatcher","Id":"14","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.035 DEBUG juju.apiserver -> [D6] unit-u-0 8.038994ms {"RequestId":125,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.038 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":127,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.039 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":128,"Type":"NotifyWatcher","Id":"15","Request":"Next","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.044 DEBUG juju.apiserver -> [D6] unit-u-0 6.025263ms {"RequestId":127,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.046 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":129,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.050 DEBUG juju.apiserver -> [D6] unit-u-0 4.250702ms {"RequestId":129,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.052 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":130,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:04.053 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":131,"Type":"NotifyWatcher","Id":"16","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.057 DEBUG juju.apiserver -> [D6] unit-u-0 4.79912ms {"RequestId":130,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:04.059 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":132,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.060 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":133,"Type":"StringsWatcher","Id":"17","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.066 DEBUG juju.apiserver -> [D6] unit-u-0 6.540296ms {"RequestId":132,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.068 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":134,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.069 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":135,"Type":"StringsWatcher","Id":"18","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.075 DEBUG juju.apiserver -> [D6] unit-u-0 6.790777ms {"RequestId":134,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
[LOG] 0:04.077 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":136,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:04.079 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":137,"Type":"NotifyWatcher","Id":"19","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.085 DEBUG juju.apiserver -> [D6] unit-u-0 7.258704ms {"RequestId":136,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
[LOG] 0:04.087 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":138,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.088 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":139,"Type":"NotifyWatcher","Id":"20","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.091 DEBUG juju.apiserver -> [D6] unit-u-0 3.742109ms {"RequestId":138,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:04.093 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":140,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
[LOG] 0:04.095 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":141,"Type":"StringsWatcher","Id":"21","Request":"Next","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.101 DEBUG juju.apiserver -> [D6] unit-u-0 7.417504ms {"RequestId":140,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
[LOG] 0:04.102 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.102 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:04.104 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":142,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.106 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":143,"Type":"NotifyWatcher","Id":"22","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.110 DEBUG juju.apiserver -> [D6] unit-u-0 5.872247ms {"RequestId":142,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.111 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:04.111 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.111 DEBUG juju.worker.uniter.filter no address change seen yet, skipping config event
[LOG] 0:04.111 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:04.111 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:04.111 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:04.111 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:04.112 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.112 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:04.112 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.112 INFO juju.worker.uniter resuming charm upgrade
[LOG] 0:04.112 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:04.112 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 starting
[LOG] 0:04.112 INFO juju.worker.uniter.operation running operation upgrade to cs:quantal/wordpress-1
[LOG] 0:04.112 INFO juju.worker.uniter.operation preparing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.113 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":144,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.118 DEBUG juju.apiserver -> [D6] unit-u-0 4.767393ms {"RequestId":144,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.119 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":145,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.121 DEBUG juju.apiserver -> [D6] unit-u-0 1.745925ms {"RequestId":145,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.122 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.123 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":146,"Type":"NotifyWatcher","Id":"16","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.123 DEBUG juju.apiserver -> [D6] unit-u-0 568.974µs {"RequestId":146,"Response":"'body redacted'"} NotifyWatcher["16"].Stop
[LOG] 0:04.124 DEBUG juju.apiserver -> [D6] unit-u-0 70.231397ms {"RequestId":131,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["16"].Next
[LOG] 0:04.126 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":147,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:04.131 DEBUG juju.apiserver -> [D6] unit-u-0 5.030045ms {"RequestId":147,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:04.134 INFO juju.worker.uniter.operation executing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.134 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":148,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.138 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.138 ERROR juju.worker.uniter.charm cannot upgrade charm: open /tmp/check-6872746867395045491/1/agents/unit-u-0/charm/.juju-deploying.preparing: permission denied
[LOG] 0:04.138 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 exiting
[LOG] 0:04.139 INFO juju.worker.uniter ModeConflicted starting
[LOG] 0:04.139 DEBUG juju.worker.uniter [AGENT-STATUS] error: upgrade failed
[LOG] 0:04.141 DEBUG juju.apiserver -> [D6] unit-u-0 7.059074ms {"RequestId":148,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.141 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":149,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:04.143 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":150,"Type":"StringsWatcher","Id":"18","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.144 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":151,"Type":"NotifyWatcher","Id":"23","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.144 DEBUG juju.apiserver -> [D6] unit-u-0 907.806µs {"RequestId":150,"Response":"'body redacted'"} StringsWatcher["18"].Stop
[LOG] 0:04.144 DEBUG juju.apiserver -> [D6] unit-u-0 75.040442ms {"RequestId":135,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["18"].Next
[LOG] 0:04.146 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":152,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.152 DEBUG juju.apiserver -> [D6] unit-u-0 5.728476ms {"RequestId":152,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.153 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.153 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:04.155 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":153,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.155 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":154,"Type":"StringsWatcher","Id":"24","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.160 DEBUG juju.apiserver -> [D6] unit-u-0 5.20306ms {"RequestId":153,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.161 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":155,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.165 DEBUG juju.apiserver -> [D6] unit-u-0 3.992382ms {"RequestId":155,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.167 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.167 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.167 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.167 DEBUG juju.worker.uniter.filter got relations change
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.218 DEBUG juju.apiserver -> [D6] unit-u-0 77.57409ms {"RequestId":149,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:04.219 DEBUG juju.worker.uniter.filter want resolved event
[LOG] 0:04.219 DEBUG juju.worker.uniter.filter want forced upgrade true
[LOG] 0:04.219 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.220 DEBUG juju.worker.uniter.filter sent resolved event
[LOG] 0:04.220 INFO juju.worker.uniter.operation running operation clear resolved flag and continue upgrade to cs:quantal/wordpress-1
[LOG] 0:04.220 INFO juju.worker.uniter.operation preparing operation "clear resolved flag and continue upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.220 DEBUG juju.worker.uniter.filter resolved event handled
[LOG] 0:04.222 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":156,"Type":"Uniter","Version":2,"Request":"ClearResolved","Params":"'params redacted'"}
[LOG] 0:04.235 DEBUG juju.apiserver -> [D6] unit-u-0 13.762122ms {"RequestId":156,"Response":"'body redacted'"} Uniter[""].ClearResolved
[LOG] 0:04.237 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":157,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.242 DEBUG juju.apiserver -> [D6] unit-u-0 4.68634ms {"RequestId":157,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.244 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":158,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.246 DEBUG juju.apiserver -> [D6] unit-u-0 2.460974ms {"RequestId":158,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.247 DEBUG juju.worker.uniter.filter resolved clear completed
[LOG] 0:04.255 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.257 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":159,"Type":"NotifyWatcher","Id":"23","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.258 DEBUG juju.apiserver -> [D6] unit-u-0 1.230523ms {"RequestId":159,"Response":"'body redacted'"} NotifyWatcher["23"].Stop
[LOG] 0:04.258 DEBUG juju.apiserver -> [D6] unit-u-0 114.218751ms {"RequestId":151,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["23"].Next
[LOG] 0:04.262 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":160,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:04.268 DEBUG juju.apiserver -> [D6] unit-u-0 6.150731ms {"RequestId":160,"Response":"'body redacted'"} Uniter[""].SetCharmURL
uniter_test.verifyCharm{revision:0, attemptedRevision:1, checkFiles:filetesting.Entries(nil)}
[LOG] 0:04.270 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":161,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.271 INFO juju.worker.uniter.operation executing operation "clear resolved flag and continue upgrade to cs:quantal/wordpress-1"
uniter_test.stopUniter{err:""}
[LOG] 0:04.275 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.275 ERROR juju.worker.uniter.charm cannot upgrade charm: open /tmp/check-6872746867395045491/1/agents/unit-u-0/charm/.juju-deploying.preparing: permission denied
[LOG] 0:04.275 INFO juju.worker.uniter ModeConflicted exiting
[LOG] 0:04.275 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:04.276 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:04.276 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:04.277 DEBUG juju.apiserver -> [D6] unit-u-0 6.13941ms {"RequestId":161,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.280 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":162,"Type":"StringsWatcher","Id":"24","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.280 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":163,"Type":"NotifyWatcher","Id":"25","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.280 DEBUG juju.apiserver -> [D6] unit-u-0 837.647µs {"RequestId":162,"Response":"'body redacted'"} StringsWatcher["24"].Stop
[LOG] 0:04.281 DEBUG juju.apiserver -> [D6] unit-u-0 125.108427ms {"RequestId":154,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["24"].Next
[LOG] 0:04.283 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":164,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.287 DEBUG juju.apiserver -> [D6] unit-u-0 4.38961ms {"RequestId":164,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.288 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.288 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.288 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.290 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":165,"Type":"NotifyWatcher","Id":"22","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.291 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":166,"Type":"StringsWatcher","Id":"26","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.291 DEBUG juju.apiserver -> [D6] unit-u-0 1.366494ms {"RequestId":165,"Response":"'body redacted'"} NotifyWatcher["22"].Stop
[LOG] 0:04.291 DEBUG juju.apiserver -> [D6] unit-u-0 185.236759ms {"RequestId":143,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["22"].Next
[LOG] 0:04.293 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":167,"Type":"StringsWatcher","Id":"21","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.294 DEBUG juju.apiserver -> [D6] unit-u-0 463.079µs {"RequestId":167,"Response":"'body redacted'"} StringsWatcher["21"].Stop
[LOG] 0:04.294 DEBUG juju.apiserver -> [D6] unit-u-0 199.235951ms {"RequestId":141,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["21"].Next
[LOG] 0:04.297 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":168,"Type":"NotifyWatcher","Id":"20","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.297 DEBUG juju.apiserver -> [D6] unit-u-0 449.21µs {"RequestId":168,"Response":"'body redacted'"} NotifyWatcher["20"].Stop
[LOG] 0:04.298 DEBUG juju.apiserver -> [D6] unit-u-0 209.296097ms {"RequestId":139,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["20"].Next
[LOG] 0:04.300 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":169,"Type":"NotifyWatcher","Id":"19","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.302 DEBUG juju.apiserver -> [D6] unit-u-0 1.233657ms {"RequestId":169,"Response":"'body redacted'"} NotifyWatcher["19"].Stop
[LOG] 0:04.302 DEBUG juju.apiserver -> [D6] unit-u-0 223.246842ms {"RequestId":137,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["19"].Next
[LOG] 0:04.304 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":170,"Type":"StringsWatcher","Id":"17","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.305 DEBUG juju.apiserver -> [D6] unit-u-0 1.094438ms {"RequestId":170,"Response":"'body redacted'"} StringsWatcher["17"].Stop
[LOG] 0:04.306 DEBUG juju.apiserver -> [D6] unit-u-0 245.168232ms {"RequestId":133,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["17"].Next
[LOG] 0:04.308 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":171,"Type":"NotifyWatcher","Id":"15","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.310 DEBUG juju.apiserver -> [D6] unit-u-0 1.122214ms {"RequestId":171,"Response":"'body redacted'"} NotifyWatcher["15"].Stop
[LOG] 0:04.310 DEBUG juju.apiserver -> [D6] unit-u-0 270.982776ms {"RequestId":128,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["15"].Next
[LOG] 0:04.314 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":172,"Type":"NotifyWatcher","Id":"14","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.315 DEBUG juju.apiserver -> [D6] unit-u-0 1.0879ms {"RequestId":172,"Response":"'body redacted'"} NotifyWatcher["14"].Stop
[LOG] 0:04.315 DEBUG juju.apiserver -> [D6] unit-u-0 286.854945ms {"RequestId":126,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["14"].Next
[LOG] 0:04.317 ERROR juju.worker.uniter.filter tomb: dying
uniter_test.custom{f:(func(*check.C, *uniter_test.context))(0x527950)}
uniter_test.startUniter{unitTag:""}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(0x5207c0), status:"error", info:"upgrade failed", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:04.321 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:04.322 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:04.322 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:04.323 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":173,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.329 DEBUG juju.apiserver -> [D6] unit-u-0 6.762076ms {"RequestId":173,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.331 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-6872746867395045491/1/tools/unit-u-0
[LOG] 0:04.331 DEBUG worker.uniter.jujuc jujud path /tmp/check-6872746867395045491/1/tools/unit-u-0/jujud
[LOG] 0:04.334 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":174,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.337 DEBUG juju.apiserver -> [D6] unit-u-0 3.159479ms {"RequestId":174,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.339 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":175,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:04.343 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-06-24 10:23:22.456531929 +1000 AEST
[LOG] 0:04.343 INFO juju.worker.leadership u/0 will renew u leadership at 2015-06-24 10:22:52.456531929 +1000 AEST
[LOG] 0:04.343 DEBUG juju.apiserver -> [D6] unit-u-0 4.382555ms {"RequestId":175,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:04.345 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":176,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.347 DEBUG juju.apiserver -> [D6] unit-u-0 2.190519ms {"RequestId":176,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:04.349 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":177,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.354 DEBUG juju.apiserver -> [D6] unit-u-0 4.532271ms {"RequestId":177,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.356 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":178,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.361 DEBUG juju.apiserver -> [D6] unit-u-0 4.972615ms {"RequestId":178,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.364 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":179,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:04.369 DEBUG juju.apiserver -> [D6] unit-u-0 5.845672ms {"RequestId":179,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:04.372 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":180,"Type":"Uniter","Version":2,"Request":"AssignedMachine","Params":"'params redacted'"}
[LOG] 0:04.375 DEBUG juju.apiserver -> [D6] unit-u-0 3.430336ms {"RequestId":180,"Response":"'body redacted'"} Uniter[""].AssignedMachine
[LOG] 0:04.379 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":181,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
uniter_test.verifyCharm{revision:0, attemptedRevision:1, checkFiles:filetesting.Entries(nil)}
[LOG] 0:04.382 DEBUG juju.apiserver -> [D6] unit-u-0 3.542996ms {"RequestId":181,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
step 3:

uniter_test.fixUpgradeError{}
step 4:

uniter_test.resolveError{resolved:"no-hooks"}
[LOG] 0:04.385 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-6872746867395045491/1/agents/unit-u-0/run.socket
[LOG] 0:04.386 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:04.387 DEBUG juju.worker.uniter juju-run listener running
[LOG] 0:04.388 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":182,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.393 DEBUG juju.apiserver -> [D6] unit-u-0 5.379236ms {"RequestId":182,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.395 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":183,"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.401 DEBUG juju.apiserver -> [D6] unit-u-0 5.682676ms {"RequestId":183,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.402 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":184,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.404 DEBUG juju.apiserver -> [D6] unit-u-0 1.779892ms {"RequestId":184,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.405 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":185,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.411 DEBUG juju.apiserver -> [D6] unit-u-0 5.329637ms {"RequestId":185,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.413 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":186,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.416 DEBUG juju.apiserver -> [D6] unit-u-0 3.090801ms {"RequestId":186,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.418 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":187,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.424 DEBUG juju.apiserver -> [D6] unit-u-0 5.579619ms {"RequestId":187,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.426 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":188,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.433 DEBUG juju.apiserver -> [D6] unit-u-0 6.423589ms {"RequestId":188,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.434 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:04.436 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":189,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.445 DEBUG juju.apiserver -> [D6] unit-u-0 9.0708ms {"RequestId":189,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.448 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":190,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.449 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":191,"Type":"NotifyWatcher","Id":"27","Request":"Next","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.458 DEBUG juju.apiserver -> [D6] unit-u-0 10.390654ms {"RequestId":190,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.461 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":192,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.462 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":193,"Type":"NotifyWatcher","Id":"28","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.467 DEBUG juju.apiserver -> [D6] unit-u-0 6.205408ms {"RequestId":192,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.470 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":194,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.476 DEBUG juju.apiserver -> [D6] unit-u-0 5.742055ms {"RequestId":194,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.479 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":195,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:04.480 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":196,"Type":"NotifyWatcher","Id":"29","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.485 DEBUG juju.apiserver -> [D6] unit-u-0 6.066126ms {"RequestId":195,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:04.488 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":197,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.490 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":198,"Type":"StringsWatcher","Id":"30","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.496 DEBUG juju.apiserver -> [D6] unit-u-0 7.628816ms {"RequestId":197,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.499 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":199,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.499 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":200,"Type":"StringsWatcher","Id":"31","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.504 DEBUG juju.apiserver -> [D6] unit-u-0 5.394346ms {"RequestId":199,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.507 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":201,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:04.508 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":202,"Type":"NotifyWatcher","Id":"32","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.516 DEBUG juju.apiserver -> [D6] unit-u-0 9.08065ms {"RequestId":201,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
[LOG] 0:04.518 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":203,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.519 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":204,"Type":"NotifyWatcher","Id":"33","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.521 DEBUG juju.apiserver -> [D6] unit-u-0 3.314844ms {"RequestId":203,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:04.524 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":205,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
[LOG] 0:04.525 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":206,"Type":"StringsWatcher","Id":"34","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.528 DEBUG juju.apiserver -> [D6] unit-u-0 3.536787ms {"RequestId":205,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
[LOG] 0:04.530 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:04.530 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:04.531 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":207,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.532 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":208,"Type":"NotifyWatcher","Id":"35","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.537 DEBUG juju.apiserver -> [D6] unit-u-0 6.068021ms {"RequestId":207,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.539 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.539 DEBUG juju.worker.uniter.filter no address change seen yet, skipping config event
[LOG] 0:04.539 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.539 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:04.541 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":209,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.546 DEBUG juju.apiserver -> [D6] unit-u-0 5.664708ms {"RequestId":209,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.548 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":210,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.552 DEBUG juju.apiserver -> [D6] unit-u-0 3.905783ms {"RequestId":210,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.553 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.554 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:04.555 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":211,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.562 DEBUG juju.apiserver -> [D6] unit-u-0 6.588736ms {"RequestId":211,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.564 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":212,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.567 DEBUG juju.apiserver -> [D6] unit-u-0 2.836815ms {"RequestId":212,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.569 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:04.569 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:04.569 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:04.569 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.569 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:04.569 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.569 INFO juju.worker.uniter resuming charm upgrade
[LOG] 0:04.569 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:04.569 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 starting
[LOG] 0:04.570 INFO juju.worker.uniter.operation running operation upgrade to cs:quantal/wordpress-1
[LOG] 0:04.570 INFO juju.worker.uniter.operation preparing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.577 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.578 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":213,"Type":"NotifyWatcher","Id":"29","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.578 DEBUG juju.apiserver -> [D6] unit-u-0 696.21µs {"RequestId":213,"Response":"'body redacted'"} NotifyWatcher["29"].Stop
[LOG] 0:04.579 DEBUG juju.apiserver -> [D6] unit-u-0 98.480174ms {"RequestId":196,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["29"].Next
[LOG] 0:04.580 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":214,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:04.586 DEBUG juju.apiserver -> [D6] unit-u-0 6.156596ms {"RequestId":214,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:04.588 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":215,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.589 INFO juju.worker.uniter.operation executing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.591 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.591 DEBUG juju.worker.uniter.charm deploying charm "cs:quantal/wordpress-1"
[LOG] 0:04.592 DEBUG juju.apiserver -> [D6] unit-u-0 3.647485ms {"RequestId":215,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.593 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":216,"Type":"StringsWatcher","Id":"31","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.594 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":217,"Type":"NotifyWatcher","Id":"36","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.594 DEBUG juju.apiserver -> [D6] unit-u-0 856.926µs {"RequestId":216,"Response":"'body redacted'"} StringsWatcher["31"].Stop
[LOG] 0:04.594 DEBUG juju.apiserver -> [D6] unit-u-0 94.914587ms {"RequestId":200,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["31"].Next
[LOG] 0:04.596 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":218,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.599 DEBUG juju.worker.uniter.charm finishing deploy of charm "cs:quantal/wordpress-1"
[LOG] 0:04.599 INFO juju.worker.uniter.operation committing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.600 DEBUG juju.apiserver -> [D6] unit-u-0 3.671684ms {"RequestId":218,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.600 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.601 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.601 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.601 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.601 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 exiting
[LOG] 0:04.601 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.602 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":219,"Type":"StringsWatcher","Id":"37","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.603 INFO juju.worker.uniter checking leadership status
[LOG] 0:04.603 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:04.603 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:04.603 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:04.603 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:04.603 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:04.604 INFO juju.worker.uniter found queued "upgrade-charm" hook
[LOG] 0:04.604 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":220,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.606 DEBUG juju.apiserver -> [D6] unit-u-0 1.920057ms {"RequestId":220,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:04.608 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":221,"Type":"Uniter","Version":2,"Request":"StorageAttachmentLife","Params":"'params redacted'"}
[LOG] 0:04.608 DEBUG juju.apiserver -> [D6] unit-u-0 269.192µs {"RequestId":221,"Response":"'body redacted'"} Uniter[""].StorageAttachmentLife
[LOG] 0:04.609 INFO juju.worker.uniter.operation running operation run upgrade-charm hook
[LOG] 0:04.609 INFO juju.worker.uniter.operation preparing operation "run upgrade-charm hook"
[LOG] 0:04.609 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":222,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:04.612 DEBUG juju.apiserver -> [D6] unit-u-0 2.360754ms {"RequestId":222,"Response":"'body redacted'"} Uniter[""].APIAddresses
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.613 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":223,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:04.619 DEBUG juju.apiserver -> [D6] unit-u-0 5.579419ms {"RequestId":223,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:04.621 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":224,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.628 DEBUG juju.apiserver -> [D6] unit-u-0 6.785921ms {"RequestId":224,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.630 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":225,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:04.637 DEBUG juju.apiserver -> [D6] unit-u-0 6.991285ms {"RequestId":225,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:04.647 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":226,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:04.652 DEBUG juju.apiserver -> [D6] unit-u-0 4.142096ms {"RequestId":226,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:04.654 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":227,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:04.657 DEBUG juju.apiserver -> [D6] unit-u-0 2.476826ms {"RequestId":227,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:04.659 INFO juju.worker.uniter.operation executing operation "run upgrade-charm hook"
[LOG] 0:04.659 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running upgrade-charm hook
[LOG] 0:04.660 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":228,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.741 DEBUG juju.apiserver -> [D6] unit-u-0 80.471943ms {"RequestId":228,"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:04.862 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "upgrade-charm"]
[LOG] 0:04.862 DEBUG worker.uniter.jujuc hook context id "u/0-upgrade-charm-3550172696827944846"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:04.862 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d upgrade-charm
[LOG] 0:04.867 INFO juju.worker.uniter.context handling reboot
[LOG] 0:04.867 INFO juju.worker.uniter.operation ran "upgrade-charm" hook
[LOG] 0:04.869 INFO juju.worker.uniter.operation committing operation "run upgrade-charm hook"
[LOG] 0:04.870 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:04.871 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.875 INFO juju.worker.uniter checking leadership status
[LOG] 0:04.876 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:04.876 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:04.876 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:04.876 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:04.876 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:04.876 INFO juju.worker.uniter found queued "config-changed" hook
[LOG] 0:04.876 INFO juju.worker.uniter.operation running operation run config-changed hook
[LOG] 0:04.876 INFO juju.worker.uniter.operation preparing operation "run config-changed hook"
[LOG] 0:04.876 DEBUG juju.worker.uniter.filter discarded config event
[LOG] 0:04.878 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":229,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
[LOG] 0:04.880 DEBUG juju.apiserver -> [D6] unit-u-0 2.732298ms {"RequestId":229,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:04.883 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":230,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:04.889 DEBUG juju.apiserver -> [D6] unit-u-0 7.147626ms {"RequestId":230,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:04.891 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":231,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.895 DEBUG juju.apiserver -> [D6] unit-u-0 3.730243ms {"RequestId":231,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.896 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":232,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:04.906 DEBUG juju.apiserver -> [D6] unit-u-0 9.627123ms {"RequestId":232,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:04.918 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":233,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:04.924 DEBUG juju.apiserver -> [D6] unit-u-0 6.424522ms {"RequestId":233,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:04.927 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":234,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:04.932 DEBUG juju.apiserver -> [D6] unit-u-0 4.855733ms {"RequestId":234,"Response":"'body redacted'"} Uniter[""].PrivateAddress
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
[LOG] 0:04.934 INFO juju.worker.uniter.operation executing operation "run config-changed hook"
[LOG] 0:04.935 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running config-changed hook
[LOG] 0:04.936 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":235,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
[LOG] 0:05.033 DEBUG juju.apiserver -> [D6] unit-u-0 96.646974ms {"RequestId":235,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
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.147 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "config-changed"]
[LOG] 0:05.148 DEBUG worker.uniter.jujuc hook context id "u/0-config-changed-5906626360623192408"; dir "/tmp/check-6872746867395045491/1/agents/unit-u-0/charm"
[LOG] 0:05.148 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d config-changed
[LOG] 0:05.152 INFO juju.worker.uniter.context handling reboot
[LOG] 0:05.152 INFO juju.worker.uniter.operation ran "config-changed" hook
[LOG] 0:05.154 INFO juju.worker.uniter.operation committing operation "run config-changed hook"
[LOG] 0:05.155 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:05.156 INFO juju.worker.uniter ModeContinue starting
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:""}
[LOG] 0:05.162 INFO juju.worker.uniter checking leadership status
[LOG] 0:05.162 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:05.162 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:05.162 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:05.162 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:05.163 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:05.163 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:05.163 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:05.163 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:05.163 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:05.163 INFO juju.worker.uniter waiting to lose leadership
[LOG] 0:05.163 DEBUG juju.worker.uniter.filter want forced upgrade false
[LOG] 0:05.163 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:05.164 DEBUG juju.worker.leadership u/0 got wait request for u leadership loss
[LOG] 0:05.164 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:05.164 DEBUG juju.worker.leadership waiting for u/0 to lose u leadership
[LOG] 0:05.165 DEBUG juju.worker.uniter [AGENT-STATUS] idle: 
[LOG] 0:05.165 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":236,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:05.251 DEBUG juju.apiserver -> [D6] unit-u-0 84.970407ms {"RequestId":236,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:05.386 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
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:964:
    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:737:
    c.Fatalf("never reached desired status")
... Error: never reached desired status

[LOG] 0:15.250 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:15.250 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:15.250 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:15.250 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:15.251 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":237,"Type":"NotifyWatcher","Id":"35","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.253 DEBUG juju.apiserver -> [D6] unit-u-0 10.72087814s {"RequestId":208,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["35"].Next
[LOG] 0:15.254 DEBUG juju.apiserver -> [D6] unit-u-0 1.921561ms {"RequestId":237,"Response":"'body redacted'"} NotifyWatcher["35"].Stop
[LOG] 0:15.258 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":238,"Type":"StringsWatcher","Id":"34","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.259 DEBUG juju.apiserver -> [D6] unit-u-0 1.431373ms {"RequestId":238,"Response":"'body redacted'"} StringsWatcher["34"].Stop
[LOG] 0:15.259 DEBUG juju.apiserver -> [D6] unit-u-0 10.734080265s {"RequestId":206,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["34"].Next
[LOG] 0:15.262 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":239,"Type":"NotifyWatcher","Id":"33","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.262 DEBUG juju.apiserver -> [D6] unit-u-0 642.209µs {"RequestId":239,"Response":"'body redacted'"} NotifyWatcher["33"].Stop
[LOG] 0:15.263 DEBUG juju.apiserver -> [D6] unit-u-0 10.743609536s {"RequestId":204,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["33"].Next
[LOG] 0:15.265 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":240,"Type":"NotifyWatcher","Id":"32","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.266 DEBUG juju.apiserver -> [D6] unit-u-0 1.516358ms {"RequestId":240,"Response":"'body redacted'"} NotifyWatcher["32"].Stop
[LOG] 0:15.266 DEBUG juju.apiserver -> [D6] unit-u-0 10.758277694s {"RequestId":202,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["32"].Next
[LOG] 0:15.269 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":241,"Type":"StringsWatcher","Id":"30","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.271 DEBUG juju.apiserver -> [D6] unit-u-0 1.457673ms {"RequestId":241,"Response":"'body redacted'"} StringsWatcher["30"].Stop
[LOG] 0:15.271 DEBUG juju.apiserver -> [D6] unit-u-0 10.780952874s {"RequestId":198,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["30"].Next
[LOG] 0:15.274 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":242,"Type":"NotifyWatcher","Id":"28","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.276 DEBUG juju.apiserver -> [D6] unit-u-0 1.181243ms {"RequestId":242,"Response":"'body redacted'"} NotifyWatcher["28"].Stop
[LOG] 0:15.276 DEBUG juju.apiserver -> [D6] unit-u-0 10.813695715s {"RequestId":193,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["28"].Next
[LOG] 0:15.279 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":243,"Type":"NotifyWatcher","Id":"27","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.281 DEBUG juju.apiserver -> [D6] unit-u-0 1.235378ms {"RequestId":243,"Response":"'body redacted'"} NotifyWatcher["27"].Stop
[LOG] 0:15.281 DEBUG juju.apiserver -> [D6] unit-u-0 10.831744862s {"RequestId":191,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["27"].Next
[LOG] 0:15.283 ERROR juju.worker.uniter.filter tomb: dying
[LOG] 0:15.285 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.285 DEBUG juju.apiserver -> [D6] unit-u-0 10.683147258s {"RequestId":219,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["37"].Next
[LOG] 0:15.285 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.286 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.286 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.287 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.287 DEBUG juju.apiserver -> [D6] unit-u-0 10.69278219s {"RequestId":217,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["36"].Next
[LOG] 0:15.288 ERROR juju.rpc error writing response: write tcp 127.0.0.1:52386->127.0.0.1:41445: write: broken pipe
[LOG] 0:15.288 INFO juju.apiserver [D5] user-dummy-admin@local API connection terminated after 14.75677041s
[LOG] 0:15.288 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.289 DEBUG juju.apiserver -> [D6] unit-u-0 11.008203012s {"RequestId":163,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["25"].Next
[LOG] 0:15.289 ERROR juju.rpc error writing response: write tcp 127.0.0.1:52386->127.0.0.1:41445: write: broken pipe
[LOG] 0:15.290 DEBUG juju.apiserver -> [D6] unit-u-0 10.99879438s {"RequestId":166,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["26"].Next
[LOG] 0:15.290 ERROR juju.rpc error writing response: write tcp 127.0.0.1:52386->127.0.0.1:41445: write: broken pipe
[LOG] 0:15.290 DEBUG juju.apiserver -> [D6] unit-u-0 11.47637372s {"RequestId":99,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["13"].Next
[LOG] 0:15.290 INFO juju.provider.dummy reset environment
[LOG] 0:15.291 ERROR juju.rpc error writing response: write tcp 127.0.0.1:52386->127.0.0.1:41445: write: broken pipe
[LOG] 0:15.291 DEBUG juju.apiserver -> [D6] unit-u-0 11.487940265s {"RequestId":95,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["12"].Next
[LOG] 0:15.291 ERROR juju.rpc error writing response: write tcp 127.0.0.1:52386->127.0.0.1:41445: write: broken pipe
[LOG] 0:15.294 INFO juju.rpc error closing codec: write tcp 127.0.0.1:52386->127.0.0.1:41445: write: broken pipe
[LOG] 0:15.294 INFO juju.apiserver [D6] unit-u-0 API connection terminated after 13.716502305s
[LOG] 0:15.305 INFO juju.testing reset successfully reset admin password
[LOG] 0:15.340 INFO juju.testing reset successfully reset admin password
[LOG] 0:15.345 DEBUG juju.environs.configstore Made dir /tmp/check-6872746867395045491/609/home/ubuntu/.juju/environments
[LOG] 0:15.363 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:15.365 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6872746867395045491/609/home/ubuntu/.juju/environments/dummyenv.jenv
[LOG] 0:15.366 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:15.366 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:15.370 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-precise-amd64
[LOG] 0:15.374 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:15.384 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:15.384 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:15.384 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:15.385 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/612/tools/streams/v1/index2.json"
[LOG] 0:15.387 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc82001f020]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc82001f1a0]}] map[] Wed, 24 Jun 2015 10:22:33 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:15.388 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/612/tools/streams/v1/index2.json"
[LOG] 0:15.388 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/612/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:15.389 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/612/tools/streams/v1/index2.json"
[LOG] 0:15.389 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/612/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:15.390 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/612/tools/streams/v1/index2.json"
[LOG] 0:15.390 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6872746867395045491/612/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:15.393 INFO juju.environs.tools Metadata for stream "released" unchanged
[LOG] 0:15.393 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:15.393 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:15.394 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:15.394 DEBUG juju.environs.bootstrap environment "dummyenv" supports service/machine networks: true
[LOG] 0:15.394 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:15.394 DEBUG juju.environs.bootstrap looking for bootstrap tools: version=1.25-alpha1
[LOG] 0:15.394 INFO juju.environs.tools reading tools with major.minor version 1.25
[LOG] 0:15.394 INFO juju.environs.tools filtering tools by version: 1.25-alpha1
[LOG] 0:15.396 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6872746867395045491/612/tools/streams/v1/index2.json"
[LOG] 0:15.398 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc820abf2c0]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150624:0xc820abf3e0]}] map[] Wed, 24 Jun 2015 10:22:33 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:15.402 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:15.402 INFO juju.provider.dummy would pick tools from 1.25-alpha1-trusty-amd64
[LOG] 0:15.403 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:15.403 INFO juju.state opening state, mongo addresses: ["[::1]:45767" "localhost:45767"]; entity <nil>
[LOG] 0:15.403 DEBUG juju.state dialing mongo
[LOG] 0:15.411 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:15.411 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:15.414 DEBUG juju.state connection established
[LOG] 0:15.522 INFO juju.state starting presence watcher
[LOG] 0:15.528 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:15.686 DEBUG juju.provider.dummy setting password for "dummy-admin" to "dummy-secret"
[LOG] 0:15.705 INFO juju.apiserver listening on "[::]:59817"
[LOG] 0:15.710 INFO juju.environs.bootstrap newest version: 1.25-alpha1
[LOG] 0:15.710 INFO juju.environs.bootstrap picked bootstrap tools version: 1.25-alpha1
[LOG] 0:15.711 INFO juju.state opening state, mongo addresses: ["[::1]:45767" "localhost:45767"]; entity <nil>
[LOG] 0:15.711 DEBUG juju.state dialing mongo
[LOG] 0:15.716 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:45767"
[LOG] 0:15.722 INFO juju.mongo dialled mongo successfully on address "[::1]:45767"
[LOG] 0:15.725 DEBUG juju.state connection established
[LOG] 0:15.790 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:15.792 INFO juju.api dialing "wss://localhost:59817/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:15.859 INFO juju.apiserver [D7] API connection from 127.0.0.1:53249
[LOG] 0:15.859 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:15.860 INFO juju.api connection established to "wss://localhost:59817/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:15.862 DEBUG juju.apiserver <- [D7] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:15.871 DEBUG juju.apiserver hostPorts: []
[LOG] 0:15.873 DEBUG juju.apiserver -> [D7] user-dummy-admin@local 11.313567ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:15.895 DEBUG juju.state setting API hostPorts: [[localhost:59817]]
[LOG] 0:15.900 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:15.905 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6872746867395045491/609/home/ubuntu/.juju/environments/dummyenv.jenv
jenv host ports: [][]network.HostPort{[]network.HostPort{localhost:59817}}
[LOG] 0:15.923 INFO juju.apiserver [D7] user-dummy-admin@local API connection terminated after 64.319929ms
[LOG] 0:15.925 INFO juju.provider.dummy reset environment
[LOG] 0:15.940 INFO juju.testing reset successfully reset admin password
[LOG] 0:15.969 INFO juju.testing reset successfully reset admin password
[LOG] 0:15.983 INFO juju.testing reset successfully reset admin password
2015-06-24 00:23:37 WARNING juju.worker.uniter upgrade123.go:26 no uniter state file found for unit unit-mysql-0, skipping uniter upgrade step
OOPS: 46 passed, 2 FAILED
--- FAIL: TestPackage (502.53s)
FAIL
FAIL	github.com/juju/juju/worker/uniter	502.857s
ok  	github.com/juju/juju/worker/uniter/charm	12.188s
ok  	github.com/juju/juju/worker/uniter/filter	34.126s
ok  	github.com/juju/juju/worker/uniter/hook	1.845s
?   	github.com/juju/juju/worker/uniter/hook/hooktesting	[no test files]
ok  	github.com/juju/juju/worker/uniter/operation	1.595s
ok  	github.com/juju/juju/worker/uniter/relation	1.459s
ok  	github.com/juju/juju/worker/uniter/runner	196.701s
ok  	github.com/juju/juju/worker/uniter/runner/debug	1.499s
ok  	github.com/juju/juju/worker/uniter/runner/jujuc	1.963s
?   	github.com/juju/juju/worker/uniter/runner/jujuc/testing	[no test files]
ok  	github.com/juju/juju/worker/uniter/storage	1.831s
ok  	github.com/juju/juju/worker/upgrader	11.310s
ok  	github.com/juju/juju/worker/util	1.097s
ok  	github.com/juju/juju/wrench	1.240s
Download as text