{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/adb-tests/pulls/comments/60347437","id":60347437,"diff_hunk":"@@ -0,0 +1,60 @@\n+#!/usr/bin/python\n+\n+import json\n+import urllib\n+import subprocess\n+import sys\n+import os\n+\n+\n+url_base = \"http://admin.ci.centos.org:8080\"\n+api_key = os.environ['API_KEY']\n+count = os.environ['MACHINE_COUNT']\n+ver = \"7\"\n+arch = \"x86_64\"\n+req_url = \"%s/Node/get?key=%s&ver=%s&arch=%s&count=%s\" \\\n+    % (url_base, api_key, ver, arch, count)\n+\n+ansible_repo_url = os.environ['ANSIBLE_REPO_URL']\n+\n+test_cmd = \"export ghprbActualCommit=%s && \" % os.environ[\"ghprbActualCommit\"]\n+test_cmd += \"export ghprbPullId=%s && \" % os.environ[\"ghprbPullId\"]\n+test_cmd += os.environ['TEST_CMD']\n+\n+jsondata = urllib.urlopen(req_url).read()","path":"adb-vagrantfile-tests/k8s-tests/run.py","position":24,"original_position":24,"commit_id":"41434c0db1a45faae980db527789bcab0011af07","original_commit_id":"41434c0db1a45faae980db527789bcab0011af07","user":{"login":"dharmit","id":713521,"avatar_url":"https://avatars.githubusercontent.com/u/713521?v=3","gravatar_id":"","url":"https://api.github.com/users/dharmit","html_url":"https://github.com/dharmit","followers_url":"https://api.github.com/users/dharmit/followers","following_url":"https://api.github.com/users/dharmit/following{/other_user}","gists_url":"https://api.github.com/users/dharmit/gists{/gist_id}","starred_url":"https://api.github.com/users/dharmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharmit/subscriptions","organizations_url":"https://api.github.com/users/dharmit/orgs","repos_url":"https://api.github.com/users/dharmit/repos","events_url":"https://api.github.com/users/dharmit/events{/privacy}","received_events_url":"https://api.github.com/users/dharmit/received_events","type":"User","site_admin":false},"body":"I'm okay to do that. However, the CentOS CI infra guys make sure that if environment is up, it's up as a whole and not in bits and pieces. That's been my experience so far. I can see the kind of situation we'd like to handle with `try..except`, but chances are it wouldn't come up. Anyway, point noted and implemented.","created_at":"2016-04-20T03:55:09Z","updated_at":"2016-04-20T03:55:09Z","html_url":"https://github.com/projectatomic/adb-tests/pull/19#discussion_r60347437","pull_request_url":"https://api.github.com/repos/projectatomic/adb-tests/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/adb-tests/pulls/comments/60347437"},"html":{"href":"https://github.com/projectatomic/adb-tests/pull/19#discussion_r60347437"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/adb-tests/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/projectatomic/adb-tests/pulls/19","id":64015390,"html_url":"https://github.com/projectatomic/adb-tests/pull/19","diff_url":"https://github.com/projectatomic/adb-tests/pull/19.diff","patch_url":"https://github.com/projectatomic/adb-tests/pull/19.patch","issue_url":"https://api.github.com/repos/projectatomic/adb-tests/issues/19","number":19,"state":"open","locked":false,"title":"CI for ADB","user":{"login":"dharmit","id":713521,"avatar_url":"https://avatars.githubusercontent.com/u/713521?v=3","gravatar_id":"","url":"https://api.github.com/users/dharmit","html_url":"https://github.com/dharmit","followers_url":"https://api.github.com/users/dharmit/followers","following_url":"https://api.github.com/users/dharmit/following{/other_user}","gists_url":"https://api.github.com/users/dharmit/gists{/gist_id}","starred_url":"https://api.github.com/users/dharmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharmit/subscriptions","organizations_url":"https://api.github.com/users/dharmit/orgs","repos_url":"https://api.github.com/users/dharmit/repos","events_url":"https://api.github.com/users/dharmit/events{/privacy}","received_events_url":"https://api.github.com/users/dharmit/received_events","type":"User","site_admin":false},"body":"CI tests for ADB to fix [#195](https://github.com/projectatomic/adb-atomic-developer-bundle/issues/195) on [projectatomic/adb-atomic-developer-bundle](https://github.com/projectatomic/adb-atomic-developer-bundle/).\r\n\r\nMore tests would be added to this in future. However, not much should change in the Jenkins configuration.","created_at":"2016-03-24T10:35:19Z","updated_at":"2016-04-20T03:55:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4524192b91537af1a00e9853e0937313e7c4041c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/adb-tests/pulls/19/commits","review_comments_url":"https://api.github.com/repos/projectatomic/adb-tests/pulls/19/comments","review_comment_url":"https://api.github.com/repos/projectatomic/adb-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/adb-tests/issues/19/comments","statuses_url":"https://api.github.com/repos/projectatomic/adb-tests/statuses/41434c0db1a45faae980db527789bcab0011af07","head":{"label":"dharmit:adb-fix-195-unittest","ref":"adb-fix-195-unittest","sha":"41434c0db1a45faae980db527789bcab0011af07","user":{"login":"dharmit","id":713521,"avatar_url":"https://avatars.githubusercontent.com/u/713521?v=3","gravatar_id":"","url":"https://api.github.com/users/dharmit","html_url":"https://github.com/dharmit","followers_url":"https://api.github.com/users/dharmit/followers","following_url":"https://api.github.com/users/dharmit/following{/other_user}","gists_url":"https://api.github.com/users/dharmit/gists{/gist_id}","starred_url":"https://api.github.com/users/dharmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharmit/subscriptions","organizations_url":"https://api.github.com/users/dharmit/orgs","repos_url":"https://api.github.com/users/dharmit/repos","events_url":"https://api.github.com/users/dharmit/events{/privacy}","received_events_url":"https://api.github.com/users/dharmit/received_events","type":"User","site_admin":false},"repo":{"id":51359072,"name":"adb-tests","full_name":"dharmit/adb-tests","owner":{"login":"dharmit","id":713521,"avatar_url":"https://avatars.githubusercontent.com/u/713521?v=3","gravatar_id":"","url":"https://api.github.com/users/dharmit","html_url":"https://github.com/dharmit","followers_url":"https://api.github.com/users/dharmit/followers","following_url":"https://api.github.com/users/dharmit/following{/other_user}","gists_url":"https://api.github.com/users/dharmit/gists{/gist_id}","starred_url":"https://api.github.com/users/dharmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharmit/subscriptions","organizations_url":"https://api.github.com/users/dharmit/orgs","repos_url":"https://api.github.com/users/dharmit/repos","events_url":"https://api.github.com/users/dharmit/events{/privacy}","received_events_url":"https://api.github.com/users/dharmit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dharmit/adb-tests","description":"placeholder for tests for the adb while its long term place to live is sorted out","fork":true,"url":"https://api.github.com/repos/dharmit/adb-tests","forks_url":"https://api.github.com/repos/dharmit/adb-tests/forks","keys_url":"https://api.github.com/repos/dharmit/adb-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dharmit/adb-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dharmit/adb-tests/teams","hooks_url":"https://api.github.com/repos/dharmit/adb-tests/hooks","issue_events_url":"https://api.github.com/repos/dharmit/adb-tests/issues/events{/number}","events_url":"https://api.github.com/repos/dharmit/adb-tests/events","assignees_url":"https://api.github.com/repos/dharmit/adb-tests/assignees{/user}","branches_url":"https://api.github.com/repos/dharmit/adb-tests/branches{/branch}","tags_url":"https://api.github.com/repos/dharmit/adb-tests/tags","blobs_url":"https://api.github.com/repos/dharmit/adb-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dharmit/adb-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dharmit/adb-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/dharmit/adb-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dharmit/adb-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/dharmit/adb-tests/languages","stargazers_url":"https://api.github.com/repos/dharmit/adb-tests/stargazers","contributors_url":"https://api.github.com/repos/dharmit/adb-tests/contributors","subscribers_url":"https://api.github.com/repos/dharmit/adb-tests/subscribers","subscription_url":"https://api.github.com/repos/dharmit/adb-tests/subscription","commits_url":"https://api.github.com/repos/dharmit/adb-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/dharmit/adb-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/dharmit/adb-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/dharmit/adb-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/dharmit/adb-tests/contents/{+path}","compare_url":"https://api.github.com/repos/dharmit/adb-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dharmit/adb-tests/merges","archive_url":"https://api.github.com/repos/dharmit/adb-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dharmit/adb-tests/downloads","issues_url":"https://api.github.com/repos/dharmit/adb-tests/issues{/number}","pulls_url":"https://api.github.com/repos/dharmit/adb-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/dharmit/adb-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/dharmit/adb-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dharmit/adb-tests/labels{/name}","releases_url":"https://api.github.com/repos/dharmit/adb-tests/releases{/id}","deployments_url":"https://api.github.com/repos/dharmit/adb-tests/deployments","created_at":"2016-02-09T10:07:22Z","updated_at":"2016-02-09T10:07:22Z","pushed_at":"2016-04-06T15:14:36Z","git_url":"git://github.com/dharmit/adb-tests.git","ssh_url":"git@github.com:dharmit/adb-tests.git","clone_url":"https://github.com/dharmit/adb-tests.git","svn_url":"https://github.com/dharmit/adb-tests","homepage":null,"size":835,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"projectatomic:master","ref":"master","sha":"022d421ff3ac0ce50f019872d00816d117df44d1","user":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"repo":{"id":46001322,"name":"adb-tests","full_name":"projectatomic/adb-tests","owner":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectatomic/adb-tests","description":"placeholder for tests for the adb while its long term place to live is sorted out","fork":false,"url":"https://api.github.com/repos/projectatomic/adb-tests","forks_url":"https://api.github.com/repos/projectatomic/adb-tests/forks","keys_url":"https://api.github.com/repos/projectatomic/adb-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/adb-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/adb-tests/teams","hooks_url":"https://api.github.com/repos/projectatomic/adb-tests/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/adb-tests/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/adb-tests/events","assignees_url":"https://api.github.com/repos/projectatomic/adb-tests/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/adb-tests/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/adb-tests/tags","blobs_url":"https://api.github.com/repos/projectatomic/adb-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/adb-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/adb-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/adb-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/adb-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/adb-tests/languages","stargazers_url":"https://api.github.com/repos/projectatomic/adb-tests/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/adb-tests/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/adb-tests/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/adb-tests/subscription","commits_url":"https://api.github.com/repos/projectatomic/adb-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/adb-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/adb-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/adb-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/adb-tests/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/adb-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/adb-tests/merges","archive_url":"https://api.github.com/repos/projectatomic/adb-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/adb-tests/downloads","issues_url":"https://api.github.com/repos/projectatomic/adb-tests/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/adb-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/adb-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/adb-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/adb-tests/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/adb-tests/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/adb-tests/deployments","created_at":"2015-11-11T18:30:20Z","updated_at":"2016-02-15T12:34:06Z","pushed_at":"2016-04-13T11:07:32Z","git_url":"git://github.com/projectatomic/adb-tests.git","ssh_url":"git@github.com:projectatomic/adb-tests.git","clone_url":"https://github.com/projectatomic/adb-tests.git","svn_url":"https://github.com/projectatomic/adb-tests","homepage":null,"size":837,"stargazers_count":3,"watchers_count":3,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":6,"forks":8,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/adb-tests/pulls/19"},"html":{"href":"https://github.com/projectatomic/adb-tests/pull/19"},"issue":{"href":"https://api.github.com/repos/projectatomic/adb-tests/issues/19"},"comments":{"href":"https://api.github.com/repos/projectatomic/adb-tests/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/adb-tests/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/adb-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/adb-tests/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/adb-tests/statuses/41434c0db1a45faae980db527789bcab0011af07"}}}}