Ubuntu Pastebin

Paste from dimitern at Thu, 10 Mar 2016 11:43:00 +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
ok  	github.com/juju/juju/agent/tools	0.183s

----------------------------------------------------------------------
FAIL: client_macaroon_test.go:69: clientMacaroonSuite.TestAddLocalCharmUnauthorized

[LOG] 0:00.002 DEBUG juju.environs.configstore Made dir /tmp/check-6129484611666145821/8/home/ubuntu/.local/share/juju/models
[LOG] 0:00.004 DEBUG juju.environs.configstore writing cache file
[LOG] 0:00.007 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.007 INFO juju.environs.testing uploading FAKE tools 2.0-beta2-trusty-amd64
[LOG] 0:00.009 INFO juju.environs.testing uploading FAKE tools 2.0-beta2-precise-amd64
[LOG] 0:00.010 INFO juju.environs.testing uploading FAKE tools 2.0-beta2-wily-amd64
[LOG] 0:00.019 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.020 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.020 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.028 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.028 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820131b00]} com.ubuntu.juju:14.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820131c20]} com.ubuntu.juju:15.10:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820131d40]}] map[] Thu, 10 Mar 2016 13:40:36 +0200 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:00.028 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.029 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.029 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.029 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.029 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.029 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.029 INFO juju.environs.tools Metadata for stream "released" unchanged
[LOG] 0:00.029 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.030 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.030 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.030 INFO juju.environs.testing uploading FAKE tools 2.0-beta2-trusty-amd64
[LOG] 0:00.032 INFO juju.environs.testing uploading FAKE tools 2.0-beta2-precise-amd64
[LOG] 0:00.033 INFO juju.environs.testing uploading FAKE tools 2.0-beta2-wily-amd64
[LOG] 0:00.037 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.038 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc8208cc060]} com.ubuntu.juju:14.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc8208cc1e0]} com.ubuntu.juju:15.10:amd64:{ 2.0-beta2 amd64   map[20160310:0xc8208cc7e0]}] map[] Thu, 10 Mar 2016 13:40:36 +0200 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:00.038 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.038 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.038 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.038 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.039 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.039 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.039 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.039 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.039 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-devel-tools.json
[LOG] 0:00.050 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.050 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:15.10:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820598720]} com.ubuntu.juju:12.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc8205984e0]} com.ubuntu.juju:14.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820598600]}] map[] Thu, 10 Mar 2016 13:40:36 +0200 products:1.0 com.ubuntu.juju:released:tools  }
[LOG] 0:00.051 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.051 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.051 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.051 DEBUG juju.environs.simplestreams skipping index "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json" because of missing information: "content-download" data not found
[LOG] 0:00.051 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.json"
[LOG] 0:00.051 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:15.10:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820599e00]} com.ubuntu.juju:12.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820599bc0]} com.ubuntu.juju:14.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820599ce0]}] map[] Thu, 10 Mar 2016 13:40:36 +0200 products:1.0 com.ubuntu.juju:devel:tools  }
[LOG] 0:00.052 INFO juju.environs.tools Metadata for stream "devel" unchanged
[LOG] 0:00.052 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.052 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.052 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.052 DEBUG juju.environs.bootstrap model "dummymodel" supports service/machine networks: true
[LOG] 0:00.052 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.053 INFO juju.environs.bootstrap looking for bootstrap tools: version=2.0-beta2
[LOG] 0:00.053 INFO juju.environs.tools finding tools in stream "devel"
[LOG] 0:00.053 INFO juju.environs.tools reading tools with major.minor version 2.0
[LOG] 0:00.053 INFO juju.environs.tools filtering tools by version: 2.0-beta2
[LOG] 0:00.063 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/11/tools/streams/v1/index2.sjson"
[LOG] 0:00.076 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:15.10:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820570360]} com.ubuntu.juju:12.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820570120]} com.ubuntu.juju:14.04:amd64:{ 2.0-beta2 amd64   map[20160310:0xc820570240]}] map[] Thu, 10 Mar 2016 13:40:36 +0200 products:1.0 com.ubuntu.juju:devel:tools  }
[LOG] 0:00.077 INFO juju.network setting prefer-ipv6 to true
[LOG] 0:00.077 INFO juju.provider.dummy would pick tools from 2.0-beta2-trusty-amd64
[LOG] 0:00.077 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:00.077 INFO juju.state opening state, mongo addresses: ["[::1]:36752" "localhost:36752"]; entity <nil>
[LOG] 0:00.077 DEBUG juju.state dialing mongo
[LOG] 0:00.083 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:36752"
[LOG] 0:00.084 DEBUG juju.state connection established
[LOG] 0:00.084 DEBUG juju.state mongodb login successful
[LOG] 0:00.085 INFO juju.mongo dialled mongo successfully on address "[::1]:36752"
[LOG] 0:00.145 INFO juju.state initializing controller model deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:00.156 INFO juju.state running state anonymously; using unique client id
[LOG] 0:00.156 INFO juju.state creating lease clients as anon-15ab4060-c708-4c28-8b1f-ab5e007e6c14
[LOG] 0:00.169 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:36752"
[LOG] 0:00.172 INFO juju.state starting leadership lease manager
[LOG] 0:00.172 DEBUG juju.worker.lease waking to check leases at 2016-03-10 13:41:36.599128558 +0200 EET
[LOG] 0:00.173 INFO juju.state starting singular lease manager
[LOG] 0:00.173 INFO juju.state creating cloud image metadata storage
[LOG] 0:00.174 INFO juju.state starting presence watcher
[LOG] 0:00.174 DEBUG juju.worker.lease waking to check leases at 2016-03-10 13:41:36.601058918 +0200 EET
[LOG] 0:00.186 DEBUG juju.provider.dummy setting password for "admin" to "dummy-secret"
[LOG] 0:00.188 INFO juju.environs.bootstrap newest version: 2.0-beta2
[LOG] 0:00.188 INFO juju.environs.bootstrap picked bootstrap tools version: 2.0-beta2
[LOG] 0:00.188 INFO juju.state opening state, mongo addresses: ["[::1]:36752" "localhost:36752"]; entity <nil>
[LOG] 0:00.188 DEBUG juju.state dialing mongo
[LOG] 0:00.188 INFO juju.apiserver listening on "[::]:41479"
[LOG] 0:00.188 ERROR juju.apiserver Unable to prime /tmp/check-6129484611666145821/10/logsink.log (proceeding anyway): chown /tmp/check-6129484611666145821/10/logsink.log: operation not permitted
[LOG] 0:00.188 DEBUG juju.apiserver Starting API http server on address "[::]:41479"
[LOG] 0:00.199 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:36752"
[LOG] 0:00.199 INFO juju.mongo dialled mongo successfully on address "[::1]:36752"
[LOG] 0:00.200 DEBUG juju.state connection established
[LOG] 0:00.200 DEBUG juju.state mongodb login successful
[LOG] 0:00.206 INFO juju.state running state anonymously; using unique client id
[LOG] 0:00.206 INFO juju.state creating lease clients as anon-f9efc804-eaa3-47d0-83e5-99c596fc7b5d
[LOG] 0:00.206 INFO juju.state starting leadership lease manager
[LOG] 0:00.206 DEBUG juju.worker.lease waking to check leases at 2016-03-10 13:41:36.633815771 +0200 EET
[LOG] 0:00.207 INFO juju.state starting singular lease manager
[LOG] 0:00.207 INFO juju.state creating cloud image metadata storage
[LOG] 0:00.207 INFO juju.state starting presence watcher
[LOG] 0:00.208 DEBUG juju.worker.lease waking to check leases at 2016-03-10 13:41:36.634993658 +0200 EET
[LOG] 0:00.211 DEBUG juju.environs ControllerInstances returned: [localhost]
[LOG] 0:00.211 WARNING juju.network no addresses found in space "default"
[LOG] 0:00.211 WARNING juju.environs using all API addresses (cannot pick by space "default"): [localhost]
[LOG] 0:00.217 INFO juju.api dialing "wss://localhost:41479/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.219 INFO juju.apiserver [14] API connection from 127.0.0.1:54236, active connections: 1
[LOG] 0:00.219 DEBUG juju.apiserver validate model uuid: controller model - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:00.219 INFO juju.api connection established to "wss://localhost:41479/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.219 DEBUG juju.apiserver <- [14] <unknown> {"RequestId":1,"Type":"Admin","Version":3,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:00.221 DEBUG juju.apiserver hostPorts: []
[LOG] 0:00.221 DEBUG juju.apiserver -> [14] user-admin@local 1.805412ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:00.221 WARNING juju.network no hostPorts found in space "default"
[LOG] 0:00.221 WARNING juju.state cannot determine API addresses in space "default" to use as API endpoints; using all addresses
[LOG] 0:00.223 DEBUG juju.state setting API hostPorts: [[localhost:41479]]
[LOG] 0:00.225 DEBUG juju.environs.configstore writing cache file
jenv host ports: [][]network.HostPort{[]network.HostPort{localhost:41479}}
[LOG] 0:00.228 INFO juju.mongo dialled mongo successfully on address "127.0.0.1:36752"
[LOG] 0:00.231 DEBUG juju.environs ControllerInstances returned: [localhost]
[LOG] 0:00.231 WARNING juju.network no addresses found in space "default"
[LOG] 0:00.231 WARNING juju.environs using all API addresses (cannot pick by space "default"): [localhost]
[LOG] 0:00.231 INFO juju.api dialing "wss://localhost:41479/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.233 INFO juju.apiserver [15] API connection from 127.0.0.1:54238, active connections: 2
[LOG] 0:00.233 DEBUG juju.apiserver validate model uuid: controller model - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:00.233 INFO juju.api connection established to "wss://localhost:41479/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/api"
[LOG] 0:00.233 DEBUG juju.apiserver <- [15] <unknown> {"RequestId":1,"Type":"Admin","Version":3,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:00.236 INFO bakery Service.AddCaveat id "api-login"; cav checkers.Caveat{Location:"", Condition:"time-before 2016-03-10T12:40:36.663565463Z"}
[LOG] 0:00.236 INFO bakery Service.AddCaveat id "api-login"; cav checkers.Caveat{Location:"https://127.0.0.1:37212", Condition:"need-declared username is-authenticated-user"}
[LOG] 0:00.236 INFO juju.apiserver login failed with discharge-required error: verification failed: no macaroons
[LOG] 0:00.236 DEBUG juju.apiserver -> [15] <unknown> 3.352381ms {"RequestId":1,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:00.237 DEBUG httpbakery postFormJSON to https://127.0.0.1:37212/discharge; vals: url.Values{"id":[]string{"eyJUaGlyZFBhcnR5UHVibGljS2V5IjoiZEltTXN6bFpHRDFLV2ZvdFZYSUkwMmZKWXlnaHN6VHdZcjBsMFNvdVFXVT0iLCJGaXJzdFBhcnR5UHVibGljS2V5IjoiamlwSG9nNXlUTzEzeFVuOHhGdnlmM1RRdHJSSEU3eEVwV2NMdWs1cWVuUT0iLCJOb25jZSI6ImV0S1lmSEZlTVdwMStDRkxxMitkUEFiamlYMmRxWGgwIiwiSWQiOiIvbnBWeC9GTFJ6V1BrKytpdXVSWEF2c0t3cXlCTXFtSXlOdFdKQVd5czc4RDlyUnErN3hXUWZYRVREQzhrWDNNdzlxYmpPMkFaNmVMWFA2YTNQOHdPOFVEQnpVUWh6MHEySzRONEovZmtsbThGeFhIQmY4OUFQWWhaYUlGVithaU1kajRzUkhOQW9iMmRDeGFhRUhjWmVTOEpwVnQ4dng5MVE9PSJ9"}, "location":[]string{"juju model deadbeef-0bad-400d-8000-4b1d0d06f00d"}}
[LOG] 0:00.237 DEBUG httpbakery client do POST https://127.0.0.1:37212/discharge {
[LOG] 0:00.239 DEBUG httpbakery dischargeHandler.serveDischarge {
[LOG] 0:00.239 INFO bakery server attempting to discharge "eyJUaGlyZFBhcnR5UHVibGljS2V5IjoiZEltTXN6bFpHRDFLV2ZvdFZYSUkwMmZKWXlnaHN6VHdZcjBsMFNvdVFXVT0iLCJGaXJzdFBhcnR5UHVibGljS2V5IjoiamlwSG9nNXlUTzEzeFVuOHhGdnlmM1RRdHJSSEU3eEVwV2NMdWs1cWVuUT0iLCJOb25jZSI6ImV0S1lmSEZlTVdwMStDRkxxMitkUEFiamlYMmRxWGgwIiwiSWQiOiIvbnBWeC9GTFJ6V1BrKytpdXVSWEF2c0t3cXlCTXFtSXlOdFdKQVd5czc4RDlyUnErN3hXUWZYRVREQzhrWDNNdzlxYmpPMkFaNmVMWFA2YTNQOHdPOFVEQnpVUWh6MHEySzRONEovZmtsbThGeFhIQmY4OUFQWWhaYUlGVithaU1kajRzUkhOQW9iMmRDeGFhRUhjWmVTOEpwVnQ4dng5MVE9PSJ9"
[LOG] 0:00.239 INFO bakery Service.AddCaveat id "eyJUaGlyZFBhcnR5UHVibGljS2V5IjoiZEltTXN6bFpHRDFLV2ZvdFZYSUkwMmZKWXlnaHN6VHdZcjBsMFNvdVFXVT0iLCJGaXJzdFBhcnR5UHVibGljS2V5IjoiamlwSG9nNXlUTzEzeFVuOHhGdnlmM1RRdHJSSEU3eEVwV2NMdWs1cWVuUT0iLCJOb25jZSI6ImV0S1lmSEZlTVdwMStDRkxxMitkUEFiamlYMmRxWGgwIiwiSWQiOiIvbnBWeC9GTFJ6V1BrKytpdXVSWEF2c0t3cXlCTXFtSXlOdFdKQVd5czc4RDlyUnErN3hXUWZYRVREQzhrWDNNdzlxYmpPMkFaNmVMWFA2YTNQOHdPOFVEQnpVUWh6MHEySzRONEovZmtsbThGeFhIQmY4OUFQWWhaYUlGVithaU1kajRzUkhOQW9iMmRDeGFhRUhjWmVTOEpwVnQ4dng5MVE9PSJ9"; cav checkers.Caveat{Location:"", Condition:"declared username testuser@somewhere"}
[LOG] 0:00.239 DEBUG httpbakery }
[LOG] 0:00.239 DEBUG httpbakery serveDischarge -> &httpbakery.dischargeResponse{Macaroon:(*macaroon.Macaroon)(0xc820130900)}
[LOG] 0:00.239 DEBUG httpbakery } -> error <nil>
[LOG] 0:00.257 DEBUG juju.apiserver <- [15] <unknown> {"RequestId":2,"Type":"Admin","Version":3,"Request":"Login","Params":"'params redacted'"}
[LOG] 0:00.259 DEBUG juju.apiserver hostPorts: [[localhost:41479]]
[LOG] 0:00.259 DEBUG juju.apiserver -> [15] user-testuser@somewhere 2.02048ms {"RequestId":2,"Response":"'body redacted'"} Admin[""].Login
[LOG] 0:00.262 DEBUG httpbakery client do POST https://localhost:41479/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?series=quantal {
[LOG] 0:00.264 DEBUG juju.apiserver validate model uuid: controller model - deadbeef-0bad-400d-8000-4b1d0d06f00d
[LOG] 0:00.264 INFO bakery Service.AddCaveat id "api-login"; cav checkers.Caveat{Location:"", Condition:"time-before 2016-03-10T12:40:36.691644059Z"}
[LOG] 0:00.264 INFO bakery Service.AddCaveat id "api-login"; cav checkers.Caveat{Location:"https://127.0.0.1:37212", Condition:"need-declared username is-authenticated-user"}
[LOG] 0:00.264 ERROR juju.apiserver returning error from POST /model/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?%3Amodeluuid=deadbeef-0bad-400d-8000-4b1d0d06f00d&series=quantal: [{github.com/juju/juju/apiserver/charms.go:62: } {github.com/juju/juju/apiserver/httpcontext.go:88: } {github.com/juju/juju/apiserver/httpcontext.go:78: } {github.com/juju/juju/apiserver/admin.go:281: } {verification failed: no macaroons}]
[LOG] 0:00.272 DEBUG httpbakery postFormJSON to https://127.0.0.1:37212/discharge; vals: url.Values{"id":[]string{"eyJUaGlyZFBhcnR5UHVibGljS2V5IjoiZEltTXN6bFpHRDFLV2ZvdFZYSUkwMmZKWXlnaHN6VHdZcjBsMFNvdVFXVT0iLCJGaXJzdFBhcnR5UHVibGljS2V5IjoiamlwSG9nNXlUTzEzeFVuOHhGdnlmM1RRdHJSSEU3eEVwV2NMdWs1cWVuUT0iLCJOb25jZSI6IjRtMXZFNmJ2RTU3aERhV1JtbE4zWVIrd1JuNHdLRlhHIiwiSWQiOiJMa3hxVXBvSXJxT0dySitNaFBlM1ZkU2lvNkxYcjd0Ym9VZUdSK2htaUdLWDJBOHk0cmZFOTRhL3ZMMjhKdWNLQkZucG9oYWxQY1pnS1VwMlBTOUd1Y1F6OFJDOGZzWS9WUWJGUlRjL29WNnBMTEppRWYyUVJEajdrTC9FVEJhZ2E5TUFwdDBVTXJ3WHZ3NFNmWk82dms2SFZaYmNPeWxrWHc9PSJ9"}, "location":[]string{"juju model deadbeef-0bad-400d-8000-4b1d0d06f00d"}}
[LOG] 0:00.272 DEBUG httpbakery client do POST https://127.0.0.1:37212/discharge {
[LOG] 0:00.275 DEBUG httpbakery dischargeHandler.serveDischarge {
[LOG] 0:00.275 INFO bakery server attempting to discharge "eyJUaGlyZFBhcnR5UHVibGljS2V5IjoiZEltTXN6bFpHRDFLV2ZvdFZYSUkwMmZKWXlnaHN6VHdZcjBsMFNvdVFXVT0iLCJGaXJzdFBhcnR5UHVibGljS2V5IjoiamlwSG9nNXlUTzEzeFVuOHhGdnlmM1RRdHJSSEU3eEVwV2NMdWs1cWVuUT0iLCJOb25jZSI6IjRtMXZFNmJ2RTU3aERhV1JtbE4zWVIrd1JuNHdLRlhHIiwiSWQiOiJMa3hxVXBvSXJxT0dySitNaFBlM1ZkU2lvNkxYcjd0Ym9VZUdSK2htaUdLWDJBOHk0cmZFOTRhL3ZMMjhKdWNLQkZucG9oYWxQY1pnS1VwMlBTOUd1Y1F6OFJDOGZzWS9WUWJGUlRjL29WNnBMTEppRWYyUVJEajdrTC9FVEJhZ2E5TUFwdDBVTXJ3WHZ3NFNmWk82dms2SFZaYmNPeWxrWHc9PSJ9"
[LOG] 0:00.275 INFO bakery Service.AddCaveat id "eyJUaGlyZFBhcnR5UHVibGljS2V5IjoiZEltTXN6bFpHRDFLV2ZvdFZYSUkwMmZKWXlnaHN6VHdZcjBsMFNvdVFXVT0iLCJGaXJzdFBhcnR5UHVibGljS2V5IjoiamlwSG9nNXlUTzEzeFVuOHhGdnlmM1RRdHJSSEU3eEVwV2NMdWs1cWVuUT0iLCJOb25jZSI6IjRtMXZFNmJ2RTU3aERhV1JtbE4zWVIrd1JuNHdLRlhHIiwiSWQiOiJMa3hxVXBvSXJxT0dySitNaFBlM1ZkU2lvNkxYcjd0Ym9VZUdSK2htaUdLWDJBOHk0cmZFOTRhL3ZMMjhKdWNLQkZucG9oYWxQY1pnS1VwMlBTOUd1Y1F6OFJDOGZzWS9WUWJGUlRjL29WNnBMTEppRWYyUVJEajdrTC9FVEJhZ2E5TUFwdDBVTXJ3WHZ3NFNmWk82dms2SFZaYmNPeWxrWHc9PSJ9"; cav checkers.Caveat{Location:"", Condition:"declared username baduser"}
[LOG] 0:00.275 DEBUG httpbakery }
[LOG] 0:00.275 DEBUG httpbakery serveDischarge -> &httpbakery.dischargeResponse{Macaroon:(*macaroon.Macaroon)(0xc82033a360)}
[LOG] 0:00.276 DEBUG httpbakery } -> error <nil>
[LOG] 0:00.278 DEBUG httpbakery } -> error [{/home/dimitern/work/go/src/gopkg.in/macaroon-bakery.v1/httpbakery/client.go:272: } {Post https://localhost:41479/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?series=quantal: reader has been closed}]
client_macaroon_test.go:77:
    c.Assert(err, gc.ErrorMatches, `POST https://.*/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms\?series=quantal: invalid entity name or password`)
... error string = "POST https://localhost:41479/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?series=quantal: Post https://localhost:41479/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms?series=quantal: reader has been closed"
... regex string = "POST https://.*/model/deadbeef-0bad-400d-8000-4b1d0d06f00d/charms\\?series=quantal: invalid entity name or password"

[LOG] 0:00.279 DEBUG juju.api health ping failed: connection is shut down
[LOG] 0:00.279 INFO juju.apiserver [15] user-testuser@somewhere API connection terminated after 46.258681ms, active connections: 1
[LOG] 0:00.279 INFO juju.apiserver [14] user-admin@local API connection terminated after 60.080948ms, active connections: 0
[LOG] 0:00.279 DEBUG juju.api health ping failed: connection is shut down
[LOG] 0:00.279 DEBUG juju.state closed state without error
[LOG] 0:00.279 INFO juju.provider.dummy reset model
[LOG] 0:00.279 DEBUG juju.apiserver API http server exited, final error was: accept tcp [::]:41479: use of closed network connection
[LOG] 0:00.279 INFO juju.apiserver closed listening socket "[::]:41479" with final error: close tcp [::]:41479: use of closed network connection
[LOG] 0:00.279 DEBUG juju.state closed state without error
[LOG] 0:00.279 DEBUG juju.state closed state without error
[LOG] 0:00.288 INFO juju.testing reset successfully reset admin password
[LOG] 0:00.300 INFO juju.testing reset successfully reset admin password
[LOG] 0:00.312 INFO juju.testing reset successfully reset admin password
OOPS: 73 passed, 1 FAILED
--- FAIL: TestAll (16.59s)
FAIL
FAIL	github.com/juju/juju/api	16.636s
Download as text