The attempt to merge lp:~dimitern/juju-core/260-lp-1067979-duplicate-charm into lp:juju-core failed. Below is the output from the failed tests. ok launchpad.net/juju-core/agent 1.241s ok launchpad.net/juju-core/agent/tools 0.265s ok launchpad.net/juju-core/bzr 7.509s ok launchpad.net/juju-core/cert 3.259s ok launchpad.net/juju-core/charm 0.659s ? launchpad.net/juju-core/charm/hooks [no test files] ? launchpad.net/juju-core/charm/testing [no test files] ok launchpad.net/juju-core/cloudinit 0.033s ok launchpad.net/juju-core/cloudinit/sshinit 1.063s ok launchpad.net/juju-core/cmd 0.231s ok launchpad.net/juju-core/cmd/charm-admin 0.827s ? launchpad.net/juju-core/cmd/charmd [no test files] ? launchpad.net/juju-core/cmd/charmload [no test files] ok launchpad.net/juju-core/cmd/juju 257.042s ok launchpad.net/juju-core/cmd/jujud 63.020s ok launchpad.net/juju-core/cmd/plugins/juju-metadata 13.084s ? launchpad.net/juju-core/cmd/plugins/juju-restore [no test files] ok launchpad.net/juju-core/constraints 0.029s ok launchpad.net/juju-core/container 0.043s ok launchpad.net/juju-core/container/factory 0.074s ok launchpad.net/juju-core/container/kvm 0.257s ok launchpad.net/juju-core/container/kvm/mock 0.036s ? launchpad.net/juju-core/container/kvm/testing [no test files] ok launchpad.net/juju-core/container/lxc 0.363s ? launchpad.net/juju-core/container/lxc/mock [no test files] ? launchpad.net/juju-core/container/lxc/testing [no test files] ? launchpad.net/juju-core/container/testing [no test files] ok launchpad.net/juju-core/downloader 5.281s ok launchpad.net/juju-core/environs 3.259s ok launchpad.net/juju-core/environs/bootstrap 4.443s ok launchpad.net/juju-core/environs/cloudinit 0.672s ok launchpad.net/juju-core/environs/config 2.722s ok launchpad.net/juju-core/environs/configstore 0.049s ok launchpad.net/juju-core/environs/filestorage 0.032s ok launchpad.net/juju-core/environs/httpstorage 1.023s ok launchpad.net/juju-core/environs/imagemetadata 0.685s ? launchpad.net/juju-core/environs/imagemetadata/testing [no test files] ok launchpad.net/juju-core/environs/instances 0.070s ok launchpad.net/juju-core/environs/jujutest 0.249s ok launchpad.net/juju-core/environs/manual 8.911s ok launchpad.net/juju-core/environs/simplestreams 0.359s ? launchpad.net/juju-core/environs/simplestreams/testing [no test files] ok launchpad.net/juju-core/environs/sshstorage 1.247s ok launchpad.net/juju-core/environs/storage 1.211s ok launchpad.net/juju-core/environs/sync 34.656s ok launchpad.net/juju-core/environs/testing 0.203s ok launchpad.net/juju-core/environs/tools 6.884s ? launchpad.net/juju-core/environs/tools/testing [no test files] ok launchpad.net/juju-core/errors 0.016s ok launchpad.net/juju-core/instance 0.023s ? launchpad.net/juju-core/instance/testing [no test files] ok launchpad.net/juju-core/juju 25.459s ok launchpad.net/juju-core/juju/osenv 0.020s ? launchpad.net/juju-core/juju/testing [no test files] ok launchpad.net/juju-core/log 0.015s ok launchpad.net/juju-core/log/syslog 0.035s ok launchpad.net/juju-core/names 0.027s ? launchpad.net/juju-core/provider [no test files] ? launchpad.net/juju-core/provider/all [no test files] ok launchpad.net/juju-core/provider/azure 6.870s ok launchpad.net/juju-core/provider/common 10.066s ok launchpad.net/juju-core/provider/dummy 24.860s ok launchpad.net/juju-core/provider/ec2 19.051s ok launchpad.net/juju-core/provider/joyent 5.229s ok launchpad.net/juju-core/provider/local 5.210s ok launchpad.net/juju-core/provider/maas 20.284s ok launchpad.net/juju-core/provider/null 1.316s ok launchpad.net/juju-core/provider/openstack 32.878s ok launchpad.net/juju-core/replicaset 43.840s ok launchpad.net/juju-core/rpc 0.122s ok launchpad.net/juju-core/rpc/jsoncodec 0.036s ? launchpad.net/juju-core/rpc/rpcreflect [no test files] ok launchpad.net/juju-core/schema 0.032s ok launchpad.net/juju-core/state 91.037s ok launchpad.net/juju-core/state/api 1.905s ok launchpad.net/juju-core/state/api/agent 2.072s ? launchpad.net/juju-core/state/api/base [no test files] ok launchpad.net/juju-core/state/api/charmrevisionupdater 1.012s ? launchpad.net/juju-core/state/api/common [no test files] ? launchpad.net/juju-core/state/api/common/testing [no test files] ok launchpad.net/juju-core/state/api/deployer 6.521s ok launchpad.net/juju-core/state/api/environment 2.015s ok launchpad.net/juju-core/state/api/firewaller 11.408s ok launchpad.net/juju-core/state/api/keymanager 3.710s ok launchpad.net/juju-core/state/api/keyupdater 2.719s ok launchpad.net/juju-core/state/api/logger 2.388s ok launchpad.net/juju-core/state/api/machiner 3.437s ok launchpad.net/juju-core/state/api/params 0.037s ok launchpad.net/juju-core/state/api/provisioner 10.137s ok launchpad.net/juju-core/state/api/uniter 28.776s ok launchpad.net/juju-core/state/api/upgrader 3.873s ok launchpad.net/juju-core/state/api/watcher 3.437s ok launchpad.net/juju-core/state/apiserver 7.984s ok launchpad.net/juju-core/state/apiserver/agent 3.238s ok launchpad.net/juju-core/state/apiserver/charmrevisionupdater 2.578s ? launchpad.net/juju-core/state/apiserver/charmrevisionupdater/testing [no test files] ---------------------------------------------------------------------- FAIL: client_test.go:1775: clientSuite.TestAddCharm [LOG] 67.60742 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/2/home/ubuntu/.juju/environments [LOG] 67.70057 DEBUG juju.environs.tools reading v1.* tools [LOG] 67.70061 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 67.70487 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 67.70490 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 67.70495 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 67.70497 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 67.70499 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 67.70501 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 67.70531 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 67.70549 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 67.70568 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 67.70573 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 67.70575 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 67.70576 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 67.70577 INFO juju.environs.tools filtering tools by series: precise [LOG] 67.70580 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 67.70584 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 67.70586 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 67.70597 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 67.70599 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 67.70601 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 67.70603 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:41631/dummyenv/private/tools/streams/v1/index.json" [LOG] 67.70610 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:28 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 67.70611 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 67.70634 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc2004374e0]}] map[] Thu, 30 Jan 2014 10:46:28 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 67.70646 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 67.70649 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 67.70694 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 67.70973 INFO juju.state connection established [LOG] 67.76472 INFO juju.state adding state server info to legacy environment [LOG] 67.76500 INFO juju.state found existing state servers [] [LOG] 67.77062 INFO juju.state initializing environment [LOG] 67.79068 INFO juju.state.apiserver listening on "127.0.0.1:41781" [LOG] 67.81569 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 67.81841 INFO juju.state connection established [LOG] 67.83320 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 67.83327 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 67.83771 INFO juju.state connection established [LOG] 67.84536 INFO juju.state adding state server info to legacy environment [LOG] 67.84808 INFO juju.state found existing state servers [] [LOG] 67.88753 INFO juju state/api: dialing "wss://127.0.0.1:41781/" [LOG] 67.89506 INFO juju.state.apiserver [2] API connection from 127.0.0.1:45307 [LOG] 67.89518 INFO juju state/api: connection established [LOG] 67.89534 DEBUG juju.state.apiserver <- [2] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 67.89600 DEBUG juju.state.apiserver -> [2] user-admin 645.691us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 67.89661 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":3,"Type":"Client","Request":"AddCharm","Params":{"URL":":/nonsense-0"}} [LOG] 67.89671 DEBUG juju.state.apiserver -> [2] user-admin 104.336us {"RequestId":3,"Error":"charm URL has invalid schema: \":/nonsense-0\"","Response":{}} Client[""].AddCharm [LOG] 67.89744 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":4,"Type":"Client","Request":"AddCharm","Params":{"URL":"local:precise/dummy"}} [LOG] 67.89751 DEBUG juju.state.apiserver -> [2] user-admin 85.625us {"RequestId":4,"Error":"only charm store charm URLs are supported, with cs: schema","Response":{}} Client[""].AddCharm [LOG] 67.89783 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":5,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress"}} [LOG] 67.89791 DEBUG juju.state.apiserver -> [2] user-admin 84.623us {"RequestId":5,"Error":"charm URL must include revision","Response":{}} Client[""].AddCharm [LOG] 67.90033 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":6,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:quantal/dummy-1"}} [LOG] 67.90072 DEBUG juju.state.apiserver -> [2] user-admin 394.802us {"RequestId":6,"Response":{}} Client[""].AddCharm [LOG] 67.90897 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":7,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 67.91503 DEBUG juju.state.apiserver -> [2] user-admin 6.068427ms {"RequestId":7,"Error":"cannot get storage URL for charm: wordpress-3-ff295777-1eae-40be-8862-213b9037cfba not found","Response":{}} Client[""].AddCharm client_test.go:1812: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-ff295777-1eae-40be-8862-213b9037cfba not found"} ("cannot get storage URL for charm: wordpress-3-ff295777-1eae-40be-8862-213b9037cfba not found") [LOG] 67.92845 INFO juju.provider.dummy reset environment [LOG] 67.92869 INFO juju.state.apiserver [2] API connection terminated after 33.632265ms [LOG] 67.93238 INFO juju Reset successfully reset admin password [LOG] 67.95234 INFO juju Reset successfully reset admin password [LOG] 67.95771 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1820: clientSuite.TestAddCharmConcurrently [LOG] 67.99647 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/5/home/ubuntu/.juju/environments [LOG] 68.10045 DEBUG juju.environs.tools reading v1.* tools [LOG] 68.10050 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 68.10145 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 68.10147 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 68.10152 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 68.10154 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 68.10157 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 68.10158 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 68.10190 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 68.10209 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 68.10225 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 68.10230 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 68.10231 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 68.10233 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 68.10234 INFO juju.environs.tools filtering tools by series: precise [LOG] 68.10236 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 68.10241 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 68.10242 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 68.10254 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 68.10256 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 68.10259 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 68.10260 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:52322/dummyenv/private/tools/streams/v1/index.json" [LOG] 68.10266 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:29 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 68.10267 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 68.10287 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc2003b53c0]}] map[] Thu, 30 Jan 2014 10:46:29 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 68.10301 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 68.10304 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 68.10348 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 68.10722 INFO juju.state connection established [LOG] 68.13907 INFO juju.state adding state server info to legacy environment [LOG] 68.13945 INFO juju.state found existing state servers [] [LOG] 68.15102 INFO juju.state initializing environment [LOG] 68.17071 INFO juju.state.apiserver listening on "127.0.0.1:36416" [LOG] 68.19078 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 68.19362 INFO juju.state connection established [LOG] 68.19426 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 68.19431 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 68.19689 INFO juju.state connection established [LOG] 68.20162 INFO juju.state adding state server info to legacy environment [LOG] 68.20186 INFO juju.state found existing state servers [] [LOG] 68.25109 INFO juju state/api: dialing "wss://127.0.0.1:36416/" [LOG] 68.25411 INFO juju.state.apiserver [3] API connection from 127.0.0.1:50673 [LOG] 68.25422 INFO juju state/api: connection established [LOG] 68.25438 DEBUG juju.state.apiserver <- [3] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 68.25479 DEBUG juju.state.apiserver -> [3] user-admin 414.364us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 68.26413 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":3,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.26419 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":4,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.26425 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":5,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.26431 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":6,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.26437 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":7,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.26442 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":8,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.26450 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":9,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.26456 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":10,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.26462 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":11,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.26467 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":12,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.29981 DEBUG juju.state.apiserver -> [3] user-admin 35.670024ms {"RequestId":3,"Error":"cannot get storage URL for charm: wordpress-3-541e31ae-c5af-44e8-8eca-afe2288aa46c not found","Response":{}} Client[""].AddCharm client_test.go:1844: c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-541e31ae-c5af-44e8-8eca-afe2288aa46c not found"} ("cannot get storage URL for charm: wordpress-3-541e31ae-c5af-44e8-8eca-afe2288aa46c not found") ... goroutine 0 [LOG] 68.40296 DEBUG juju.state.apiserver -> [3] user-admin 138.740293ms {"RequestId":4,"Error":"cannot get storage URL for charm: wordpress-3-4ad81e0e-3629-4cbc-8e54-4ae19535fa34 not found","Response":{}} Client[""].AddCharm client_test.go:1844: c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-4ad81e0e-3629-4cbc-8e54-4ae19535fa34 not found"} ("cannot get storage URL for charm: wordpress-3-4ad81e0e-3629-4cbc-8e54-4ae19535fa34 not found") ... goroutine 1 [LOG] 68.41797 DEBUG juju.state.apiserver -> [3] user-admin 153.694159ms {"RequestId":5,"Error":"cannot get storage URL for charm: wordpress-3-56c0f371-6acd-4944-8478-6f06a9481223 not found","Response":{}} Client[""].AddCharm [LOG] 68.41908 DEBUG juju.state.apiserver -> [3] user-admin 154.762915ms {"RequestId":6,"Error":"cannot get storage URL for charm: wordpress-3-dbaf2c0c-5255-4981-874c-b004a75cb563 not found","Response":{}} Client[""].AddCharm client_test.go:1844: client_test.go:1844: c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-dbaf2c0c-5255-4981-874c-b004a75cb563 not found"} ("cannot get storage URL for charm: wordpress-3-dbaf2c0c-5255-4981-874c-b004a75cb563 not found") ... goroutine 3 c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-56c0f371-6acd-4944-8478-6f06a9481223 not found"} ("cannot get storage URL for charm: wordpress-3-56c0f371-6acd-4944-8478-6f06a9481223 not found") ... goroutine 2 [LOG] 68.45291 DEBUG juju.state.apiserver -> [3] user-admin 188.513319ms {"RequestId":7,"Error":"cannot get storage URL for charm: wordpress-3-bc0350d5-12cc-4f82-879c-868e7d3d65c3 not found","Response":{}} Client[""].AddCharm [LOG] 68.45401 DEBUG juju.state.apiserver -> [3] user-admin 189.582147ms {"RequestId":8,"Error":"cannot get storage URL for charm: wordpress-3-b7e9e55a-29bd-453c-8fb1-1180158a0758 not found","Response":{}} Client[""].AddCharm [LOG] 68.45497 DEBUG juju.state.apiserver -> [3] user-admin 190.462211ms {"RequestId":9,"Error":"cannot get storage URL for charm: wordpress-3-b1403bca-e10f-4cbe-86a1-37c68bc9166f not found","Response":{}} Client[""].AddCharm [LOG] 68.45596 DEBUG juju.state.apiserver -> [3] user-admin 191.398192ms {"RequestId":10,"Error":"cannot get storage URL for charm: wordpress-3-393e930b-ee46-4536-8612-d11073463276 not found","Response":{}} Client[""].AddCharm [LOG] 68.45697 DEBUG juju.state.apiserver -> [3] user-admin 192.347688ms {"RequestId":11,"Error":"cannot get storage URL for charm: wordpress-3-6209ed7d-ef76-48c0-8877-5f834e4fdacf not found","Response":{}} Client[""].AddCharm [LOG] 68.45808 DEBUG juju.state.apiserver -> [3] user-admin 193.399315ms {"RequestId":12,"Error":"cannot get storage URL for charm: wordpress-3-7ec33db0-10f0-4cba-8401-9082d84ef332 not found","Response":{}} Client[""].AddCharm client_test.go:1844: c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-bc0350d5-12cc-4f82-879c-868e7d3d65c3 not found"} ("cannot get storage URL for charm: wordpress-3-bc0350d5-12cc-4f82-879c-868e7d3d65c3 not found") ... goroutine 4 client_test.go:1844: c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-b7e9e55a-29bd-453c-8fb1-1180158a0758 not found"} ("cannot get storage URL for charm: wordpress-3-b7e9e55a-29bd-453c-8fb1-1180158a0758 not found") ... goroutine 5 client_test.go:1844: c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-b1403bca-e10f-4cbe-86a1-37c68bc9166f not found"} ("cannot get storage URL for charm: wordpress-3-b1403bca-e10f-4cbe-86a1-37c68bc9166f not found") ... goroutine 6 client_test.go:1844: c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-393e930b-ee46-4536-8612-d11073463276 not found"} ("cannot get storage URL for charm: wordpress-3-393e930b-ee46-4536-8612-d11073463276 not found") ... goroutine 7 client_test.go:1844: c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-6209ed7d-ef76-48c0-8877-5f834e4fdacf not found"} ("cannot get storage URL for charm: wordpress-3-6209ed7d-ef76-48c0-8877-5f834e4fdacf not found") ... goroutine 8 client_test.go:1844: c.Assert(client.AddCharm(curl), gc.IsNil, gc.Commentf("goroutine %d", index)) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-7ec33db0-10f0-4cba-8401-9082d84ef332 not found"} ("cannot get storage URL for charm: wordpress-3-7ec33db0-10f0-4cba-8401-9082d84ef332 not found") ... goroutine 9 client_test.go:1858: c.Assert(err, gc.IsNil) ... value errors.notFoundError = errors.notFoundError{errorWrapper:(*errors.errorWrapper)(0xc2007e34a0)} ("charm \"cs:precise/wordpress-3\" not found") [LOG] 68.56109 INFO juju.provider.dummy reset environment [LOG] 68.56128 INFO juju.state.apiserver [3] API connection terminated after 307.169236ms [LOG] 68.57172 INFO juju Reset successfully reset admin password [LOG] 68.57900 INFO juju Reset successfully reset admin password [LOG] 68.58827 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1868: clientSuite.TestAddCharmOverwritesPlaceholders [LOG] 68.60996 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/8/home/ubuntu/.juju/environments [LOG] 68.71020 DEBUG juju.environs.tools reading v1.* tools [LOG] 68.71025 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 68.71128 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 68.71131 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 68.71136 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 68.71137 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 68.71140 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 68.71141 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 68.71173 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 68.71189 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 68.71205 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 68.71209 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 68.71210 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 68.71211 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 68.71213 INFO juju.environs.tools filtering tools by series: precise [LOG] 68.71215 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 68.71218 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 68.71220 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 68.71230 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 68.71232 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 68.71235 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 68.71236 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:40191/dummyenv/private/tools/streams/v1/index.json" [LOG] 68.71242 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:29 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 68.71244 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 68.71265 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200764ea0]}] map[] Thu, 30 Jan 2014 10:46:29 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 68.71271 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 68.71274 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 68.71323 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 68.73836 INFO juju.state connection established [LOG] 68.76620 INFO juju.state adding state server info to legacy environment [LOG] 68.76655 INFO juju.state found existing state servers [] [LOG] 68.77673 INFO juju.state initializing environment [LOG] 68.82274 INFO juju.state.apiserver listening on "127.0.0.1:32770" [LOG] 68.84378 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 68.85022 INFO juju.state connection established [LOG] 68.85133 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 68.85139 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 68.86200 INFO juju.state connection established [LOG] 68.86564 INFO juju.state adding state server info to legacy environment [LOG] 68.86596 INFO juju.state found existing state servers [] [LOG] 68.92601 INFO juju state/api: dialing "wss://127.0.0.1:32770/" [LOG] 68.92891 INFO juju.state.apiserver [4] API connection from 127.0.0.1:52192 [LOG] 68.92902 INFO juju state/api: connection established [LOG] 68.92922 DEBUG juju.state.apiserver <- [4] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 68.92961 DEBUG juju.state.apiserver -> [4] user-admin 428.218us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 68.94539 DEBUG juju.state.apiserver <- [4] user-admin {"RequestId":3,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 68.95090 DEBUG juju.state.apiserver -> [4] user-admin 5.512693ms {"RequestId":3,"Error":"cannot get storage URL for charm: wordpress-3-87071a80-1088-447a-880e-b14b46927e9c not found","Response":{}} Client[""].AddCharm client_test.go:1884: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: wordpress-3-87071a80-1088-447a-880e-b14b46927e9c not found"} ("cannot get storage URL for charm: wordpress-3-87071a80-1088-447a-880e-b14b46927e9c not found") [LOG] 68.96330 INFO juju.provider.dummy reset environment [LOG] 68.96344 INFO juju.state.apiserver [4] API connection terminated after 34.534491ms [LOG] 68.96668 INFO juju Reset successfully reset admin password [LOG] 68.99040 INFO juju Reset successfully reset admin password [LOG] 68.99527 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1733: clientSuite.TestClientAuthorizeStoreOnDeployServiceSetCharmAndAddCharm [LOG] 76.48597 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/43/home/ubuntu/.juju/environments [LOG] 76.58251 DEBUG juju.environs.tools reading v1.* tools [LOG] 76.58256 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 76.58360 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 76.58362 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 76.58368 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 76.58369 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 76.58372 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 76.58373 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 76.58405 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 76.58410 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 76.58423 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 76.58426 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 76.58427 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 76.58428 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 76.58430 INFO juju.environs.tools filtering tools by series: precise [LOG] 76.58431 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 76.58435 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 76.58436 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 76.58446 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 76.58448 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 76.58450 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 76.58452 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:35286/dummyenv/private/tools/streams/v1/index.json" [LOG] 76.58457 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:37 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 76.58458 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 76.58478 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200559d80]}] map[] Thu, 30 Jan 2014 10:46:37 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 76.58485 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 76.58487 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 76.58533 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 76.58812 INFO juju.state connection established [LOG] 76.63269 INFO juju.state adding state server info to legacy environment [LOG] 76.63294 INFO juju.state found existing state servers [] [LOG] 76.63873 INFO juju.state initializing environment [LOG] 76.66737 INFO juju.state.apiserver listening on "127.0.0.1:57218" [LOG] 76.68447 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 76.68732 INFO juju.state connection established [LOG] 76.70277 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 76.70284 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 76.70718 INFO juju.state connection established [LOG] 76.71168 INFO juju.state adding state server info to legacy environment [LOG] 76.71203 INFO juju.state found existing state servers [] [LOG] 76.75284 INFO juju state/api: dialing "wss://127.0.0.1:57218/" [LOG] 76.75602 INFO juju.state.apiserver [15] API connection from 127.0.0.1:42025 [LOG] 76.75615 INFO juju state/api: connection established [LOG] 76.75632 DEBUG juju.state.apiserver <- [15] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 76.75673 DEBUG juju.state.apiserver -> [15] user-admin 414.373us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 76.77540 DEBUG juju.state.apiserver <- [15] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service","CharmUrl":"cs:precise/dummy-1","NumUnits":3,"Config":null,"ConfigYAML":"","Constraints":{},"ToMachineSpec":""}} [LOG] 76.78170 DEBUG juju.state.apiserver -> [15] user-admin 6.325102ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-9f56a3c6-f43e-45e7-86bd-3662bc399d05 not found","Response":{}} Client[""].ServiceDeploy client_test.go:1753: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: dummy-1-9f56a3c6-f43e-45e7-86bd-3662bc399d05 not found"} ("cannot get storage URL for charm: dummy-1-9f56a3c6-f43e-45e7-86bd-3662bc399d05 not found") [LOG] 76.79370 INFO juju.provider.dummy reset environment [LOG] 76.79385 INFO juju.state.apiserver [15] API connection terminated after 37.827959ms [LOG] 76.79715 INFO juju Reset successfully reset admin password [LOG] 76.82488 INFO juju Reset successfully reset admin password [LOG] 76.82788 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:737: clientSuite.TestClientServiceDeployConfig [LOG] 83.20957 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/74/home/ubuntu/.juju/environments [LOG] 83.31077 DEBUG juju.environs.tools reading v1.* tools [LOG] 83.31082 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 83.31173 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 83.31175 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 83.31179 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 83.31183 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 83.31186 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 83.31188 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 83.31218 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 83.31248 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 83.31270 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 83.31275 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 83.31276 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 83.31278 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 83.31279 INFO juju.environs.tools filtering tools by series: precise [LOG] 83.31281 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 83.31286 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 83.31288 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 83.31300 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 83.31302 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 83.31305 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 83.31306 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:33156/dummyenv/private/tools/streams/v1/index.json" [LOG] 83.31312 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:44 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 83.31313 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 83.31338 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200888900]}] map[] Thu, 30 Jan 2014 10:46:44 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 83.31346 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 83.31349 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 83.31396 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 83.32719 INFO juju.state connection established [LOG] 83.36152 INFO juju.state adding state server info to legacy environment [LOG] 83.36214 INFO juju.state found existing state servers [] [LOG] 83.38221 INFO juju.state initializing environment [LOG] 83.40229 INFO juju.state.apiserver listening on "127.0.0.1:50171" [LOG] 83.41929 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 83.42207 INFO juju.state connection established [LOG] 83.43786 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 83.43793 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 83.44226 INFO juju.state connection established [LOG] 83.45466 INFO juju.state adding state server info to legacy environment [LOG] 83.45509 INFO juju.state found existing state servers [] [LOG] 83.49889 INFO juju state/api: dialing "wss://127.0.0.1:50171/" [LOG] 83.52302 INFO juju.state.apiserver [24] API connection from 127.0.0.1:35766 [LOG] 83.52354 INFO juju state/api: connection established [LOG] 83.52410 DEBUG juju.state.apiserver <- [24] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 83.52502 DEBUG juju.state.apiserver -> [24] user-admin 1.048919ms {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 83.53959 DEBUG juju.state.apiserver <- [24] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service-name","CharmUrl":"cs:precise/dummy-1","NumUnits":1,"Config":null,"ConfigYAML":"service-name:\n username: fred","Constraints":{},"ToMachineSpec":""}} [LOG] 83.55427 DEBUG juju.state.apiserver -> [24] user-admin 14.675349ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-d541bb2a-2df1-4a44-8fa0-4987c9e5334d not found","Response":{}} Client[""].ServiceDeploy client_test.go:746: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: dummy-1-d541bb2a-2df1-4a44-8fa0-4987c9e5334d not found"} ("cannot get storage URL for charm: dummy-1-d541bb2a-2df1-4a44-8fa0-4987c9e5334d not found") [LOG] 83.56730 INFO juju.provider.dummy reset environment [LOG] 83.56747 INFO juju.state.apiserver [24] API connection terminated after 44.570368ms [LOG] 83.57084 INFO juju Reset successfully reset admin password [LOG] 83.60187 INFO juju Reset successfully reset admin password [LOG] 83.60639 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:754: clientSuite.TestClientServiceDeployConfigError [LOG] 83.62939 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/77/home/ubuntu/.juju/environments [LOG] 83.73808 DEBUG juju.environs.tools reading v1.* tools [LOG] 83.73815 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 83.73936 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 83.73938 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 83.73945 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 83.73949 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 83.73952 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 83.73954 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 83.73990 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 83.73996 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 83.74014 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 83.74019 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 83.74021 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 83.74022 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 83.74023 INFO juju.environs.tools filtering tools by series: precise [LOG] 83.74027 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 83.74030 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 83.74032 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 83.74046 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 83.74048 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 83.74050 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 83.74054 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:44176/dummyenv/private/tools/streams/v1/index.json" [LOG] 83.74059 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:44 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 83.74062 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 83.74089 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200eaa900]}] map[] Thu, 30 Jan 2014 10:46:44 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 83.74097 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 83.74103 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 83.74159 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 83.74454 INFO juju.state connection established [LOG] 83.76972 INFO juju.state adding state server info to legacy environment [LOG] 83.77003 INFO juju.state found existing state servers [] [LOG] 83.77690 INFO juju.state initializing environment [LOG] 83.79840 INFO juju.state.apiserver listening on "127.0.0.1:36995" [LOG] 83.81633 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 83.81933 INFO juju.state connection established [LOG] 83.82051 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 83.82057 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 83.82326 INFO juju.state connection established [LOG] 83.82692 INFO juju.state adding state server info to legacy environment [LOG] 83.82717 INFO juju.state found existing state servers [] [LOG] 83.86789 INFO juju state/api: dialing "wss://127.0.0.1:36995/" [LOG] 83.87086 INFO juju.state.apiserver [25] API connection from 127.0.0.1:51369 [LOG] 83.87097 INFO juju state/api: connection established [LOG] 83.87112 DEBUG juju.state.apiserver <- [25] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 83.87146 DEBUG juju.state.apiserver -> [25] user-admin 349.082us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 83.88825 DEBUG juju.state.apiserver <- [25] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service-name","CharmUrl":"cs:precise/dummy-1","NumUnits":1,"Config":null,"ConfigYAML":"service-name:\n skill-level: fred","Constraints":{},"ToMachineSpec":""}} [LOG] 83.89478 DEBUG juju.state.apiserver -> [25] user-admin 6.549108ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-dc01acaa-b258-4873-8009-c0418daf5fcd not found","Response":{}} Client[""].ServiceDeploy client_test.go:763: c.Assert(err, gc.ErrorMatches, `option "skill-level" expected int, got "fred"`) ... error string = "cannot get storage URL for charm: dummy-1-dc01acaa-b258-4873-8009-c0418daf5fcd not found" ... regex string = "option \"skill-level\" expected int, got \"fred\"" [LOG] 83.90738 INFO juju.provider.dummy reset environment [LOG] 83.90754 INFO juju.state.apiserver [25] API connection terminated after 36.684585ms [LOG] 83.91087 INFO juju Reset successfully reset admin password [LOG] 83.93432 INFO juju Reset successfully reset admin password [LOG] 83.93895 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:680: clientSuite.TestClientServiceDeployPrincipal [LOG] 83.96222 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/80/home/ubuntu/.juju/environments [LOG] 84.06786 DEBUG juju.environs.tools reading v1.* tools [LOG] 84.06791 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 84.06888 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 84.06890 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 84.06896 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 84.06897 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 84.06900 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 84.06901 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 84.06933 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 84.06939 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 84.06953 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 84.06956 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 84.06958 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 84.06959 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 84.06960 INFO juju.environs.tools filtering tools by series: precise [LOG] 84.06962 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 84.06965 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 84.06967 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 84.06977 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 84.06978 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 84.06981 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 84.06982 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:48134/dummyenv/private/tools/streams/v1/index.json" [LOG] 84.06987 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:45 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 84.06989 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 84.07009 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc20037fa80]}] map[] Thu, 30 Jan 2014 10:46:45 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 84.07015 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 84.07018 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 84.07061 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 84.07365 INFO juju.state connection established [LOG] 84.11393 INFO juju.state adding state server info to legacy environment [LOG] 84.11422 INFO juju.state found existing state servers [] [LOG] 84.12060 INFO juju.state initializing environment [LOG] 84.14234 INFO juju.state.apiserver listening on "127.0.0.1:32823" [LOG] 84.17313 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 84.17618 INFO juju.state connection established [LOG] 84.17681 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 84.17685 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 84.17976 INFO juju.state connection established [LOG] 84.18312 INFO juju.state adding state server info to legacy environment [LOG] 84.18337 INFO juju.state found existing state servers [] [LOG] 84.22410 INFO juju state/api: dialing "wss://127.0.0.1:32823/" [LOG] 84.22705 INFO juju.state.apiserver [26] API connection from 127.0.0.1:45983 [LOG] 84.22717 INFO juju state/api: connection established [LOG] 84.22733 DEBUG juju.state.apiserver <- [26] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 84.22772 DEBUG juju.state.apiserver -> [26] user-admin 397.314us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 84.24281 DEBUG juju.state.apiserver <- [26] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service","CharmUrl":"cs:precise/dummy-1","NumUnits":3,"Config":null,"ConfigYAML":"","Constraints":{"mem":4096},"ToMachineSpec":""}} [LOG] 84.25026 DEBUG juju.state.apiserver -> [26] user-admin 7.492586ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-ab4f5f57-e01d-49d9-8474-250d8e73eb43 not found","Response":{}} Client[""].ServiceDeploy client_test.go:690: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: dummy-1-ab4f5f57-e01d-49d9-8474-250d8e73eb43 not found"} ("cannot get storage URL for charm: dummy-1-ab4f5f57-e01d-49d9-8474-250d8e73eb43 not found") [LOG] 84.26316 INFO juju.provider.dummy reset environment [LOG] 84.26332 INFO juju.state.apiserver [26] API connection terminated after 36.274006ms [LOG] 84.26669 INFO juju Reset successfully reset admin password [LOG] 84.28615 INFO juju Reset successfully reset admin password [LOG] 84.29017 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:716: clientSuite.TestClientServiceDeploySubordinate [LOG] 84.31346 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/83/home/ubuntu/.juju/environments [LOG] 84.40157 DEBUG juju.environs.tools reading v1.* tools [LOG] 84.40162 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 84.42316 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 84.42321 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 84.42328 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 84.42330 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 84.42333 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 84.42334 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 84.42374 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 84.42380 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 84.42401 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 84.42407 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 84.42408 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 84.42409 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 84.42410 INFO juju.environs.tools filtering tools by series: precise [LOG] 84.42414 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 84.42418 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 84.42419 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 84.42434 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 84.42436 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 84.42441 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 84.42442 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:37711/dummyenv/private/tools/streams/v1/index.json" [LOG] 84.42449 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:45 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 84.42450 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 84.42479 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200eaa300]}] map[] Thu, 30 Jan 2014 10:46:45 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 84.42488 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 84.42493 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 84.42553 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 84.42868 INFO juju.state connection established [LOG] 84.47129 INFO juju.state adding state server info to legacy environment [LOG] 84.47156 INFO juju.state found existing state servers [] [LOG] 84.47793 INFO juju.state initializing environment [LOG] 84.49923 INFO juju.state.apiserver listening on "127.0.0.1:54485" [LOG] 84.51792 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 84.52328 INFO juju.state connection established [LOG] 84.53798 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 84.53818 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 84.54320 INFO juju.state connection established [LOG] 84.55004 INFO juju.state adding state server info to legacy environment [LOG] 84.55052 INFO juju.state found existing state servers [] [LOG] 84.59213 INFO juju state/api: dialing "wss://127.0.0.1:54485/" [LOG] 84.59514 INFO juju.state.apiserver [27] API connection from 127.0.0.1:42134 [LOG] 84.59525 INFO juju state/api: connection established [LOG] 84.59542 DEBUG juju.state.apiserver <- [27] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 84.59578 DEBUG juju.state.apiserver -> [27] user-admin 356.697us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 84.59843 DEBUG juju.state.apiserver <- [27] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service-name","CharmUrl":"cs:precise/logging-1","NumUnits":0,"Config":null,"ConfigYAML":"","Constraints":{},"ToMachineSpec":""}} [LOG] 84.60442 DEBUG juju.state.apiserver -> [27] user-admin 5.997268ms {"RequestId":3,"Error":"cannot get storage URL for charm: logging-1-aee50cb9-105f-4a43-8343-04ea7a19e77d not found","Response":{}} Client[""].ServiceDeploy client_test.go:724: c.Assert(err, gc.IsNil) ... value errors.notFoundError = errors.notFoundError{errorWrapper:(*errors.errorWrapper)(0xc200279160)} ("service \"service-name\" not found") [LOG] 84.61643 INFO juju.provider.dummy reset environment [LOG] 84.61658 INFO juju.state.apiserver [27] API connection terminated after 21.43985ms [LOG] 84.61985 INFO juju Reset successfully reset admin password [LOG] 84.64192 INFO juju Reset successfully reset admin password [LOG] 84.64816 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:768: clientSuite.TestClientServiceDeployToMachine [LOG] 84.69817 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/86/home/ubuntu/.juju/environments [LOG] 84.78578 DEBUG juju.environs.tools reading v1.* tools [LOG] 84.78584 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 84.78686 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 84.78688 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 84.78693 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 84.78695 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 84.78698 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 84.78699 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 84.78729 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 84.78735 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 84.78750 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 84.78753 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 84.78754 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 84.78755 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 84.78757 INFO juju.environs.tools filtering tools by series: precise [LOG] 84.78759 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 84.78762 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 84.78769 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 84.78779 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 84.78781 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 84.78785 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 84.78786 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:51836/dummyenv/private/tools/streams/v1/index.json" [LOG] 84.78791 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:45 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 84.78793 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 84.78813 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200d03b40]}] map[] Thu, 30 Jan 2014 10:46:45 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 84.78819 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 84.78822 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 84.78865 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 84.79154 INFO juju.state connection established [LOG] 84.83369 INFO juju.state adding state server info to legacy environment [LOG] 84.83396 INFO juju.state found existing state servers [] [LOG] 84.84055 INFO juju.state initializing environment [LOG] 84.87671 INFO juju.state.apiserver listening on "127.0.0.1:55190" [LOG] 84.89483 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 84.89827 INFO juju.state connection established [LOG] 84.89893 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 84.89898 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 84.90210 INFO juju.state connection established [LOG] 84.90539 INFO juju.state adding state server info to legacy environment [LOG] 84.90567 INFO juju.state found existing state servers [] [LOG] 84.94641 INFO juju state/api: dialing "wss://127.0.0.1:55190/" [LOG] 84.94947 INFO juju.state.apiserver [28] API connection from 127.0.0.1:38862 [LOG] 84.94958 INFO juju state/api: connection established [LOG] 84.94978 DEBUG juju.state.apiserver <- [28] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 84.95017 DEBUG juju.state.apiserver -> [28] user-admin 391.007us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 84.98080 DEBUG juju.state.apiserver <- [28] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service-name","CharmUrl":"cs:precise/dummy-1","NumUnits":1,"Config":null,"ConfigYAML":"service-name:\n username: fred","Constraints":{},"ToMachineSpec":"0"}} [LOG] 84.98629 DEBUG juju.state.apiserver -> [28] user-admin 5.521623ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-90ece2f6-0873-4007-8706-e1c675582f3d not found","Response":{}} Client[""].ServiceDeploy client_test.go:778: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: dummy-1-90ece2f6-0873-4007-8706-e1c675582f3d not found"} ("cannot get storage URL for charm: dummy-1-90ece2f6-0873-4007-8706-e1c675582f3d not found") [LOG] 84.99791 INFO juju.provider.dummy reset environment [LOG] 84.99807 INFO juju.state.apiserver [28] API connection terminated after 48.6008ms [LOG] 85.00162 INFO juju Reset successfully reset admin password [LOG] 85.00678 INFO juju Reset successfully reset admin password [LOG] 85.01035 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1016: clientSuite.TestClientServiceSetCharm [LOG] 86.44601 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/95/home/ubuntu/.juju/environments [LOG] 86.53346 DEBUG juju.environs.tools reading v1.* tools [LOG] 86.53351 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 86.53448 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 86.53449 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 86.53455 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 86.53456 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 86.53459 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 86.53461 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 86.53488 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 86.53493 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 86.53504 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 86.53508 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 86.53509 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 86.53510 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 86.53511 INFO juju.environs.tools filtering tools by series: precise [LOG] 86.53513 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 86.53516 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 86.53519 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 86.53528 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 86.53530 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 86.53533 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 86.53534 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:42697/dummyenv/private/tools/streams/v1/index.json" [LOG] 86.53538 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:47 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 86.53540 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 86.53560 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200af2660]}] map[] Thu, 30 Jan 2014 10:46:47 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 86.53566 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 86.53569 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 86.53615 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 86.55183 INFO juju.state connection established [LOG] 86.57633 INFO juju.state adding state server info to legacy environment [LOG] 86.57659 INFO juju.state found existing state servers [] [LOG] 86.58333 INFO juju.state initializing environment [LOG] 86.60539 INFO juju.state.apiserver listening on "127.0.0.1:37941" [LOG] 86.62338 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 86.63067 INFO juju.state connection established [LOG] 86.64592 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 86.64625 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 86.65343 INFO juju.state connection established [LOG] 86.65694 INFO juju.state adding state server info to legacy environment [LOG] 86.65722 INFO juju.state found existing state servers [] [LOG] 86.69784 INFO juju state/api: dialing "wss://127.0.0.1:37941/" [LOG] 86.70101 INFO juju.state.apiserver [2C] API connection from 127.0.0.1:59322 [LOG] 86.70113 INFO juju state/api: connection established [LOG] 86.70133 DEBUG juju.state.apiserver <- [2C] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 86.70174 DEBUG juju.state.apiserver -> [2C] user-admin 409.962us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 86.71878 DEBUG juju.state.apiserver <- [2C] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service","CharmUrl":"cs:precise/dummy-1","NumUnits":3,"Config":null,"ConfigYAML":"","Constraints":{},"ToMachineSpec":""}} [LOG] 86.72650 DEBUG juju.state.apiserver -> [2C] user-admin 7.714987ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-ae501ebf-bf02-4bcc-8e4e-6e1dbcf5fe7c not found","Response":{}} Client[""].ServiceDeploy client_test.go:1023: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: dummy-1-ae501ebf-bf02-4bcc-8e4e-6e1dbcf5fe7c not found"} ("cannot get storage URL for charm: dummy-1-ae501ebf-bf02-4bcc-8e4e-6e1dbcf5fe7c not found") [LOG] 86.73974 INFO juju.provider.dummy reset environment [LOG] 86.73995 INFO juju.state.apiserver [2C] API connection terminated after 38.947267ms [LOG] 86.74329 INFO juju Reset successfully reset admin password [LOG] 86.77339 INFO juju Reset successfully reset admin password [LOG] 86.77724 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1039: clientSuite.TestClientServiceSetCharmForce [LOG] 87.17727 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/100/home/ubuntu/.juju/environments [LOG] 87.26552 DEBUG juju.environs.tools reading v1.* tools [LOG] 87.26557 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 87.27862 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 87.27866 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 87.27874 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 87.27876 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 87.27879 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 87.27882 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 87.27919 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 87.27932 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 87.27947 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 87.27951 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 87.27952 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 87.27953 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 87.27955 INFO juju.environs.tools filtering tools by series: precise [LOG] 87.27957 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 87.27960 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 87.27962 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 87.27972 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 87.27974 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 87.27976 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 87.27978 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:42371/dummyenv/private/tools/streams/v1/index.json" [LOG] 87.27984 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:48 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 87.27986 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 87.28006 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200eaa480]}] map[] Thu, 30 Jan 2014 10:46:48 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 87.28013 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 87.28016 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 87.28063 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 87.28375 INFO juju.state connection established [LOG] 87.31246 INFO juju.state adding state server info to legacy environment [LOG] 87.31273 INFO juju.state found existing state servers [] [LOG] 87.32763 INFO juju.state initializing environment [LOG] 87.34960 INFO juju.state.apiserver listening on "127.0.0.1:49034" [LOG] 87.36785 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 87.37070 INFO juju.state connection established [LOG] 87.38780 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 87.38794 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 87.39260 INFO juju.state connection established [LOG] 87.39812 INFO juju.state adding state server info to legacy environment [LOG] 87.39851 INFO juju.state found existing state servers [] [LOG] 87.44392 INFO juju state/api: dialing "wss://127.0.0.1:49034/" [LOG] 87.44691 INFO juju.state.apiserver [2E] API connection from 127.0.0.1:47448 [LOG] 87.44703 INFO juju state/api: connection established [LOG] 87.44719 DEBUG juju.state.apiserver <- [2E] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 87.44760 DEBUG juju.state.apiserver -> [2E] user-admin 416.547us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 87.47289 DEBUG juju.state.apiserver <- [2E] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service","CharmUrl":"cs:precise/dummy-1","NumUnits":3,"Config":null,"ConfigYAML":"","Constraints":{},"ToMachineSpec":""}} [LOG] 87.48030 DEBUG juju.state.apiserver -> [2E] user-admin 7.39731ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-aecceba9-253a-40a7-80f0-32c2f792cb6c not found","Response":{}} Client[""].ServiceDeploy client_test.go:1046: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: dummy-1-aecceba9-253a-40a7-80f0-32c2f792cb6c not found"} ("cannot get storage URL for charm: dummy-1-aecceba9-253a-40a7-80f0-32c2f792cb6c not found") [LOG] 87.49373 INFO juju.provider.dummy reset environment [LOG] 87.49389 INFO juju.state.apiserver [2E] API connection terminated after 46.975228ms [LOG] 87.49734 INFO juju Reset successfully reset admin password [LOG] 87.52111 INFO juju Reset successfully reset admin password [LOG] 87.52870 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:948: clientSuite.TestClientServiceUpdateAllParams [LOG] 88.77203 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/109/home/ubuntu/.juju/environments [LOG] 88.87056 DEBUG juju.environs.tools reading v1.* tools [LOG] 88.87061 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 88.87154 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 88.87156 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 88.87162 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 88.87163 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 88.87166 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 88.87167 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 88.87199 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 88.87209 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 88.87222 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 88.87225 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 88.87227 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 88.87228 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 88.87229 INFO juju.environs.tools filtering tools by series: precise [LOG] 88.87231 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 88.87235 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 88.87236 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 88.87248 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 88.87249 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 88.87252 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 88.87253 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:49949/dummyenv/private/tools/streams/v1/index.json" [LOG] 88.87258 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:50 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 88.87259 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 88.87280 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc20044c9c0]}] map[] Thu, 30 Jan 2014 10:46:50 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 88.87286 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 88.87289 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 88.87337 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 88.88994 INFO juju.state connection established [LOG] 88.91662 INFO juju.state adding state server info to legacy environment [LOG] 88.91698 INFO juju.state found existing state servers [] [LOG] 88.92430 INFO juju.state initializing environment [LOG] 88.94684 INFO juju.state.apiserver listening on "127.0.0.1:36561" [LOG] 88.96494 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 88.96789 INFO juju.state connection established [LOG] 88.96853 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 88.96858 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 88.97155 INFO juju.state connection established [LOG] 88.97496 INFO juju.state adding state server info to legacy environment [LOG] 88.97521 INFO juju.state found existing state servers [] [LOG] 89.02832 INFO juju state/api: dialing "wss://127.0.0.1:36561/" [LOG] 89.03130 INFO juju.state.apiserver [32] API connection from 127.0.0.1:58027 [LOG] 89.03141 INFO juju state/api: connection established [LOG] 89.03157 DEBUG juju.state.apiserver <- [32] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 89.03194 DEBUG juju.state.apiserver -> [32] user-admin 374.9us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 89.04752 DEBUG juju.state.apiserver <- [32] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service","CharmUrl":"cs:precise/dummy-1","NumUnits":1,"Config":null,"ConfigYAML":"","Constraints":{},"ToMachineSpec":""}} [LOG] 89.05460 DEBUG juju.state.apiserver -> [32] user-admin 7.104503ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-04ad5342-b492-4fff-8c2f-e2f108bcb647 not found","Response":{}} Client[""].ServiceDeploy client_test.go:951: s.deployServiceForTests(c, store) client_test.go:802: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: dummy-1-04ad5342-b492-4fff-8c2f-e2f108bcb647 not found"} ("cannot get storage URL for charm: dummy-1-04ad5342-b492-4fff-8c2f-e2f108bcb647 not found") [LOG] 89.07707 INFO juju.provider.dummy reset environment [LOG] 89.07727 INFO juju.state.apiserver [32] API connection terminated after 45.974668ms [LOG] 89.08048 INFO juju Reset successfully reset admin password [LOG] 89.09865 INFO juju Reset successfully reset admin password [LOG] 89.10758 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:833: clientSuite.TestClientServiceUpdateForceSetCharm [LOG] 89.13434 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/112/home/ubuntu/.juju/environments [LOG] 89.24324 DEBUG juju.environs.tools reading v1.* tools [LOG] 89.24329 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 89.24430 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 89.24432 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 89.24443 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 89.24445 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 89.24448 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 89.24450 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 89.24477 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 89.24493 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 89.24510 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 89.24515 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 89.24519 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 89.24521 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 89.24522 INFO juju.environs.tools filtering tools by series: precise [LOG] 89.24524 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 89.24529 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 89.24531 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 89.24542 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 89.24544 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 89.24546 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 89.24548 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:60770/dummyenv/private/tools/streams/v1/index.json" [LOG] 89.24554 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:50 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 89.24556 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 89.24577 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200c6ec00]}] map[] Thu, 30 Jan 2014 10:46:50 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 89.24583 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 89.24586 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 89.24628 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 89.26170 INFO juju.state connection established [LOG] 89.30442 INFO juju.state adding state server info to legacy environment [LOG] 89.30470 INFO juju.state found existing state servers [] [LOG] 89.31108 INFO juju.state initializing environment [LOG] 89.33301 INFO juju.state.apiserver listening on "127.0.0.1:59454" [LOG] 89.35020 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 89.35361 INFO juju.state connection established [LOG] 89.36903 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 89.36914 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 89.37311 INFO juju.state connection established [LOG] 89.37792 INFO juju.state adding state server info to legacy environment [LOG] 89.37817 INFO juju.state found existing state servers [] [LOG] 89.41893 INFO juju state/api: dialing "wss://127.0.0.1:59454/" [LOG] 89.42200 INFO juju.state.apiserver [33] API connection from 127.0.0.1:54292 [LOG] 89.42211 INFO juju state/api: connection established [LOG] 89.42227 DEBUG juju.state.apiserver <- [33] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 89.42262 DEBUG juju.state.apiserver -> [33] user-admin 353.321us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 89.44073 DEBUG juju.state.apiserver <- [33] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service","CharmUrl":"cs:precise/dummy-1","NumUnits":1,"Config":null,"ConfigYAML":"","Constraints":{},"ToMachineSpec":""}} [LOG] 89.44772 DEBUG juju.state.apiserver -> [33] user-admin 7.019291ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-6551ef06-12b2-4aef-8ea2-917c82a58663 not found","Response":{}} Client[""].ServiceDeploy client_test.go:834: s.checkClientServiceUpdateSetCharm(c, true) client_test.go:802: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: dummy-1-6551ef06-12b2-4aef-8ea2-917c82a58663 not found"} ("cannot get storage URL for charm: dummy-1-6551ef06-12b2-4aef-8ea2-917c82a58663 not found") [LOG] 89.47072 INFO juju.provider.dummy reset environment [LOG] 89.47110 INFO juju.state.apiserver [33] API connection terminated after 49.050892ms [LOG] 89.47626 INFO juju Reset successfully reset admin password [LOG] 89.51796 INFO juju Reset successfully reset admin password [LOG] 89.52376 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:829: clientSuite.TestClientServiceUpdateSetCharm [LOG] 90.56849 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/121/home/ubuntu/.juju/environments [LOG] 90.67152 DEBUG juju.environs.tools reading v1.* tools [LOG] 90.67157 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 90.67253 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 90.67255 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 90.67260 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 90.67262 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 90.67265 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 90.67267 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 90.67293 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 90.67304 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 90.67321 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 90.67325 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 90.67326 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 90.67327 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 90.67328 INFO juju.environs.tools filtering tools by series: precise [LOG] 90.67330 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 90.67333 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 90.67335 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 90.67346 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 90.67347 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 90.67350 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 90.67351 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:51661/dummyenv/private/tools/streams/v1/index.json" [LOG] 90.67357 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:46:51 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 90.67358 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 90.67379 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc20046b060]}] map[] Thu, 30 Jan 2014 10:46:51 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 90.67386 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 90.67388 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 90.67431 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 90.69750 INFO juju.state connection established [LOG] 90.72459 INFO juju.state adding state server info to legacy environment [LOG] 90.72487 INFO juju.state found existing state servers [] [LOG] 90.73158 INFO juju.state initializing environment [LOG] 90.75420 INFO juju.state.apiserver listening on "127.0.0.1:41615" [LOG] 90.77229 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 90.77512 INFO juju.state connection established [LOG] 90.79425 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 90.79441 INFO juju.state opening state; mongo addresses: ["localhost:37288"]; entity "" [LOG] 90.80265 INFO juju.state connection established [LOG] 90.80702 INFO juju.state adding state server info to legacy environment [LOG] 90.80730 INFO juju.state found existing state servers [] [LOG] 90.84932 INFO juju state/api: dialing "wss://127.0.0.1:41615/" [LOG] 90.85247 INFO juju.state.apiserver [37] API connection from 127.0.0.1:32784 [LOG] 90.85258 INFO juju state/api: connection established [LOG] 90.85274 DEBUG juju.state.apiserver <- [37] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 90.85311 DEBUG juju.state.apiserver -> [37] user-admin 373.546us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 90.87118 DEBUG juju.state.apiserver <- [37] user-admin {"RequestId":3,"Type":"Client","Request":"ServiceDeploy","Params":{"ServiceName":"service","CharmUrl":"cs:precise/dummy-1","NumUnits":1,"Config":null,"ConfigYAML":"","Constraints":{},"ToMachineSpec":""}} [LOG] 90.87766 DEBUG juju.state.apiserver -> [37] user-admin 6.506698ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-523d9abb-c5ec-4b11-808b-c6a7dbd57194 not found","Response":{}} Client[""].ServiceDeploy client_test.go:830: s.checkClientServiceUpdateSetCharm(c, false) client_test.go:802: c.Assert(err, gc.IsNil) ... value *params.Error = ¶ms.Error{"", "cannot get storage URL for charm: dummy-1-523d9abb-c5ec-4b11-808b-c6a7dbd57194 not found"} ("cannot get storage URL for charm: dummy-1-523d9abb-c5ec-4b11-808b-c6a7dbd57194 not found") [LOG] 90.89934 INFO juju.provider.dummy reset environment [LOG] 90.89952 INFO juju.state.apiserver [37] API connection terminated after 47.05236ms [LOG] 90.91509 INFO juju Reset successfully reset admin password [LOG] 90.92359 INFO juju Reset successfully reset admin password [LOG] 90.92693 INFO juju Reset successfully reset admin password OOPS: 83 passed, 14 FAILED --- FAIL: TestAll (45.73 seconds) FAIL FAIL launchpad.net/juju-core/state/apiserver/client 46.055s ok launchpad.net/juju-core/state/apiserver/common 2.100s ? launchpad.net/juju-core/state/apiserver/common/testing [no test files] ok launchpad.net/juju-core/state/apiserver/deployer 4.918s ok launchpad.net/juju-core/state/apiserver/environment 1.631s ok launchpad.net/juju-core/state/apiserver/firewaller 6.000s ok launchpad.net/juju-core/state/apiserver/keymanager 4.466s ? launchpad.net/juju-core/state/apiserver/keymanager/testing [no test files] ok launchpad.net/juju-core/state/apiserver/keyupdater 3.152s ok launchpad.net/juju-core/state/apiserver/logger 3.655s ok launchpad.net/juju-core/state/apiserver/machine 3.133s ok launchpad.net/juju-core/state/apiserver/provisioner 12.452s ? launchpad.net/juju-core/state/apiserver/testing [no test files] ok launchpad.net/juju-core/state/apiserver/uniter 20.635s ok launchpad.net/juju-core/state/apiserver/upgrader 6.005s ok launchpad.net/juju-core/state/multiwatcher 0.754s ok launchpad.net/juju-core/state/presence 6.481s ok launchpad.net/juju-core/state/statecmd 1.840s ? launchpad.net/juju-core/state/testing [no test files] ok launchpad.net/juju-core/state/watcher 5.843s ok launchpad.net/juju-core/store 19.664s ok launchpad.net/juju-core/testing 1.406s ok launchpad.net/juju-core/testing/checkers 0.025s ok launchpad.net/juju-core/testing/testbase 0.019s ok launchpad.net/juju-core/thirdparty/pbkdf2 0.140s ok launchpad.net/juju-core/tools 0.029s ok launchpad.net/juju-core/upstart 1.235s ok launchpad.net/juju-core/utils 2.423s ok launchpad.net/juju-core/utils/exec 0.045s ok launchpad.net/juju-core/utils/fslock 1.525s ok launchpad.net/juju-core/utils/parallel 0.946s ok launchpad.net/juju-core/utils/set 0.019s ok launchpad.net/juju-core/utils/ssh 19.745s ? launchpad.net/juju-core/utils/ssh/testing [no test files] ok launchpad.net/juju-core/utils/tailer 1.040s ok launchpad.net/juju-core/version 0.069s ok launchpad.net/juju-core/worker 6.605s ok launchpad.net/juju-core/worker/authenticationworker 3.197s ok launchpad.net/juju-core/worker/charmrevisionworker 2.222s ok launchpad.net/juju-core/worker/cleaner 1.364s ok launchpad.net/juju-core/worker/deployer 3.836s ok launchpad.net/juju-core/worker/firewaller 12.844s ok launchpad.net/juju-core/worker/instancepoller 2.583s ok launchpad.net/juju-core/worker/localstorage 0.052s ok launchpad.net/juju-core/worker/logger 1.595s ok launchpad.net/juju-core/worker/machineenvironmentworker 7.633s ok launchpad.net/juju-core/worker/machiner 3.284s ok launchpad.net/juju-core/worker/minunitsworker 1.276s ok launchpad.net/juju-core/worker/provisioner 30.283s ok launchpad.net/juju-core/worker/resumer 1.573s ok launchpad.net/juju-core/worker/terminationworker 0.067s ---------------------------------------------------------------------- FAIL: uniter_test.go:845: UniterSuite.TestRunCommand [LOG] 91.18373 DEBUG juju.environs.configstore Making /tmp/gocheck-3950896730125624717/1/home/ubuntu/.juju/environments [LOG] 91.30509 DEBUG juju.environs.tools reading v1.* tools [LOG] 91.30514 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 91.30707 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 91.30708 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 91.30713 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 91.30715 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 91.30718 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 91.30719 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 91.30746 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 91.30749 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 91.30764 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 91.30767 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 91.30769 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 91.30770 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 91.30773 INFO juju.environs.tools filtering tools by series: precise [LOG] 91.30775 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 91.30778 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 91.30780 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 91.30794 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 91.30795 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 91.30798 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 91.30799 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:44687/dummyenv/private/tools/streams/v1/index.json" [LOG] 91.30804 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:arm"] are [{Thu, 30 Jan 2014 10:50:12 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 91.30805 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 91.30828 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc20078c720]}] map[] Thu, 30 Jan 2014 10:50:12 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 91.30836 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 91.30839 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 91.30884 INFO juju.state opening state; mongo addresses: ["localhost:48419"]; entity "" [LOG] 91.31605 INFO juju.state connection established [LOG] 91.36528 INFO juju.state adding state server info to legacy environment [LOG] 91.36583 INFO juju.state found existing state servers [] [LOG] 91.37710 INFO juju.state initializing environment [LOG] 91.40371 INFO juju.state.apiserver listening on "127.0.0.1:48379" [LOG] 91.42197 INFO juju.state opening state; mongo addresses: ["localhost:48419"]; entity "" [LOG] 91.42533 INFO juju.state connection established [LOG] 91.44105 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 91.44112 INFO juju.state opening state; mongo addresses: ["localhost:48419"]; entity "" [LOG] 91.44593 INFO juju.state connection established [LOG] 91.45550 INFO juju.state adding state server info to legacy environment [LOG] 91.45616 INFO juju.state found existing state servers [] [LOG] 91.50485 INFO juju state/api: dialing "wss://127.0.0.1:48379/" [LOG] 91.50814 INFO juju.state.apiserver [32] API connection from 127.0.0.1:42698 [LOG] 91.50830 INFO juju state/api: connection established [LOG] 91.50850 DEBUG juju.state.apiserver <- [32] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 91.50899 DEBUG juju.state.apiserver -> [32] user-admin 496.058us {"RequestId":1,"Response":{}} Admin[""].Login test 0: run commands: environment step 0: uniter_test.quickStart{} uniter_test.createCharm{revision:0, badHooks:[]string(nil), customize:(func(*gocheck.C, *uniter_test.context, string))(nil)} uniter_test.addCharm{dir:(*charm.Dir)(0xc200afa990), curl:(*charm.URL)(0xc2008dc0f0)} uniter_test.serveCharm{} uniter_test.createUniter{} uniter_test.ensureStateWorker{} uniter_test.createServiceAndUnit{serviceName:""} [LOG] 91.68979 INFO juju state/api: dialing "wss://127.0.0.1:48379/" [LOG] 91.69398 INFO juju.state.apiserver [33] API connection from 127.0.0.1:42699 [LOG] 91.69410 INFO juju state/api: connection established [LOG] 91.69429 DEBUG juju.state.apiserver <- [33] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"unit-u-0","Password":"6jfJC7BNrpw4q+w9cvmk7Txh","Nonce":""}} [LOG] 91.72193 DEBUG juju.state.apiserver -> [33] unit-u-0 27.619576ms {"RequestId":1,"Response":{}} Admin[""].Login API: login as "unit-u-0" successful uniter_test.startUniter{unitTag:""} uniter_test.waitAddresses{} [LOG] 91.72258 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":3,"Type":"Uniter","Request":"Life","Params":{"Entities":[{"Tag":"unit-u-0"}]}} [LOG] 91.72321 DEBUG juju.state.apiserver -> [33] unit-u-0 629.961us {"RequestId":3,"Response":{"Results":[{"Life":"alive","Error":null}]}} Uniter[""].Life [LOG] 91.72379 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":4,"Type":"Uniter","Request":"Life","Params":{"Entities":[{"Tag":"service-u"}]}} [LOG] 91.72417 DEBUG juju.state.apiserver -> [33] unit-u-0 376.269us {"RequestId":4,"Response":{"Results":[{"Life":"alive","Error":null}]}} Uniter[""].Life [LOG] 91.72443 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":5,"Type":"Uniter","Request":"CurrentEnvironUUID","Params":{}} [LOG] 91.72477 DEBUG juju.state.apiserver -> [33] unit-u-0 329.225us {"RequestId":5,"Response":{"Error":null,"Result":"daad560f-e58a-406d-8115-684e9b9215ac"}} Uniter[""].CurrentEnvironUUID [LOG] 91.72489 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/gocheck-3950896730125624717/0/agents/unit-u-0/run.socket [LOG] 91.72511 INFO juju.worker.uniter unit "u/0" started [LOG] 91.72523 DEBUG juju.worker.uniter juju-run listener running [LOG] 91.72532 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":6,"Type":"Uniter","Request":"WatchForEnvironConfigChanges","Params":{}} [LOG] 91.72570 DEBUG juju.state.apiserver -> [33] unit-u-0 372.885us {"RequestId":6,"Response":{"NotifyWatcherId":"2","Error":null}} Uniter[""].WatchForEnvironConfigChanges [LOG] 91.72582 INFO juju.worker.uniter ModeInit starting [LOG] 91.72583 INFO juju.worker.uniter updating unit addresses [LOG] 91.72602 DEBUG juju.worker.uniter new environment change [LOG] 91.72632 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":7,"Type":"Uniter","Request":"ProviderType","Params":{}} [LOG] 91.72644 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":8,"Type":"Uniter","Request":"EnvironConfig","Params":{}} [LOG] 91.72655 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":9,"Type":"Uniter","Request":"Life","Params":{"Entities":[{"Tag":"unit-u-0"}]}} [LOG] 91.72669 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":10,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":{}} [LOG] 91.72787 DEBUG juju.state.apiserver -> [33] unit-u-0 1.541048ms {"RequestId":7,"Response":{"Error":null,"Result":"dummy"}} Uniter[""].ProviderType [LOG] 91.72954 DEBUG juju.state.apiserver -> [33] unit-u-0 2.998845ms {"RequestId":8,"Response":{"Error":null,"Config":{"admin-secret":"","agent-version":"1.17.2","api-port":4321,"authorized-keys":"ssh-rsa BBBB