{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/24240","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/24240/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/24240/comments","events_url":"https://api.github.com/repos/docker/docker/issues/24240/events","html_url":"https://github.com/docker/docker/issues/24240","id":163474372,"number":24240,"title":"Increase integration test coverage of swarm mode","user":{"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},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/swarm","name":"area/swarm","color":"fbca04"},{"url":"https://api.github.com/repos/docker/docker/labels/priority/P1","name":"priority/P1","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/53","html_url":"https://github.com/docker/docker/milestones/1.12.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/53/labels","id":1657301,"number":53,"title":"1.12.0","description":"feature/code freeze: June 14th, 2016","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":138,"closed_issues":728,"state":"open","created_at":"2016-03-21T13:47:53Z","updated_at":"2016-07-22T19:52:38Z","due_on":"2016-07-28T07:00:00Z","closed_at":null},"comments":3,"created_at":"2016-07-01T21:09:13Z","updated_at":"2016-07-22T20:13:44Z","closed_at":null,"body":"Before releasing we should add more tests around Swarm mode (swarm, service, nodes).\r\n\r\nI've put together a list of core tests we should have, but feel free to add more:\r\n\r\n- Orchestration\r\n  - [x] Service creation\r\n  - [ ] Service removal (terminates associated tasks)\r\n  - [x] Service scaling\r\n  - [ ] Rolling Updates\r\n  - [x] Global Services\r\n  - [ ] Constraints (#24878)\r\n  - [ ] Healthcheck\r\n- Node Management\r\n  - [x] List nodes\r\n  - [x] Pause Node\r\n  - [x] Drain Node\r\n  - [x] Promote worker to manager\r\n  - [x] Demote manager to worker\r\n  - [ ] Demoting all managers should fail\r\n  - [x] Join with manual acceptance\r\n  - [x] Join with node secret\r\n  - [x] Join with CA hash\r\n- Security\r\n  - [ ] Ensure invalid certs are rejected\r\n  - [ ] Ensure workers cannot join Raft\r\n- Raft\r\n  - [ ] Leader Election\r\n  - [ ] Leader Proxy\r\n  - [ ] Snapshot / Restore\r\n- Networking\r\n  - [ ] Overlay Networking\r\n  - [ ] Service Discovery (VIP, DNSRR)\r\n  - [ ] Service Load Balancing (through VIP)\r\n  - [ ] Routing Mesh (PublishedPort)\r\n- Volumes\r\n  - [ ] Ephemeral volumes (nameless)\r\n  - [ ] Bind mounts\r\n  - [ ] Named volumes (driver/opts)\r\n\r\nThe current test suite lives here:\r\nhttps://github.com/docker/docker/blob/master/integration-cli/docker_api_swarm_test.go\r\n\r\nWe should probably consider splitting that into docker_api_{swarm,service,node}_test.go to avoid having a mega test file. Thoughts?\r\n\r\n/cc @tonistiigi @icecrime @abronan @diogomonica @aaronlehmann @amitshukla @tiborvass @dongluochen \r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/234644566","html_url":"https://github.com/docker/docker/issues/24240#issuecomment-234644566","issue_url":"https://api.github.com/repos/docker/docker/issues/24240","id":234644566,"user":{"login":"dongluochen","id":14985073,"avatar_url":"https://avatars.githubusercontent.com/u/14985073?v=3","gravatar_id":"","url":"https://api.github.com/users/dongluochen","html_url":"https://github.com/dongluochen","followers_url":"https://api.github.com/users/dongluochen/followers","following_url":"https://api.github.com/users/dongluochen/following{/other_user}","gists_url":"https://api.github.com/users/dongluochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dongluochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongluochen/subscriptions","organizations_url":"https://api.github.com/users/dongluochen/orgs","repos_url":"https://api.github.com/users/dongluochen/repos","events_url":"https://api.github.com/users/dongluochen/events{/privacy}","received_events_url":"https://api.github.com/users/dongluochen/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T20:13:44Z","updated_at":"2016-07-22T20:13:44Z","body":"Orchestration - Rolling update. Added in #24653."}}
{"actor":{"display_login":"dongluochen"}}