Ubuntu Pastebin

Paste from dfc at Wed, 1 Jul 2015 01:35:05 +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
ok  	github.com/juju/juju	1.052s
ok  	github.com/juju/juju/agent	6.183s
ok  	github.com/juju/juju/agent/tools	2.026s
==================
WARNING: DATA RACE
Read by goroutine 84:
  sync.raceRead()
      /home/dfc/go/src/sync/race.go:37 +0x2e
  sync.(*WaitGroup).Add()
      /home/dfc/go/src/sync/waitgroup.go:66 +0xfa
  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:1355 +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:1795 +0x206
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1294 +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:124 +0xf9
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:405 +0xed8

Goroutine 84 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +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 +0xa5d
  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 +0x180b
  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:721 +0x1b8
  gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
      /home/dfc/src/gopkg.in/check.v1/check.go:666 +0x80
==================
OK: 63 passed
PASS
Found 1 data race(s)
FAIL	github.com/juju/juju/api	34.995s
ok  	github.com/juju/juju/api/action	2.429s
ok  	github.com/juju/juju/api/agent	7.809s
ok  	github.com/juju/juju/api/annotations	1.389s
ok  	github.com/juju/juju/api/backups	8.089s
?   	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.192s
ok  	github.com/juju/juju/api/charmrevisionupdater	3.920s
ok  	github.com/juju/juju/api/charms	1.206s
ok  	github.com/juju/juju/api/cleaner	1.492s
?   	github.com/juju/juju/api/common	[no test files]
ok  	github.com/juju/juju/api/deployer	19.021s
ok  	github.com/juju/juju/api/diskmanager	1.187s
ok  	github.com/juju/juju/api/environment	3.398s
ok  	github.com/juju/juju/api/environmentmanager	6.284s
ok  	github.com/juju/juju/api/firewaller	34.236s
ok  	github.com/juju/juju/api/highavailability	4.078s
?   	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.205s
ok  	github.com/juju/juju/api/instancepoller	1.413s
ok  	github.com/juju/juju/api/keymanager	8.136s
ok  	github.com/juju/juju/api/keyupdater	4.885s
ok  	github.com/juju/juju/api/leadership	1.067s
ok  	github.com/juju/juju/api/logger	4.173s
ok  	github.com/juju/juju/api/machinemanager	1.305s
ok  	github.com/juju/juju/api/machiner	10.904s
ok  	github.com/juju/juju/api/metricsmanager	2.963s
ok  	github.com/juju/juju/api/networker	9.591s
ok  	github.com/juju/juju/api/provisioner	38.310s
ok  	github.com/juju/juju/api/reboot	7.736s
ok  	github.com/juju/juju/api/resumer	1.178s
ok  	github.com/juju/juju/api/rsyslog	3.316s
ok  	github.com/juju/juju/api/service	3.900s
ok  	github.com/juju/juju/api/storage	1.327s
ok  	github.com/juju/juju/api/storageprovisioner	1.347s
?   	github.com/juju/juju/api/testing	[no test files]
ok  	github.com/juju/juju/api/uniter	148.374s
ok  	github.com/juju/juju/api/upgrader	23.227s
ok  	github.com/juju/juju/api/usermanager	9.559s
ok  	github.com/juju/juju/api/watcher	7.786s
ok  	github.com/juju/juju/apiserver	284.240s
ok  	github.com/juju/juju/apiserver/action	15.550s
ok  	github.com/juju/juju/apiserver/agent	13.730s
ok  	github.com/juju/juju/apiserver/annotations	8.793s
ok  	github.com/juju/juju/apiserver/authentication	9.966s
ok  	github.com/juju/juju/apiserver/backups	9.149s
ok  	github.com/juju/juju/apiserver/block	3.941s
ok  	github.com/juju/juju/apiserver/charmrevisionupdater	11.490s
?   	github.com/juju/juju/apiserver/charmrevisionupdater/testing	[no test files]
ok  	github.com/juju/juju/apiserver/charms	7.194s
ok  	github.com/juju/juju/apiserver/cleaner	1.384s
ok  	github.com/juju/juju/apiserver/client	336.992s
ok  	github.com/juju/juju/apiserver/common	12.458s
?   	github.com/juju/juju/apiserver/common/testing	[no test files]
ok  	github.com/juju/juju/apiserver/deployer	14.114s
ok  	github.com/juju/juju/apiserver/diskmanager	1.278s
ok  	github.com/juju/juju/apiserver/environment	2.735s
ok  	github.com/juju/juju/apiserver/environmentmanager	11.045s
ok  	github.com/juju/juju/apiserver/firewaller	21.111s
ok  	github.com/juju/juju/apiserver/highavailability	9.653s
ok  	github.com/juju/juju/apiserver/http	1.432s
?   	github.com/juju/juju/apiserver/http/testing	[no test files]
ok  	github.com/juju/juju/apiserver/imagemanager	5.578s
ok  	github.com/juju/juju/apiserver/instancepoller	1.505s
ok  	github.com/juju/juju/apiserver/keymanager	9.795s
?   	github.com/juju/juju/apiserver/keymanager/testing	[no test files]
ok  	github.com/juju/juju/apiserver/keyupdater	5.386s
ok  	github.com/juju/juju/apiserver/leadership	1.048s
ok  	github.com/juju/juju/apiserver/logger	5.953s
ok  	github.com/juju/juju/apiserver/machine	6.003s
ok  	github.com/juju/juju/apiserver/machinemanager	1.241s
ok  	github.com/juju/juju/apiserver/meterstatus	1.035s
ok  	github.com/juju/juju/apiserver/metricsender	24.674s
?   	github.com/juju/juju/apiserver/metricsender/testing	[no test files]
ok  	github.com/juju/juju/apiserver/metricsender/wireformat	3.131s
ok  	github.com/juju/juju/apiserver/metricsmanager	11.791s
ok  	github.com/juju/juju/apiserver/networker	8.839s
ok  	github.com/juju/juju/apiserver/params	1.642s
ok  	github.com/juju/juju/apiserver/provisioner	83.758s
ok  	github.com/juju/juju/apiserver/reboot	9.099s
ok  	github.com/juju/juju/apiserver/resumer	1.343s
ok  	github.com/juju/juju/apiserver/rsyslog	7.491s
ok  	github.com/juju/juju/apiserver/service	14.358s
ok  	github.com/juju/juju/apiserver/storage	1.577s
ok  	github.com/juju/juju/apiserver/storageprovisioner	34.085s
?   	github.com/juju/juju/apiserver/testing	[no test files]
ok  	github.com/juju/juju/apiserver/uniter	295.013s
ok  	github.com/juju/juju/apiserver/upgrader	28.897s
ok  	github.com/juju/juju/apiserver/usermanager	12.492s
ok  	github.com/juju/juju/audit	1.084s
ok  	github.com/juju/juju/bzr	9.976s
ok  	github.com/juju/juju/cert	8.400s
ok  	github.com/juju/juju/cloudconfig	2.961s
ok  	github.com/juju/juju/cloudconfig/cloudinit	5.121s
ok  	github.com/juju/juju/cloudconfig/containerinit	1.316s
ok  	github.com/juju/juju/cloudconfig/instancecfg	1.320s
ok  	github.com/juju/juju/cloudconfig/providerinit	2.931s
?   	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.370s
ok  	github.com/juju/juju/cmd/juju	2402.784s
ok  	github.com/juju/juju/cmd/juju/action	19.638s
ok  	github.com/juju/juju/cmd/juju/backups	1.660s
ok  	github.com/juju/juju/cmd/juju/block	1.404s
ok  	github.com/juju/juju/cmd/juju/cachedimages	1.274s
ok  	github.com/juju/juju/cmd/juju/common	1.327s
ok  	github.com/juju/juju/cmd/juju/environment	1.602s
ok  	github.com/juju/juju/cmd/juju/machine	1.387s
ok  	github.com/juju/juju/cmd/juju/service	1.698s
ok  	github.com/juju/juju/cmd/juju/storage	1.523s
ok  	github.com/juju/juju/cmd/juju/user	1.575s
ok  	github.com/juju/juju/cmd/jujud	17.113s
==================
WARNING: DATA RACE
Read by goroutine 359:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 212:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x836
  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 359 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 212 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 359:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 212:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7dc
  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 359 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 212 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 359:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 212:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7dc
  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 359 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 212 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 359:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 212:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7dc
  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 359 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 212 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 359:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 212:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7dc
  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 359 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 212 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
OK: 103 passed, 1 skipped
PASS
Found 5 data race(s)
FAIL	github.com/juju/juju/cmd/jujud/agent	217.197s
?   	github.com/juju/juju/cmd/jujud/agent/testing	[no test files]
ok  	github.com/juju/juju/cmd/jujud/reboot	13.840s
ok  	github.com/juju/juju/cmd/jujud/util	1.311s
ok  	github.com/juju/juju/cmd/plugins/juju-metadata	26.764s
?   	github.com/juju/juju/cmd/plugins/juju-restore	[no test files]
ok  	github.com/juju/juju/cmd/plugins/local	1.373s
?   	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.096s
ok  	github.com/juju/juju/container	1.749s
ok  	github.com/juju/juju/container/factory	1.205s
ok  	github.com/juju/juju/container/kvm	1.364s
ok  	github.com/juju/juju/container/kvm/mock	1.228s
?   	github.com/juju/juju/container/kvm/testing	[no test files]
ok  	github.com/juju/juju/container/lxc	6.136s
ok  	github.com/juju/juju/container/lxc/lxcutils	1.230s
?   	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.281s
?   	github.com/juju/juju/environmentserver/authentication	[no test files]
ok  	github.com/juju/juju/environs	1.964s
ok  	github.com/juju/juju/environs/bootstrap	559.665s
ok  	github.com/juju/juju/environs/config	15.737s
ok  	github.com/juju/juju/environs/configstore	3.454s
ok  	github.com/juju/juju/environs/filestorage	1.160s
ok  	github.com/juju/juju/environs/httpstorage	6.889s
ok  	github.com/juju/juju/environs/imagemetadata	1.785s
?   	github.com/juju/juju/environs/imagemetadata/testing	[no test files]
ok  	github.com/juju/juju/environs/instances	1.441s
ok  	github.com/juju/juju/environs/jujutest	1.364s
ok  	github.com/juju/juju/environs/manual	4.946s
ok  	github.com/juju/juju/environs/simplestreams	1.861s
?   	github.com/juju/juju/environs/simplestreams/testing	[no test files]
ok  	github.com/juju/juju/environs/sshstorage	3.580s
ok  	github.com/juju/juju/environs/storage	1.204s
ok  	github.com/juju/juju/environs/sync	1.956s
ok  	github.com/juju/juju/environs/tags	1.312s
ok  	github.com/juju/juju/environs/testing	1.323s
ok  	github.com/juju/juju/environs/tools	3.013s
?   	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 319:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 213:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x836
  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 319 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 213 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 319:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 213:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7dc
  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 319 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 213 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 319:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 213:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7dc
  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 319 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 213 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 319:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 213:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7dc
  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 319 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 213 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
==================
WARNING: DATA RACE
Read by goroutine 319:
  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:219 +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:628 +0x51f
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1252 +0x9f9

Previous write by goroutine 213:
  github.com/juju/juju/apiserver.(*changeCertListener).updateCertificate()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:167 +0x7dc
  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 319 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
  net/http.Serve()
      /home/dfc/go/src/net/http/server.go:1698 +0xc5
  github.com/juju/juju/apiserver.(*Server).run()
      /home/dfc/src/github.com/juju/juju/apiserver/apiserver.go:404 +0xed7

