{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/1709","repository_url":"https://api.github.com/repos/docker/swarm","labels_url":"https://api.github.com/repos/docker/swarm/issues/1709/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/1709/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/1709/events","html_url":"https://github.com/docker/swarm/issues/1709","id":129875588,"number":1709,"title":"Regression \"label affinity in parallel\" is always failing","user":{"login":"chanwit","id":10666,"avatar_url":"https://avatars.githubusercontent.com/u/10666?v=3","gravatar_id":"","url":"https://api.github.com/users/chanwit","html_url":"https://github.com/chanwit","followers_url":"https://api.github.com/users/chanwit/followers","following_url":"https://api.github.com/users/chanwit/following{/other_user}","gists_url":"https://api.github.com/users/chanwit/gists{/gist_id}","starred_url":"https://api.github.com/users/chanwit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanwit/subscriptions","organizations_url":"https://api.github.com/users/chanwit/orgs","repos_url":"https://api.github.com/users/chanwit/repos","events_url":"https://api.github.com/users/chanwit/events{/privacy}","received_events_url":"https://api.github.com/users/chanwit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/kind/bug","name":"kind/bug","color":"207de5"},{"url":"https://api.github.com/repos/docker/swarm/labels/priority/P0","name":"priority/P0","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/swarm/milestones/6","html_url":"https://github.com/docker/swarm/milestones/1.1.0","labels_url":"https://api.github.com/repos/docker/swarm/milestones/6/labels","id":1383101,"number":6,"title":"1.1.0","description":"","creator":{"login":"aluzzardi","id":179503,"avatar_url":"https://avatars.githubusercontent.com/u/179503?v=3","gravatar_id":"","url":"https://api.github.com/users/aluzzardi","html_url":"https://github.com/aluzzardi","followers_url":"https://api.github.com/users/aluzzardi/followers","following_url":"https://api.github.com/users/aluzzardi/following{/other_user}","gists_url":"https://api.github.com/users/aluzzardi/gists{/gist_id}","starred_url":"https://api.github.com/users/aluzzardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluzzardi/subscriptions","organizations_url":"https://api.github.com/users/aluzzardi/orgs","repos_url":"https://api.github.com/users/aluzzardi/repos","events_url":"https://api.github.com/users/aluzzardi/events{/privacy}","received_events_url":"https://api.github.com/users/aluzzardi/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":86,"state":"open","created_at":"2015-10-29T10:11:13Z","updated_at":"2016-02-04T23:35:19Z","due_on":"2016-02-04T08:00:00Z","closed_at":null},"comments":6,"created_at":"2016-01-29T20:36:33Z","updated_at":"2016-02-04T23:35:19Z","closed_at":"2016-02-04T23:35:19Z","body":"I did regression locally a lot on my boxes recently as I cannot wait `janky` to finish the test and found that this test \"label affinity in parallel\" is always failing on my boxes.\r\n\r\nCould any one confirm this?\r\n\r\n```\r\nnot ok 4 label affinity in parallel\r\n# (in test file ./affinities.bats, line 141)\r\n#   `[ \"${#lines[@]}\" -eq  2 ]' failed\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Initializing discovery service\" name=nodes uri=\"127.0.0.1:5230,127.0.0.1:5231\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Initializing strategy\" name=spread\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Initializing filter\" name=health\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Initializing filter\" name=port\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Initializing filter\" name=dependency\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Initializing filter\" name=affinity\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Initializing filter\" name=constraint\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Initializing cluster\" name=swarm\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=HEAD route=\"/containers/{name:.*}/archive\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/networks/{networkid:.*}\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/_ping\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/images/json\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/images/{name:.*}/history\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/ps\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/{name:.*}/changes\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/{name:.*}/stats\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/exec/{execid:.*}/json\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/events\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/info\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/images/get\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/{name:.*}/archive\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/{name:.*}/top\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/{name:.*}/attach/ws\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/volumes\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/images/{name:.*}/get\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/images/{name:.*}/json\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/{name:.*}/export\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/{name:.*}/logs\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/networks\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/version\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/images/viz\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/images/search\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/json\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/containers/{name:.*}/json\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=GET route=\"/volumes/{volumename:.*}\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/images/{name:.*}/push\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/rename\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/update\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/exec\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/exec/{execid:.*}/resize\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/auth\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/commit\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/images/create\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/images/load\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/wait\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/images/{name:.*}/tag\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/networks/{networkid:.*}/disconnect\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/resize\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/kill\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/pause\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/exec/{execid:.*}/start\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/build\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/attach\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/copy\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/networks/{networkid:.*}/connect\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/stop\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/create\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/unpause\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/volumes/create\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/start\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/networks/create\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=POST route=\"/containers/{name:.*}/restart\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=PUT route=\"/containers/{name:.*}/archive\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=DELETE route=\"/images/{name:.*}\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=DELETE route=\"/networks/{networkid:.*}\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=DELETE route=\"/volumes/{name:.*}\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Registering HTTP route\" method=DELETE route=\"/containers/{name:.*}\"\r\n# time=\"2016-01-29T20:31:13Z\" level=warning msg=\"WARNING: rescheduling is currently experimental, use at your own risks\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"Watchdog enabled\"\r\n# time=\"2016-01-29T20:31:13Z\" level=info msg=\"Listening for HTTP\" addr=\"127.0.0.1:6497\" proto=tcp\r\n# time=\"2016-01-29T20:31:13Z\" level=info msg=\"Registered Engine node-0 at 127.0.0.1:5230\"\r\n# time=\"2016-01-29T20:31:13Z\" level=info msg=\"Registered Engine node-1 at 127.0.0.1:5231\"\r\n# time=\"2016-01-29T20:31:13Z\" level=debug msg=\"HTTP request received\" method=GET uri=\"/v1.23/info\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"HTTP request received\" method=GET uri=\"/v1.23/info\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"HTTP request received\" method=GET uri=\"/v1.23/info\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"HTTP request received\" method=POST uri=\"/v1.21/containers/create\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"matching affinity: test.label!=true (soft=false)\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"HTTP request received\" method=POST uri=\"/v1.21/containers/e55c77ff4c01b2482509b316b31fd055d0bba1f51f86364bf4890ea475131d7f/start\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"Proxy request\" method=POST url=http://127.0.0.1:5230/v1.21/containers/e55c77ff4c01b2482509b316b31fd055d0bba1f51f86364bf4890ea475131d7f/start\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"HTTP request received\" method=POST uri=\"/v1.21/containers/create\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"matching affinity: test.label!=true (soft=false)\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"HTTP request received\" method=POST uri=\"/v1.21/containers/fcdd5790b6dcb01f9773ff4e8d07551cfd86290f72d032637ec5e5cc6ed00519/start\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"Proxy request\" method=POST url=http://127.0.0.1:5231/v1.21/containers/fcdd5790b6dcb01f9773ff4e8d07551cfd86290f72d032637ec5e5cc6ed00519/start\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"HTTP request received\" method=POST uri=\"/v1.21/containers/create\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"matching affinity: test.label!=true (soft=false)\"\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"matching affinity: test.label!=true (soft=false)\"\r\n# time=\"2016-01-29T20:31:14Z\" level=error msg=\"HTTP error: unable to find a node that satisfies test.label!=true\" status=500\r\n# time=\"2016-01-29T20:31:14Z\" level=debug msg=\"HTTP request received\" method=GET uri=\"/v1.23/containers/json\"\r\n# Stopping 4065134faee76e0a9cb03b90f384351ac3dbf122ce40b011aacd3819d7a3e577\r\n# Stopping d6f92e5886249a53969f17dfa89d826c12df3e90b62463699a86d10303d63c38\r\nok 5 soft affinity\r\nok 6 api version\r\nok 7 build with impossible node constraint\r\nok 8 build with node constraint and buildarg\r\nok 9 swarm create doesn't accept any arguments\r\nok 10 swarm version\r\nok 11 node constraint\r\nok 12 soft constraint\r\nok 13 label constraints\r\nok 14 shared volumes dependency\r\nok 15 links dependency\r\nok 16 shared network stack dependency\r\nok 17 port filter: host mode\r\nok 18 port filter: bridge mode\r\nok 19 leader election\r\nok 20 leader election - store failure\r\nok 21 rescheduling\r\nok 22 rescheduling with constraints\r\n```"}}