{"action":"created","comment":{"url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/comments/26371591","id":26371591,"diff_hunk":"@@ -294,12 +296,14 @@ def mtbf_options(self):\n         mtbf_testvars_dir = \"/mnt/mtbf_shared/testvars\"\n         if not hasattr(self.options, 'testvars') or not self.options.testvars:\n             testvars = os.path.join(mtbf_testvars_dir, \"testvars_\" + self.serial + \".json\")\n-            logger.info(\"testvar is [\" + testvars + \"]\")\n             if os.path.exists(testvars):\n                 self.options.testvars = parser.testvars = testvars\n                 logger.info(\"testvar [\" + testvars + \"] found\")\n             else:\n-                raise AttributeError(\"testvars[\" + testvars + \"] doesn't exist\")\n+                if os.path.exists(os.path.join(os.getcwd(), \"default.json\")): ","path":"mtbf_job_runner.py","position":24,"original_position":24,"commit_id":"0ebd85243a020c5f77b4cfdd9f4dc806b86ef8d8","original_commit_id":"0ebd85243a020c5f77b4cfdd9f4dc806b86ef8d8","user":{"login":"zapion","id":734529,"avatar_url":"https://avatars.githubusercontent.com/u/734529?v=3","gravatar_id":"","url":"https://api.github.com/users/zapion","html_url":"https://github.com/zapion","followers_url":"https://api.github.com/users/zapion/followers","following_url":"https://api.github.com/users/zapion/following{/other_user}","gists_url":"https://api.github.com/users/zapion/gists{/gist_id}","starred_url":"https://api.github.com/users/zapion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zapion/subscriptions","organizations_url":"https://api.github.com/users/zapion/orgs","repos_url":"https://api.github.com/users/zapion/repos","events_url":"https://api.github.com/users/zapion/events{/privacy}","received_events_url":"https://api.github.com/users/zapion/received_events","type":"User","site_admin":false},"body":"Recommend to use elif and avoid more nested structure.","created_at":"2015-03-13T08:54:10Z","updated_at":"2015-03-13T08:54:10Z","html_url":"https://github.com/Mozilla-TWQA/mtbf_operation/pull/13#discussion_r26371591","pull_request_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/comments/26371591"},"html":{"href":"https://github.com/Mozilla-TWQA/mtbf_operation/pull/13#discussion_r26371591"},"pull_request":{"href":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/13","id":31015721,"html_url":"https://github.com/Mozilla-TWQA/mtbf_operation/pull/13","diff_url":"https://github.com/Mozilla-TWQA/mtbf_operation/pull/13.diff","patch_url":"https://github.com/Mozilla-TWQA/mtbf_operation/pull/13.patch","issue_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/issues/13","number":13,"state":"open","locked":false,"title":"Simple Dummy Run for mtbf operation","user":{"login":"ypwalter","id":2697364,"avatar_url":"https://avatars.githubusercontent.com/u/2697364?v=3","gravatar_id":"","url":"https://api.github.com/users/ypwalter","html_url":"https://github.com/ypwalter","followers_url":"https://api.github.com/users/ypwalter/followers","following_url":"https://api.github.com/users/ypwalter/following{/other_user}","gists_url":"https://api.github.com/users/ypwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/ypwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypwalter/subscriptions","organizations_url":"https://api.github.com/users/ypwalter/orgs","repos_url":"https://api.github.com/users/ypwalter/repos","events_url":"https://api.github.com/users/ypwalter/events{/privacy}","received_events_url":"https://api.github.com/users/ypwalter/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-12T08:24:06Z","updated_at":"2015-03-13T08:54:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4927a2946a1e38db12dbbb9c495f29a00f5ff1ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/13/commits","review_comments_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/13/comments","review_comment_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/issues/13/comments","statuses_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/statuses/0ebd85243a020c5f77b4cfdd9f4dc806b86ef8d8","head":{"label":"ypwalter:dummyrun","ref":"dummyrun","sha":"0ebd85243a020c5f77b4cfdd9f4dc806b86ef8d8","user":{"login":"ypwalter","id":2697364,"avatar_url":"https://avatars.githubusercontent.com/u/2697364?v=3","gravatar_id":"","url":"https://api.github.com/users/ypwalter","html_url":"https://github.com/ypwalter","followers_url":"https://api.github.com/users/ypwalter/followers","following_url":"https://api.github.com/users/ypwalter/following{/other_user}","gists_url":"https://api.github.com/users/ypwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/ypwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypwalter/subscriptions","organizations_url":"https://api.github.com/users/ypwalter/orgs","repos_url":"https://api.github.com/users/ypwalter/repos","events_url":"https://api.github.com/users/ypwalter/events{/privacy}","received_events_url":"https://api.github.com/users/ypwalter/received_events","type":"User","site_admin":false},"repo":{"id":32065394,"name":"mtbf_operation","full_name":"ypwalter/mtbf_operation","owner":{"login":"ypwalter","id":2697364,"avatar_url":"https://avatars.githubusercontent.com/u/2697364?v=3","gravatar_id":"","url":"https://api.github.com/users/ypwalter","html_url":"https://github.com/ypwalter","followers_url":"https://api.github.com/users/ypwalter/followers","following_url":"https://api.github.com/users/ypwalter/following{/other_user}","gists_url":"https://api.github.com/users/ypwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/ypwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypwalter/subscriptions","organizations_url":"https://api.github.com/users/ypwalter/orgs","repos_url":"https://api.github.com/users/ypwalter/repos","events_url":"https://api.github.com/users/ypwalter/events{/privacy}","received_events_url":"https://api.github.com/users/ypwalter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ypwalter/mtbf_operation","description":"Build test tasks by combo runner","fork":true,"url":"https://api.github.com/repos/ypwalter/mtbf_operation","forks_url":"https://api.github.com/repos/ypwalter/mtbf_operation/forks","keys_url":"https://api.github.com/repos/ypwalter/mtbf_operation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ypwalter/mtbf_operation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ypwalter/mtbf_operation/teams","hooks_url":"https://api.github.com/repos/ypwalter/mtbf_operation/hooks","issue_events_url":"https://api.github.com/repos/ypwalter/mtbf_operation/issues/events{/number}","events_url":"https://api.github.com/repos/ypwalter/mtbf_operation/events","assignees_url":"https://api.github.com/repos/ypwalter/mtbf_operation/assignees{/user}","branches_url":"https://api.github.com/repos/ypwalter/mtbf_operation/branches{/branch}","tags_url":"https://api.github.com/repos/ypwalter/mtbf_operation/tags","blobs_url":"https://api.github.com/repos/ypwalter/mtbf_operation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ypwalter/mtbf_operation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ypwalter/mtbf_operation/git/refs{/sha}","trees_url":"https://api.github.com/repos/ypwalter/mtbf_operation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ypwalter/mtbf_operation/statuses/{sha}","languages_url":"https://api.github.com/repos/ypwalter/mtbf_operation/languages","stargazers_url":"https://api.github.com/repos/ypwalter/mtbf_operation/stargazers","contributors_url":"https://api.github.com/repos/ypwalter/mtbf_operation/contributors","subscribers_url":"https://api.github.com/repos/ypwalter/mtbf_operation/subscribers","subscription_url":"https://api.github.com/repos/ypwalter/mtbf_operation/subscription","commits_url":"https://api.github.com/repos/ypwalter/mtbf_operation/commits{/sha}","git_commits_url":"https://api.github.com/repos/ypwalter/mtbf_operation/git/commits{/sha}","comments_url":"https://api.github.com/repos/ypwalter/mtbf_operation/comments{/number}","issue_comment_url":"https://api.github.com/repos/ypwalter/mtbf_operation/issues/comments{/number}","contents_url":"https://api.github.com/repos/ypwalter/mtbf_operation/contents/{+path}","compare_url":"https://api.github.com/repos/ypwalter/mtbf_operation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ypwalter/mtbf_operation/merges","archive_url":"https://api.github.com/repos/ypwalter/mtbf_operation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ypwalter/mtbf_operation/downloads","issues_url":"https://api.github.com/repos/ypwalter/mtbf_operation/issues{/number}","pulls_url":"https://api.github.com/repos/ypwalter/mtbf_operation/pulls{/number}","milestones_url":"https://api.github.com/repos/ypwalter/mtbf_operation/milestones{/number}","notifications_url":"https://api.github.com/repos/ypwalter/mtbf_operation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ypwalter/mtbf_operation/labels{/name}","releases_url":"https://api.github.com/repos/ypwalter/mtbf_operation/releases{/id}","created_at":"2015-03-12T08:21:34Z","updated_at":"2015-03-12T08:21:35Z","pushed_at":"2015-03-12T08:23:30Z","git_url":"git://github.com/ypwalter/mtbf_operation.git","ssh_url":"git@github.com:ypwalter/mtbf_operation.git","clone_url":"https://github.com/ypwalter/mtbf_operation.git","svn_url":"https://github.com/ypwalter/mtbf_operation","homepage":null,"size":129,"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":"Mozilla-TWQA:master","ref":"master","sha":"c512c67b4a75445b803c1ec0650339036839f415","user":{"login":"Mozilla-TWQA","id":3487714,"avatar_url":"https://avatars.githubusercontent.com/u/3487714?v=3","gravatar_id":"","url":"https://api.github.com/users/Mozilla-TWQA","html_url":"https://github.com/Mozilla-TWQA","followers_url":"https://api.github.com/users/Mozilla-TWQA/followers","following_url":"https://api.github.com/users/Mozilla-TWQA/following{/other_user}","gists_url":"https://api.github.com/users/Mozilla-TWQA/gists{/gist_id}","starred_url":"https://api.github.com/users/Mozilla-TWQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mozilla-TWQA/subscriptions","organizations_url":"https://api.github.com/users/Mozilla-TWQA/orgs","repos_url":"https://api.github.com/users/Mozilla-TWQA/repos","events_url":"https://api.github.com/users/Mozilla-TWQA/events{/privacy}","received_events_url":"https://api.github.com/users/Mozilla-TWQA/received_events","type":"Organization","site_admin":false},"repo":{"id":25675371,"name":"mtbf_operation","full_name":"Mozilla-TWQA/mtbf_operation","owner":{"login":"Mozilla-TWQA","id":3487714,"avatar_url":"https://avatars.githubusercontent.com/u/3487714?v=3","gravatar_id":"","url":"https://api.github.com/users/Mozilla-TWQA","html_url":"https://github.com/Mozilla-TWQA","followers_url":"https://api.github.com/users/Mozilla-TWQA/followers","following_url":"https://api.github.com/users/Mozilla-TWQA/following{/other_user}","gists_url":"https://api.github.com/users/Mozilla-TWQA/gists{/gist_id}","starred_url":"https://api.github.com/users/Mozilla-TWQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mozilla-TWQA/subscriptions","organizations_url":"https://api.github.com/users/Mozilla-TWQA/orgs","repos_url":"https://api.github.com/users/Mozilla-TWQA/repos","events_url":"https://api.github.com/users/Mozilla-TWQA/events{/privacy}","received_events_url":"https://api.github.com/users/Mozilla-TWQA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mozilla-TWQA/mtbf_operation","description":"Build test tasks by combo runner","fork":false,"url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation","forks_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/forks","keys_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/teams","hooks_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/hooks","issue_events_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/issues/events{/number}","events_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/events","assignees_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/assignees{/user}","branches_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/branches{/branch}","tags_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/tags","blobs_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/statuses/{sha}","languages_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/languages","stargazers_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/stargazers","contributors_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/contributors","subscribers_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/subscribers","subscription_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/subscription","commits_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/contents/{+path}","compare_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/merges","archive_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/downloads","issues_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/issues{/number}","pulls_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls{/number}","milestones_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/milestones{/number}","notifications_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/labels{/name}","releases_url":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/releases{/id}","created_at":"2014-10-24T06:47:45Z","updated_at":"2015-03-13T08:46:51Z","pushed_at":"2015-03-13T08:46:51Z","git_url":"git://github.com/Mozilla-TWQA/mtbf_operation.git","ssh_url":"git@github.com:Mozilla-TWQA/mtbf_operation.git","clone_url":"https://github.com/Mozilla-TWQA/mtbf_operation.git","svn_url":"https://github.com/Mozilla-TWQA/mtbf_operation","homepage":null,"size":538,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/13"},"html":{"href":"https://github.com/Mozilla-TWQA/mtbf_operation/pull/13"},"issue":{"href":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/issues/13"},"comments":{"href":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/Mozilla-TWQA/mtbf_operation/statuses/0ebd85243a020c5f77b4cfdd9f4dc806b86ef8d8"}}}}