{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/weave/issues/1437","labels_url":"https://api.github.com/repos/weaveworks/weave/issues/1437/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/weave/issues/1437/comments","events_url":"https://api.github.com/repos/weaveworks/weave/issues/1437/events","html_url":"https://github.com/weaveworks/weave/issues/1437","id":106539825,"number":1437,"title":"docker-py CreateContainerWithGroupAddTest fails in CI","user":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/weaveworks/weave/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/weaveworks/weave/labels/[component/proxy]","name":"[component/proxy]","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/weaveworks/weave/milestones/15","html_url":"https://github.com/weaveworks/weave/milestones/1.1.1","labels_url":"https://api.github.com/repos/weaveworks/weave/milestones/15/labels","id":1296220,"number":15,"title":"1.1.1","description":"","creator":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":7,"state":"open","created_at":"2015-09-08T19:17:22Z","updated_at":"2015-09-15T11:51:46Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-15T11:51:46Z","updated_at":"2015-09-15T11:52:39Z","closed_at":null,"body":"https://circleci.com/gh/weaveworks/weave/2857\r\n\r\n```\r\n>>> Test ./602_proxy_docker_py_test.sh finished after 115.8 secs with error: exit status 1\r\nRun docker-py test suite against the proxy\r\nee86de74edd426e6f0351ec2076be0224ceeecc1793425f3497e931672f9d039\r\n============================= test session starts ==============================\r\nplatform linux2 -- Python 2.7.10 -- py-1.4.30 -- pytest-2.7.2\r\nrootdir: /home/docker-py, inifile: \r\nplugins: cov\r\ncollected 18 items\r\n\r\ntests/integration_test.py ..FF..............\r\n\r\n=================================== FAILURES ===================================\r\n______________ CreateContainerWithGroupAddTest.test_group_id_ints ______________\r\n\r\nself = <tests.integration_test.CreateContainerWithGroupAddTest testMethod=test_group_id_ints>\r\n\r\n    def test_group_id_ints(self):\r\n        container = self.client.create_container(\r\n            'busybox', 'id -G',\r\n            host_config=self.client.create_host_config(group_add=[1000, 1001])\r\n        )\r\n        self.tmp_containers.append(container)\r\n        self.client.start(container)\r\n        self.client.wait(container)\r\n    \r\n        logs = self.client.logs(container)\r\n        if six.PY3:\r\n            logs = logs.decode('utf-8')\r\n        groups = logs.strip().split(' ')\r\n>       self.assertIn('1000', groups)\r\nE       AssertionError: '1000' not found in ['0', '10']\r\n\r\ntests/integration_test.py:290: AssertionError\r\n____________ CreateContainerWithGroupAddTest.test_group_id_strings _____________\r\n\r\nself = <tests.integration_test.CreateContainerWithGroupAddTest testMethod=test_group_id_strings>\r\n\r\n    def test_group_id_strings(self):\r\n        container = self.client.create_container(\r\n            'busybox', 'id -G', host_config=self.client.create_host_config(\r\n                group_add=['1000', '1001']\r\n            )\r\n        )\r\n        self.tmp_containers.append(container)\r\n        self.client.start(container)\r\n        self.client.wait(container)\r\n    \r\n        logs = self.client.logs(container)\r\n        if six.PY3:\r\n            logs = logs.decode('utf-8')\r\n        groups = logs.strip().split(' ')\r\n>       self.assertIn('1000', groups)\r\nE       AssertionError: '1000' not found in ['0', '10']\r\n\r\ntests/integration_test.py:307: AssertionError\r\n===================== 2 failed, 16 passed in 81.76 seconds =====================\r\ntest #1 \"false\" failed:\r\n\tprogram terminated with code 1 instead of 0\r\n1 of 1 tests failed in 115.282s.\r\n```"},"comment":{"url":"https://api.github.com/repos/weaveworks/weave/issues/comments/140366537","html_url":"https://github.com/weaveworks/weave/issues/1437#issuecomment-140366537","issue_url":"https://api.github.com/repos/weaveworks/weave/issues/1437","id":140366537,"user":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T11:52:38Z","updated_at":"2015-09-15T11:52:38Z","body":"https://github.com/docker/docker-py/issues/769"}}