{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/etcd/pulls/comments/48009512","id":48009512,"diff_hunk":"@@ -14,4 +14,13 @@ etcd agent is a daemon on each machines. It can start, stop, restart, isolate an\n \n ## etcd tester\n \n-etcd functional tester control the progress of the functional tests. It calls the the RPC of the etcd agent to simulate various test cases. For example, it can start a three members cluster by sending three start RPC calls to three different etcd agents. It can make one of the member failed by sending stop RPC call to one etcd agent.\n\\ No newline at end of file\n+etcd functional tester control the progress of the functional tests. It calls the the RPC of the etcd agent to simulate various test cases. For example, it can start a three members cluster by sending three start RPC calls to three different etcd agents. It can make one of the member failed by sending stop RPC call to one etcd agent.\n+\n+## with Docker\n+\n+Functional testing requires docker 1.9 (networking), docker-compose and multiarch go toolchain (if you want build on OSX).\n+It is based on apline OS running in priviledged mode to allow iptables manipulation.","path":"tools/functional-tester/README.md","position":11,"original_position":11,"commit_id":"1ca8aff190c0361b3cb40554ab035a2d96e92107","original_commit_id":"1ca8aff190c0361b3cb40554ab035a2d96e92107","user":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"body":"Alpine Linux\r\nprivileged","created_at":"2015-12-18T09:48:57Z","updated_at":"2015-12-18T09:48:57Z","html_url":"https://github.com/coreos/etcd/pull/4014#discussion_r48009512","pull_request_url":"https://api.github.com/repos/coreos/etcd/pulls/4014","_links":{"self":{"href":"https://api.github.com/repos/coreos/etcd/pulls/comments/48009512"},"html":{"href":"https://github.com/coreos/etcd/pull/4014#discussion_r48009512"},"pull_request":{"href":"https://api.github.com/repos/coreos/etcd/pulls/4014"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/etcd/pulls/4014","id":53981319,"html_url":"https://github.com/coreos/etcd/pull/4014","diff_url":"https://github.com/coreos/etcd/pull/4014.diff","patch_url":"https://github.com/coreos/etcd/pull/4014.patch","issue_url":"https://api.github.com/repos/coreos/etcd/issues/4014","number":4014,"state":"open","locked":false,"title":"rfc:functional tester with Docker","user":{"login":"ppalucki","id":7300298,"avatar_url":"https://avatars.githubusercontent.com/u/7300298?v=3","gravatar_id":"","url":"https://api.github.com/users/ppalucki","html_url":"https://github.com/ppalucki","followers_url":"https://api.github.com/users/ppalucki/followers","following_url":"https://api.github.com/users/ppalucki/following{/other_user}","gists_url":"https://api.github.com/users/ppalucki/gists{/gist_id}","starred_url":"https://api.github.com/users/ppalucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppalucki/subscriptions","organizations_url":"https://api.github.com/users/ppalucki/orgs","repos_url":"https://api.github.com/users/ppalucki/repos","events_url":"https://api.github.com/users/ppalucki/events{/privacy}","received_events_url":"https://api.github.com/users/ppalucki/received_events","type":"User","site_admin":false},"body":"As part of my investigation how etcd handles failures I made docker bits to run all that in docker containers,\r\n\r\nIt may be helpful for others - I'm not sure is it production quality to use that with CI.\r\n\r\nRequires:\r\n- docker 1.9 (networking) + privileged mode (for iptables)\r\n- docker-compose\r\n","created_at":"2015-12-17T14:20:40Z","updated_at":"2015-12-18T09:48:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62ee03edd489729ba81038c0fdd97ba3b307ea1e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/etcd/pulls/4014/commits","review_comments_url":"https://api.github.com/repos/coreos/etcd/pulls/4014/comments","review_comment_url":"https://api.github.com/repos/coreos/etcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/4014/comments","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/1ca8aff190c0361b3cb40554ab035a2d96e92107","head":{"label":"ppalucki:functional","ref":"functional","sha":"1ca8aff190c0361b3cb40554ab035a2d96e92107","user":{"login":"ppalucki","id":7300298,"avatar_url":"https://avatars.githubusercontent.com/u/7300298?v=3","gravatar_id":"","url":"https://api.github.com/users/ppalucki","html_url":"https://github.com/ppalucki","followers_url":"https://api.github.com/users/ppalucki/followers","following_url":"https://api.github.com/users/ppalucki/following{/other_user}","gists_url":"https://api.github.com/users/ppalucki/gists{/gist_id}","starred_url":"https://api.github.com/users/ppalucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppalucki/subscriptions","organizations_url":"https://api.github.com/users/ppalucki/orgs","repos_url":"https://api.github.com/users/ppalucki/repos","events_url":"https://api.github.com/users/ppalucki/events{/privacy}","received_events_url":"https://api.github.com/users/ppalucki/received_events","type":"User","site_admin":false},"repo":{"id":48060880,"name":"etcd","full_name":"ppalucki/etcd","owner":{"login":"ppalucki","id":7300298,"avatar_url":"https://avatars.githubusercontent.com/u/7300298?v=3","gravatar_id":"","url":"https://api.github.com/users/ppalucki","html_url":"https://github.com/ppalucki","followers_url":"https://api.github.com/users/ppalucki/followers","following_url":"https://api.github.com/users/ppalucki/following{/other_user}","gists_url":"https://api.github.com/users/ppalucki/gists{/gist_id}","starred_url":"https://api.github.com/users/ppalucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppalucki/subscriptions","organizations_url":"https://api.github.com/users/ppalucki/orgs","repos_url":"https://api.github.com/users/ppalucki/repos","events_url":"https://api.github.com/users/ppalucki/events{/privacy}","received_events_url":"https://api.github.com/users/ppalucki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ppalucki/etcd","description":"Distributed reliable key-value store for the most critical data of a distributed system","fork":true,"url":"https://api.github.com/repos/ppalucki/etcd","forks_url":"https://api.github.com/repos/ppalucki/etcd/forks","keys_url":"https://api.github.com/repos/ppalucki/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ppalucki/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ppalucki/etcd/teams","hooks_url":"https://api.github.com/repos/ppalucki/etcd/hooks","issue_events_url":"https://api.github.com/repos/ppalucki/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/ppalucki/etcd/events","assignees_url":"https://api.github.com/repos/ppalucki/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/ppalucki/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/ppalucki/etcd/tags","blobs_url":"https://api.github.com/repos/ppalucki/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ppalucki/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ppalucki/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/ppalucki/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ppalucki/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/ppalucki/etcd/languages","stargazers_url":"https://api.github.com/repos/ppalucki/etcd/stargazers","contributors_url":"https://api.github.com/repos/ppalucki/etcd/contributors","subscribers_url":"https://api.github.com/repos/ppalucki/etcd/subscribers","subscription_url":"https://api.github.com/repos/ppalucki/etcd/subscription","commits_url":"https://api.github.com/repos/ppalucki/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/ppalucki/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/ppalucki/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/ppalucki/etcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/ppalucki/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/ppalucki/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ppalucki/etcd/merges","archive_url":"https://api.github.com/repos/ppalucki/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ppalucki/etcd/downloads","issues_url":"https://api.github.com/repos/ppalucki/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/ppalucki/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/ppalucki/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/ppalucki/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ppalucki/etcd/labels{/name}","releases_url":"https://api.github.com/repos/ppalucki/etcd/releases{/id}","created_at":"2015-12-15T18:18:54Z","updated_at":"2015-12-15T18:18:56Z","pushed_at":"2015-12-17T16:41:10Z","git_url":"git://github.com/ppalucki/etcd.git","ssh_url":"git@github.com:ppalucki/etcd.git","clone_url":"https://github.com/ppalucki/etcd.git","svn_url":"https://github.com/ppalucki/etcd","homepage":"https://coreos.com/etcd/docs/latest/","size":19439,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"afee51eedab8f8db12208e4dac0e46ff44f57fd0","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":11225014,"name":"etcd","full_name":"coreos/etcd","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/etcd","description":"Distributed reliable key-value store for the most critical data of a distributed system","fork":false,"url":"https://api.github.com/repos/coreos/etcd","forks_url":"https://api.github.com/repos/coreos/etcd/forks","keys_url":"https://api.github.com/repos/coreos/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/etcd/teams","hooks_url":"https://api.github.com/repos/coreos/etcd/hooks","issue_events_url":"https://api.github.com/repos/coreos/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/etcd/events","assignees_url":"https://api.github.com/repos/coreos/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/etcd/tags","blobs_url":"https://api.github.com/repos/coreos/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/etcd/languages","stargazers_url":"https://api.github.com/repos/coreos/etcd/stargazers","contributors_url":"https://api.github.com/repos/coreos/etcd/contributors","subscribers_url":"https://api.github.com/repos/coreos/etcd/subscribers","subscription_url":"https://api.github.com/repos/coreos/etcd/subscription","commits_url":"https://api.github.com/repos/coreos/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/etcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/etcd/merges","archive_url":"https://api.github.com/repos/coreos/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/etcd/downloads","issues_url":"https://api.github.com/repos/coreos/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/etcd/labels{/name}","releases_url":"https://api.github.com/repos/coreos/etcd/releases{/id}","created_at":"2013-07-06T21:57:21Z","updated_at":"2015-12-18T04:34:27Z","pushed_at":"2015-12-18T03:42:05Z","git_url":"git://github.com/coreos/etcd.git","ssh_url":"git@github.com:coreos/etcd.git","clone_url":"https://github.com/coreos/etcd.git","svn_url":"https://github.com/coreos/etcd","homepage":"https://coreos.com/etcd/docs/latest/","size":21795,"stargazers_count":8260,"watchers_count":8260,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1303,"mirror_url":null,"open_issues_count":174,"forks":1303,"open_issues":174,"watchers":8260,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/etcd/pulls/4014"},"html":{"href":"https://github.com/coreos/etcd/pull/4014"},"issue":{"href":"https://api.github.com/repos/coreos/etcd/issues/4014"},"comments":{"href":"https://api.github.com/repos/coreos/etcd/issues/4014/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/etcd/pulls/4014/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/etcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/etcd/pulls/4014/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/etcd/statuses/1ca8aff190c0361b3cb40554ab035a2d96e92107"}}}}