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.313s ok launchpad.net/juju-core/agent/tools 0.253s ok launchpad.net/juju-core/bzr 7.768s ok launchpad.net/juju-core/cert 3.751s ok launchpad.net/juju-core/charm 0.598s ? 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.032s ok launchpad.net/juju-core/cloudinit/sshinit 1.137s ok launchpad.net/juju-core/cmd 0.243s ok launchpad.net/juju-core/cmd/charm-admin 0.817s ? 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 258.730s ok launchpad.net/juju-core/cmd/jujud 62.132s ok launchpad.net/juju-core/cmd/plugins/juju-metadata 9.465s ? launchpad.net/juju-core/cmd/plugins/juju-restore [no test files] ok launchpad.net/juju-core/constraints 0.028s ok launchpad.net/juju-core/container 0.038s ok launchpad.net/juju-core/container/factory 0.055s ok launchpad.net/juju-core/container/kvm 0.342s ok launchpad.net/juju-core/container/kvm/mock 0.056s ? launchpad.net/juju-core/container/kvm/testing [no test files] ok launchpad.net/juju-core/container/lxc 0.421s ? 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.320s ok launchpad.net/juju-core/environs 3.263s ok launchpad.net/juju-core/environs/bootstrap 4.696s ok launchpad.net/juju-core/environs/cloudinit 0.676s ok launchpad.net/juju-core/environs/config 4.070s ok launchpad.net/juju-core/environs/configstore 0.080s ok launchpad.net/juju-core/environs/filestorage 0.034s ok launchpad.net/juju-core/environs/httpstorage 0.908s ok launchpad.net/juju-core/environs/imagemetadata 0.695s ? launchpad.net/juju-core/environs/imagemetadata/testing [no test files] ok launchpad.net/juju-core/environs/instances 0.063s ok launchpad.net/juju-core/environs/jujutest 0.257s ok launchpad.net/juju-core/environs/manual 9.759s ok launchpad.net/juju-core/environs/simplestreams 0.355s ? launchpad.net/juju-core/environs/simplestreams/testing [no test files] ok launchpad.net/juju-core/environs/sshstorage 1.335s ok launchpad.net/juju-core/environs/storage 1.165s ok launchpad.net/juju-core/environs/sync 35.200s ok launchpad.net/juju-core/environs/testing 0.209s ok launchpad.net/juju-core/environs/tools 6.839s ? 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.024s ? launchpad.net/juju-core/instance/testing [no test files] ok launchpad.net/juju-core/juju 21.534s 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.022s 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.691s ok launchpad.net/juju-core/provider/common 6.556s ok launchpad.net/juju-core/provider/dummy 24.932s ok launchpad.net/juju-core/provider/ec2 21.622s ok launchpad.net/juju-core/provider/joyent 5.335s ok launchpad.net/juju-core/provider/local 6.089s ok launchpad.net/juju-core/provider/maas 19.593s ok launchpad.net/juju-core/provider/null 1.257s ok launchpad.net/juju-core/provider/openstack 41.999s ok launchpad.net/juju-core/replicaset 45.901s ok launchpad.net/juju-core/rpc 0.112s ok launchpad.net/juju-core/rpc/jsoncodec 0.044s ? launchpad.net/juju-core/rpc/rpcreflect [no test files] ok launchpad.net/juju-core/schema 0.041s ok launchpad.net/juju-core/state 89.687s ok launchpad.net/juju-core/state/api 2.032s ok launchpad.net/juju-core/state/api/agent 2.168s ? launchpad.net/juju-core/state/api/base [no test files] ok launchpad.net/juju-core/state/api/charmrevisionupdater 1.525s ? 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.212s ok launchpad.net/juju-core/state/api/environment 1.778s ok launchpad.net/juju-core/state/api/firewaller 11.381s ok launchpad.net/juju-core/state/api/keymanager 3.662s ok launchpad.net/juju-core/state/api/keyupdater 2.893s ok launchpad.net/juju-core/state/api/logger 2.378s ok launchpad.net/juju-core/state/api/machiner 3.249s ok launchpad.net/juju-core/state/api/params 0.036s ok launchpad.net/juju-core/state/api/provisioner 9.936s ok launchpad.net/juju-core/state/api/uniter 28.746s ok launchpad.net/juju-core/state/api/upgrader 3.860s ok launchpad.net/juju-core/state/api/watcher 3.207s ok launchpad.net/juju-core/state/apiserver 7.997s ok launchpad.net/juju-core/state/apiserver/agent 3.274s ok launchpad.net/juju-core/state/apiserver/charmrevisionupdater 2.426s ? launchpad.net/juju-core/state/apiserver/charmrevisionupdater/testing [no test files] ---------------------------------------------------------------------- FAIL: client_test.go:1775: clientSuite.TestAddCharm [LOG] 30.84336 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/2/home/ubuntu/.juju/environments [LOG] 30.93471 DEBUG juju.environs.tools reading v1.* tools [LOG] 30.93475 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 30.93888 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 30.93890 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 30.93895 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 30.93897 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 30.93900 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 30.93901 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 30.93929 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 30.93955 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 30.93974 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 30.93979 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 30.93981 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 30.93986 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 30.93987 INFO juju.environs.tools filtering tools by series: precise [LOG] 30.93990 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 30.93994 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 30.93996 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 30.94007 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 30.94009 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 30.94012 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 30.94013 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:44129/dummyenv/private/tools/streams/v1/index.json" [LOG] 30.94021 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:12:32 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 30.94022 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 30.94043 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200497900]}] map[] Thu, 30 Jan 2014 10:12:32 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 30.94056 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 30.94059 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 30.94106 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 30.94663 INFO juju.state connection established [LOG] 30.97175 INFO juju.state adding state server info to legacy environment [LOG] 30.97231 INFO juju.state found existing state servers [] [LOG] 30.98309 INFO juju.state initializing environment [LOG] 31.01504 INFO juju.state.apiserver listening on "127.0.0.1:45118" [LOG] 31.04503 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 31.04795 INFO juju.state connection established [LOG] 31.06407 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 31.06425 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 31.07280 INFO juju.state connection established [LOG] 31.07802 INFO juju.state adding state server info to legacy environment [LOG] 31.07828 INFO juju.state found existing state servers [] [LOG] 31.11924 INFO juju state/api: dialing "wss://127.0.0.1:45118/" [LOG] 31.12234 INFO juju.state.apiserver [2] API connection from 127.0.0.1:41609 [LOG] 31.12246 INFO juju state/api: connection established [LOG] 31.12265 DEBUG juju.state.apiserver <- [2] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 31.12308 DEBUG juju.state.apiserver -> [2] user-admin 425.269us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 31.12337 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":3,"Type":"Client","Request":"AddCharm","Params":{"URL":":/nonsense-0"}} [LOG] 31.12346 DEBUG juju.state.apiserver -> [2] user-admin 93.34us {"RequestId":3,"Error":"charm URL has invalid schema: \":/nonsense-0\"","Response":{}} Client[""].AddCharm [LOG] 31.12377 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":4,"Type":"Client","Request":"AddCharm","Params":{"URL":"local:precise/dummy"}} [LOG] 31.12387 DEBUG juju.state.apiserver -> [2] user-admin 99.884us {"RequestId":4,"Error":"only charm store charm URLs are supported, with cs: schema","Response":{}} Client[""].AddCharm [LOG] 31.12413 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":5,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress"}} [LOG] 31.12421 DEBUG juju.state.apiserver -> [2] user-admin 82.31us {"RequestId":5,"Error":"charm URL must include revision","Response":{}} Client[""].AddCharm [LOG] 31.12642 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":6,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:quantal/dummy-1"}} [LOG] 31.12677 DEBUG juju.state.apiserver -> [2] user-admin 360.508us {"RequestId":6,"Response":{}} Client[""].AddCharm [LOG] 31.13570 DEBUG juju.state.apiserver <- [2] user-admin {"RequestId":7,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.14121 DEBUG juju.state.apiserver -> [2] user-admin 5.483718ms {"RequestId":7,"Error":"cannot get storage URL for charm: wordpress-3-61707e0d-74b1-4245-8e5c-ec54438198aa 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-61707e0d-74b1-4245-8e5c-ec54438198aa not found"} ("cannot get storage URL for charm: wordpress-3-61707e0d-74b1-4245-8e5c-ec54438198aa not found") [LOG] 31.15325 INFO juju.provider.dummy reset environment [LOG] 31.15343 INFO juju.state.apiserver [2] API connection terminated after 31.088462ms [LOG] 31.15678 INFO juju Reset successfully reset admin password [LOG] 31.18542 INFO juju Reset successfully reset admin password [LOG] 31.18883 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1820: clientSuite.TestAddCharmConcurrently [LOG] 31.21714 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/5/home/ubuntu/.juju/environments [LOG] 31.30993 DEBUG juju.environs.tools reading v1.* tools [LOG] 31.30998 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 31.31483 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 31.31486 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 31.31493 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 31.31495 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 31.31499 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 31.31501 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 31.31536 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 31.31556 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 31.31580 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 31.31587 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 31.31588 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 31.31589 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 31.31591 INFO juju.environs.tools filtering tools by series: precise [LOG] 31.31593 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 31.31596 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 31.31598 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 31.31608 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 31.31609 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 31.31612 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 31.31613 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:51864/dummyenv/private/tools/streams/v1/index.json" [LOG] 31.31626 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:12:32 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 31.31627 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 31.31648 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc2002357e0]}] map[] Thu, 30 Jan 2014 10:12:32 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 31.31656 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 31.31659 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 31.31706 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 31.32030 INFO juju.state connection established [LOG] 31.36795 INFO juju.state adding state server info to legacy environment [LOG] 31.36831 INFO juju.state found existing state servers [] [LOG] 31.38763 INFO juju.state initializing environment [LOG] 31.41648 INFO juju.state.apiserver listening on "127.0.0.1:49152" [LOG] 31.43465 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 31.43776 INFO juju.state connection established [LOG] 31.45503 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 31.45514 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 31.46136 INFO juju.state connection established [LOG] 31.47560 INFO juju.state adding state server info to legacy environment [LOG] 31.47613 INFO juju.state found existing state servers [] [LOG] 31.53232 INFO juju state/api: dialing "wss://127.0.0.1:49152/" [LOG] 31.53555 INFO juju.state.apiserver [3] API connection from 127.0.0.1:56847 [LOG] 31.53572 INFO juju state/api: connection established [LOG] 31.53592 DEBUG juju.state.apiserver <- [3] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 31.53634 DEBUG juju.state.apiserver -> [3] user-admin 433.288us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 31.54860 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":3,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.54866 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":4,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.54872 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":5,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.54877 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":6,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.54882 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":7,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.54887 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":8,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.54892 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":9,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.54898 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":10,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.54903 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":11,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.54908 DEBUG juju.state.apiserver <- [3] user-admin {"RequestId":12,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 31.58087 DEBUG juju.state.apiserver -> [3] user-admin 32.257428ms {"RequestId":3,"Error":"cannot get storage URL for charm: wordpress-3-63156917-5446-42f7-87aa-80dbe618064a 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-63156917-5446-42f7-87aa-80dbe618064a not found"} ("cannot get storage URL for charm: wordpress-3-63156917-5446-42f7-87aa-80dbe618064a not found") ... goroutine 0 [LOG] 31.66412 DEBUG juju.state.apiserver -> [3] user-admin 115.422798ms {"RequestId":4,"Error":"cannot get storage URL for charm: wordpress-3-ab254f7c-0931-44d3-8987-daea24b26540 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-ab254f7c-0931-44d3-8987-daea24b26540 not found"} ("cannot get storage URL for charm: wordpress-3-ab254f7c-0931-44d3-8987-daea24b26540 not found") ... goroutine 1 [LOG] 31.68740 DEBUG juju.state.apiserver -> [3] user-admin 138.595591ms {"RequestId":5,"Error":"cannot get storage URL for charm: wordpress-3-9bb54fcd-8194-474d-8738-487b264a7f3e 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-9bb54fcd-8194-474d-8738-487b264a7f3e not found"} ("cannot get storage URL for charm: wordpress-3-9bb54fcd-8194-474d-8738-487b264a7f3e not found") ... goroutine 2 [LOG] 31.70107 DEBUG juju.state.apiserver -> [3] user-admin 152.267121ms {"RequestId":6,"Error":"cannot get storage URL for charm: wordpress-3-8010a7bf-a2a5-4daa-8ff0-f5b1636ed599 not found","Response":{}} Client[""].AddCharm [LOG] 31.70227 DEBUG juju.state.apiserver -> [3] user-admin 153.436997ms {"RequestId":7,"Error":"cannot get storage URL for charm: wordpress-3-c7b24041-501b-489c-8324-5f6e7f60bc46 not found","Response":{}} Client[""].AddCharm [LOG] 31.70325 DEBUG juju.state.apiserver -> [3] user-admin 154.368476ms {"RequestId":8,"Error":"cannot get storage URL for charm: wordpress-3-750b89e7-782e-494b-8828-c360488506bd not found","Response":{}} Client[""].AddCharm [LOG] 31.70423 DEBUG juju.state.apiserver -> [3] user-admin 155.30015ms {"RequestId":9,"Error":"cannot get storage URL for charm: wordpress-3-4bfe0d02-c295-43b8-863e-5ad3aff90bac not found","Response":{}} Client[""].AddCharm [LOG] 31.70532 DEBUG juju.state.apiserver -> [3] user-admin 156.334009ms {"RequestId":10,"Error":"cannot get storage URL for charm: wordpress-3-fa62392c-31a3-4c10-8a94-10b51e1f4e9f not found","Response":{}} Client[""].AddCharm [LOG] 31.70630 DEBUG juju.state.apiserver -> [3] user-admin 157.262962ms {"RequestId":11,"Error":"cannot get storage URL for charm: wordpress-3-f17ec554-26e0-4c8a-83de-0a40597ca7b7 not found","Response":{}} Client[""].AddCharm [LOG] 31.70727 DEBUG juju.state.apiserver -> [3] user-admin 158.187034ms {"RequestId":12,"Error":"cannot get storage URL for charm: wordpress-3-047506f5-8a75-44c5-8986-5dd260b16342 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-c7b24041-501b-489c-8324-5f6e7f60bc46 not found"} ("cannot get storage URL for charm: wordpress-3-c7b24041-501b-489c-8324-5f6e7f60bc46 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-750b89e7-782e-494b-8828-c360488506bd not found"} ("cannot get storage URL for charm: wordpress-3-750b89e7-782e-494b-8828-c360488506bd 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-8010a7bf-a2a5-4daa-8ff0-f5b1636ed599 not found"} ("cannot get storage URL for charm: wordpress-3-8010a7bf-a2a5-4daa-8ff0-f5b1636ed599 not found") ... goroutine 3 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-fa62392c-31a3-4c10-8a94-10b51e1f4e9f not found"} ("cannot get storage URL for charm: wordpress-3-fa62392c-31a3-4c10-8a94-10b51e1f4e9f 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-f17ec554-26e0-4c8a-83de-0a40597ca7b7 not found"} ("cannot get storage URL for charm: wordpress-3-f17ec554-26e0-4c8a-83de-0a40597ca7b7 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-4bfe0d02-c295-43b8-863e-5ad3aff90bac not found"} ("cannot get storage URL for charm: wordpress-3-4bfe0d02-c295-43b8-863e-5ad3aff90bac not found") ... goroutine 6 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-047506f5-8a75-44c5-8986-5dd260b16342 not found"} ("cannot get storage URL for charm: wordpress-3-047506f5-8a75-44c5-8986-5dd260b16342 not found") ... goroutine 9 client_test.go:1858: c.Assert(err, gc.IsNil) ... value errors.notFoundError = errors.notFoundError{errorWrapper:(*errors.errorWrapper)(0xc20043dfa0)} ("charm \"cs:precise/wordpress-3\" not found") [LOG] 31.83225 INFO juju.provider.dummy reset environment [LOG] 31.83243 INFO juju.state.apiserver [3] API connection terminated after 296.877874ms [LOG] 31.83908 INFO juju Reset successfully reset admin password [LOG] 31.84387 INFO juju Reset successfully reset admin password [LOG] 31.84699 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1868: clientSuite.TestAddCharmOverwritesPlaceholders [LOG] 31.86968 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/8/home/ubuntu/.juju/environments [LOG] 31.96351 DEBUG juju.environs.tools reading v1.* tools [LOG] 31.96356 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 31.96851 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 31.96854 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 31.96859 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 31.96860 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 31.96863 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 31.96864 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 31.96892 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 31.96906 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 31.96927 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 31.96930 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 31.96931 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 31.96933 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 31.96934 INFO juju.environs.tools filtering tools by series: precise [LOG] 31.96936 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 31.96939 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 31.96940 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 31.96957 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 31.96958 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 31.96961 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 31.96962 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:45068/dummyenv/private/tools/streams/v1/index.json" [LOG] 31.96967 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:12:33 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 31.96968 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 31.96992 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200235180]}] map[] Thu, 30 Jan 2014 10:12:33 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 31.96998 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 31.97001 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 31.97046 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 31.99061 INFO juju.state connection established [LOG] 32.02726 INFO juju.state adding state server info to legacy environment [LOG] 32.02754 INFO juju.state found existing state servers [] [LOG] 32.03436 INFO juju.state initializing environment [LOG] 32.05696 INFO juju.state.apiserver listening on "127.0.0.1:32773" [LOG] 32.07521 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 32.07828 INFO juju.state connection established [LOG] 32.10010 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 32.10092 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 32.10866 INFO juju.state connection established [LOG] 32.11218 INFO juju.state adding state server info to legacy environment [LOG] 32.11244 INFO juju.state found existing state servers [] [LOG] 32.15312 INFO juju state/api: dialing "wss://127.0.0.1:32773/" [LOG] 32.15619 INFO juju.state.apiserver [4] API connection from 127.0.0.1:46762 [LOG] 32.15634 INFO juju state/api: connection established [LOG] 32.15650 DEBUG juju.state.apiserver <- [4] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 32.15691 DEBUG juju.state.apiserver -> [4] user-admin 407.125us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 32.17152 DEBUG juju.state.apiserver <- [4] user-admin {"RequestId":3,"Type":"Client","Request":"AddCharm","Params":{"URL":"cs:precise/wordpress-3"}} [LOG] 32.17614 DEBUG juju.state.apiserver -> [4] user-admin 4.624766ms {"RequestId":3,"Error":"cannot get storage URL for charm: wordpress-3-0e22892f-02dd-4e0b-85d2-aba2fc4dcc3f 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-0e22892f-02dd-4e0b-85d2-aba2fc4dcc3f not found"} ("cannot get storage URL for charm: wordpress-3-0e22892f-02dd-4e0b-85d2-aba2fc4dcc3f not found") [LOG] 32.18850 INFO juju.provider.dummy reset environment [LOG] 32.18866 INFO juju.state.apiserver [4] API connection terminated after 32.478035ms [LOG] 32.19237 INFO juju Reset successfully reset admin password [LOG] 32.21400 INFO juju Reset successfully reset admin password [LOG] 32.21874 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1733: clientSuite.TestClientAuthorizeStoreOnDeployServiceSetCharmAndAddCharm [LOG] 39.89139 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/43/home/ubuntu/.juju/environments [LOG] 39.99080 DEBUG juju.environs.tools reading v1.* tools [LOG] 39.99085 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 39.99176 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 39.99178 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 39.99189 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 39.99190 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 39.99193 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 39.99195 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 39.99222 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 39.99229 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 39.99244 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 39.99247 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 39.99249 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 39.99250 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 39.99251 INFO juju.environs.tools filtering tools by series: precise [LOG] 39.99253 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 39.99256 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 39.99258 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 39.99268 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 39.99270 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 39.99272 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 39.99273 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:50032/dummyenv/private/tools/streams/v1/index.json" [LOG] 39.99278 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:12:41 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 39.99279 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 39.99302 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc2008419c0]}] map[] Thu, 30 Jan 2014 10:12:41 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 39.99308 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 39.99311 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 39.99361 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 39.99646 INFO juju.state connection established [LOG] 40.03166 INFO juju.state adding state server info to legacy environment [LOG] 40.03198 INFO juju.state found existing state servers [] [LOG] 40.03856 INFO juju.state initializing environment [LOG] 40.06062 INFO juju.state.apiserver listening on "127.0.0.1:52895" [LOG] 40.07912 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 40.08195 INFO juju.state connection established [LOG] 40.10390 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 40.10406 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 40.11286 INFO juju.state connection established [LOG] 40.11647 INFO juju.state adding state server info to legacy environment [LOG] 40.11677 INFO juju.state found existing state servers [] [LOG] 40.16659 INFO juju state/api: dialing "wss://127.0.0.1:52895/" [LOG] 40.17019 INFO juju.state.apiserver [15] API connection from 127.0.0.1:46772 [LOG] 40.17036 INFO juju state/api: connection established [LOG] 40.17057 DEBUG juju.state.apiserver <- [15] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 40.17110 DEBUG juju.state.apiserver -> [15] user-admin 484.001us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 40.18906 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] 40.19691 DEBUG juju.state.apiserver -> [15] user-admin 7.860292ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-bc060634-44bb-4720-8b3d-d08aee5dd2a8 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-bc060634-44bb-4720-8b3d-d08aee5dd2a8 not found"} ("cannot get storage URL for charm: dummy-1-bc060634-44bb-4720-8b3d-d08aee5dd2a8 not found") [LOG] 40.20978 INFO juju.provider.dummy reset environment [LOG] 40.20994 INFO juju.state.apiserver [15] API connection terminated after 39.756718ms [LOG] 40.21327 INFO juju Reset successfully reset admin password [LOG] 40.23500 INFO juju Reset successfully reset admin password [LOG] 40.24018 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:737: clientSuite.TestClientServiceDeployConfig [LOG] 46.68885 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/74/home/ubuntu/.juju/environments [LOG] 46.79197 DEBUG juju.environs.tools reading v1.* tools [LOG] 46.79202 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 46.79293 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 46.79295 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 46.79300 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 46.79302 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 46.79305 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 46.79306 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 46.79338 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 46.79349 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 46.79366 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 46.79369 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 46.79371 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 46.79372 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 46.79373 INFO juju.environs.tools filtering tools by series: precise [LOG] 46.79375 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 46.79379 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 46.79381 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 46.79391 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 46.79392 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 46.79395 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 46.79396 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:60552/dummyenv/private/tools/streams/v1/index.json" [LOG] 46.79403 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:12:47 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 46.79405 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 46.79426 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc2006a1720]}] map[] Thu, 30 Jan 2014 10:12:47 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 46.79433 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 46.79436 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 46.79480 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 46.81342 INFO juju.state connection established [LOG] 46.85960 INFO juju.state adding state server info to legacy environment [LOG] 46.85988 INFO juju.state found existing state servers [] [LOG] 46.86630 INFO juju.state initializing environment [LOG] 46.88841 INFO juju.state.apiserver listening on "127.0.0.1:33855" [LOG] 46.90657 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 46.90983 INFO juju.state connection established [LOG] 46.91063 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 46.91071 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 46.91416 INFO juju.state connection established [LOG] 46.91767 INFO juju.state adding state server info to legacy environment [LOG] 46.91792 INFO juju.state found existing state servers [] [LOG] 46.95836 INFO juju state/api: dialing "wss://127.0.0.1:33855/" [LOG] 46.96147 INFO juju.state.apiserver [24] API connection from 127.0.0.1:46620 [LOG] 46.96158 INFO juju state/api: connection established [LOG] 46.96174 DEBUG juju.state.apiserver <- [24] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 46.96215 DEBUG juju.state.apiserver -> [24] user-admin 413.511us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 46.98096 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] 46.98730 DEBUG juju.state.apiserver -> [24] user-admin 6.354868ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-a85a79e8-d135-448f-8507-d07a63e40e5e 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-a85a79e8-d135-448f-8507-d07a63e40e5e not found"} ("cannot get storage URL for charm: dummy-1-a85a79e8-d135-448f-8507-d07a63e40e5e not found") [LOG] 46.99951 INFO juju.provider.dummy reset environment [LOG] 46.99967 INFO juju.state.apiserver [24] API connection terminated after 38.209208ms [LOG] 47.00307 INFO juju Reset successfully reset admin password [LOG] 47.02590 INFO juju Reset successfully reset admin password [LOG] 47.03217 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:754: clientSuite.TestClientServiceDeployConfigError [LOG] 47.07357 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/77/home/ubuntu/.juju/environments [LOG] 47.16175 DEBUG juju.environs.tools reading v1.* tools [LOG] 47.16180 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 47.16269 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 47.16270 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 47.16275 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 47.16277 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 47.16280 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 47.16281 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 47.16308 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 47.16314 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 47.16329 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 47.16332 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 47.16333 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 47.16335 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 47.16336 INFO juju.environs.tools filtering tools by series: precise [LOG] 47.16338 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 47.16341 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 47.16342 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 47.16353 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 47.16354 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 47.16357 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 47.16358 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:60673/dummyenv/private/tools/streams/v1/index.json" [LOG] 47.16363 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:12:48 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 47.16364 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 47.16387 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc20041a060]}] map[] Thu, 30 Jan 2014 10:12:48 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 47.16393 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 47.16395 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 47.16442 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 47.16735 INFO juju.state connection established [LOG] 47.20773 INFO juju.state adding state server info to legacy environment [LOG] 47.21061 INFO juju.state found existing state servers [] [LOG] 47.22393 INFO juju.state initializing environment [LOG] 47.24642 INFO juju.state.apiserver listening on "127.0.0.1:33417" [LOG] 47.27643 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 47.27929 INFO juju.state connection established [LOG] 47.29220 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 47.29253 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 47.30086 INFO juju.state connection established [LOG] 47.30426 INFO juju.state adding state server info to legacy environment [LOG] 47.30451 INFO juju.state found existing state servers [] [LOG] 47.34522 INFO juju state/api: dialing "wss://127.0.0.1:33417/" [LOG] 47.34820 INFO juju.state.apiserver [25] API connection from 127.0.0.1:45742 [LOG] 47.34838 INFO juju state/api: connection established [LOG] 47.34854 DEBUG juju.state.apiserver <- [25] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 47.34890 DEBUG juju.state.apiserver -> [25] user-admin 360.114us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 47.36404 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] 47.37086 DEBUG juju.state.apiserver -> [25] user-admin 6.868212ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-ff89a2a5-f7ea-41bc-8d4d-b193ba90b376 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-ff89a2a5-f7ea-41bc-8d4d-b193ba90b376 not found" ... regex string = "option \"skill-level\" expected int, got \"fred\"" [LOG] 47.38322 INFO juju.provider.dummy reset environment [LOG] 47.38339 INFO juju.state.apiserver [25] API connection terminated after 35.184991ms [LOG] 47.38674 INFO juju Reset successfully reset admin password [LOG] 47.40513 INFO juju Reset successfully reset admin password [LOG] 47.40965 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:680: clientSuite.TestClientServiceDeployPrincipal [LOG] 47.43251 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/80/home/ubuntu/.juju/environments [LOG] 47.52028 DEBUG juju.environs.tools reading v1.* tools [LOG] 47.52033 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 47.54213 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 47.54215 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 47.54223 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 47.54225 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 47.54229 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 47.54231 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 47.54266 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 47.54272 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 47.54292 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 47.54297 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 47.54299 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 47.54300 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 47.54301 INFO juju.environs.tools filtering tools by series: precise [LOG] 47.54305 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 47.54308 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 47.54310 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 47.54324 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 47.54326 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 47.54328 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 47.54332 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:33396/dummyenv/private/tools/streams/v1/index.json" [LOG] 47.54337 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:12:48 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 47.54341 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 47.54368 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200cfc120]}] map[] Thu, 30 Jan 2014 10:12:48 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 47.54376 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 47.54379 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 47.54442 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 47.54775 INFO juju.state connection established [LOG] 47.56296 INFO juju.state adding state server info to legacy environment [LOG] 47.56325 INFO juju.state found existing state servers [] [LOG] 47.56993 INFO juju.state initializing environment [LOG] 47.59270 INFO juju.state.apiserver listening on "127.0.0.1:32947" [LOG] 47.61099 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 47.61400 INFO juju.state connection established [LOG] 47.63164 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 47.63173 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 47.63630 ERROR juju.state TLS handshake failed: local error: unexpected message [LOG] 47.63904 INFO juju.state connection established [LOG] 47.64276 INFO juju.state adding state server info to legacy environment [LOG] 47.64303 INFO juju.state found existing state servers [] [LOG] 47.68465 INFO juju state/api: dialing "wss://127.0.0.1:32947/" [LOG] 47.68823 INFO juju.state.apiserver [26] API connection from 127.0.0.1:54287 [LOG] 47.68840 INFO juju state/api: connection established [LOG] 47.68857 DEBUG juju.state.apiserver <- [26] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 47.68902 DEBUG juju.state.apiserver -> [26] user-admin 453.099us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 47.71507 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] 47.72182 DEBUG juju.state.apiserver -> [26] user-admin 6.809968ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-59e87e52-1bfc-4484-8ecb-9d9b2a2af939 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-59e87e52-1bfc-4484-8ecb-9d9b2a2af939 not found"} ("cannot get storage URL for charm: dummy-1-59e87e52-1bfc-4484-8ecb-9d9b2a2af939 not found") [LOG] 47.73377 INFO juju.provider.dummy reset environment [LOG] 47.73393 INFO juju.state.apiserver [26] API connection terminated after 45.702671ms [LOG] 47.73736 INFO juju Reset successfully reset admin password [LOG] 47.75362 INFO juju Reset successfully reset admin password [LOG] 47.75826 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:716: clientSuite.TestClientServiceDeploySubordinate [LOG] 47.78121 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/83/home/ubuntu/.juju/environments [LOG] 47.86929 DEBUG juju.environs.tools reading v1.* tools [LOG] 47.86935 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 47.89205 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 47.89207 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 47.89215 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 47.89217 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 47.89222 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 47.89223 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 47.89260 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 47.89266 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 47.89290 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 47.89295 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 47.89297 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 47.89298 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 47.89299 INFO juju.environs.tools filtering tools by series: precise [LOG] 47.89303 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 47.89306 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 47.89308 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 47.89323 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 47.89325 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 47.89330 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 47.89331 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:49215/dummyenv/private/tools/streams/v1/index.json" [LOG] 47.89338 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:12:49 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 47.89340 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 47.89367 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200e637e0]}] map[] Thu, 30 Jan 2014 10:12:49 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 47.89376 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 47.89381 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 47.89449 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 47.89796 INFO juju.state connection established [LOG] 47.91443 INFO juju.state adding state server info to legacy environment [LOG] 47.91479 INFO juju.state found existing state servers [] [LOG] 47.92267 INFO juju.state initializing environment [LOG] 47.94677 INFO juju.state.apiserver listening on "127.0.0.1:40173" [LOG] 47.96512 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 47.96808 INFO juju.state connection established [LOG] 47.98977 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 47.99003 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 48.00266 INFO juju.state connection established [LOG] 48.01010 INFO juju.state adding state server info to legacy environment [LOG] 48.01034 INFO juju.state found existing state servers [] [LOG] 48.05146 INFO juju state/api: dialing "wss://127.0.0.1:40173/" [LOG] 48.05447 INFO juju.state.apiserver [27] API connection from 127.0.0.1:51946 [LOG] 48.05458 INFO juju state/api: connection established [LOG] 48.05484 DEBUG juju.state.apiserver <- [27] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 48.05519 DEBUG juju.state.apiserver -> [27] user-admin 365.71us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 48.05792 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] 48.06377 DEBUG juju.state.apiserver -> [27] user-admin 5.857476ms {"RequestId":3,"Error":"cannot get storage URL for charm: logging-1-c07e2e38-2b1e-4692-8cf0-8f034286bb0c not found","Response":{}} Client[""].ServiceDeploy client_test.go:724: c.Assert(err, gc.IsNil) ... value errors.notFoundError = errors.notFoundError{errorWrapper:(*errors.errorWrapper)(0xc200611f40)} ("service \"service-name\" not found") [LOG] 48.07538 INFO juju.provider.dummy reset environment [LOG] 48.07554 INFO juju.state.apiserver [27] API connection terminated after 21.071131ms [LOG] 48.07875 INFO juju Reset successfully reset admin password [LOG] 48.10166 INFO juju Reset successfully reset admin password [LOG] 48.10631 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:768: clientSuite.TestClientServiceDeployToMachine [LOG] 48.14882 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/86/home/ubuntu/.juju/environments [LOG] 48.23623 DEBUG juju.environs.tools reading v1.* tools [LOG] 48.23628 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 48.23717 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 48.23720 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 48.23725 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 48.23727 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 48.23730 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 48.23731 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 48.23760 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 48.23766 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 48.23778 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 48.23782 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 48.23783 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 48.23784 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 48.23785 INFO juju.environs.tools filtering tools by series: precise [LOG] 48.23787 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 48.23790 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 48.23792 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 48.23802 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 48.23804 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 48.23807 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 48.23808 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:60090/dummyenv/private/tools/streams/v1/index.json" [LOG] 48.23813 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:12:49 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 48.23814 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 48.23834 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200bf5ba0]}] map[] Thu, 30 Jan 2014 10:12:49 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 48.23840 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 48.23843 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 48.23890 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 48.24175 INFO juju.state connection established [LOG] 48.28663 INFO juju.state adding state server info to legacy environment [LOG] 48.28690 INFO juju.state found existing state servers [] [LOG] 48.29322 INFO juju.state initializing environment [LOG] 48.32653 INFO juju.state.apiserver listening on "127.0.0.1:35102" [LOG] 48.34810 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 48.35484 INFO juju.state connection established [LOG] 48.35549 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 48.35555 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 48.35856 INFO juju.state connection established [LOG] 48.36191 INFO juju.state adding state server info to legacy environment [LOG] 48.36216 INFO juju.state found existing state servers [] [LOG] 48.40299 INFO juju state/api: dialing "wss://127.0.0.1:35102/" [LOG] 48.40607 INFO juju.state.apiserver [28] API connection from 127.0.0.1:47795 [LOG] 48.40618 INFO juju state/api: connection established [LOG] 48.40633 DEBUG juju.state.apiserver <- [28] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 48.40671 DEBUG juju.state.apiserver -> [28] user-admin 381.583us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 48.44107 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] 48.44813 DEBUG juju.state.apiserver -> [28] user-admin 7.11221ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-6d0b7624-2af9-4555-8167-497a11b1fdc9 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-6d0b7624-2af9-4555-8167-497a11b1fdc9 not found"} ("cannot get storage URL for charm: dummy-1-6d0b7624-2af9-4555-8167-497a11b1fdc9 not found") [LOG] 48.46079 INFO juju.provider.dummy reset environment [LOG] 48.46095 INFO juju.state.apiserver [28] API connection terminated after 54.885295ms [LOG] 48.46431 INFO juju Reset successfully reset admin password [LOG] 48.48717 INFO juju Reset successfully reset admin password [LOG] 48.49216 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1016: clientSuite.TestClientServiceSetCharm [LOG] 49.88558 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/95/home/ubuntu/.juju/environments [LOG] 49.97394 DEBUG juju.environs.tools reading v1.* tools [LOG] 49.97400 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 49.97489 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 49.97491 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 49.97496 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 49.97498 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 49.97501 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 49.97502 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 49.97537 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 49.97544 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 49.97557 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 49.97561 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 49.97563 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 49.97564 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 49.97565 INFO juju.environs.tools filtering tools by series: precise [LOG] 49.97567 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 49.97570 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 49.97571 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 49.97585 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 49.97587 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 49.97589 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 49.97591 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:49879/dummyenv/private/tools/streams/v1/index.json" [LOG] 49.97595 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:12:51 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 49.97597 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 49.97618 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200bcf4e0]}] map[] Thu, 30 Jan 2014 10:12:51 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 49.97624 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 49.97627 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 49.97670 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 49.97957 INFO juju.state connection established [LOG] 50.01521 INFO juju.state adding state server info to legacy environment [LOG] 50.01548 INFO juju.state found existing state servers [] [LOG] 50.02188 INFO juju.state initializing environment [LOG] 50.04344 INFO juju.state.apiserver listening on "127.0.0.1:42127" [LOG] 50.07417 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 50.07695 INFO juju.state connection established [LOG] 50.09609 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 50.09641 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 50.10622 INFO juju.state connection established [LOG] 50.11107 INFO juju.state adding state server info to legacy environment [LOG] 50.11133 INFO juju.state found existing state servers [] [LOG] 50.15207 INFO juju state/api: dialing "wss://127.0.0.1:42127/" [LOG] 50.15508 INFO juju.state.apiserver [2C] API connection from 127.0.0.1:46245 [LOG] 50.15519 INFO juju state/api: connection established [LOG] 50.15535 DEBUG juju.state.apiserver <- [2C] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 50.15573 DEBUG juju.state.apiserver -> [2C] user-admin 379.875us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 50.17189 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] 50.17933 DEBUG juju.state.apiserver -> [2C] user-admin 7.472248ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-b52e0fdc-f441-43a0-88e9-999db930c64a 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-b52e0fdc-f441-43a0-88e9-999db930c64a not found"} ("cannot get storage URL for charm: dummy-1-b52e0fdc-f441-43a0-88e9-999db930c64a not found") [LOG] 50.19210 INFO juju.provider.dummy reset environment [LOG] 50.19229 INFO juju.state.apiserver [2C] API connection terminated after 37.219568ms [LOG] 50.19611 INFO juju Reset successfully reset admin password [LOG] 50.20063 INFO juju Reset successfully reset admin password [LOG] 50.20367 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:1039: clientSuite.TestClientServiceSetCharmForce [LOG] 50.65857 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/100/home/ubuntu/.juju/environments [LOG] 50.74624 DEBUG juju.environs.tools reading v1.* tools [LOG] 50.74629 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 50.75933 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 50.75935 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 50.75940 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 50.75942 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 50.75945 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 50.75947 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 50.75974 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 50.76020 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 50.76059 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 50.76075 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 50.76079 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 50.76082 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 50.76085 INFO juju.environs.tools filtering tools by series: precise [LOG] 50.76091 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 50.76101 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 50.76106 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 50.76147 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 50.76151 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 50.76160 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 50.76164 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:55167/dummyenv/private/tools/streams/v1/index.json" [LOG] 50.76176 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:12:51 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 50.76180 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 50.76237 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200e636c0]}] map[] Thu, 30 Jan 2014 10:12:51 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 50.76254 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 50.76262 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 50.76387 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 50.77009 INFO juju.state connection established [LOG] 50.80471 INFO juju.state adding state server info to legacy environment [LOG] 50.80554 INFO juju.state found existing state servers [] [LOG] 50.81887 INFO juju.state initializing environment [LOG] 50.84044 INFO juju.state.apiserver listening on "127.0.0.1:57491" [LOG] 50.85747 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 50.86387 INFO juju.state connection established [LOG] 50.87922 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 50.87937 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 50.88718 INFO juju.state connection established [LOG] 50.89598 INFO juju.state adding state server info to legacy environment [LOG] 50.89678 INFO juju.state found existing state servers [] [LOG] 50.95605 INFO juju state/api: dialing "wss://127.0.0.1:57491/" [LOG] 50.96298 INFO juju.state.apiserver [2E] API connection from 127.0.0.1:47378 [LOG] 50.96310 INFO juju state/api: connection established [LOG] 50.96330 DEBUG juju.state.apiserver <- [2E] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 50.96372 DEBUG juju.state.apiserver -> [2E] user-admin 415.835us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 50.98097 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] 50.98769 DEBUG juju.state.apiserver -> [2E] user-admin 6.739714ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-8bca17a7-5835-401f-807c-285de1728e3f 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-8bca17a7-5835-401f-807c-285de1728e3f not found"} ("cannot get storage URL for charm: dummy-1-8bca17a7-5835-401f-807c-285de1728e3f not found") [LOG] 50.99980 INFO juju.provider.dummy reset environment [LOG] 50.99998 INFO juju.state.apiserver [2E] API connection terminated after 37.015011ms [LOG] 51.01681 INFO juju Reset successfully reset admin password [LOG] 51.02291 INFO juju Reset successfully reset admin password [LOG] 51.02629 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:948: clientSuite.TestClientServiceUpdateAllParams [LOG] 52.19880 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/109/home/ubuntu/.juju/environments [LOG] 52.29569 DEBUG juju.environs.tools reading v1.* tools [LOG] 52.29574 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 52.31010 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 52.31012 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 52.31019 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 52.31021 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 52.31026 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 52.31028 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 52.31064 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 52.31090 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 52.31111 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 52.31116 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 52.31117 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 52.31119 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 52.31120 INFO juju.environs.tools filtering tools by series: precise [LOG] 52.31123 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 52.31127 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 52.31129 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 52.31141 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 52.31142 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 52.31145 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 52.31146 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:54476/dummyenv/private/tools/streams/v1/index.json" [LOG] 52.31151 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:12:53 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 52.31153 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 52.31174 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200e63960]}] map[] Thu, 30 Jan 2014 10:12:53 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 52.31181 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 52.31186 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 52.31236 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 52.31574 INFO juju.state connection established [LOG] 52.36903 INFO juju.state adding state server info to legacy environment [LOG] 52.36931 INFO juju.state found existing state servers [] [LOG] 52.37620 INFO juju.state initializing environment [LOG] 52.39899 INFO juju.state.apiserver listening on "127.0.0.1:59322" [LOG] 52.41734 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 52.42026 INFO juju.state connection established [LOG] 52.42097 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 52.42102 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 52.42417 INFO juju.state connection established [LOG] 52.42771 INFO juju.state adding state server info to legacy environment [LOG] 52.42798 INFO juju.state found existing state servers [] [LOG] 52.46997 INFO juju state/api: dialing "wss://127.0.0.1:59322/" [LOG] 52.47304 INFO juju.state.apiserver [32] API connection from 127.0.0.1:53259 [LOG] 52.47316 INFO juju state/api: connection established [LOG] 52.47335 DEBUG juju.state.apiserver <- [32] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 52.47373 DEBUG juju.state.apiserver -> [32] user-admin 391.484us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 52.49105 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] 52.49855 DEBUG juju.state.apiserver -> [32] user-admin 7.522989ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-a47e33db-7b6d-4032-890b-bf619d7ab874 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-a47e33db-7b6d-4032-890b-bf619d7ab874 not found"} ("cannot get storage URL for charm: dummy-1-a47e33db-7b6d-4032-890b-bf619d7ab874 not found") [LOG] 52.52192 INFO juju.provider.dummy reset environment [LOG] 52.52208 INFO juju.state.apiserver [32] API connection terminated after 49.045387ms [LOG] 52.52540 INFO juju Reset successfully reset admin password [LOG] 52.55467 INFO juju Reset successfully reset admin password [LOG] 52.55931 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:833: clientSuite.TestClientServiceUpdateForceSetCharm [LOG] 52.58285 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/112/home/ubuntu/.juju/environments [LOG] 52.71103 DEBUG juju.environs.tools reading v1.* tools [LOG] 52.71108 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 52.71375 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 52.71377 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 52.71383 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 52.71384 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 52.71387 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 52.71388 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 52.71421 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 52.71425 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 52.71443 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 52.71446 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 52.71448 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 52.71449 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 52.71450 INFO juju.environs.tools filtering tools by series: precise [LOG] 52.71452 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 52.71456 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 52.71457 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 52.71468 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 52.71470 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 52.71472 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 52.71473 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:50957/dummyenv/private/tools/streams/v1/index.json" [LOG] 52.71478 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:12:53 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 52.71479 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 52.71500 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200a57d80]}] map[] Thu, 30 Jan 2014 10:12:53 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 52.71507 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 52.71510 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 52.71556 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 52.71845 INFO juju.state connection established [LOG] 52.75488 INFO juju.state adding state server info to legacy environment [LOG] 52.75522 INFO juju.state found existing state servers [] [LOG] 52.76179 INFO juju.state initializing environment [LOG] 52.78435 INFO juju.state.apiserver listening on "127.0.0.1:58547" [LOG] 52.80243 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 52.80523 INFO juju.state connection established [LOG] 52.82294 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 52.82309 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 52.83315 INFO juju.state connection established [LOG] 52.83672 INFO juju.state adding state server info to legacy environment [LOG] 52.83698 INFO juju.state found existing state servers [] [LOG] 52.87783 INFO juju state/api: dialing "wss://127.0.0.1:58547/" [LOG] 52.88133 INFO juju.state.apiserver [33] API connection from 127.0.0.1:35150 [LOG] 52.88145 INFO juju state/api: connection established [LOG] 52.88163 DEBUG juju.state.apiserver <- [33] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 52.88202 DEBUG juju.state.apiserver -> [33] user-admin 400.095us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 52.90685 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] 52.92065 DEBUG juju.state.apiserver -> [33] user-admin 13.872026ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-6fe10fa1-7493-4e89-8de4-a2019ccbc8dd 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-6fe10fa1-7493-4e89-8de4-a2019ccbc8dd not found"} ("cannot get storage URL for charm: dummy-1-6fe10fa1-7493-4e89-8de4-a2019ccbc8dd not found") [LOG] 52.94288 INFO juju.provider.dummy reset environment [LOG] 52.94305 INFO juju.state.apiserver [33] API connection terminated after 61.724219ms [LOG] 52.97266 INFO juju Reset successfully reset admin password [LOG] 52.97995 INFO juju Reset successfully reset admin password [LOG] 52.98306 INFO juju Reset successfully reset admin password ---------------------------------------------------------------------- FAIL: client_test.go:829: clientSuite.TestClientServiceUpdateSetCharm [LOG] 53.99302 DEBUG juju.environs.configstore Making /tmp/gocheck-2601737961087659062/121/home/ubuntu/.juju/environments [LOG] 54.09799 DEBUG juju.environs.tools reading v1.* tools [LOG] 54.09805 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 54.09902 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 54.09905 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 54.09910 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 54.09912 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 54.09915 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 54.09916 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 54.09951 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 54.09962 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 54.09979 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 54.09983 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 54.09985 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 54.09986 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 54.09987 INFO juju.environs.tools filtering tools by series: precise [LOG] 54.09989 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 54.09993 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 54.09995 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 54.10007 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 54.10008 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 54.10011 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 54.10012 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:48649/dummyenv/private/tools/streams/v1/index.json" [LOG] 54.10022 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:12:55 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 54.10023 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 54.10047 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc200c60240]}] map[] Thu, 30 Jan 2014 10:12:55 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 54.10053 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 54.10056 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 54.10103 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 54.10421 INFO juju.state connection established [LOG] 54.12182 INFO juju.state adding state server info to legacy environment [LOG] 54.12221 INFO juju.state found existing state servers [] [LOG] 54.12957 INFO juju.state initializing environment [LOG] 54.15186 INFO juju.state.apiserver listening on "127.0.0.1:58084" [LOG] 54.16997 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 54.17313 INFO juju.state connection established [LOG] 54.17383 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 54.17388 INFO juju.state opening state; mongo addresses: ["localhost:43227"]; entity "" [LOG] 54.17706 INFO juju.state connection established [LOG] 54.18053 INFO juju.state adding state server info to legacy environment [LOG] 54.18079 INFO juju.state found existing state servers [] [LOG] 54.22224 INFO juju state/api: dialing "wss://127.0.0.1:58084/" [LOG] 54.22550 INFO juju.state.apiserver [37] API connection from 127.0.0.1:51432 [LOG] 54.22563 INFO juju state/api: connection established [LOG] 54.22580 DEBUG juju.state.apiserver <- [37] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 54.22623 DEBUG juju.state.apiserver -> [37] user-admin 434.969us {"RequestId":1,"Response":{}} Admin[""].Login [LOG] 54.24531 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] 54.25208 DEBUG juju.state.apiserver -> [37] user-admin 6.813906ms {"RequestId":3,"Error":"cannot get storage URL for charm: dummy-1-77f76c15-ef65-49d4-83ca-7e5860e5c3de 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-77f76c15-ef65-49d4-83ca-7e5860e5c3de not found"} ("cannot get storage URL for charm: dummy-1-77f76c15-ef65-49d4-83ca-7e5860e5c3de not found") [LOG] 54.27483 INFO juju.provider.dummy reset environment [LOG] 54.27500 INFO juju.state.apiserver [37] API connection terminated after 49.510724ms [LOG] 54.27899 INFO juju Reset successfully reset admin password [LOG] 54.28459 INFO juju Reset successfully reset admin password [LOG] 54.28802 INFO juju Reset successfully reset admin password OOPS: 83 passed, 14 FAILED --- FAIL: TestAll (45.42 seconds) FAIL FAIL launchpad.net/juju-core/state/apiserver/client 45.669s ok launchpad.net/juju-core/state/apiserver/common 2.182s ? launchpad.net/juju-core/state/apiserver/common/testing [no test files] ok launchpad.net/juju-core/state/apiserver/deployer 4.841s ok launchpad.net/juju-core/state/apiserver/environment 1.655s ok launchpad.net/juju-core/state/apiserver/firewaller 6.408s ok launchpad.net/juju-core/state/apiserver/keymanager 4.232s ? launchpad.net/juju-core/state/apiserver/keymanager/testing [no test files] ok launchpad.net/juju-core/state/apiserver/keyupdater 3.016s ok launchpad.net/juju-core/state/apiserver/logger 3.656s ok launchpad.net/juju-core/state/apiserver/machine 3.009s ok launchpad.net/juju-core/state/apiserver/provisioner 12.720s ? launchpad.net/juju-core/state/apiserver/testing [no test files] ok launchpad.net/juju-core/state/apiserver/uniter 20.321s ok launchpad.net/juju-core/state/apiserver/upgrader 6.024s ok launchpad.net/juju-core/state/multiwatcher 0.775s ok launchpad.net/juju-core/state/presence 6.446s ok launchpad.net/juju-core/state/statecmd 2.032s ? launchpad.net/juju-core/state/testing [no test files] ok launchpad.net/juju-core/state/watcher 5.903s ok launchpad.net/juju-core/store 20.241s ok launchpad.net/juju-core/testing 1.387s ok launchpad.net/juju-core/testing/checkers 0.025s ok launchpad.net/juju-core/testing/testbase 0.037s ok launchpad.net/juju-core/thirdparty/pbkdf2 0.163s ok launchpad.net/juju-core/tools 0.020s ok launchpad.net/juju-core/upstart 1.393s ok launchpad.net/juju-core/utils 2.421s ok launchpad.net/juju-core/utils/exec 0.064s ok launchpad.net/juju-core/utils/fslock 0.998s ok launchpad.net/juju-core/utils/parallel 0.951s ok launchpad.net/juju-core/utils/set 0.026s ok launchpad.net/juju-core/utils/ssh 15.948s ? launchpad.net/juju-core/utils/ssh/testing [no test files] ok launchpad.net/juju-core/utils/tailer 1.036s ok launchpad.net/juju-core/version 0.059s ok launchpad.net/juju-core/worker 6.652s ok launchpad.net/juju-core/worker/authenticationworker 3.334s ok launchpad.net/juju-core/worker/charmrevisionworker 2.203s ok launchpad.net/juju-core/worker/cleaner 1.339s ok launchpad.net/juju-core/worker/deployer 8.811s ok launchpad.net/juju-core/worker/firewaller 13.567s ok launchpad.net/juju-core/worker/instancepoller 2.546s ok launchpad.net/juju-core/worker/localstorage 0.053s ok launchpad.net/juju-core/worker/logger 1.602s ok launchpad.net/juju-core/worker/machineenvironmentworker 7.872s ok launchpad.net/juju-core/worker/machiner 3.705s ok launchpad.net/juju-core/worker/minunitsworker 1.364s ok launchpad.net/juju-core/worker/provisioner 40.376s ok launchpad.net/juju-core/worker/resumer 1.707s ok launchpad.net/juju-core/worker/terminationworker 0.071s ---------------------------------------------------------------------- FAIL: uniter_test.go:845: UniterSuite.TestRunCommand [LOG] 57.63633 DEBUG juju.environs.configstore Making /tmp/gocheck-6735196588112087610/1/home/ubuntu/.juju/environments [LOG] 57.75458 DEBUG juju.environs.tools reading v1.* tools [LOG] 57.75463 INFO juju environs/testing: uploading FAKE tools 1.17.2-precise-amd64 [LOG] 57.75680 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 57.75682 DEBUG juju.environs.tools no series specified when finding tools, looking for any [LOG] 57.75687 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 57.75688 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 57.75691 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found [LOG] 57.75693 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found [LOG] 57.75724 INFO juju.environs.tools Writing tools/streams/v1/index.json [LOG] 57.75727 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json [LOG] 57.75741 INFO juju.environs.bootstrap bootstrapping environment "dummyenv" [LOG] 57.75745 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=, version=1.17.2 [LOG] 57.75746 INFO juju.environs.tools reading tools with major.minor version 1.17 [LOG] 57.75747 INFO juju.environs.tools filtering tools by version: 1.17.2 [LOG] 57.75750 INFO juju.environs.tools filtering tools by series: precise [LOG] 57.75753 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any [LOG] 57.75756 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found [LOG] 57.75757 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found [LOG] 57.75768 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found [LOG] 57.75770 DEBUG juju.environs.simplestreams no mirror index file found [LOG] 57.75772 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found [LOG] 57.75773 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:59193/dummyenv/private/tools/streams/v1/index.json" [LOG] 57.75778 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:16:18 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64]}] [LOG] 57.75779 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json" [LOG] 57.75800 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.2 amd64 map[20140130:0xc2005644e0]}] map[] Thu, 30 Jan 2014 10:16:18 +0000 products:1.0 com.ubuntu.juju:released:tools} [LOG] 57.75808 INFO juju.environs.bootstrap picked newest version: 1.17.2 [LOG] 57.75811 INFO juju.provider.dummy would pick tools from 1.17.2-precise-amd64 [LOG] 57.75863 INFO juju.state opening state; mongo addresses: ["localhost:35610"]; entity "" [LOG] 57.76146 INFO juju.state connection established [LOG] 57.79739 INFO juju.state adding state server info to legacy environment [LOG] 57.79788 INFO juju.state found existing state servers [] [LOG] 57.81707 INFO juju.state initializing environment [LOG] 57.84897 INFO juju.state.apiserver listening on "127.0.0.1:56054" [LOG] 57.86698 INFO juju.state opening state; mongo addresses: ["localhost:35610"]; entity "" [LOG] 57.87014 INFO juju.state connection established [LOG] 57.87179 INFO juju juju: authorization error while connecting to state server; retrying [LOG] 57.87186 INFO juju.state opening state; mongo addresses: ["localhost:35610"]; entity "" [LOG] 57.87651 INFO juju.state connection established [LOG] 57.87962 INFO juju.state adding state server info to legacy environment [LOG] 57.87988 INFO juju.state found existing state servers [] [LOG] 57.91948 INFO juju state/api: dialing "wss://127.0.0.1:56054/" [LOG] 57.92247 INFO juju.state.apiserver [32] API connection from 127.0.0.1:40411 [LOG] 57.92262 INFO juju state/api: connection established [LOG] 57.92283 DEBUG juju.state.apiserver <- [32] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}} [LOG] 57.92324 DEBUG juju.state.apiserver -> [32] user-admin 417.972us {"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)(0xc20093a1b0), curl:(*charm.URL)(0xc200667cd0)} uniter_test.serveCharm{} uniter_test.createUniter{} uniter_test.ensureStateWorker{} uniter_test.createServiceAndUnit{serviceName:""} [LOG] 58.06960 INFO juju state/api: dialing "wss://127.0.0.1:56054/" [LOG] 58.08161 INFO juju.state.apiserver [33] API connection from 127.0.0.1:40413 [LOG] 58.08185 INFO juju state/api: connection established [LOG] 58.08206 DEBUG juju.state.apiserver <- [33] {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"unit-u-0","Password":"db0byjPWtSERO3RprHJepF19","Nonce":""}} [LOG] 58.09308 DEBUG juju.state.apiserver -> [33] unit-u-0 10.968969ms {"RequestId":1,"Response":{}} Admin[""].Login API: login as "unit-u-0" successful uniter_test.startUniter{unitTag:""} uniter_test.waitAddresses{} [LOG] 58.09395 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":3,"Type":"Uniter","Request":"Life","Params":{"Entities":[{"Tag":"unit-u-0"}]}} [LOG] 58.09457 DEBUG juju.state.apiserver -> [33] unit-u-0 653.082us {"RequestId":3,"Response":{"Results":[{"Life":"alive","Error":null}]}} Uniter[""].Life [LOG] 58.09552 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":4,"Type":"Uniter","Request":"Life","Params":{"Entities":[{"Tag":"service-u"}]}} [LOG] 58.09609 DEBUG juju.state.apiserver -> [33] unit-u-0 517.016us {"RequestId":4,"Response":{"Results":[{"Life":"alive","Error":null}]}} Uniter[""].Life [LOG] 58.09650 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":5,"Type":"Uniter","Request":"CurrentEnvironUUID","Params":{}} [LOG] 58.09688 DEBUG juju.state.apiserver -> [33] unit-u-0 357.431us {"RequestId":5,"Response":{"Error":null,"Result":"6b1a476e-f6a9-4eff-80f1-4231f11e2917"}} Uniter[""].CurrentEnvironUUID [LOG] 58.09701 DEBUG juju.worker.uniter starting juju-run listener on unix:/tmp/gocheck-6735196588112087610/0/agents/unit-u-0/run.socket [LOG] 58.09726 INFO juju.worker.uniter unit "u/0" started [LOG] 58.09733 DEBUG juju.worker.uniter juju-run listener running [LOG] 58.09742 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":6,"Type":"Uniter","Request":"WatchForEnvironConfigChanges","Params":{}} [LOG] 58.09781 DEBUG juju.state.apiserver -> [33] unit-u-0 378.167us {"RequestId":6,"Response":{"NotifyWatcherId":"2","Error":null}} Uniter[""].WatchForEnvironConfigChanges [LOG] 58.09794 INFO juju.worker.uniter ModeInit starting [LOG] 58.09795 INFO juju.worker.uniter updating unit addresses [LOG] 58.09807 DEBUG juju.worker.uniter new environment change [LOG] 58.09836 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":7,"Type":"Uniter","Request":"ProviderType","Params":{}} [LOG] 58.09844 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":8,"Type":"Uniter","Request":"EnvironConfig","Params":{}} [LOG] 58.09853 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":9,"Type":"Uniter","Request":"Life","Params":{"Entities":[{"Tag":"unit-u-0"}]}} [LOG] 58.09861 DEBUG juju.state.apiserver <- [33] unit-u-0 {"RequestId":10,"Type":"NotifyWatcher","Id":"2","Request":"Next","Params":{}} [LOG] 58.10014 DEBUG juju.state.apiserver -> [33] unit-u-0 1.74325ms {"RequestId":7,"Response":{"Error":null,"Result":"dummy"}} Uniter[""].ProviderType [LOG] 58.10277 DEBUG juju.state.apiserver -> [33] unit-u-0 4.141343ms {"RequestId":8,"Response":{"Error":null,"Config":{"admin-secret":"","agent-version":"1.17.2","api-port":4321,"authorized-keys":"ssh-rsa BBBB