Goroutine 213 (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 +0x9fb
  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:1224 +0x583
  github.com/juju/juju/cmd/jujud/agent.(*MachineAgent).apiserverWorkerStarter.func1()
      /home/dfc/src/github.com/juju/juju/cmd/jujud/agent/machine.go:1188 +0x5b
  github.com/juju/juju/worker.(*runner).runWorker()
      /home/dfc/src/github.com/juju/juju/worker/runner.go:270 +0x4fa
==================
OK: 57 passed
PASS
Found 5 data race(s)
FAIL	github.com/juju/juju/featuretests	58.514s
ok  	github.com/juju/juju/instance	1.062s
?   	github.com/juju/juju/instance/testing	[no test files]
ok  	github.com/juju/juju/juju	13.748s
ok  	github.com/juju/juju/juju/arch	1.202s
?   	github.com/juju/juju/juju/names	[no test files]
ok  	github.com/juju/juju/juju/osenv	1.545s
ok  	github.com/juju/juju/juju/paths	1.190s
?   	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.015s
ok  	github.com/juju/juju/lease	1.694s
ok  	github.com/juju/juju/mongo	2.443s
ok  	github.com/juju/juju/network	1.366s
?   	github.com/juju/juju/provider	[no test files]
?   	github.com/juju/juju/provider/all	[no test files]
ok  	github.com/juju/juju/provider/azure	5.052s
ok  	github.com/juju/juju/provider/cloudsigma	4.048s
ok  	github.com/juju/juju/provider/common	2.568s
ok  	github.com/juju/juju/provider/dummy	6.174s
ok  	github.com/juju/juju/provider/ec2	43.079s
ok  	github.com/juju/juju/provider/gce	5.119s
ok  	github.com/juju/juju/provider/gce/google	1.399s
==================
WARNING: DATA RACE
Read by goroutine 255:
  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:1632 +0x212
  net/http.serverHandler.ServeHTTP()
      /home/dfc/go/src/net/http/server.go:1795 +0x206
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1294 +0x1178

Previous write by goroutine 254:
  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:1632 +0x212
  net/http.serverHandler.ServeHTTP()
      /home/dfc/go/src/net/http/server.go:1795 +0x206
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1294 +0x1178

Goroutine 255 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464

Goroutine 254 (finished) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
==================
==================
WARNING: DATA RACE
Read by goroutine 255:
  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:1632 +0x212
  net/http.serverHandler.ServeHTTP()
      /home/dfc/go/src/net/http/server.go:1795 +0x206
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1294 +0x1178

Previous write by goroutine 254:
  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:1632 +0x212
  net/http.serverHandler.ServeHTTP()
      /home/dfc/go/src/net/http/server.go:1795 +0x206
  net/http.(*conn).serve()
      /home/dfc/go/src/net/http/server.go:1294 +0x1178

Goroutine 255 (running) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464

Goroutine 254 (finished) created at:
  net/http.(*Server).Serve()
      /home/dfc/go/src/net/http/server.go:1843 +0x464
==================
OK: 51 passed, 2 skipped
PASS
Found 2 data race(s)
FAIL	github.com/juju/juju/provider/joyent	35.263s

----------------------------------------------------------------------
FAIL: environprovider_test.go:323: prepareSuite.TestProxyLocalhostFix

test 0: replace localhost with bridge ip in proxy url

[LOG] 0:00.003 TRACE juju.provider.local Look for proxies?
[LOG] 0:00.004 INFO juju.provider.local opening environment "test"
[LOG] 0:00.005 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.005 INFO juju.provider.local 
Attribute "http-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.005 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.005 INFO juju.provider.local 
Attribute "https-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.005 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.006 INFO juju.provider.local 
Attribute "ftp-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.006 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.006 INFO juju.provider.local 
Attribute "apt-http-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.006 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.006 INFO juju.provider.local 
Attribute "apt-https-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.006 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.007 INFO juju.provider.local 
Attribute "apt-ftp-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.018 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/storage
[LOG] 0:00.018 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/db
[LOG] 0:00.019 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.019 DEBUG juju.provider.local found "127.0.0.1" as address for "lxcbr0"
test 1: replace localhost:port with bridge ip:port in proxy url

[LOG] 0:00.019 TRACE juju.provider.local Look for proxies?
[LOG] 0:00.021 INFO juju.provider.local opening environment "test"
[LOG] 0:00.021 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.022 INFO juju.provider.local 
Attribute "http-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.022 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.022 INFO juju.provider.local 
Attribute "https-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.022 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.022 INFO juju.provider.local 
Attribute "ftp-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.023 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.023 INFO juju.provider.local 
Attribute "apt-http-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.023 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.023 INFO juju.provider.local 
Attribute "apt-https-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.023 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.023 INFO juju.provider.local 
Attribute "apt-ftp-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.040 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/storage
[LOG] 0:00.040 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/db
[LOG] 0:00.041 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.041 DEBUG juju.provider.local found "127.0.0.1" as address for "lxcbr0"
test 2: replace 127.2.0.1 with bridge ip in proxy url

[LOG] 0:00.042 TRACE juju.provider.local Look for proxies?
[LOG] 0:00.043 INFO juju.provider.local opening environment "test"
[LOG] 0:00.044 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.044 INFO juju.provider.local 
Attribute "http-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.044 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.044 INFO juju.provider.local 
Attribute "https-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.045 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.045 INFO juju.provider.local 
Attribute "ftp-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.045 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.045 INFO juju.provider.local 
Attribute "apt-http-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.045 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.045 INFO juju.provider.local 
Attribute "apt-https-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.046 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.046 INFO juju.provider.local 
Attribute "apt-ftp-proxy" is set to (http://127.0.0.1)
[LOG] 0:00.053 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/storage
[LOG] 0:00.053 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/db
[LOG] 0:00.053 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.054 DEBUG juju.provider.local found "127.0.0.1" as address for "lxcbr0"
test 3: replace 127.2.0.1:port with bridge ip:port in proxy url

[LOG] 0:00.054 TRACE juju.provider.local Look for proxies?
[LOG] 0:00.055 INFO juju.provider.local opening environment "test"
[LOG] 0:00.056 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.056 INFO juju.provider.local 
Attribute "http-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.057 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.057 INFO juju.provider.local 
Attribute "https-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.057 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.057 INFO juju.provider.local 
Attribute "ftp-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.057 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.057 INFO juju.provider.local 
Attribute "apt-http-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.058 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.058 INFO juju.provider.local 
Attribute "apt-https-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.058 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.058 INFO juju.provider.local 
Attribute "apt-ftp-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.065 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/storage
[LOG] 0:00.065 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/db
[LOG] 0:00.065 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.066 DEBUG juju.provider.local found "127.0.0.1" as address for "lxcbr0"
test 4: replace [::1]:port with bridge ip:port in proxy url

[LOG] 0:00.066 TRACE juju.provider.local Look for proxies?
[LOG] 0:00.067 INFO juju.provider.local opening environment "test"
[LOG] 0:00.068 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.068 INFO juju.provider.local 
Attribute "http-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.069 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.069 INFO juju.provider.local 
Attribute "https-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.069 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.069 INFO juju.provider.local 
Attribute "ftp-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.069 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.069 INFO juju.provider.local 
Attribute "apt-http-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.070 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.070 INFO juju.provider.local 
Attribute "apt-https-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.070 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.070 INFO juju.provider.local 
Attribute "apt-ftp-proxy" is set to (http://127.0.0.1:8877)
[LOG] 0:00.077 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/storage
[LOG] 0:00.077 TRACE juju.provider.local creating directory /tmp/check-3328451335138149956/18/.juju/test/db
[LOG] 0:00.078 DEBUG juju.provider.local getAddressForInterface called for lxcbr0
[LOG] 0:00.078 DEBUG juju.provider.local found "127.0.0.1" as address for "lxcbr0"
test 5: replace ::1 with bridge ip in proxy url

[LOG] 0:00.079 TRACE juju.provider.local Look for proxies?
[LOG] 0:00.080 INFO juju.provider.local opening environment "test"
environprovider_test.go:350:
    c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"failed to replace localhost references in loopback URLs specified in proxy config settings", cause:(*url.Error)(0xc8203ef890), previous:(*errors.Err)(0xc820389a90), file:"github.com/juju/juju/provider/local/environprovider.go", line:52} ("failed to replace localhost references in loopback URLs specified in proxy config settings: parse http://::1: invalid port \"::1\" after host")
... error stack:
	parse http://::1: invalid port "::1" after host
	github.com/juju/juju/provider/local/environprovider.go:200: 
	github.com/juju/juju/provider/local/environprovider.go:86: 
	github.com/juju/juju/provider/local/environprovider.go:52: failed to replace localhost references in loopback URLs specified in proxy config settings

OOPS: 40 passed, 1 skipped, 1 FAILED
--- FAIL: TestLocal (6.15s)
FAIL
FAIL	github.com/juju/juju/provider/local	6.471s
ok  	github.com/juju/juju/provider/maas	31.288s
ok  	github.com/juju/juju/provider/manual	1.427s
ok  	github.com/juju/juju/provider/openstack	72.507s
ok  	github.com/juju/juju/provider/vsphere	7.634s
ok  	github.com/juju/juju/rpc	1.411s
ok  	github.com/juju/juju/rpc/jsoncodec	1.350s
?   	github.com/juju/juju/rpc/rpcreflect	[no test files]
ok  	github.com/juju/juju/service	2.273s
ok  	github.com/juju/juju/service/common	1.035s
ok  	github.com/juju/juju/service/common/testing	1.032s
ok  	github.com/juju/juju/service/systemd	1.164s
?   	github.com/juju/juju/service/systemd/testing	[no test files]
ok  	github.com/juju/juju/service/upstart	1.344s
ok  	github.com/juju/juju/service/windows	1.394s
ok  	github.com/juju/juju/state	730.838s
ok  	github.com/juju/juju/state/backups	14.895s
?   	github.com/juju/juju/state/backups/testing	[no test files]
ok  	github.com/juju/juju/state/imagestorage	3.244s
ok  	github.com/juju/juju/state/leadership	1.128s
ok  	github.com/juju/juju/state/lease	5.635s
ok  	github.com/juju/juju/state/multiwatcher	1.028s
ok  	github.com/juju/juju/state/presence	9.751s
ok  	github.com/juju/juju/state/storage	1.485s
?   	github.com/juju/juju/state/testing	[no test files]
ok  	github.com/juju/juju/state/toolstorage	2.690s
ok  	github.com/juju/juju/state/utils	2.724s
ok  	github.com/juju/juju/state/watcher	7.244s
ok  	github.com/juju/juju/storage	1.202s
ok  	github.com/juju/juju/storage/poolmanager	3.142s
ok  	github.com/juju/juju/storage/provider	1.458s
?   	github.com/juju/juju/storage/provider/dummy	[no test files]
ok  	github.com/juju/juju/storage/provider/registry	1.071s
?   	github.com/juju/juju/testcharms	[no test files]
ok  	github.com/juju/juju/testing	1.199s
ok  	github.com/juju/juju/testing/factory	9.203s
ok  	github.com/juju/juju/tools	1.039s
ok  	github.com/juju/juju/upgrades	47.616s
ok  	github.com/juju/juju/utils	1.363s

----------------------------------------------------------------------
FAIL: ssh_gocrypto_test.go:137: SSHGoCryptoCommandSuite.TestCommand

ssh_gocrypto_test.go:54:
    c.Assert(err, jc.ErrorIsNil)
... value *net.OpError = &net.OpError{Op:"close", Net:"tcp", Source:(*net.TCPAddr)(0xc82041a000), Addr:(*net.TCPAddr)(0xc82041a030), Err:(*errors.errorString)(0xc820076710)} ("close tcp 127.0.0.1:50641->127.0.0.1:58558: use of closed network connection")

OOPS: 44 passed, 1 skipped, 1 FAILED
--- FAIL: TestPackage (5.51s)
FAIL
FAIL	github.com/juju/juju/utils/ssh	5.537s
?   	github.com/juju/juju/utils/ssh/testing	[no test files]
ok  	github.com/juju/juju/utils/syslog	1.083s
?   	github.com/juju/juju/utils/syslog/testing	[no test files]
ok  	github.com/juju/juju/version	1.423s

----------------------------------------------------------------------
FAIL: runner_test.go:109: runnerSuite.TestOneWorkerStartStop

[LOG] 0:00.001 INFO juju.worker start "id"
[LOG] 0:00.001 DEBUG juju.worker stop "id"
[LOG] 0:00.002 DEBUG juju.worker couldn't kill "id", not yet started
[LOG] 0:00.002 DEBUG juju.worker "id" started
runner_test.go:117:
    starter.assertStarted(c, false)
runner_test.go:357:
    c.Fatalf("timed out waiting for start notification")
... Error: timed out waiting for start notification


----------------------------------------------------------------------
FAIL: runner_test.go:134: runnerSuite.TestOneWorkerStartWhenStopping

[LOG] 0:00.001 INFO juju.worker start "id"
[LOG] 0:00.002 DEBUG juju.worker stop "id"
[LOG] 0:00.002 DEBUG juju.worker couldn't kill "id", not yet started
[LOG] 0:00.002 DEBUG juju.worker "id" started
runner_test.go:149:
    starter.assertStarted(c, false)
runner_test.go:357:
    c.Fatalf("timed out waiting for start notification")
... Error: timed out waiting for start notification

OOPS: 49 passed, 2 FAILED
--- FAIL: TestPackage (5.15s)
FAIL
FAIL	github.com/juju/juju/worker	5.707s
ok  	github.com/juju/juju/worker/addresser	28.842s
ok  	github.com/juju/juju/worker/agent	1.088s
ok  	github.com/juju/juju/worker/apiaddressupdater	5.230s
ok  	github.com/juju/juju/worker/apicaller	1.236s
ok  	github.com/juju/juju/worker/authenticationworker	5.536s
ok  	github.com/juju/juju/worker/certupdater	1.356s
ok  	github.com/juju/juju/worker/charmrevisionworker	6.931s
ok  	github.com/juju/juju/worker/cleaner	1.320s
ok  	github.com/juju/juju/worker/conv2state	1.371s
ok  	github.com/juju/juju/worker/dblogpruner	15.902s
ok  	github.com/juju/juju/worker/dependency	3.914s
?   	github.com/juju/juju/worker/dependency/testing	[no test files]
ok  	github.com/juju/juju/worker/deployer	7.525s
ok  	github.com/juju/juju/worker/diskmanager	1.346s
ok  	github.com/juju/juju/worker/envworkermanager	4.928s
ok  	github.com/juju/juju/worker/firewaller	33.428s
ok  	github.com/juju/juju/worker/instancepoller	6.513s
ok  	github.com/juju/juju/worker/leadership	1.755s
ok  	github.com/juju/juju/worker/localstorage	1.082s
ok  	github.com/juju/juju/worker/logger	2.961s
ok  	github.com/juju/juju/worker/logsender	2.109s
ok  	github.com/juju/juju/worker/machinelock	1.284s
ok  	github.com/juju/juju/worker/machiner	15.690s
ok  	github.com/juju/juju/worker/metricworker	2.292s
ok  	github.com/juju/juju/worker/minunitsworker	3.213s
ok  	github.com/juju/juju/worker/networker	8.606s
ok  	github.com/juju/juju/worker/peergrouper	13.607s
ok  	github.com/juju/juju/worker/provisioner	121.964s
ok  	github.com/juju/juju/worker/proxyupdater	5.156s
ok  	github.com/juju/juju/worker/reboot	13.732s
ok  	github.com/juju/juju/worker/resumer	1.867s
ok  	github.com/juju/juju/worker/rsyslog	8.747s
ok  	github.com/juju/juju/worker/singular	1.260s
?   	github.com/juju/juju/worker/statushistorypruner	[no test files]
ok  	github.com/juju/juju/worker/storageprovisioner	2.080s
ok  	github.com/juju/juju/worker/terminationworker	1.169s
ok  	github.com/juju/juju/worker/txnpruner	1.292s

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

[LOG] 0:00.016 DEBUG juju.environs.configstore Made dir /tmp/check-6072779137484467755/603/home/ubuntu/.juju/environments
[LOG] 0:00.028 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:00.031 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6072779137484467755/603/home/ubuntu/.juju/environments/dummyenv.jenv
[LOG] 0:00.031 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.031 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:00.034 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-precise-amd64
[LOG] 0:00.038 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:00.047 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.047 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.047 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.048 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/606/tools/streams/v1/index2.json"
[LOG] 0:00.050 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150701:0xc8200e85a0]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150701:0xc8200e86c0]}] map[] Wed, 01 Jul 2015 11:21:00 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:00.051 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/606/tools/streams/v1/index2.json"
[LOG] 0:00.051 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6072779137484467755/606/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.052 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/606/tools/streams/v1/index2.json"
[LOG] 0:00.052 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6072779137484467755/606/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.053 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/606/tools/streams/v1/index2.json"
[LOG] 0:00.053 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6072779137484467755/606/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.056 INFO juju.environs.tools Metadata for stream "released" unchanged
[LOG] 0:00.056 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.056 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.056 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.057 DEBUG juju.environs.bootstrap environment "dummyenv" supports service/machine networks: true
[LOG] 0:00.057 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.057 DEBUG juju.environs.bootstrap looking for bootstrap tools: version=1.25-alpha1
[LOG] 0:00.057 INFO juju.environs.tools reading tools with major.minor version 1.25
[LOG] 0:00.057 INFO juju.environs.tools filtering tools by version: 1.25-alpha1
[LOG] 0:00.059 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/606/tools/streams/v1/index2.json"
[LOG] 0:00.064 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150701:0xc820bc8ae0]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150701:0xc820bc8c60]}] map[] Wed, 01 Jul 2015 11:21:00 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:00.072 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.072 INFO juju.provider.dummy would pick tools from 1.25-alpha1-trusty-amd64
[LOG] 0:00.074 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:00.074 INFO juju.state opening state, mongo addresses: ["[::1]:38548" "localhost:38548"]; entity <nil>
[LOG] 0:00.074 DEBUG juju.state dialing mongo
[LOG] 0:00.078 INFO juju.mongo dialled mongo successfully on address "[::1]:38548"
[LOG] 0:00.080 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:38548"
[LOG] 0:00.081 DEBUG juju.state connection established
[LOG] 0:00.169 INFO juju.state starting presence watcher
[LOG] 0:00.173 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:38548"
[LOG] 0:00.334 DEBUG juju.provider.dummy setting password for "dummy-admin" to "dummy-secret"
[LOG] 0:00.354 INFO juju.apiserver listening on "[::]:33910"
[LOG] 0:00.357 INFO juju.environs.bootstrap newest version: 1.25-alpha1
[LOG] 0:00.357 INFO juju.environs.bootstrap picked bootstrap tools version: 1.25-alpha1
[LOG] 0:00.357 INFO juju.state opening state, mongo addresses: ["[::1]:38548" "localhost:38548"]; entity <nil>
[LOG] 0:00.357 DEBUG juju.state dialing mongo
[LOG] 0:00.367 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:38548"
[LOG] 0:00.368 INFO juju.mongo dialled mongo successfully on address "[::1]:38548"
[LOG] 0:00.375 DEBUG juju.state connection established
[LOG] 0:00.452 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:00.455 INFO juju.api dialing "wss://localhost:33910/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.524 INFO juju.apiserver [D5] API connection from 127.0.0.1:37897
[LOG] 0:00.525 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:00.526 INFO juju.api connection established to "wss://localhost:33910/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.528 DEBUG juju.apiserver <- [D5] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:00.539 DEBUG juju.apiserver hostPorts: []
[LOG] 0:00.541 DEBUG juju.apiserver -> [D5] user-dummy-admin@local 13.126669ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:00.567 DEBUG juju.state setting API hostPorts: [[localhost:33910]]
[LOG] 0:00.575 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:00.580 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6072779137484467755/603/home/ubuntu/.juju/environments/dummyenv.jenv
jenv host ports: [][]network.HostPort{[]network.HostPort{localhost:33910}}

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))(0x527c80)}
uniter_test.addCharm{dir:(*charm.CharmDir)(0xc820593a40), curl:(*charm.URL)(0xc8202e5450)}
[LOG] 0:00.676 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:38548"
uniter_test.serveCharm{}
[LOG] 0:00.733 DEBUG juju.storage resource catalog entry created with id "645880b4a2fd27e129f15809e60f42788291e1fc5949dc2e3b79422b3b1c81f5b912befba7ebb2f25006d00a253b5656"
[LOG] 0:00.795 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.990 DEBUG juju.state setting API hostPorts: [[0.1.2.3:1234]]
[LOG] 0:01.006 DEBUG juju.state setting API hostPorts: [[localhost:33910]]
uniter_test.createServiceAndUnit{serviceName:""}
[LOG] 0:01.521 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:01.526 INFO juju.api dialing "wss://localhost:33910/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:01.592 INFO juju.apiserver [D6] API connection from 127.0.0.1:37899
[LOG] 0:01.592 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:01.592 INFO juju.api connection established to "wss://localhost:33910/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:01.594 DEBUG juju.apiserver <- [D6] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:01.613 DEBUG juju.apiserver hostPorts: [[localhost:33910]]
[LOG] 0:01.615 DEBUG juju.apiserver -> [D6] unit-u-0 20.634436ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
API: login as "unit-u-0" successful
uniter_test.startUniter{unitTag:""}
uniter_test.waitAddresses{}
[LOG] 0:01.621 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:01.621 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:01.622 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:01.622 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":3,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.629 DEBUG juju.apiserver -> [D6] unit-u-0 6.953174ms {"RequestId":3,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.630 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-6072779137484467755/1/tools/unit-u-0
[LOG] 0:01.630 DEBUG worker.uniter.jujuc jujud path /tmp/check-6072779137484467755/1/tools/unit-u-0/jujud
[LOG] 0:01.632 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":4,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.636 DEBUG juju.apiserver -> [D6] unit-u-0 4.156714ms {"RequestId":4,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.638 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":5,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:01.638 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-07-01 11:22:02.178263104 +1000 AEST
[LOG] 0:01.638 INFO juju.worker.leadership u/0 will renew u leadership at 2015-07-01 11:21:32.178263104 +1000 AEST
[LOG] 0:01.642 DEBUG juju.apiserver -> [D6] unit-u-0 3.947616ms {"RequestId":5,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:01.644 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":6,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:01.646 DEBUG juju.apiserver -> [D6] unit-u-0 2.030404ms {"RequestId":6,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:01.648 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":7,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.652 DEBUG juju.apiserver -> [D6] unit-u-0 3.945285ms {"RequestId":7,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.654 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":8,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.658 DEBUG juju.apiserver -> [D6] unit-u-0 3.74727ms {"RequestId":8,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.660 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":9,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:01.667 DEBUG juju.apiserver -> [D6] unit-u-0 6.418388ms {"RequestId":9,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:01.672 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":10,"Type":"Uniter","Version":2,"Request":"AssignedMachine","Params":"'params redacted'"}
[LOG] 0:01.674 DEBUG juju.apiserver -> [D6] unit-u-0 4.118989ms {"RequestId":10,"Response":"'body redacted'"} Uniter[""].AssignedMachine
[LOG] 0:01.676 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":11,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(nil), status:"idle", info:"", data:map[string]interface {}(nil), charm:0, resolved:""}
[LOG] 0:01.679 DEBUG juju.apiserver -> [D6] unit-u-0 2.762981ms {"RequestId":11,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
[LOG] 0:01.682 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":12,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.688 DEBUG juju.apiserver -> [D6] unit-u-0 6.237654ms {"RequestId":12,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.694 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":13,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.697 DEBUG juju.apiserver -> [D6] unit-u-0 3.273629ms {"RequestId":13,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.698 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-6072779137484467755/1/agents/unit-u-0/run.socket
[LOG] 0:01.698 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:01.699 DEBUG juju.worker.uniter juju-run listener running
[LOG] 0:01.700 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":14,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.702 DEBUG juju.apiserver -> [D6] unit-u-0 2.771787ms {"RequestId":14,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.704 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":15,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.706 DEBUG juju.apiserver -> [D6] unit-u-0 2.618739ms {"RequestId":15,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.708 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":16,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:01.710 DEBUG juju.apiserver -> [D6] unit-u-0 1.80541ms {"RequestId":16,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:01.712 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.743 DEBUG juju.apiserver -> [D6] unit-u-0 31.298796ms {"RequestId":17,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:01.746 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":18,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.750 DEBUG juju.apiserver -> [D6] unit-u-0 4.602499ms {"RequestId":18,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.753 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":19,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.759 DEBUG juju.apiserver -> [D6] unit-u-0 6.444246ms {"RequestId":19,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.762 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":20,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.769 DEBUG juju.apiserver -> [D6] unit-u-0 6.747615ms {"RequestId":20,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.770 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:01.772 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":21,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:01.779 DEBUG juju.apiserver -> [D6] unit-u-0 7.718519ms {"RequestId":21,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:01.782 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":22,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:01.783 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":23,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.789 DEBUG juju.apiserver -> [D6] unit-u-0 7.362287ms {"RequestId":22,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:01.791 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":24,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.792 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.799 DEBUG juju.apiserver -> [D6] unit-u-0 7.442301ms {"RequestId":24,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.802 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":26,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:01.808 DEBUG juju.apiserver -> [D6] unit-u-0 6.529677ms {"RequestId":26,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:01.812 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":27,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:01.813 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":28,"Type":"StringsWatcher","Id":"4","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.818 DEBUG juju.apiserver -> [D6] unit-u-0 6.14076ms {"RequestId":27,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:01.820 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":29,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.821 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":30,"Type":"StringsWatcher","Id":"5","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.826 DEBUG juju.apiserver -> [D6] unit-u-0 6.753812ms {"RequestId":29,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
[LOG] 0:01.829 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":31,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:01.830 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":32,"Type":"NotifyWatcher","Id":"6","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.836 DEBUG juju.apiserver -> [D6] unit-u-0 7.606171ms {"RequestId":31,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
[LOG] 0:01.839 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":33,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:01.841 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":34,"Type":"NotifyWatcher","Id":"7","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.843 DEBUG juju.apiserver -> [D6] unit-u-0 4.317111ms {"RequestId":33,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:01.846 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":35,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
[LOG] 0:01.847 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":36,"Type":"StringsWatcher","Id":"8","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.850 DEBUG juju.apiserver -> [D6] unit-u-0 3.591535ms {"RequestId":35,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.851 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:01.852 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:01.854 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":37,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.854 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":38,"Type":"NotifyWatcher","Id":"9","Request":"Next","Params":"'params redacted'"}
[LOG] 0:01.857 DEBUG juju.apiserver -> [D6] unit-u-0 3.80484ms {"RequestId":37,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.860 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":39,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:01.865 DEBUG juju.apiserver -> [D6] unit-u-0 5.63304ms {"RequestId":39,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:01.867 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:01.867 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:01.867 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:01.868 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":40,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:01.874 DEBUG juju.apiserver -> [D6] unit-u-0 5.804604ms {"RequestId":40,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:01.875 DEBUG juju.worker.uniter.filter want leader settings event: true
[LOG] 0:01.875 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:01.875 INFO juju.worker.uniter resuming charm install
[LOG] 0:01.876 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:01.876 INFO juju.worker.uniter ModeInstalling cs:quantal/wordpress-0 starting
[LOG] 0:01.876 INFO juju.worker.uniter.operation running operation install cs:quantal/wordpress-0
[LOG] 0:01.876 INFO juju.worker.uniter.operation preparing operation "install cs:quantal/wordpress-0"
[LOG] 0:01.876 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:01.877 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":41,"Type":"Uniter","Version":2,"Request":"CharmArchiveURLs","Params":"'params redacted'"}
[LOG] 0:01.879 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":42,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:01.881 DEBUG juju.apiserver -> [D6] unit-u-0 3.395841ms {"RequestId":41,"Response":"'body redacted'"} Uniter[""].CharmArchiveURLs
[LOG] 0:01.883 INFO juju.worker.uniter.charm downloading cs:quantal/wordpress-0 from https://localhost:33910/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?file=%2A&url=cs%3Aquantal%2Fwordpress-0
[LOG] 0:01.886 DEBUG juju.apiserver -> [D6] unit-u-0 7.290877ms {"RequestId":42,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:01.888 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":43,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:01.891 DEBUG juju.apiserver -> [D6] unit-u-0 3.236946ms {"RequestId":43,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:01.892 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:01.893 DEBUG juju.worker.uniter.filter no config change seen yet, skipping config event
[LOG] 0:01.893 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:01.893 DEBUG juju.worker.uniter.filter got relations change
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.964 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:01.988 INFO juju.worker.uniter.charm download complete
[LOG] 0:01.989 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":44,"Type":"Uniter","Version":2,"Request":"CharmArchiveSha256","Params":"'params redacted'"}
[LOG] 0:01.993 DEBUG juju.apiserver -> [D6] unit-u-0 4.121136ms {"RequestId":44,"Response":"'body redacted'"} Uniter[""].CharmArchiveSha256
[LOG] 0:01.994 INFO juju.worker.uniter.charm download verified
[LOG] 0:02.003 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-0"
[LOG] 0:02.005 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":45,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
want unit charm "cs:quantal/wordpress-0", got ""; still waiting
[LOG] 0:02.027 INFO juju.mongo dialled mongo successfully on address "[::1]:38548"
[LOG] 0:02.037 DEBUG juju.apiserver -> [D6] unit-u-0 32.675511ms {"RequestId":45,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:02.039 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":46,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:02.039 INFO juju.worker.uniter.operation executing operation "install cs:quantal/wordpress-0"
[LOG] 0:02.039 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-0"
[LOG] 0:02.039 DEBUG juju.worker.uniter.charm deploying charm "cs:quantal/wordpress-0"
[LOG] 0:02.043 DEBUG juju.apiserver -> [D6] unit-u-0 4.532822ms {"RequestId":46,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:02.046 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":47,"Type":"StringsWatcher","Id":"5","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:02.047 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":48,"Type":"NotifyWatcher","Id":"10","Request":"Next","Params":"'params redacted'"}
[LOG] 0:02.048 DEBUG juju.apiserver -> [D6] unit-u-0 1.839027ms {"RequestId":47,"Response":"'body redacted'"} StringsWatcher["5"].Stop
[LOG] 0:02.048 DEBUG juju.apiserver -> [D6] unit-u-0 226.825543ms {"RequestId":30,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["5"].Next
[LOG] 0:02.048 DEBUG juju.worker.uniter.charm finishing deploy of charm "cs:quantal/wordpress-0"
[LOG] 0:02.050 INFO juju.worker.uniter.operation committing operation "install cs:quantal/wordpress-0"
[LOG] 0:02.055 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":49,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:02.056 INFO juju.worker.uniter ModeInstalling cs:quantal/wordpress-0 exiting
[LOG] 0:02.056 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.060 DEBUG juju.apiserver -> [D6] unit-u-0 4.349078ms {"RequestId":49,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:02.060 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.060 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.061 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.061 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:02.061 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:02.061 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:02.061 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.061 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.061 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:02.061 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.061 INFO juju.worker.uniter found queued "install" hook
[LOG] 0:02.061 INFO juju.worker.uniter.operation running operation run install hook
[LOG] 0:02.062 INFO juju.worker.uniter.operation preparing operation "run install hook"
[LOG] 0:02.062 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":50,"Type":"StringsWatcher","Id":"11","Request":"Next","Params":"'params redacted'"}
[LOG] 0:02.062 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":51,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.064 DEBUG juju.apiserver -> [D6] unit-u-0 1.223602ms {"RequestId":51,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.064 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":52,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.068 DEBUG juju.apiserver -> [D6] unit-u-0 2.867585ms {"RequestId":52,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.069 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":53,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.073 DEBUG juju.apiserver -> [D6] unit-u-0 3.784339ms {"RequestId":53,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.074 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":54,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.080 DEBUG juju.apiserver -> [D6] unit-u-0 5.657406ms {"RequestId":54,"Response":"'body redacted'"} Uniter[""].EnvironConfig
want unit status "idle", got "allocating"; still waiting
[LOG] 0:02.088 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":55,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.094 DEBUG juju.apiserver -> [D6] unit-u-0 5.709381ms {"RequestId":55,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.096 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":56,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.100 DEBUG juju.apiserver -> [D6] unit-u-0 316.776028ms {"RequestId":23,"Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:02.101 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:02.102 DEBUG juju.apiserver -> [D6] unit-u-0 5.291455ms {"RequestId":56,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.102 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":57,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:02.103 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":58,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:02.103 INFO juju.worker.uniter.operation executing operation "run install hook"
[LOG] 0:02.103 DEBUG juju.worker.uniter.context [WORKLOAD-STATUS] maintenance: installing charm software
[LOG] 0:02.104 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":59,"Type":"Uniter","Version":2,"Request":"SetUnitStatus","Params":"'params redacted'"}
[LOG] 0:02.107 DEBUG juju.apiserver -> [D6] unit-u-0 4.418493ms {"RequestId":58,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:02.109 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":60,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:02.112 DEBUG juju.apiserver -> [D6] unit-u-0 3.190496ms {"RequestId":60,"Response":"'body redacted'"} Uniter[""].Resolved
want unit status "idle", got "allocating"; still waiting
[LOG] 0:02.181 DEBUG juju.apiserver -> [D6] unit-u-0 76.717781ms {"RequestId":59,"Response":"'body redacted'"} Uniter[""].SetUnitStatus
[LOG] 0:02.182 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running install hook
[LOG] 0:02.185 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":61,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
want unit status "idle", got "allocating"; still waiting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.257 DEBUG juju.apiserver -> [D6] unit-u-0 72.80785ms {"RequestId":61,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.371 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "install"]
[LOG] 0:02.371 DEBUG worker.uniter.jujuc hook context id "u/0-install-1547272573741384286"; dir "/tmp/check-6072779137484467755/1/agents/unit-u-0/charm"
[LOG] 0:02.371 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d install
[LOG] 0:02.375 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.376 INFO juju.worker.uniter.operation ran "install" hook
[LOG] 0:02.378 INFO juju.worker.uniter.operation committing operation "run install hook"
[LOG] 0:02.380 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.380 INFO juju.worker.uniter ModeContinue starting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.388 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.389 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.389 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.389 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.389 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.390 INFO juju.worker.uniter.operation running operation accept leadership
[LOG] 0:02.390 INFO juju.worker.uniter.operation preparing operation "accept leadership"
[LOG] 0:02.390 INFO juju.worker.uniter.operation committing operation "accept leadership"
[LOG] 0:02.391 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.391 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.391 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:02.393 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.393 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.393 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.393 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.394 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.394 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.394 INFO juju.worker.uniter found queued "leader-elected" hook
[LOG] 0:02.394 INFO juju.worker.uniter.operation running operation run leader-elected hook
[LOG] 0:02.394 INFO juju.worker.uniter.operation preparing operation "run leader-elected hook"
[LOG] 0:02.395 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":62,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.397 DEBUG juju.apiserver -> [D6] unit-u-0 2.294635ms {"RequestId":62,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.400 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":63,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.406 DEBUG juju.apiserver -> [D6] unit-u-0 6.269746ms {"RequestId":63,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.408 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":64,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.414 DEBUG juju.apiserver -> [D6] unit-u-0 6.341237ms {"RequestId":64,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.415 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":65,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.422 DEBUG juju.apiserver -> [D6] unit-u-0 6.361375ms {"RequestId":65,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.427 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":66,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.433 DEBUG juju.apiserver -> [D6] unit-u-0 5.692432ms {"RequestId":66,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.434 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":67,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.438 DEBUG juju.apiserver -> [D6] unit-u-0 3.507931ms {"RequestId":67,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.439 INFO juju.worker.uniter.operation executing operation "run leader-elected hook"
[LOG] 0:02.439 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running leader-elected hook
[LOG] 0:02.443 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.520 DEBUG juju.apiserver -> [D6] unit-u-0 78.557145ms {"RequestId":68,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.625 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "leader-elected"]
[LOG] 0:02.625 DEBUG worker.uniter.jujuc hook context id "u/0-leader-elected-6002835248440881691"; dir "/tmp/check-6072779137484467755/1/agents/unit-u-0/charm"
[LOG] 0:02.626 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d leader-elected
[LOG] 0:02.629 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.629 INFO juju.worker.uniter.operation ran "leader-elected" hook
[LOG] 0:02.630 INFO juju.worker.uniter.operation committing operation "run leader-elected hook"
[LOG] 0:02.631 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.631 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:02.636 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.636 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.636 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.637 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.637 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.637 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.637 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:02.638 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:02.638 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:02.638 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:02.638 INFO juju.worker.uniter.operation running operation run config-changed hook
[LOG] 0:02.639 INFO juju.worker.uniter.operation preparing operation "run config-changed hook"
[LOG] 0:02.639 DEBUG juju.worker.uniter.filter discarded config event
[LOG] 0:02.640 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":69,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.642 DEBUG juju.apiserver -> [D6] unit-u-0 2.312101ms {"RequestId":69,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.644 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":70,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.651 DEBUG juju.apiserver -> [D6] unit-u-0 7.318674ms {"RequestId":70,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.654 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":71,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.660 DEBUG juju.apiserver -> [D6] unit-u-0 6.187261ms {"RequestId":71,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.663 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":72,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.670 DEBUG juju.apiserver -> [D6] unit-u-0 7.197944ms {"RequestId":72,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.678 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":73,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.684 DEBUG juju.apiserver -> [D6] unit-u-0 6.19485ms {"RequestId":73,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:02.687 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":74,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.693 DEBUG juju.apiserver -> [D6] unit-u-0 6.31728ms {"RequestId":74,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.696 INFO juju.worker.uniter.operation executing operation "run config-changed hook"
[LOG] 0:02.696 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running config-changed hook
[LOG] 0:02.699 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
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.771 DEBUG juju.apiserver -> [D6] unit-u-0 72.72345ms {"RequestId":75,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.883 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "config-changed"]
[LOG] 0:02.884 DEBUG worker.uniter.jujuc hook context id "u/0-config-changed-8689596438779544079"; dir "/tmp/check-6072779137484467755/1/agents/unit-u-0/charm"
[LOG] 0:02.884 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d config-changed
[LOG] 0:02.888 INFO juju.worker.uniter.context handling reboot
[LOG] 0:02.888 INFO juju.worker.uniter.operation ran "config-changed" hook
[LOG] 0:02.889 INFO juju.worker.uniter.operation committing operation "run config-changed hook"
[LOG] 0:02.890 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:02.890 INFO juju.worker.uniter ModeContinue starting
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.895 INFO juju.worker.uniter checking leadership status
[LOG] 0:02.896 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:02.896 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:02.896 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:02.896 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:02.896 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:02.896 INFO juju.worker.uniter found queued "start" hook
[LOG] 0:02.896 INFO juju.worker.uniter.operation running operation run start hook
[LOG] 0:02.897 INFO juju.worker.uniter.operation preparing operation "run start hook"
[LOG] 0:02.898 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":76,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:02.901 DEBUG juju.apiserver -> [D6] unit-u-0 3.323635ms {"RequestId":76,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:02.904 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":77,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:02.910 DEBUG juju.apiserver -> [D6] unit-u-0 5.996404ms {"RequestId":77,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:02.912 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":78,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:02.919 DEBUG juju.apiserver -> [D6] unit-u-0 6.915169ms {"RequestId":78,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:02.921 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":79,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:02.930 DEBUG juju.apiserver -> [D6] unit-u-0 8.497613ms {"RequestId":79,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:02.940 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":80,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:02.946 DEBUG juju.apiserver -> [D6] unit-u-0 6.019917ms {"RequestId":80,"Response":"'body redacted'"} Uniter[""].PublicAddress
want unit status "idle", got "executing"; still waiting
[LOG] 0:02.948 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":81,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:02.952 DEBUG juju.apiserver -> [D6] unit-u-0 4.177544ms {"RequestId":81,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:02.953 INFO juju.worker.uniter.operation executing operation "run start hook"
[LOG] 0:02.953 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running start hook
[LOG] 0:02.954 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
[LOG] 0:03.033 DEBUG juju.apiserver -> [D6] unit-u-0 78.685859ms {"RequestId":82,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want unit status "idle", got "executing"; still waiting
want unit status "idle", got "executing"; still waiting
[LOG] 0:03.150 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "start"]
[LOG] 0:03.150 DEBUG worker.uniter.jujuc hook context id "u/0-start-2760013859096894396"; dir "/tmp/check-6072779137484467755/1/agents/unit-u-0/charm"
[LOG] 0:03.151 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d start
[LOG] 0:03.158 INFO juju.worker.uniter.context handling reboot
[LOG] 0:03.158 INFO juju.worker.uniter.operation ran "start" hook
[LOG] 0:03.159 DEBUG juju.worker.uniter.context [WORKLOAD-STATUS] unknown: 
[LOG] 0:03.162 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.248 DEBUG juju.apiserver -> [D6] unit-u-0 86.750658ms {"RequestId":83,"Response":"'body redacted'"} Uniter[""].SetUnitStatus
[LOG] 0:03.250 INFO juju.worker.uniter.operation committing operation "run start hook"
[LOG] 0:03.251 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:03.251 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:03.256 INFO juju.worker.uniter checking leadership status
[LOG] 0:03.256 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:03.256 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:03.256 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:03.256 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:03.256 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:03.256 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:03.256 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:03.256 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:03.256 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:03.257 INFO juju.worker.uniter waiting to lose leadership
[LOG] 0:03.257 DEBUG juju.worker.uniter.filter want forced upgrade false
[LOG] 0:03.257 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:03.257 DEBUG juju.worker.leadership u/0 got wait request for u leadership loss
[LOG] 0:03.257 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:03.257 DEBUG juju.worker.leadership waiting for u/0 to lose u leadership
[LOG] 0:03.258 DEBUG juju.worker.uniter [AGENT-STATUS] idle: 
[LOG] 0:03.260 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)(0xc8202db940), curl:(*charm.URL)(0xc820a1d7c0)}
[LOG] 0:03.340 DEBUG juju.apiserver -> [D6] unit-u-0 79.832765ms {"RequestId":84,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
uniter_test.serveCharm{}
[LOG] 0:03.447 DEBUG juju.storage resource catalog entry created with id "9307d453c98ed8c9f9c712b99719ee6e8cd0938df2b83c0f8d79cbfa2736a4a669d0037c63061c06fbb84d26776d2250"
[LOG] 0:03.494 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)(0x520b70), status:"error", info:"upgrade failed", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:03.632 DEBUG juju.apiserver -> [D6] unit-u-0 1.839012376s {"RequestId":25,"Response":"'body redacted'"} NotifyWatcher["3"].Next
[LOG] 0:03.633 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:03.634 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":85,"Type":"NotifyWatcher","Id":"3","Request":"Next","Params":"'params redacted'"}
[LOG] 0:03.636 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":86,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.642 DEBUG juju.apiserver -> [D6] unit-u-0 6.089142ms {"RequestId":86,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.645 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":87,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:03.650 DEBUG juju.apiserver -> [D6] unit-u-0 5.710762ms {"RequestId":87,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:03.652 DEBUG juju.worker.uniter.filter preparing new upgrade event
[LOG] 0:03.652 DEBUG juju.worker.uniter.filter sent upgrade event
[LOG] 0:03.653 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:03.653 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 starting
[LOG] 0:03.653 INFO juju.worker.uniter.operation running operation upgrade to cs:quantal/wordpress-1
[LOG] 0:03.653 INFO juju.worker.uniter.operation preparing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:03.656 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":88,"Type":"Uniter","Version":2,"Request":"CharmArchiveURLs","Params":"'params redacted'"}
[LOG] 0:03.659 DEBUG juju.apiserver -> [D6] unit-u-0 3.673ms {"RequestId":88,"Response":"'body redacted'"} Uniter[""].CharmArchiveURLs
[LOG] 0:03.661 INFO juju.worker.uniter.charm downloading cs:quantal/wordpress-1 from https://localhost:33910/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.742 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:03.764 INFO juju.worker.uniter.charm download complete
[LOG] 0:03.765 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":89,"Type":"Uniter","Version":2,"Request":"CharmArchiveSha256","Params":"'params redacted'"}
[LOG] 0:03.769 DEBUG juju.apiserver -> [D6] unit-u-0 4.278498ms {"RequestId":89,"Response":"'body redacted'"} Uniter[""].CharmArchiveSha256
[LOG] 0:03.771 INFO juju.worker.uniter.charm download verified
[LOG] 0:03.777 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:03.779 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":90,"Type":"NotifyWatcher","Id":"10","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.780 DEBUG juju.apiserver -> [D6] unit-u-0 1.478352ms {"RequestId":90,"Response":"'body redacted'"} NotifyWatcher["10"].Stop
want unit charm "cs:quantal/wordpress-1", got "cs:quantal/wordpress-0"; still waiting
[LOG] 0:03.781 DEBUG juju.apiserver -> [D6] unit-u-0 1.733796992s {"RequestId":48,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["10"].Next
[LOG] 0:03.784 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":91,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:03.838 DEBUG juju.apiserver -> [D6] unit-u-0 53.8335ms {"RequestId":91,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:03.841 INFO juju.worker.uniter.operation executing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:03.842 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":92,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
want unit status "error", got "unknown"; still waiting
[LOG] 0:03.844 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:03.845 ERROR juju.worker.uniter.charm cannot upgrade charm: open /tmp/check-6072779137484467755/1/agents/unit-u-0/charm/.juju-deploying.preparing: permission denied
[LOG] 0:03.845 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 exiting
[LOG] 0:03.845 INFO juju.worker.uniter ModeConflicted starting
[LOG] 0:03.845 DEBUG juju.worker.uniter [AGENT-STATUS] error: upgrade failed
[LOG] 0:03.846 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":93,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:03.848 DEBUG juju.apiserver -> [D6] unit-u-0 6.482656ms {"RequestId":92,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:03.850 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":94,"Type":"StringsWatcher","Id":"11","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.851 DEBUG juju.apiserver -> [D6] unit-u-0 713.629µs {"RequestId":94,"Response":"'body redacted'"} StringsWatcher["11"].Stop
[LOG] 0:03.851 DEBUG juju.apiserver -> [D6] unit-u-0 1.788747912s {"RequestId":50,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["11"].Next
[LOG] 0:03.851 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":95,"Type":"NotifyWatcher","Id":"12","Request":"Next","Params":"'params redacted'"}
[LOG] 0:03.854 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":96,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:03.857 DEBUG juju.apiserver -> [D6] unit-u-0 1.755588427s {"RequestId":57,"Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:03.859 DEBUG juju.apiserver -> [D6] unit-u-0 5.347445ms {"RequestId":96,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:03.860 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":97,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":"'params redacted'"}
[LOG] 0:03.860 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:03.860 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:03.861 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":98,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.862 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":99,"Type":"StringsWatcher","Id":"13","Request":"Next","Params":"'params redacted'"}
[LOG] 0:03.864 DEBUG juju.apiserver -> [D6] unit-u-0 3.078653ms {"RequestId":98,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.866 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":100,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:03.868 DEBUG juju.apiserver -> [D6] unit-u-0 2.007562ms {"RequestId":100,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:03.868 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:03.869 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:03.869 DEBUG juju.worker.uniter.filter preparing new config event
uniter_test.verifyWaiting{}
uniter_test.stopUniter{err:""}
[LOG] 0:03.926 DEBUG juju.apiserver -> [D6] unit-u-0 80.230068ms {"RequestId":93,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:03.927 DEBUG juju.worker.uniter.filter want resolved event
[LOG] 0:03.927 DEBUG juju.worker.uniter.filter want forced upgrade true
[LOG] 0:03.927 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:03.928 INFO juju.worker.uniter ModeConflicted exiting
[LOG] 0:03.928 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:03.928 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:03.928 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:03.929 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":101,"Type":"NotifyWatcher","Id":"9","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.931 DEBUG juju.apiserver -> [D6] unit-u-0 1.532801ms {"RequestId":101,"Response":"'body redacted'"} NotifyWatcher["9"].Stop
[LOG] 0:03.931 DEBUG juju.apiserver -> [D6] unit-u-0 2.076218452s {"RequestId":38,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["9"].Next
[LOG] 0:03.934 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":102,"Type":"StringsWatcher","Id":"8","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.935 DEBUG juju.apiserver -> [D6] unit-u-0 1.052672ms {"RequestId":102,"Response":"'body redacted'"} StringsWatcher["8"].Stop
[LOG] 0:03.935 DEBUG juju.apiserver -> [D6] unit-u-0 2.087532974s {"RequestId":36,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["8"].Next
[LOG] 0:03.937 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":103,"Type":"NotifyWatcher","Id":"7","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.938 DEBUG juju.apiserver -> [D6] unit-u-0 1.035014ms {"RequestId":103,"Response":"'body redacted'"} NotifyWatcher["7"].Stop
[LOG] 0:03.938 DEBUG juju.apiserver -> [D6] unit-u-0 2.097176728s {"RequestId":34,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["7"].Next
[LOG] 0:03.941 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":104,"Type":"NotifyWatcher","Id":"6","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.943 DEBUG juju.apiserver -> [D6] unit-u-0 1.254427ms {"RequestId":104,"Response":"'body redacted'"} NotifyWatcher["6"].Stop
[LOG] 0:03.943 DEBUG juju.apiserver -> [D6] unit-u-0 2.112966946s {"RequestId":32,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["6"].Next
[LOG] 0:03.945 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":105,"Type":"StringsWatcher","Id":"4","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.946 DEBUG juju.apiserver -> [D6] unit-u-0 691.79µs {"RequestId":105,"Response":"'body redacted'"} StringsWatcher["4"].Stop
[LOG] 0:03.946 DEBUG juju.apiserver -> [D6] unit-u-0 2.133238s {"RequestId":28,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["4"].Next
[LOG] 0:03.949 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":106,"Type":"NotifyWatcher","Id":"3","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.950 DEBUG juju.apiserver -> [D6] unit-u-0 729.798µs {"RequestId":106,"Response":"'body redacted'"} NotifyWatcher["3"].Stop
[LOG] 0:03.950 DEBUG juju.apiserver -> [D6] unit-u-0 316.409012ms {"RequestId":85,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["3"].Next
[LOG] 0:03.954 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":107,"Type":"NotifyWatcher","Id":"2","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:03.955 DEBUG juju.apiserver -> [D6] unit-u-0 684.812µs {"RequestId":107,"Response":"'body redacted'"} NotifyWatcher["2"].Stop
[LOG] 0:03.955 DEBUG juju.apiserver -> [D6] unit-u-0 94.916532ms {"RequestId":97,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["2"].Next
[LOG] 0:03.957 ERROR juju.worker.uniter.filter tomb: dying
uniter_test.startUniter{unitTag:""}
uniter_test.waitHooks{}
[LOG] 0:03.960 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:03.960 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:03.960 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:03.961 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":108,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.967 DEBUG juju.apiserver -> [D6] unit-u-0 6.044125ms {"RequestId":108,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.968 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-6072779137484467755/1/tools/unit-u-0
[LOG] 0:03.968 DEBUG worker.uniter.jujuc jujud path /tmp/check-6072779137484467755/1/tools/unit-u-0/jujud
[LOG] 0:03.970 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":109,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.974 DEBUG juju.apiserver -> [D6] unit-u-0 4.84907ms {"RequestId":109,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.974 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-07-01 11:22:04.516514698 +1000 AEST
[LOG] 0:03.975 INFO juju.worker.leadership u/0 will renew u leadership at 2015-07-01 11:21:34.516514698 +1000 AEST
[LOG] 0:03.977 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":110,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:03.981 DEBUG juju.apiserver -> [D6] unit-u-0 4.598731ms {"RequestId":110,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:03.983 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":111,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:03.986 DEBUG juju.apiserver -> [D6] unit-u-0 2.530002ms {"RequestId":111,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:03.988 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":112,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.992 DEBUG juju.apiserver -> [D6] unit-u-0 4.019325ms {"RequestId":112,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:03.994 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":113,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:03.999 DEBUG juju.apiserver -> [D6] unit-u-0 4.602002ms {"RequestId":113,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.002 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":114,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:04.006 DEBUG juju.apiserver -> [D6] unit-u-0 4.452132ms {"RequestId":114,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:04.009 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":115,"Type":"Uniter","Version":2,"Request":"AssignedMachine","Params":"'params redacted'"}
[LOG] 0:04.012 DEBUG juju.apiserver -> [D6] unit-u-0 3.619334ms {"RequestId":115,"Response":"'body redacted'"} Uniter[""].AssignedMachine
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)}
[LOG] 0:04.014 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":116,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
step 1:

uniter_test.resolveError{resolved:"no-hooks"}
[LOG] 0:04.016 DEBUG juju.apiserver -> [D6] unit-u-0 2.539957ms {"RequestId":116,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
[LOG] 0:04.019 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-6072779137484467755/1/agents/unit-u-0/run.socket
[LOG] 0:04.020 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:04.020 DEBUG juju.worker.uniter juju-run listener running
[LOG] 0:04.022 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":117,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.027 DEBUG juju.apiserver -> [D6] unit-u-0 5.024955ms {"RequestId":117,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.029 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":118,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
step 2:

uniter_test.verifyWaitingUpgradeError{revision:1}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(0x520b70), status:"error", info:"upgrade failed", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:04.033 DEBUG juju.apiserver -> [D6] unit-u-0 4.736266ms {"RequestId":118,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.036 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":119,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.038 DEBUG juju.apiserver -> [D6] unit-u-0 1.954415ms {"RequestId":119,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.039 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":120,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.044 DEBUG juju.apiserver -> [D6] unit-u-0 4.455742ms {"RequestId":120,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.046 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":121,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.052 DEBUG juju.apiserver -> [D6] unit-u-0 5.960495ms {"RequestId":121,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.054 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":122,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.061 DEBUG juju.apiserver -> [D6] unit-u-0 6.550973ms {"RequestId":122,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.063 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":123,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.069 DEBUG juju.apiserver -> [D6] unit-u-0 6.045334ms {"RequestId":123,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.071 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:04.072 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":124,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.078 DEBUG juju.apiserver -> [D6] unit-u-0 6.153575ms {"RequestId":124,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.080 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":125,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.081 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":126,"Type":"NotifyWatcher","Id":"14","Request":"Next","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.090 DEBUG juju.apiserver -> [D6] unit-u-0 9.246229ms {"RequestId":125,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.092 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":127,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.093 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":128,"Type":"NotifyWatcher","Id":"15","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.097 DEBUG juju.apiserver -> [D6] unit-u-0 4.784027ms {"RequestId":127,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.100 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":129,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.104 DEBUG juju.apiserver -> [D6] unit-u-0 3.867519ms {"RequestId":129,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.107 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":130,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:04.108 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":131,"Type":"NotifyWatcher","Id":"16","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.112 DEBUG juju.apiserver -> [D6] unit-u-0 5.806524ms {"RequestId":130,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:04.114 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":132,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.116 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":133,"Type":"StringsWatcher","Id":"17","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.121 DEBUG juju.apiserver -> [D6] unit-u-0 6.532333ms {"RequestId":132,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.123 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":134,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.123 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":135,"Type":"StringsWatcher","Id":"18","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.128 DEBUG juju.apiserver -> [D6] unit-u-0 5.988752ms {"RequestId":134,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
[LOG] 0:04.131 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":136,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:04.132 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":137,"Type":"NotifyWatcher","Id":"19","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.140 DEBUG juju.apiserver -> [D6] unit-u-0 9.439034ms {"RequestId":136,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.142 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":138,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.143 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":139,"Type":"NotifyWatcher","Id":"20","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.147 DEBUG juju.apiserver -> [D6] unit-u-0 4.445496ms {"RequestId":138,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:04.150 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":140,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
[LOG] 0:04.152 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":141,"Type":"StringsWatcher","Id":"21","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.155 DEBUG juju.apiserver -> [D6] unit-u-0 4.522376ms {"RequestId":140,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
[LOG] 0:04.156 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.156 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:04.156 DEBUG juju.worker.uniter.filter no config change seen yet, skipping config event
[LOG] 0:04.157 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:04.157 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.157 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.157 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:04.157 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:04.158 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":142,"Type":"NotifyWatcher","Id":"22","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.159 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":143,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.164 DEBUG juju.apiserver -> [D6] unit-u-0 5.330075ms {"RequestId":143,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.165 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:04.166 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:04.166 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:04.166 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.166 INFO juju.worker.uniter resuming charm upgrade
[LOG] 0:04.166 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:04.166 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 starting
[LOG] 0:04.167 INFO juju.worker.uniter.operation running operation upgrade to cs:quantal/wordpress-1
[LOG] 0:04.167 INFO juju.worker.uniter.operation preparing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.167 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":144,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.171 DEBUG juju.apiserver -> [D6] unit-u-0 4.544807ms {"RequestId":144,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.174 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":145,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.177 DEBUG juju.apiserver -> [D6] unit-u-0 3.261869ms {"RequestId":145,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.179 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:04.180 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":146,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.185 DEBUG juju.apiserver -> [D6] unit-u-0 5.323216ms {"RequestId":146,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.188 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":147,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.194 DEBUG juju.apiserver -> [D6] unit-u-0 6.174029ms {"RequestId":147,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.195 DEBUG juju.worker.uniter.filter no new charm event
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.196 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.197 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":148,"Type":"NotifyWatcher","Id":"16","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.199 DEBUG juju.apiserver -> [D6] unit-u-0 2.402554ms {"RequestId":148,"Response":"'body redacted'"} NotifyWatcher["16"].Stop
[LOG] 0:04.199 DEBUG juju.apiserver -> [D6] unit-u-0 91.321867ms {"RequestId":131,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["16"].Next
[LOG] 0:04.203 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":149,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:04.208 DEBUG juju.apiserver -> [D6] unit-u-0 5.613616ms {"RequestId":149,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:04.210 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":150,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.211 INFO juju.worker.uniter.operation executing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.213 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.214 ERROR juju.worker.uniter.charm cannot upgrade charm: open /tmp/check-6072779137484467755/1/agents/unit-u-0/charm/.juju-deploying.preparing: permission denied
[LOG] 0:04.214 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 exiting
[LOG] 0:04.214 INFO juju.worker.uniter ModeConflicted starting
[LOG] 0:04.214 DEBUG juju.worker.uniter [AGENT-STATUS] error: upgrade failed
[LOG] 0:04.215 DEBUG juju.apiserver -> [D6] unit-u-0 4.527981ms {"RequestId":150,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.215 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":151,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:04.217 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":152,"Type":"StringsWatcher","Id":"18","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.218 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":153,"Type":"NotifyWatcher","Id":"23","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.218 DEBUG juju.apiserver -> [D6] unit-u-0 94.463192ms {"RequestId":135,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["18"].Next
[LOG] 0:04.218 DEBUG juju.apiserver -> [D6] unit-u-0 931.479µs {"RequestId":152,"Response":"'body redacted'"} StringsWatcher["18"].Stop
[LOG] 0:04.220 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":154,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.225 DEBUG juju.apiserver -> [D6] unit-u-0 4.879173ms {"RequestId":154,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.226 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.226 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.226 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.226 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.227 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":155,"Type":"StringsWatcher","Id":"24","Request":"Next","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.294 DEBUG juju.apiserver -> [D6] unit-u-0 79.225185ms {"RequestId":151,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
[LOG] 0:04.295 DEBUG juju.worker.uniter.filter want resolved event
[LOG] 0:04.296 DEBUG juju.worker.uniter.filter want forced upgrade true
[LOG] 0:04.296 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.296 INFO juju.worker.uniter.operation running operation clear resolved flag and continue upgrade to cs:quantal/wordpress-1
[LOG] 0:04.296 INFO juju.worker.uniter.operation preparing operation "clear resolved flag and continue upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.296 DEBUG juju.worker.uniter.filter sent resolved event
[LOG] 0:04.297 DEBUG juju.worker.uniter.filter resolved event handled
[LOG] 0:04.299 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":156,"Type":"Uniter","Version":2,"Request":"ClearResolved","Params":"'params redacted'"}
want resolved mode "", got "no-hooks"; still waiting
[LOG] 0:04.318 DEBUG juju.apiserver -> [D6] unit-u-0 19.310749ms {"RequestId":156,"Response":"'body redacted'"} Uniter[""].ClearResolved
[LOG] 0:04.320 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":157,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.325 DEBUG juju.apiserver -> [D6] unit-u-0 5.514801ms {"RequestId":157,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.327 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":158,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.331 DEBUG juju.apiserver -> [D6] unit-u-0 3.597622ms {"RequestId":158,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.332 DEBUG juju.worker.uniter.filter resolved clear completed
[LOG] 0:04.339 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.340 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":159,"Type":"NotifyWatcher","Id":"23","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.342 DEBUG juju.apiserver -> [D6] unit-u-0 123.898416ms {"RequestId":153,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["23"].Next
[LOG] 0:04.342 DEBUG juju.apiserver -> [D6] unit-u-0 1.557768ms {"RequestId":159,"Response":"'body redacted'"} NotifyWatcher["23"].Stop
[LOG] 0:04.345 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":160,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:04.350 DEBUG juju.apiserver -> [D6] unit-u-0 5.751038ms {"RequestId":160,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:04.353 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":161,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.355 INFO juju.worker.uniter.operation executing operation "clear resolved flag and continue upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.358 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.359 ERROR juju.worker.uniter.charm cannot upgrade charm: open /tmp/check-6072779137484467755/1/agents/unit-u-0/charm/.juju-deploying.preparing: permission denied
[LOG] 0:04.359 INFO juju.worker.uniter ModeConflicted exiting
[LOG] 0:04.359 INFO juju.worker.uniter ModeConflicted starting
[LOG] 0:04.362 DEBUG juju.apiserver -> [D6] unit-u-0 8.76954ms {"RequestId":161,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
uniter_test.verifyCharm{revision:0, attemptedRevision:1, checkFiles:filetesting.Entries(nil)}
[LOG] 0:04.363 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":162,"Type":"StringsWatcher","Id":"24","Request":"Stop","Params":"'params redacted'"}
uniter_test.stopUniter{err:""}
[LOG] 0:04.364 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":163,"Type":"NotifyWatcher","Id":"25","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.364 DEBUG juju.apiserver -> [D6] unit-u-0 136.760556ms {"RequestId":155,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["24"].Next
[LOG] 0:04.364 DEBUG juju.apiserver -> [D6] unit-u-0 685.252µs {"RequestId":162,"Response":"'body redacted'"} StringsWatcher["24"].Stop
[LOG] 0:04.367 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":164,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.373 DEBUG juju.apiserver -> [D6] unit-u-0 5.582503ms {"RequestId":164,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.374 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.374 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.374 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.374 DEBUG juju.worker.uniter.filter want resolved event
[LOG] 0:04.374 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.375 DEBUG juju.worker.uniter.filter want forced upgrade true
[LOG] 0:04.375 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.375 INFO juju.worker.uniter ModeConflicted exiting
[LOG] 0:04.375 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:04.376 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:04.376 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":165,"Type":"StringsWatcher","Id":"26","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.376 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:04.378 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":166,"Type":"NotifyWatcher","Id":"22","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.379 DEBUG juju.apiserver -> [D6] unit-u-0 1.474899ms {"RequestId":166,"Response":"'body redacted'"} NotifyWatcher["22"].Stop
[LOG] 0:04.379 DEBUG juju.apiserver -> [D6] unit-u-0 221.345675ms {"RequestId":142,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["22"].Next
[LOG] 0:04.383 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":167,"Type":"StringsWatcher","Id":"21","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.384 DEBUG juju.apiserver -> [D6] unit-u-0 1.10501ms {"RequestId":167,"Response":"'body redacted'"} StringsWatcher["21"].Stop
[LOG] 0:04.384 DEBUG juju.apiserver -> [D6] unit-u-0 232.199398ms {"RequestId":141,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["21"].Next
[LOG] 0:04.388 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":168,"Type":"NotifyWatcher","Id":"20","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.389 DEBUG juju.apiserver -> [D6] unit-u-0 1.15752ms {"RequestId":168,"Response":"'body redacted'"} NotifyWatcher["20"].Stop
[LOG] 0:04.389 DEBUG juju.apiserver -> [D6] unit-u-0 246.264909ms {"RequestId":139,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["20"].Next
[LOG] 0:04.392 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":169,"Type":"NotifyWatcher","Id":"19","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.394 DEBUG juju.apiserver -> [D6] unit-u-0 1.294046ms {"RequestId":169,"Response":"'body redacted'"} NotifyWatcher["19"].Stop
[LOG] 0:04.394 DEBUG juju.apiserver -> [D6] unit-u-0 261.849452ms {"RequestId":137,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["19"].Next
[LOG] 0:04.397 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":170,"Type":"StringsWatcher","Id":"17","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.398 DEBUG juju.apiserver -> [D6] unit-u-0 1.225797ms {"RequestId":170,"Response":"'body redacted'"} StringsWatcher["17"].Stop
[LOG] 0:04.399 DEBUG juju.apiserver -> [D6] unit-u-0 282.987468ms {"RequestId":133,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["17"].Next
[LOG] 0:04.402 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":171,"Type":"NotifyWatcher","Id":"15","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.403 DEBUG juju.apiserver -> [D6] unit-u-0 1.086439ms {"RequestId":171,"Response":"'body redacted'"} NotifyWatcher["15"].Stop
[LOG] 0:04.403 DEBUG juju.apiserver -> [D6] unit-u-0 310.002592ms {"RequestId":128,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["15"].Next
[LOG] 0:04.407 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":172,"Type":"NotifyWatcher","Id":"14","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.409 DEBUG juju.apiserver -> [D6] unit-u-0 1.492963ms {"RequestId":172,"Response":"'body redacted'"} NotifyWatcher["14"].Stop
[LOG] 0:04.409 DEBUG juju.apiserver -> [D6] unit-u-0 327.368446ms {"RequestId":126,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["14"].Next
[LOG] 0:04.411 ERROR juju.worker.uniter.filter tomb: dying
uniter_test.custom{f:(func(*check.C, *uniter_test.context))(0x527d00)}
uniter_test.startUniter{unitTag:""}
uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(0x520b70), status:"error", info:"upgrade failed", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:04.416 DEBUG juju.worker.leadership u/0 making initial claim for u leadership
[LOG] 0:04.416 DEBUG juju.worker.leadership checking u/0 for u leadership
[LOG] 0:04.417 INFO juju.lease "u/0" obtained lease for "u-leadership"
[LOG] 0:04.419 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":173,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.424 DEBUG juju.apiserver -> [D6] unit-u-0 7.022061ms {"RequestId":173,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.425 INFO worker.uniter.jujuc ensure jujuc symlinks in /tmp/check-6072779137484467755/1/tools/unit-u-0
[LOG] 0:04.425 DEBUG worker.uniter.jujuc jujud path /tmp/check-6072779137484467755/1/tools/unit-u-0/jujud
[LOG] 0:04.427 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":174,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.432 DEBUG juju.apiserver -> [D6] unit-u-0 4.915289ms {"RequestId":174,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.433 DEBUG juju.worker.leadership u/0 confirmed for u leadership until 2015-07-01 11:22:04.972705497 +1000 AEST
[LOG] 0:04.433 INFO juju.worker.leadership u/0 will renew u leadership at 2015-07-01 11:21:34.972705497 +1000 AEST
[LOG] 0:04.433 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":175,"Type":"Uniter","Version":2,"Request":"JoinedRelations","Params":"'params redacted'"}
[LOG] 0:04.436 DEBUG juju.apiserver -> [D6] unit-u-0 2.869016ms {"RequestId":175,"Response":"'body redacted'"} Uniter[""].JoinedRelations
[LOG] 0:04.438 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":176,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.440 DEBUG juju.apiserver -> [D6] unit-u-0 1.74178ms {"RequestId":176,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:04.441 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":177,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.445 DEBUG juju.apiserver -> [D6] unit-u-0 3.556275ms {"RequestId":177,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.447 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":178,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.452 DEBUG juju.apiserver -> [D6] unit-u-0 5.50261ms {"RequestId":178,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.455 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":179,"Type":"Uniter","Version":2,"Request":"ServiceOwner","Params":"'params redacted'"}
[LOG] 0:04.460 DEBUG juju.apiserver -> [D6] unit-u-0 5.547744ms {"RequestId":179,"Response":"'body redacted'"} Uniter[""].ServiceOwner
[LOG] 0:04.463 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":180,"Type":"Uniter","Version":2,"Request":"AssignedMachine","Params":"'params redacted'"}
[LOG] 0:04.467 DEBUG juju.apiserver -> [D6] unit-u-0 4.194663ms {"RequestId":180,"Response":"'body redacted'"} Uniter[""].AssignedMachine
[LOG] 0:04.469 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":181,"Type":"Uniter","Version":2,"Request":"CurrentEnvironment","Params":"'params redacted'"}
[LOG] 0:04.474 DEBUG juju.apiserver -> [D6] unit-u-0 4.522401ms {"RequestId":181,"Response":"'body redacted'"} Uniter[""].CurrentEnvironment
uniter_test.verifyCharm{revision:0, attemptedRevision:1, checkFiles:filetesting.Entries(nil)}
[LOG] 0:04.476 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/check-6072779137484467755/1/agents/unit-u-0/run.socket
[LOG] 0:04.476 INFO juju.worker.uniter unit "u/0" started
[LOG] 0:04.477 DEBUG juju.worker.uniter juju-run listener running
step 3:

uniter_test.fixUpgradeError{}
step 4:

uniter_test.resolveError{resolved:"no-hooks"}
[LOG] 0:04.478 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":182,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.482 DEBUG juju.apiserver -> [D6] unit-u-0 4.075208ms {"RequestId":182,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.484 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":183,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.488 DEBUG juju.apiserver -> [D6] unit-u-0 4.022806ms {"RequestId":183,"Response":"'body redacted'"} Uniter[""].Life
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.489 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":184,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.493 DEBUG juju.apiserver -> [D6] unit-u-0 3.693389ms {"RequestId":184,"Response":"'body redacted'"} Uniter[""].Resolved
[LOG] 0:04.495 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":185,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.499 DEBUG juju.apiserver -> [D6] unit-u-0 4.728573ms {"RequestId":185,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.501 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":186,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.505 DEBUG juju.apiserver -> [D6] unit-u-0 3.788966ms {"RequestId":186,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.507 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":187,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.511 DEBUG juju.apiserver -> [D6] unit-u-0 4.502461ms {"RequestId":187,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.513 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":188,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.517 DEBUG juju.apiserver -> [D6] unit-u-0 3.857594ms {"RequestId":188,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.518 DEBUG juju.worker.uniter.filter charm check skipped, not yet installed.
[LOG] 0:04.520 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":189,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.529 DEBUG juju.apiserver -> [D6] unit-u-0 8.765339ms {"RequestId":189,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.531 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":190,"Type":"Uniter","Version":2,"Request":"Watch","Params":"'params redacted'"}
[LOG] 0:04.531 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":191,"Type":"NotifyWatcher","Id":"27","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.537 DEBUG juju.apiserver -> [D6] unit-u-0 6.847736ms {"RequestId":190,"Response":"'body redacted'"} Uniter[""].Watch
[LOG] 0:04.540 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":192,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.541 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":193,"Type":"NotifyWatcher","Id":"28","Request":"Next","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.548 DEBUG juju.apiserver -> [D6] unit-u-0 7.478629ms {"RequestId":192,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.551 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":194,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.557 DEBUG juju.apiserver -> [D6] unit-u-0 6.377275ms {"RequestId":194,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.560 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":195,"Type":"Uniter","Version":2,"Request":"WatchActionNotifications","Params":"'params redacted'"}
[LOG] 0:04.562 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":196,"Type":"NotifyWatcher","Id":"29","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.568 DEBUG juju.apiserver -> [D6] unit-u-0 7.492862ms {"RequestId":195,"Response":"'body redacted'"} Uniter[""].WatchActionNotifications
[LOG] 0:04.571 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":197,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.571 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":198,"Type":"StringsWatcher","Id":"30","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.577 DEBUG juju.apiserver -> [D6] unit-u-0 6.734317ms {"RequestId":197,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.580 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":199,"Type":"Uniter","Version":2,"Request":"WatchMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.582 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":200,"Type":"StringsWatcher","Id":"31","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.586 DEBUG juju.apiserver -> [D6] unit-u-0 6.3188ms {"RequestId":199,"Response":"'body redacted'"} Uniter[""].WatchMeterStatus
[LOG] 0:04.589 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":201,"Type":"Uniter","Version":2,"Request":"WatchUnitAddresses","Params":"'params redacted'"}
[LOG] 0:04.590 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":202,"Type":"NotifyWatcher","Id":"32","Request":"Next","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.600 DEBUG juju.apiserver -> [D6] unit-u-0 11.606121ms {"RequestId":201,"Response":"'body redacted'"} Uniter[""].WatchUnitAddresses
[LOG] 0:04.602 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":203,"Type":"Uniter","Version":2,"Request":"WatchUnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.603 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":204,"Type":"NotifyWatcher","Id":"33","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.605 DEBUG juju.apiserver -> [D6] unit-u-0 3.307738ms {"RequestId":203,"Response":"'body redacted'"} Uniter[""].WatchUnitStorageAttachments
[LOG] 0:04.609 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":205,"Type":"Uniter","Version":2,"Request":"WatchLeadershipSettings","Params":"'params redacted'"}
[LOG] 0:04.610 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":206,"Type":"StringsWatcher","Id":"34","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.613 DEBUG juju.apiserver -> [D6] unit-u-0 4.16326ms {"RequestId":205,"Response":"'body redacted'"} Uniter[""].WatchLeadershipSettings
[LOG] 0:04.614 DEBUG juju.worker.uniter.filter got service change
[LOG] 0:04.616 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":207,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.616 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":208,"Type":"NotifyWatcher","Id":"35","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.620 DEBUG juju.apiserver -> [D6] unit-u-0 4.244425ms {"RequestId":207,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.622 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":209,"Type":"Uniter","Version":2,"Request":"CharmURL","Params":"'params redacted'"}
[LOG] 0:04.626 DEBUG juju.apiserver -> [D6] unit-u-0 4.296105ms {"RequestId":209,"Response":"'body redacted'"} Uniter[""].CharmURL
[LOG] 0:04.627 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.628 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.628 DEBUG juju.worker.uniter.filter got storage change
[LOG] 0:04.628 DEBUG juju.worker.uniter.filter got meter status change
[LOG] 0:04.629 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":210,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.635 DEBUG juju.apiserver -> [D6] unit-u-0 5.817001ms {"RequestId":210,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.636 DEBUG juju.worker.uniter.filter got unit change
[LOG] 0:04.638 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":211,"Type":"Uniter","Version":2,"Request":"Life","Params":"'params redacted'"}
[LOG] 0:04.643 DEBUG juju.apiserver -> [D6] unit-u-0 5.682705ms {"RequestId":211,"Response":"'body redacted'"} Uniter[""].Life
[LOG] 0:04.646 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":212,"Type":"Uniter","Version":2,"Request":"Resolved","Params":"'params redacted'"}
[LOG] 0:04.649 DEBUG juju.apiserver -> [D6] unit-u-0 3.434749ms {"RequestId":212,"Response":"'body redacted'"} Uniter[""].Resolved
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.650 DEBUG juju.worker.uniter.filter got 0 actions
[LOG] 0:04.651 DEBUG juju.worker.uniter.filter got leader settings change: ok=true
[LOG] 0:04.651 DEBUG juju.worker.uniter.filter want leader settings event: false
[LOG] 0:04.651 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.651 INFO juju.worker.uniter resuming charm upgrade
[LOG] 0:04.652 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.652 DEBUG juju.worker.uniter.filter no address change seen yet, skipping config event
[LOG] 0:04.652 DEBUG juju.worker.uniter.filter got address change
[LOG] 0:04.652 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.652 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:04.653 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 starting
[LOG] 0:04.653 INFO juju.worker.uniter.operation running operation upgrade to cs:quantal/wordpress-1
[LOG] 0:04.654 INFO juju.worker.uniter.operation preparing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.662 DEBUG juju.worker.uniter.filter changing charm to "cs:quantal/wordpress-1"
[LOG] 0:04.663 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":213,"Type":"NotifyWatcher","Id":"29","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.664 DEBUG juju.apiserver -> [D6] unit-u-0 102.960167ms {"RequestId":196,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["29"].Next
[LOG] 0:04.665 DEBUG juju.apiserver -> [D6] unit-u-0 1.444999ms {"RequestId":213,"Response":"'body redacted'"} NotifyWatcher["29"].Stop
[LOG] 0:04.668 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":214,"Type":"Uniter","Version":2,"Request":"SetCharmURL","Params":"'params redacted'"}
[LOG] 0:04.674 DEBUG juju.apiserver -> [D6] unit-u-0 6.247424ms {"RequestId":214,"Response":"'body redacted'"} Uniter[""].SetCharmURL
[LOG] 0:04.677 INFO juju.worker.uniter.operation executing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.678 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":215,"Type":"Uniter","Version":2,"Request":"WatchConfigSettings","Params":"'params redacted'"}
[LOG] 0:04.680 DEBUG juju.worker.uniter.charm preparing to deploy charm "cs:quantal/wordpress-1"
[LOG] 0:04.681 DEBUG juju.worker.uniter.charm deploying charm "cs:quantal/wordpress-1"
[LOG] 0:04.682 DEBUG juju.apiserver -> [D6] unit-u-0 4.98335ms {"RequestId":215,"Response":"'body redacted'"} Uniter[""].WatchConfigSettings
[LOG] 0:04.684 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":216,"Type":"StringsWatcher","Id":"31","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:04.685 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":217,"Type":"NotifyWatcher","Id":"36","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.685 DEBUG juju.apiserver -> [D6] unit-u-0 103.531731ms {"RequestId":200,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["31"].Next
[LOG] 0:04.685 DEBUG juju.apiserver -> [D6] unit-u-0 1.540818ms {"RequestId":216,"Response":"'body redacted'"} StringsWatcher["31"].Stop
[LOG] 0:04.686 DEBUG juju.worker.uniter.charm finishing deploy of charm "cs:quantal/wordpress-1"
[LOG] 0:04.687 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":218,"Type":"Uniter","Version":2,"Request":"WatchServiceRelations","Params":"'params redacted'"}
[LOG] 0:04.687 INFO juju.worker.uniter.operation committing operation "upgrade to cs:quantal/wordpress-1"
[LOG] 0:04.689 INFO juju.worker.uniter ModeUpgrading cs:quantal/wordpress-1 exiting
[LOG] 0:04.689 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:04.690 DEBUG juju.apiserver -> [D6] unit-u-0 3.209064ms {"RequestId":218,"Response":"'body redacted'"} Uniter[""].WatchServiceRelations
[LOG] 0:04.690 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:04.690 DEBUG juju.worker.uniter.filter got config change
[LOG] 0:04.690 DEBUG juju.worker.uniter.filter preparing new config event
[LOG] 0:04.690 DEBUG juju.worker.uniter.filter got relations change
[LOG] 0:04.691 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":219,"Type":"StringsWatcher","Id":"37","Request":"Next","Params":"'params redacted'"}
[LOG] 0:04.691 INFO juju.worker.uniter checking leadership status
[LOG] 0:04.692 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:04.692 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:04.692 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:04.692 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:04.692 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:04.692 INFO juju.worker.uniter found queued "upgrade-charm" hook
[LOG] 0:04.693 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":220,"Type":"Uniter","Version":2,"Request":"UnitStorageAttachments","Params":"'params redacted'"}
[LOG] 0:04.695 DEBUG juju.apiserver -> [D6] unit-u-0 2.527947ms {"RequestId":220,"Response":"'body redacted'"} Uniter[""].UnitStorageAttachments
[LOG] 0:04.697 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":221,"Type":"Uniter","Version":2,"Request":"StorageAttachmentLife","Params":"'params redacted'"}
[LOG] 0:04.697 DEBUG juju.apiserver -> [D6] unit-u-0 280.112µs {"RequestId":221,"Response":"'body redacted'"} Uniter[""].StorageAttachmentLife
[LOG] 0:04.698 INFO juju.worker.uniter.operation running operation run upgrade-charm hook
[LOG] 0:04.698 INFO juju.worker.uniter.operation preparing operation "run upgrade-charm hook"
[LOG] 0:04.699 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":222,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:04.701 DEBUG juju.apiserver -> [D6] unit-u-0 2.343624ms {"RequestId":222,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:04.704 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":223,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
[LOG] 0:04.710 DEBUG juju.apiserver -> [D6] unit-u-0 6.889663ms {"RequestId":223,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:04.713 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":224,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:04.720 DEBUG juju.apiserver -> [D6] unit-u-0 7.198884ms {"RequestId":224,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:04.722 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":225,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:04.727 DEBUG juju.apiserver -> [D6] unit-u-0 5.62062ms {"RequestId":225,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:04.734 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":226,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:04.739 DEBUG juju.apiserver -> [D6] unit-u-0 5.351867ms {"RequestId":226,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:04.743 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":227,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
[LOG] 0:04.750 DEBUG juju.apiserver -> [D6] unit-u-0 7.247237ms {"RequestId":227,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:04.752 INFO juju.worker.uniter.operation executing operation "run upgrade-charm hook"
[LOG] 0:04.752 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running upgrade-charm hook
[LOG] 0:04.754 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.855 DEBUG juju.apiserver -> [D6] unit-u-0 102.055765ms {"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.972 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "upgrade-charm"]
[LOG] 0:04.972 DEBUG worker.uniter.jujuc hook context id "u/0-upgrade-charm-7497778705562848623"; dir "/tmp/check-6072779137484467755/1/agents/unit-u-0/charm"
[LOG] 0:04.972 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d upgrade-charm
[LOG] 0:04.978 INFO juju.worker.uniter.context handling reboot
[LOG] 0:04.978 INFO juju.worker.uniter.operation ran "upgrade-charm" hook
[LOG] 0:04.979 INFO juju.worker.uniter.operation committing operation "run upgrade-charm hook"
[LOG] 0:04.981 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:04.981 INFO juju.worker.uniter ModeContinue starting
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
[LOG] 0:04.985 INFO juju.worker.uniter checking leadership status
[LOG] 0:04.986 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:04.986 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:04.986 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:04.986 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:04.986 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:04.986 INFO juju.worker.uniter found queued "config-changed" hook
[LOG] 0:04.987 INFO juju.worker.uniter.operation running operation run config-changed hook
[LOG] 0:04.987 INFO juju.worker.uniter.operation preparing operation "run config-changed hook"
[LOG] 0:04.987 DEBUG juju.worker.uniter.filter discarded config event
[LOG] 0:04.989 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":229,"Type":"Uniter","Version":2,"Request":"APIAddresses","Params":"'params redacted'"}
[LOG] 0:04.992 DEBUG juju.apiserver -> [D6] unit-u-0 3.611659ms {"RequestId":229,"Response":"'body redacted'"} Uniter[""].APIAddresses
[LOG] 0:04.995 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":230,"Type":"Uniter","Version":2,"Request":"AllMachinePorts","Params":"'params redacted'"}
[LOG] 0:05.000 DEBUG juju.apiserver -> [D6] unit-u-0 5.47457ms {"RequestId":230,"Response":"'body redacted'"} Uniter[""].AllMachinePorts
[LOG] 0:05.002 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":231,"Type":"Uniter","Version":2,"Request":"GetMeterStatus","Params":"'params redacted'"}
[LOG] 0:05.009 DEBUG juju.apiserver -> [D6] unit-u-0 6.595911ms {"RequestId":231,"Response":"'body redacted'"} Uniter[""].GetMeterStatus
[LOG] 0:05.011 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":232,"Type":"Uniter","Version":2,"Request":"EnvironConfig","Params":"'params redacted'"}
[LOG] 0:05.018 DEBUG juju.apiserver -> [D6] unit-u-0 7.685992ms {"RequestId":232,"Response":"'body redacted'"} Uniter[""].EnvironConfig
[LOG] 0:05.025 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":233,"Type":"Uniter","Version":2,"Request":"PublicAddress","Params":"'params redacted'"}
[LOG] 0:05.031 DEBUG juju.apiserver -> [D6] unit-u-0 6.036737ms {"RequestId":233,"Response":"'body redacted'"} Uniter[""].PublicAddress
[LOG] 0:05.035 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":234,"Type":"Uniter","Version":2,"Request":"PrivateAddress","Params":"'params redacted'"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start", "upgrade-charm"}
[LOG] 0:05.042 DEBUG juju.apiserver -> [D6] unit-u-0 7.279005ms {"RequestId":234,"Response":"'body redacted'"} Uniter[""].PrivateAddress
[LOG] 0:05.044 INFO juju.worker.uniter.operation executing operation "run config-changed hook"
[LOG] 0:05.044 DEBUG juju.worker.uniter [AGENT-STATUS] executing: running config-changed hook
[LOG] 0:05.045 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.139 DEBUG juju.apiserver -> [D6] unit-u-0 93.828738ms {"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.255 INFO worker.uniter.jujuc running hook tool "juju-log" ["deadbeef-0bad-400d-8000-4b1d0d06f00d" "config-changed"]
[LOG] 0:05.256 DEBUG worker.uniter.jujuc hook context id "u/0-config-changed-7560077804410018939"; dir "/tmp/check-6072779137484467755/1/agents/unit-u-0/charm"
[LOG] 0:05.256 INFO unit.u/0.juju-log deadbeef-0bad-400d-8000-4b1d0d06f00d config-changed
[LOG] 0:05.260 INFO juju.worker.uniter.context handling reboot
[LOG] 0:05.260 INFO juju.worker.uniter.operation ran "config-changed" hook
[LOG] 0:05.260 INFO juju.worker.uniter.operation committing operation "run config-changed hook"
[LOG] 0:05.261 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:05.261 INFO juju.worker.uniter ModeContinue starting
[LOG] 0:05.263 INFO juju.worker.uniter checking leadership status
[LOG] 0:05.264 DEBUG juju.worker.leadership u/0 got claim request for u leadership
[LOG] 0:05.264 DEBUG juju.worker.leadership resolving u leadership ticket for u/0...
[LOG] 0:05.264 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:05.264 DEBUG juju.worker.leadership confirming u leadership for u/0
[LOG] 0:05.264 INFO juju.worker.uniter leadership status is up-to-date
[LOG] 0:05.264 INFO juju.worker.uniter no operations in progress; waiting for changes
[LOG] 0:05.264 INFO juju.worker.uniter ModeContinue exiting
[LOG] 0:05.264 INFO juju.worker.uniter ModeAbide starting
[LOG] 0:05.264 DEBUG juju.worker.uniter.charm no current staging repo
[LOG] 0:05.264 INFO juju.worker.uniter waiting to lose leadership
[LOG] 0:05.264 DEBUG juju.worker.leadership u/0 got wait request for u leadership loss
[LOG] 0:05.264 DEBUG juju.worker.leadership u/0 still has u leadership
[LOG] 0:05.265 DEBUG juju.worker.leadership waiting for u/0 to lose u leadership
[LOG] 0:05.265 DEBUG juju.worker.uniter.filter want forced upgrade false
[LOG] 0:05.265 DEBUG juju.worker.uniter.filter no new charm event
[LOG] 0:05.266 DEBUG juju.worker.uniter [AGENT-STATUS] idle: 
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.267 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.353 DEBUG juju.apiserver -> [D6] unit-u-0 85.879792ms {"RequestId":236,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
uniter_test.go: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.367 INFO juju.worker.uniter ModeAbide exiting
[LOG] 0:15.367 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:15.368 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:15.368 DEBUG juju.worker.uniter juju-run listener stopped
[LOG] 0:15.369 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":237,"Type":"NotifyWatcher","Id":"35","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.371 DEBUG juju.apiserver -> [D6] unit-u-0 1.617487ms {"RequestId":237,"Response":"'body redacted'"} NotifyWatcher["35"].Stop
[LOG] 0:15.371 DEBUG juju.apiserver -> [D6] unit-u-0 10.754225228s {"RequestId":208,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["35"].Next
[LOG] 0:15.374 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":238,"Type":"StringsWatcher","Id":"34","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.374 DEBUG juju.apiserver -> [D6] unit-u-0 414.276µs {"RequestId":238,"Response":"'body redacted'"} StringsWatcher["34"].Stop
[LOG] 0:15.375 DEBUG juju.apiserver -> [D6] unit-u-0 10.764586656s {"RequestId":206,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["34"].Next
[LOG] 0:15.379 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":239,"Type":"NotifyWatcher","Id":"33","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.380 DEBUG juju.apiserver -> [D6] unit-u-0 1.135582ms {"RequestId":239,"Response":"'body redacted'"} NotifyWatcher["33"].Stop
[LOG] 0:15.380 DEBUG juju.apiserver -> [D6] unit-u-0 10.777136117s {"RequestId":204,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["33"].Next
[LOG] 0:15.384 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":240,"Type":"NotifyWatcher","Id":"32","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.385 DEBUG juju.apiserver -> [D6] unit-u-0 1.581064ms {"RequestId":240,"Response":"'body redacted'"} NotifyWatcher["32"].Stop
[LOG] 0:15.385 DEBUG juju.apiserver -> [D6] unit-u-0 10.795462244s {"RequestId":202,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["32"].Next
[LOG] 0:15.388 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":241,"Type":"StringsWatcher","Id":"30","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.390 DEBUG juju.apiserver -> [D6] unit-u-0 1.523082ms {"RequestId":241,"Response":"'body redacted'"} StringsWatcher["30"].Stop
[LOG] 0:15.390 DEBUG juju.apiserver -> [D6] unit-u-0 10.818428019s {"RequestId":198,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["30"].Next
[LOG] 0:15.393 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":242,"Type":"NotifyWatcher","Id":"28","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.394 DEBUG juju.apiserver -> [D6] unit-u-0 1.4979ms {"RequestId":242,"Response":"'body redacted'"} NotifyWatcher["28"].Stop
[LOG] 0:15.395 DEBUG juju.apiserver -> [D6] unit-u-0 10.852840207s {"RequestId":193,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["28"].Next
[LOG] 0:15.398 DEBUG juju.apiserver <- [D6] unit-u-0 {"RequestId":243,"Type":"NotifyWatcher","Id":"27","Request":"Stop","Params":"'params redacted'"}
[LOG] 0:15.399 DEBUG juju.apiserver -> [D6] unit-u-0 1.405941ms {"RequestId":243,"Response":"'body redacted'"} NotifyWatcher["27"].Stop
[LOG] 0:15.400 DEBUG juju.apiserver -> [D6] unit-u-0 10.868039931s {"RequestId":191,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["27"].Next
[LOG] 0:15.401 ERROR juju.worker.uniter.filter tomb: dying
[LOG] 0:15.403 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.403 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.404 DEBUG juju.apiserver -> [D6] unit-u-0 10.71198835s {"RequestId":219,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["37"].Next
[LOG] 0:15.404 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.404 INFO juju.apiserver [D5] user-dummy-admin@local API connection terminated after 14.879932124s
[LOG] 0:15.405 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.405 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.405 DEBUG juju.apiserver -> [D6] unit-u-0 10.719766651s {"RequestId":217,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["36"].Next
[LOG] 0:15.406 INFO juju.provider.dummy reset environment
[LOG] 0:15.406 ERROR juju.rpc error writing response: write tcp 127.0.0.1:33910->127.0.0.1:37899: write: broken pipe
[LOG] 0:15.407 ERROR juju.api.watcher error trying to stop watcher: connection is shut down
[LOG] 0:15.407 DEBUG juju.apiserver -> [D6] unit-u-0 11.030903882s {"RequestId":165,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["26"].Next
[LOG] 0:15.408 ERROR juju.rpc error writing response: write tcp 127.0.0.1:33910->127.0.0.1:37899: write: broken pipe
[LOG] 0:15.408 DEBUG juju.apiserver -> [D6] unit-u-0 11.044102947s {"RequestId":163,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["25"].Next
[LOG] 0:15.408 ERROR juju.rpc error writing response: write tcp 127.0.0.1:33910->127.0.0.1:37899: write: broken pipe
[LOG] 0:15.409 DEBUG juju.apiserver -> [D6] unit-u-0 11.546767833s {"RequestId":99,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} StringsWatcher["13"].Next
[LOG] 0:15.409 ERROR juju.rpc error writing response: write tcp 127.0.0.1:33910->127.0.0.1:37899: write: broken pipe
[LOG] 0:15.410 DEBUG juju.apiserver -> [D6] unit-u-0 11.558595593s {"RequestId":95,"Error":"watcher has been stopped","ErrorCode":"stopped","Response":"'body redacted'"} NotifyWatcher["12"].Next
[LOG] 0:15.410 ERROR juju.rpc error writing response: write tcp 127.0.0.1:33910->127.0.0.1:37899: write: broken pipe
[LOG] 0:15.412 INFO juju.rpc error closing codec: write tcp 127.0.0.1:33910->127.0.0.1:37899: write: broken pipe
[LOG] 0:15.412 INFO juju.apiserver [D6] unit-u-0 API connection terminated after 13.82065823s
[LOG] 0:15.425 INFO juju.testing reset successfully reset admin password
[LOG] 0:15.462 INFO juju.testing reset successfully reset admin password
[LOG] 0:15.466 DEBUG juju.environs.configstore Made dir /tmp/check-6072779137484467755/609/home/ubuntu/.juju/environments
[LOG] 0:15.483 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:15.486 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6072779137484467755/609/home/ubuntu/.juju/environments/dummyenv.jenv
[LOG] 0:15.486 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:15.486 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:15.490 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-precise-amd64
[LOG] 0:15.495 INFO juju.environs.testing uploading FAKE tools 1.25-alpha1-trusty-amd64
[LOG] 0:15.510 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:15.510 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:15.511 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:15.511 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/612/tools/streams/v1/index2.json"
[LOG] 0:15.514 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150701:0xc8207570e0]} com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150701:0xc820757260]}] map[] Wed, 01 Jul 2015 11:21:16 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:15.515 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/612/tools/streams/v1/index2.json"
[LOG] 0:15.516 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6072779137484467755/612/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:15.516 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/612/tools/streams/v1/index2.json"
[LOG] 0:15.517 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6072779137484467755/612/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:15.517 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/612/tools/streams/v1/index2.json"
[LOG] 0:15.518 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6072779137484467755/612/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:15.521 INFO juju.environs.tools Metadata for stream "released" unchanged
[LOG] 0:15.521 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:15.521 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:15.522 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:15.522 DEBUG juju.environs.bootstrap environment "dummyenv" supports service/machine networks: true
[LOG] 0:15.522 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:15.522 DEBUG juju.environs.bootstrap looking for bootstrap tools: version=1.25-alpha1
[LOG] 0:15.522 INFO juju.environs.tools reading tools with major.minor version 1.25
[LOG] 0:15.522 INFO juju.environs.tools filtering tools by version: 1.25-alpha1
[LOG] 0:15.524 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6072779137484467755/612/tools/streams/v1/index2.json"
[LOG] 0:15.530 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:14.04:amd64:{ 1.25-alpha1 amd64   map[20150701:0xc820881020]} com.ubuntu.juju:12.04:amd64:{ 1.25-alpha1 amd64   map[20150701:0xc820880f00]}] map[] Wed, 01 Jul 2015 11:21:16 +1000 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:15.537 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:15.537 INFO juju.provider.dummy would pick tools from 1.25-alpha1-trusty-amd64
[LOG] 0:15.537 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:15.538 INFO juju.state opening state, mongo addresses: ["[::1]:38548" "localhost:38548"]; entity <nil>
[LOG] 0:15.538 DEBUG juju.state dialing mongo
[LOG] 0:15.542 INFO juju.mongo dialled mongo successfully on address "[::1]:38548"
[LOG] 0:15.543 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:38548"
[LOG] 0:15.547 DEBUG juju.state connection established
[LOG] 0:15.636 INFO juju.state starting presence watcher
[LOG] 0:15.643 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:38548"
[LOG] 0:15.798 DEBUG juju.provider.dummy setting password for "dummy-admin" to "dummy-secret"
[LOG] 0:15.814 INFO juju.apiserver listening on "[::]:42993"
[LOG] 0:15.818 INFO juju.environs.bootstrap newest version: 1.25-alpha1
[LOG] 0:15.818 INFO juju.environs.bootstrap picked bootstrap tools version: 1.25-alpha1
[LOG] 0:15.819 INFO juju.state opening state, mongo addresses: ["[::1]:38548" "localhost:38548"]; entity <nil>
[LOG] 0:15.819 DEBUG juju.state dialing mongo
[LOG] 0:15.824 INFO juju.mongo dialled mongo successfully on address "[::1]:38548"
[LOG] 0:15.827 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:38548"
[LOG] 0:15.828 DEBUG juju.state connection established
[LOG] 0:15.917 DEBUG juju.environs StateServerInstances returned: [localhost]
[LOG] 0:15.919 INFO juju.api dialing "wss://localhost:42993/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:15.987 INFO juju.apiserver [D7] API connection from 127.0.0.1:57772
[LOG] 0:15.988 DEBUG juju.apiserver validate env uuid: state server environment - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:15.989 INFO juju.api connection established to "wss://localhost:42993/environment/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:15.991 DEBUG juju.apiserver <- [D7] <unknown> {"RequestId":1,"Type":"Admin","Version":2,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:16.000 DEBUG juju.apiserver hostPorts: []
[LOG] 0:16.001 DEBUG juju.apiserver -> [D7] user-dummy-admin@local 10.622868ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:16.021 DEBUG juju.state setting API hostPorts: [[localhost:42993]]
[LOG] 0:16.028 DEBUG juju.environs.configstore writing jenv file
[LOG] 0:16.033 DEBUG juju.environs.configstore writing jenv file to /tmp/check-6072779137484467755/609/home/ubuntu/.juju/environments/dummyenv.jenv
jenv host ports: [][]network.HostPort{[]network.HostPort{localhost:42993}}
[LOG] 0:16.055 INFO juju.apiserver [D7] user-dummy-admin@local API connection terminated after 67.347302ms
[LOG] 0:16.057 INFO juju.provider.dummy reset environment
[LOG] 0:16.072 INFO juju.testing reset successfully reset admin password
[LOG] 0:16.104 INFO juju.testing reset successfully reset admin password
[LOG] 0:16.118 INFO juju.testing reset successfully reset admin password
2015-07-01 01:22:20 WARNING juju.worker.uniter upgrade123.go:26 no uniter state file found for unit unit-mysql-0, skipping uniter upgrade step
OOPS: 47 passed, 1 FAILED
--- FAIL: TestPackage (538.67s)
FAIL
FAIL	github.com/juju/juju/worker/uniter	539.020s
ok  	github.com/juju/juju/worker/uniter/charm	17.152s
ok  	github.com/juju/juju/worker/uniter/filter	32.051s
ok  	github.com/juju/juju/worker/uniter/hook	1.653s
?   	github.com/juju/juju/worker/uniter/hook/hooktesting	[no test files]
ok  	github.com/juju/juju/worker/uniter/operation	1.532s

----------------------------------------------------------------------
FAIL: hookqueue_test.go:164: HookQueueSuite.TestAliveHookQueue

test 0: Nothing happens if a unit departs before its joined is run.
  step 0
  step 1
  step 2
hookqueue_test.go:175:
    expect{}.check(c, in, out)
hookqueue_test.go:306:
    c.Fatalf("got %#v", unexpected)
... Error: got hook.Info{Kind:"relation-joined", RelationId:21345, RemoteUnit:"u/0", ChangeVersion:7, StorageId:""}

OOPS: 11 passed, 1 FAILED
--- FAIL: TestPackage (0.21s)
FAIL
FAIL	github.com/juju/juju/worker/uniter/relation	0.486s
ok  	github.com/juju/juju/worker/uniter/runner	174.438s
ok  	github.com/juju/juju/worker/uniter/runner/debug	1.311s
ok  	github.com/juju/juju/worker/uniter/runner/jujuc	1.878s
?   	github.com/juju/juju/worker/uniter/runner/jujuc/testing	[no test files]
==================
WARNING: DATA RACE
Read by goroutine 61:
  github.com/juju/juju/worker/uniter/storage_test.(*attachmentsUpdateSuite).SetUpTest.func3()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/attachments_test.go:416 +0x17c
  github.com/juju/juju/worker/uniter/storage_test.(*mockStorageAccessor).StorageAttachment()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/mock_test.go:35 +0xae
  github.com/juju/juju/worker/uniter/storage.(*storageSource).update()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/source.go:127 +0x138
  github.com/juju/juju/worker/uniter/storage.(*storageSource).loop.func1()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/source.go:104 +0xc0
  github.com/juju/juju/worker/uniter/hook.SourceChange.Apply()
      /home/dfc/src/github.com/juju/juju/worker/uniter/hook/source.go:44 +0x36
  github.com/juju/juju/worker/uniter/hook.(*hookSender).loop()
      /home/dfc/src/github.com/juju/juju/worker/uniter/hook/sender.go:69 +0x328
  github.com/juju/juju/worker/uniter/hook.NewSender.func1()
      /home/dfc/src/github.com/juju/juju/worker/uniter/hook/sender.go:29 +0xec

Previous write by goroutine 57:
  github.com/juju/juju/worker/uniter/storage_test.(*attachmentsUpdateSuite).TestAttachmentsUpdateShortCircuitNoHooks()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/attachments_test.go:501 +0x6da
  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:772 +0x5e0
  gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
      /home/dfc/src/gopkg.in/check.v1/check.go:666 +0x80

Goroutine 61 (running) created at:
  github.com/juju/juju/worker/uniter/hook.NewSender()
      /home/dfc/src/github.com/juju/juju/worker/uniter/hook/sender.go:30 +0xea
  github.com/juju/juju/worker/uniter/storage.newStorager()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/storager.go:37 +0x193
  github.com/juju/juju/worker/uniter/storage.(*Attachments).add()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/attachments.go:278 +0xeb
  github.com/juju/juju/worker/uniter/storage.(*Attachments).updateOneStorage()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/attachments.go:271 +0x409
  github.com/juju/juju/worker/uniter/storage.(*Attachments).UpdateStorage()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/attachments.go:235 +0x7b8
  github.com/juju/juju/worker/uniter/storage_test.(*attachmentsUpdateSuite).TestAttachmentsUpdateShortCircuitNoHooks()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/attachments_test.go:492 +0x1f0
  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:772 +0x5e0
  gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1()
      /home/dfc/src/gopkg.in/check.v1/check.go:666 +0x80

Goroutine 57 (running) created at:
  gopkg.in/check%2ev1.(*suiteRunner).forkCall()
      /home/dfc/src/gopkg.in/check.v1/check.go:667 +0x486
  gopkg.in/check%2ev1.(*suiteRunner).forkTest()
      /home/dfc/src/gopkg.in/check.v1/check.go:804 +0x126
  gopkg.in/check%2ev1.(*suiteRunner).runTest()
      /home/dfc/src/gopkg.in/check.v1/check.go:809 +0x38
  gopkg.in/check%2ev1.(*suiteRunner).run()
      /home/dfc/src/gopkg.in/check.v1/check.go:615 +0x481
  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/uniter/storage_test.TestPackage()
      /home/dfc/src/github.com/juju/juju/worker/uniter/storage/package_test.go:13 +0x2e
  testing.tRunner()
      /home/dfc/go/src/testing/testing.go:455 +0xdc
==================
OK: 31 passed
PASS
Found 1 data race(s)
FAIL	github.com/juju/juju/worker/uniter/storage	1.747s
ok  	github.com/juju/juju/worker/upgrader	10.785s
ok  	github.com/juju/juju/worker/util	1.085s
ok  	github.com/juju/juju/wrench	1.272s
Download as text