{"action":"closed","issue":{"url":"https://api.github.com/repos/juju/amulet/issues/54","labels_url":"https://api.github.com/repos/juju/amulet/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/juju/amulet/issues/54/comments","events_url":"https://api.github.com/repos/juju/amulet/issues/54/events","html_url":"https://github.com/juju/amulet/issues/54","id":51149394,"number":54,"title":"'branch:', doesn't quite work","user":{"login":"dpb1","id":1417497,"avatar_url":"https://avatars.githubusercontent.com/u/1417497?v=3","gravatar_id":"","url":"https://api.github.com/users/dpb1","html_url":"https://github.com/dpb1","followers_url":"https://api.github.com/users/dpb1/followers","following_url":"https://api.github.com/users/dpb1/following{/other_user}","gists_url":"https://api.github.com/users/dpb1/gists{/gist_id}","starred_url":"https://api.github.com/users/dpb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpb1/subscriptions","organizations_url":"https://api.github.com/users/dpb1/orgs","repos_url":"https://api.github.com/users/dpb1/repos","events_url":"https://api.github.com/users/dpb1/events{/privacy}","received_events_url":"https://api.github.com/users/dpb1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/juju/amulet/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"tvansteenburgh","id":801183,"avatar_url":"https://avatars.githubusercontent.com/u/801183?v=3","gravatar_id":"","url":"https://api.github.com/users/tvansteenburgh","html_url":"https://github.com/tvansteenburgh","followers_url":"https://api.github.com/users/tvansteenburgh/followers","following_url":"https://api.github.com/users/tvansteenburgh/following{/other_user}","gists_url":"https://api.github.com/users/tvansteenburgh/gists{/gist_id}","starred_url":"https://api.github.com/users/tvansteenburgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvansteenburgh/subscriptions","organizations_url":"https://api.github.com/users/tvansteenburgh/orgs","repos_url":"https://api.github.com/users/tvansteenburgh/repos","events_url":"https://api.github.com/users/tvansteenburgh/events{/privacy}","received_events_url":"https://api.github.com/users/tvansteenburgh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/juju/amulet/milestones/2","html_url":"https://github.com/juju/amulet/milestones/1.19.1","labels_url":"https://api.github.com/repos/juju/amulet/milestones/2/labels","id":893475,"number":2,"title":"1.19.1","description":"","creator":{"login":"marcoceppi","id":70613,"avatar_url":"https://avatars.githubusercontent.com/u/70613?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoceppi","html_url":"https://github.com/marcoceppi","followers_url":"https://api.github.com/users/marcoceppi/followers","following_url":"https://api.github.com/users/marcoceppi/following{/other_user}","gists_url":"https://api.github.com/users/marcoceppi/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoceppi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoceppi/subscriptions","organizations_url":"https://api.github.com/users/marcoceppi/orgs","repos_url":"https://api.github.com/users/marcoceppi/repos","events_url":"https://api.github.com/users/marcoceppi/events{/privacy}","received_events_url":"https://api.github.com/users/marcoceppi/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2014-12-05T21:42:50Z","updated_at":"2015-07-24T14:01:10Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-12-05T21:42:19Z","updated_at":"2015-07-24T14:01:10Z","closed_at":"2015-07-24T14:01:10Z","body":"Seems like it is reaching out to the charm store to check on things when I'm actually using 'branch'.  My goal here is to test on utopic without having to have utopic (and vivid, etc) bits in the charm store.\r\n\r\n```\r\ndpb@helo:trunk$ tests/10-bundles-test.py\r\nE/usr/lib/python3.4/unittest/suite.py:173: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=6, laddr=('10.172.68.236', 44129), raddr=('91.189.92.34', 443)>\r\n  self._addClassOrModuleLevelException(result, e, errorName)\r\n\r\n======================================================================\r\nERROR: setUpClass (__main__.BundleTest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3/dist-packages/amulet/deployer.py\", line 39, in fetch\r\n    return super(CharmCache, self).__getitem__(service)\r\nKeyError: 'ubuntu-trusty'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3/dist-packages/charmworldlib/charm.py\", line 158, in _fetch\r\n    revision=revision))\r\n  File \"/usr/lib/python3/dist-packages/charmworldlib/api.py\", line 18, in get\r\n    return self.fetch_json(endpoint, params, 'get')\r\n  File \"/usr/lib/python3/dist-packages/charmworldlib/api.py\", line 26, in fetch_json\r\n    raise Exception('Request failed with: %s' % r.status_code)\r\nException: Request failed with: 404\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"tests/10-bundles-test.py\", line 22, in setUpClass\r\n    d.load(contents)\r\n  File \"/usr/lib/python3/dist-packages/amulet/deployer.py\", line 83, in load\r\n    constraints=constraints,\r\n  File \"/usr/lib/python3/dist-packages/amulet/deployer.py\", line 96, in add\r\n    c = self.charm_cache.fetch(service, charm, self.series)\r\n  File \"/usr/lib/python3/dist-packages/amulet/deployer.py\", line 44, in fetch\r\n    series=series,\r\n  File \"/usr/lib/python3/dist-packages/amulet/charm.py\", line 28, in get_charm\r\n    return Charm(with_series(charm_path))\r\n  File \"/usr/lib/python3/dist-packages/charmworldlib/charm.py\", line 131, in __init__\r\n    self._fetch(charm_id)\r\n  File \"/usr/lib/python3/dist-packages/charmworldlib/charm.py\", line 161, in _fetch\r\n    raise CharmNotFound('API request failed: %s' % str(e))\r\ncharmworldlib.charm.CharmNotFound: API request failed: Request failed with: 404\r\n\r\n----------------------------------------------------------------------\r\nRan 0 tests in 0.827s\r\n\r\nFAILED (errors=1)\r\ndpb@helo:trunk$ vim tests/bundles.yaml\r\ndpb@helo:trunk$ cat tests/bundles.yaml\r\nlandscape-client-test:\r\n  services:\r\n    landscape-client-precise:\r\n      charm: landscape-client\r\n      series: precise\r\n\r\n    ubuntu-precise:\r\n      branch: lp:charms/ubuntu\r\n      series: precise\r\n      num_units: 1\r\n\r\n    landscape-client-trusty:\r\n      charm: landscape-client\r\n      series: trusty\r\n\r\n    ubuntu-trusty:\r\n      branch: lp:charms/ubuntu\r\n      series: trusty\r\n      num_units: 1\r\n\r\n  relations:\r\n    - [ \"landscape-client-trusty\", \"ubuntu-trusty\" ]\r\n    - [ \"landscape-client-precise\", \"ubuntu-precise\" ]\r\ndpb@helo:trunk$\r\n```"}}