{"action":"created","issue":{"url":"https://api.github.com/repos/chuckbutler/docker-charm/issues/11","labels_url":"https://api.github.com/repos/chuckbutler/docker-charm/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/chuckbutler/docker-charm/issues/11/comments","events_url":"https://api.github.com/repos/chuckbutler/docker-charm/issues/11/events","html_url":"https://github.com/chuckbutler/docker-charm/issues/11","id":54027985,"number":11,"title":"Ansible Hook Unit Tests fail 100% of the time","user":{"login":"chuckbutler","id":246944,"avatar_url":"https://avatars.githubusercontent.com/u/246944?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckbutler","html_url":"https://github.com/chuckbutler","followers_url":"https://api.github.com/users/chuckbutler/followers","following_url":"https://api.github.com/users/chuckbutler/following{/other_user}","gists_url":"https://api.github.com/users/chuckbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckbutler/subscriptions","organizations_url":"https://api.github.com/users/chuckbutler/orgs","repos_url":"https://api.github.com/users/chuckbutler/repos","events_url":"https://api.github.com/users/chuckbutler/events{/privacy}","received_events_url":"https://api.github.com/users/chuckbutler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chuckbutler/docker-charm/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/chuckbutler/docker-charm/labels/help+wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T07:53:18Z","updated_at":"2015-01-12T17:57:56Z","closed_at":"2015-01-12T17:57:56Z","body":"The tests are failing randomly due to missing python packages - namely 'six' which is installed in the virtualenv. \r\n\r\nThe charm further compounds these failuires by having moved to a pip based charmhelper installation - this breaks the unit tests inherently, and requires refactoring of the unit_test packages. These tests seem more like the responsibility of the framework in charmhelpers vs embedded in the charm itself.\r\n\r\nThe unit test target should probably be refactored to run linting on the ansible routines, as well as any intermediate checks on the python <-> ansible call stack."},"comment":{"url":"https://api.github.com/repos/chuckbutler/docker-charm/issues/comments/69613689","html_url":"https://github.com/chuckbutler/docker-charm/issues/11#issuecomment-69613689","issue_url":"https://api.github.com/repos/chuckbutler/docker-charm/issues/11","id":69613689,"user":{"login":"chuckbutler","id":246944,"avatar_url":"https://avatars.githubusercontent.com/u/246944?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckbutler","html_url":"https://github.com/chuckbutler","followers_url":"https://api.github.com/users/chuckbutler/followers","following_url":"https://api.github.com/users/chuckbutler/following{/other_user}","gists_url":"https://api.github.com/users/chuckbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckbutler/subscriptions","organizations_url":"https://api.github.com/users/chuckbutler/orgs","repos_url":"https://api.github.com/users/chuckbutler/repos","events_url":"https://api.github.com/users/chuckbutler/events{/privacy}","received_events_url":"https://api.github.com/users/chuckbutler/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T17:57:56Z","updated_at":"2015-01-12T17:57:56Z","body":"Closed by #15 "}}