GitHub PullRequestReviewCommentEvent at 2014-09-18 13:46:35
Repository: openstack-sqe
Actor: sshnaidm
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/comments/17727277","id":17727277,"diff_hunk":"@@ -0,0 +1,94 @@\n+import os\n+\n+DEFAULT_SETTINGS = {\"host_string\": \"localhost\",\n+                    \"abort_on_prompts\": True,\n+                    \"warn_only\": True}\n+\n+IMAGES_REPO = \"http://172.29.173.233/\"\n+UBUNTU_URL_CLOUD = \"http://cloud-images.ubuntu.com/trusty/current/\"\n+UBUNTU_DISK = \"trusty-server-cloudimg-amd64-disk1.img\"\n+CENTOS65_DISK = \"centos-6.5.x86_64.qcow2\"\n+CENTOS7_DISK = \"centos-7.x86_64.qcow2\"\n+FEDORA20_DISK = \"fedora-20.x86_64.qcow2\"\n+RHEL7_DISK = \"rhel-7.x86_64.qcow2\"\n+CUR_DIR = os.path.dirname(__file__)\n+\n+GLOBAL_TIMEOUT = 180\n+\n+\n+def _get_lab():\n+    if \"LAB\" not in os.environ:\n+        return \"lab1\"\n+    else:\n+        return os.environ[\"LAB\"]\n+\n+\n+def _get_waittime():\n+    if \"QA_WAITTIME\" not in os.environ:\n+        return \"18000\"\n+    else:\n+        return os.environ[\"QA_WAITTIME\"]\n+\n+\n+def _get_killtime():\n+    if \"QA_KILLTIME\" not in os.environ:\n+        return \"18060\"\n+    else:\n+        return os.environ[\"QA_KILLTIME\"]\n+\n+\n+def _get_workspace():\n+    if \"WORKSPACE\" not in os.environ:\n+        return os.path.normpath(\n+            os.path.join(\n+                os.path.dirname(__file__),\n+                \"..\",\n+                \"..\"))\n+    else:\n+        return os.environ[\"WORKSPACE\"]\n+\n+\n+def _get_tempest_dir():\n+    return os.path.join(\n+        _get_workspace(),\n+        \"tempest\")\n+\n+\n+LAB = _get_lab()\n+QA_WAITTIME = _get_waittime()\n+QA_KILLTIME = _get_killtime()\n+WORKSPACE = _get_workspace()\n+\n+REDHAT_DISK = os.environ.get(\"REDHAT_DISK\", None)\n+COI_DISK = os.environ.get(\"UBUNTU_DISK\", UBUNTU_DISK)\n+DEVSTACK_DISK = os.environ.get(\"DEVSTACK_DISK\", UBUNTU_DISK)\n+\n+TEMPEST_DIR = _get_tempest_dir()\n+TVENV = \".venv\"\n+# Local virtualenv, that is removed every build\n+TLVENV = os.path.normpath(os.path.join(TEMPEST_DIR, TVENV))\n+# Common virtualenv for tempest in HOME\n+TCVENV = os.path.join(os.path.expanduser(\"~\"), TVENV)\n+\n+\n+def _get_tempest_virtenv():\n+    if os.path.exists(TLVENV):\n+        return TLVENV\n+    return TCVENV\n+\n+\n+VENV = \".env\"\n+# Local virtualenv, that is removed every build\n+LVENV = os.path.normpath(os.path.join(CUR_DIR, \"..\", VENV))\n+# Common virtualenv in HOME, that is persistent\n+CVENV = os.path.join(os.path.expanduser(\"~\"), VENV)\n+\n+\n+def _get_virtenv():","path":"fabs/__init__.py","position":87,"original_position":87,"commit_id":"1a500674731d1317d41991f5f921c37ef7f71da8","original_commit_id":"ae9984d7bb5fc2de519a1fdd44b8c877b15c53ea","user":{"login":"sshnaidm","id":6213510,"avatar_url":"https://avatars.githubusercontent.com/u/6213510?v=2","gravatar_id":"d41499a429b5dd3471aaf905d1020730","url":"https://api.github.com/users/sshnaidm","html_url":"https://github.com/sshnaidm","followers_url":"https://api.github.com/users/sshnaidm/followers","following_url":"https://api.github.com/users/sshnaidm/following{/other_user}","gists_url":"https://api.github.com/users/sshnaidm/gists{/gist_id}","starred_url":"https://api.github.com/users/sshnaidm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshnaidm/subscriptions","organizations_url":"https://api.github.com/users/sshnaidm/orgs","repos_url":"https://api.github.com/users/sshnaidm/repos","events_url":"https://api.github.com/users/sshnaidm/events{/privacy}","received_events_url":"https://api.github.com/users/sshnaidm/received_events","type":"User","site_admin":false},"body":"see above","created_at":"2014-09-18T13:46:35Z","updated_at":"2014-09-18T13:46:35Z","html_url":"https://github.com/CiscoSystems/openstack-sqe/pull/76#discussion_r17727277","pull_request_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/comments/17727277"},"html":{"href":"https://github.com/CiscoSystems/openstack-sqe/pull/76#discussion_r17727277"},"pull_request":{"href":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/76","id":21295079,"html_url":"https://github.com/CiscoSystems/openstack-sqe/pull/76","diff_url":"https://github.com/CiscoSystems/openstack-sqe/pull/76.diff","patch_url":"https://github.com/CiscoSystems/openstack-sqe/pull/76.patch","issue_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/issues/76","number":76,"state":"open","locked":false,"title":"Fabfile instead of make","user":{"login":"sshnaidm","id":6213510,"avatar_url":"https://avatars.githubusercontent.com/u/6213510?v=2","gravatar_id":"d41499a429b5dd3471aaf905d1020730","url":"https://api.github.com/users/sshnaidm","html_url":"https://github.com/sshnaidm","followers_url":"https://api.github.com/users/sshnaidm/followers","following_url":"https://api.github.com/users/sshnaidm/following{/other_user}","gists_url":"https://api.github.com/users/sshnaidm/gists{/gist_id}","starred_url":"https://api.github.com/users/sshnaidm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshnaidm/subscriptions","organizations_url":"https://api.github.com/users/sshnaidm/orgs","repos_url":"https://api.github.com/users/sshnaidm/repos","events_url":"https://api.github.com/users/sshnaidm/events{/privacy}","received_events_url":"https://api.github.com/users/sshnaidm/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-09-16T12:42:51Z","updated_at":"2014-09-18T13:46:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5f61738527e660acc9bc9c151e07b8c5fe4208e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/76/commits","review_comments_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/76/comments","review_comment_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/issues/76/comments","statuses_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/statuses/1a500674731d1317d41991f5f921c37ef7f71da8","head":{"label":"sshnaidm:make2","ref":"make2","sha":"1a500674731d1317d41991f5f921c37ef7f71da8","user":{"login":"sshnaidm","id":6213510,"avatar_url":"https://avatars.githubusercontent.com/u/6213510?v=2","gravatar_id":"d41499a429b5dd3471aaf905d1020730","url":"https://api.github.com/users/sshnaidm","html_url":"https://github.com/sshnaidm","followers_url":"https://api.github.com/users/sshnaidm/followers","following_url":"https://api.github.com/users/sshnaidm/following{/other_user}","gists_url":"https://api.github.com/users/sshnaidm/gists{/gist_id}","starred_url":"https://api.github.com/users/sshnaidm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshnaidm/subscriptions","organizations_url":"https://api.github.com/users/sshnaidm/orgs","repos_url":"https://api.github.com/users/sshnaidm/repos","events_url":"https://api.github.com/users/sshnaidm/events{/privacy}","received_events_url":"https://api.github.com/users/sshnaidm/received_events","type":"User","site_admin":false},"repo":{"id":21599866,"name":"openstack-sqe","full_name":"sshnaidm/openstack-sqe","owner":{"login":"sshnaidm","id":6213510,"avatar_url":"https://avatars.githubusercontent.com/u/6213510?v=2","gravatar_id":"d41499a429b5dd3471aaf905d1020730","url":"https://api.github.com/users/sshnaidm","html_url":"https://github.com/sshnaidm","followers_url":"https://api.github.com/users/sshnaidm/followers","following_url":"https://api.github.com/users/sshnaidm/following{/other_user}","gists_url":"https://api.github.com/users/sshnaidm/gists{/gist_id}","starred_url":"https://api.github.com/users/sshnaidm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshnaidm/subscriptions","organizations_url":"https://api.github.com/users/sshnaidm/orgs","repos_url":"https://api.github.com/users/sshnaidm/repos","events_url":"https://api.github.com/users/sshnaidm/events{/privacy}","received_events_url":"https://api.github.com/users/sshnaidm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sshnaidm/openstack-sqe","description":"Repos for QA team","fork":true,"url":"https://api.github.com/repos/sshnaidm/openstack-sqe","forks_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/forks","keys_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/teams","hooks_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/hooks","issue_events_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/issues/events{/number}","events_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/events","assignees_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/assignees{/user}","branches_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/branches{/branch}","tags_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/tags","blobs_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/git/refs{/sha}","trees_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/statuses/{sha}","languages_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/languages","stargazers_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/stargazers","contributors_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/contributors","subscribers_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/subscribers","subscription_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/subscription","commits_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/commits{/sha}","git_commits_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/git/commits{/sha}","comments_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/comments{/number}","issue_comment_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/issues/comments/{number}","contents_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/contents/{+path}","compare_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/merges","archive_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/downloads","issues_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/issues{/number}","pulls_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/pulls{/number}","milestones_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/milestones{/number}","notifications_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/labels{/name}","releases_url":"https://api.github.com/repos/sshnaidm/openstack-sqe/releases{/id}","created_at":"2014-07-08T05:20:05Z","updated_at":"2014-08-22T08:24:42Z","pushed_at":"2014-09-18T13:40:09Z","git_url":"git://github.com/sshnaidm/openstack-sqe.git","ssh_url":"git@github.com:sshnaidm/openstack-sqe.git","clone_url":"https://github.com/sshnaidm/openstack-sqe.git","svn_url":"https://github.com/sshnaidm/openstack-sqe","homepage":null,"size":3964,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"CiscoSystems:master","ref":"master","sha":"2580a920ea68c61983745ad2c41a6973fb649147","user":{"login":"CiscoSystems","id":928837,"avatar_url":"https://avatars.githubusercontent.com/u/928837?v=2","gravatar_id":"914ee276adbac43e097abf5f857b3eff","url":"https://api.github.com/users/CiscoSystems","html_url":"https://github.com/CiscoSystems","followers_url":"https://api.github.com/users/CiscoSystems/followers","following_url":"https://api.github.com/users/CiscoSystems/following{/other_user}","gists_url":"https://api.github.com/users/CiscoSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/CiscoSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CiscoSystems/subscriptions","organizations_url":"https://api.github.com/users/CiscoSystems/orgs","repos_url":"https://api.github.com/users/CiscoSystems/repos","events_url":"https://api.github.com/users/CiscoSystems/events{/privacy}","received_events_url":"https://api.github.com/users/CiscoSystems/received_events","type":"Organization","site_admin":false},"repo":{"id":19499207,"name":"openstack-sqe","full_name":"CiscoSystems/openstack-sqe","owner":{"login":"CiscoSystems","id":928837,"avatar_url":"https://avatars.githubusercontent.com/u/928837?v=2","gravatar_id":"914ee276adbac43e097abf5f857b3eff","url":"https://api.github.com/users/CiscoSystems","html_url":"https://github.com/CiscoSystems","followers_url":"https://api.github.com/users/CiscoSystems/followers","following_url":"https://api.github.com/users/CiscoSystems/following{/other_user}","gists_url":"https://api.github.com/users/CiscoSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/CiscoSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CiscoSystems/subscriptions","organizations_url":"https://api.github.com/users/CiscoSystems/orgs","repos_url":"https://api.github.com/users/CiscoSystems/repos","events_url":"https://api.github.com/users/CiscoSystems/events{/privacy}","received_events_url":"https://api.github.com/users/CiscoSystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CiscoSystems/openstack-sqe","description":"Repos for QA team","fork":false,"url":"https://api.github.com/repos/CiscoSystems/openstack-sqe","forks_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/forks","keys_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/teams","hooks_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/hooks","issue_events_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/issues/events{/number}","events_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/events","assignees_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/assignees{/user}","branches_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/branches{/branch}","tags_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/tags","blobs_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/git/refs{/sha}","trees_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/statuses/{sha}","languages_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/languages","stargazers_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/stargazers","contributors_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/contributors","subscribers_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/subscribers","subscription_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/subscription","commits_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/commits{/sha}","git_commits_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/git/commits{/sha}","comments_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/comments{/number}","issue_comment_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/issues/comments/{number}","contents_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/contents/{+path}","compare_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/merges","archive_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/downloads","issues_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/issues{/number}","pulls_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls{/number}","milestones_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/milestones{/number}","notifications_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/labels{/name}","releases_url":"https://api.github.com/repos/CiscoSystems/openstack-sqe/releases{/id}","created_at":"2014-05-06T15:17:59Z","updated_at":"2014-09-13T18:19:37Z","pushed_at":"2014-09-18T13:44:00Z","git_url":"git://github.com/CiscoSystems/openstack-sqe.git","ssh_url":"git@github.com:CiscoSystems/openstack-sqe.git","clone_url":"https://github.com/CiscoSystems/openstack-sqe.git","svn_url":"https://github.com/CiscoSystems/openstack-sqe","homepage":null,"size":5365,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/76"},"html":{"href":"https://github.com/CiscoSystems/openstack-sqe/pull/76"},"issue":{"href":"https://api.github.com/repos/CiscoSystems/openstack-sqe/issues/76"},"comments":{"href":"https://api.github.com/repos/CiscoSystems/openstack-sqe/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CiscoSystems/openstack-sqe/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/CiscoSystems/openstack-sqe/statuses/1a500674731d1317d41991f5f921c37ef7f71da8"}}}}