{"action":"created","comment":{"url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/comments/54066729","id":54066729,"diff_hunk":"@@ -277,9 +313,19 @@ def check_status(pr):\n                 logger.info('Setting task {} for pr {} to {}'\n                             .format(task['stream'], pr['number'], states[task['result']]))\n                 set_status(commit, states[task['result']], task['stream'])\n+            task_states[task['stream']] = states[task['result']]","path":"scripts/dockerbot/check_prs.py","position":67,"original_position":67,"commit_id":"81be5edfcf0fbde800b64a72eac45a13e33360c9","original_commit_id":"81be5edfcf0fbde800b64a72eac45a13e33360c9","user":{"login":"vrutkovs","id":114501,"avatar_url":"https://avatars.githubusercontent.com/u/114501?v=3","gravatar_id":"","url":"https://api.github.com/users/vrutkovs","html_url":"https://github.com/vrutkovs","followers_url":"https://api.github.com/users/vrutkovs/followers","following_url":"https://api.github.com/users/vrutkovs/following{/other_user}","gists_url":"https://api.github.com/users/vrutkovs/gists{/gist_id}","starred_url":"https://api.github.com/users/vrutkovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrutkovs/subscriptions","organizations_url":"https://api.github.com/users/vrutkovs/orgs","repos_url":"https://api.github.com/users/vrutkovs/repos","events_url":"https://api.github.com/users/vrutkovs/events{/privacy}","received_events_url":"https://api.github.com/users/vrutkovs/received_events","type":"User","site_admin":false},"body":">Even if the break is hit in 305, it's only going to break out of the loop at 302, which I think means we are still goign to have task_states be populated\r\n\r\nRight, it will be populated with 'pending' - the initial state for the task, created at line 78 - and filtered out later on, producing no message","created_at":"2016-02-25T09:16:07Z","updated_at":"2016-02-25T09:16:07Z","html_url":"https://github.com/RedHatQE/cfme_tests/pull/2691#discussion_r54066729","pull_request_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2691","_links":{"self":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/comments/54066729"},"html":{"href":"https://github.com/RedHatQE/cfme_tests/pull/2691#discussion_r54066729"},"pull_request":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2691"}}},"pull_request":{"url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2691","id":60012533,"html_url":"https://github.com/RedHatQE/cfme_tests/pull/2691","diff_url":"https://github.com/RedHatQE/cfme_tests/pull/2691.diff","patch_url":"https://github.com/RedHatQE/cfme_tests/pull/2691.patch","issue_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/2691","number":2691,"state":"open","locked":false,"title":"Add PRT side of bot integration","user":{"login":"vrutkovs","id":114501,"avatar_url":"https://avatars.githubusercontent.com/u/114501?v=3","gravatar_id":"","url":"https://api.github.com/users/vrutkovs","html_url":"https://github.com/vrutkovs","followers_url":"https://api.github.com/users/vrutkovs/followers","following_url":"https://api.github.com/users/vrutkovs/following{/other_user}","gists_url":"https://api.github.com/users/vrutkovs/gists{/gist_id}","starred_url":"https://api.github.com/users/vrutkovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrutkovs/subscriptions","organizations_url":"https://api.github.com/users/vrutkovs/orgs","repos_url":"https://api.github.com/users/vrutkovs/repos","events_url":"https://api.github.com/users/vrutkovs/events{/privacy}","received_events_url":"https://api.github.com/users/vrutkovs/received_events","type":"User","site_admin":false},"body":"This sends messages about PR status change to RabbitMQ queue to be consumed by sopel bot and announced in the rooms.\r\n\r\nRabbitMQ URL should be defined in ```docker.yaml```","created_at":"2016-02-19T21:50:28Z","updated_at":"2016-02-25T09:16:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a91f4c1d5be633783929b51ce598445d3ae32c8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2691/commits","review_comments_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2691/comments","review_comment_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/2691/comments","statuses_url":"https://api.github.com/repos/RedHatQE/cfme_tests/statuses/81be5edfcf0fbde800b64a72eac45a13e33360c9","head":{"label":"vrutkovs:prt_bot_integration","ref":"prt_bot_integration","sha":"81be5edfcf0fbde800b64a72eac45a13e33360c9","user":{"login":"vrutkovs","id":114501,"avatar_url":"https://avatars.githubusercontent.com/u/114501?v=3","gravatar_id":"","url":"https://api.github.com/users/vrutkovs","html_url":"https://github.com/vrutkovs","followers_url":"https://api.github.com/users/vrutkovs/followers","following_url":"https://api.github.com/users/vrutkovs/following{/other_user}","gists_url":"https://api.github.com/users/vrutkovs/gists{/gist_id}","starred_url":"https://api.github.com/users/vrutkovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrutkovs/subscriptions","organizations_url":"https://api.github.com/users/vrutkovs/orgs","repos_url":"https://api.github.com/users/vrutkovs/repos","events_url":"https://api.github.com/users/vrutkovs/events{/privacy}","received_events_url":"https://api.github.com/users/vrutkovs/received_events","type":"User","site_admin":false},"repo":{"id":45546124,"name":"cfme_tests","full_name":"vrutkovs/cfme_tests","owner":{"login":"vrutkovs","id":114501,"avatar_url":"https://avatars.githubusercontent.com/u/114501?v=3","gravatar_id":"","url":"https://api.github.com/users/vrutkovs","html_url":"https://github.com/vrutkovs","followers_url":"https://api.github.com/users/vrutkovs/followers","following_url":"https://api.github.com/users/vrutkovs/following{/other_user}","gists_url":"https://api.github.com/users/vrutkovs/gists{/gist_id}","starred_url":"https://api.github.com/users/vrutkovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrutkovs/subscriptions","organizations_url":"https://api.github.com/users/vrutkovs/orgs","repos_url":"https://api.github.com/users/vrutkovs/repos","events_url":"https://api.github.com/users/vrutkovs/events{/privacy}","received_events_url":"https://api.github.com/users/vrutkovs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vrutkovs/cfme_tests","description":"CloudForms Management Engine - Functional tests","fork":true,"url":"https://api.github.com/repos/vrutkovs/cfme_tests","forks_url":"https://api.github.com/repos/vrutkovs/cfme_tests/forks","keys_url":"https://api.github.com/repos/vrutkovs/cfme_tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vrutkovs/cfme_tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vrutkovs/cfme_tests/teams","hooks_url":"https://api.github.com/repos/vrutkovs/cfme_tests/hooks","issue_events_url":"https://api.github.com/repos/vrutkovs/cfme_tests/issues/events{/number}","events_url":"https://api.github.com/repos/vrutkovs/cfme_tests/events","assignees_url":"https://api.github.com/repos/vrutkovs/cfme_tests/assignees{/user}","branches_url":"https://api.github.com/repos/vrutkovs/cfme_tests/branches{/branch}","tags_url":"https://api.github.com/repos/vrutkovs/cfme_tests/tags","blobs_url":"https://api.github.com/repos/vrutkovs/cfme_tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vrutkovs/cfme_tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vrutkovs/cfme_tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/vrutkovs/cfme_tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vrutkovs/cfme_tests/statuses/{sha}","languages_url":"https://api.github.com/repos/vrutkovs/cfme_tests/languages","stargazers_url":"https://api.github.com/repos/vrutkovs/cfme_tests/stargazers","contributors_url":"https://api.github.com/repos/vrutkovs/cfme_tests/contributors","subscribers_url":"https://api.github.com/repos/vrutkovs/cfme_tests/subscribers","subscription_url":"https://api.github.com/repos/vrutkovs/cfme_tests/subscription","commits_url":"https://api.github.com/repos/vrutkovs/cfme_tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/vrutkovs/cfme_tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/vrutkovs/cfme_tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/vrutkovs/cfme_tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/vrutkovs/cfme_tests/contents/{+path}","compare_url":"https://api.github.com/repos/vrutkovs/cfme_tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vrutkovs/cfme_tests/merges","archive_url":"https://api.github.com/repos/vrutkovs/cfme_tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vrutkovs/cfme_tests/downloads","issues_url":"https://api.github.com/repos/vrutkovs/cfme_tests/issues{/number}","pulls_url":"https://api.github.com/repos/vrutkovs/cfme_tests/pulls{/number}","milestones_url":"https://api.github.com/repos/vrutkovs/cfme_tests/milestones{/number}","notifications_url":"https://api.github.com/repos/vrutkovs/cfme_tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vrutkovs/cfme_tests/labels{/name}","releases_url":"https://api.github.com/repos/vrutkovs/cfme_tests/releases{/id}","deployments_url":"https://api.github.com/repos/vrutkovs/cfme_tests/deployments","created_at":"2015-11-04T14:59:07Z","updated_at":"2016-02-19T19:01:28Z","pushed_at":"2016-02-24T20:59:42Z","git_url":"git://github.com/vrutkovs/cfme_tests.git","ssh_url":"git@github.com:vrutkovs/cfme_tests.git","clone_url":"https://github.com/vrutkovs/cfme_tests.git","svn_url":"https://github.com/vrutkovs/cfme_tests","homepage":"","size":8564,"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":"RedHatQE:master","ref":"master","sha":"c6d310e686352fe3372ad993843c44a52f548990","user":{"login":"RedHatQE","id":534870,"avatar_url":"https://avatars.githubusercontent.com/u/534870?v=3","gravatar_id":"","url":"https://api.github.com/users/RedHatQE","html_url":"https://github.com/RedHatQE","followers_url":"https://api.github.com/users/RedHatQE/followers","following_url":"https://api.github.com/users/RedHatQE/following{/other_user}","gists_url":"https://api.github.com/users/RedHatQE/gists{/gist_id}","starred_url":"https://api.github.com/users/RedHatQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedHatQE/subscriptions","organizations_url":"https://api.github.com/users/RedHatQE/orgs","repos_url":"https://api.github.com/users/RedHatQE/repos","events_url":"https://api.github.com/users/RedHatQE/events{/privacy}","received_events_url":"https://api.github.com/users/RedHatQE/received_events","type":"Organization","site_admin":false},"repo":{"id":8061086,"name":"cfme_tests","full_name":"RedHatQE/cfme_tests","owner":{"login":"RedHatQE","id":534870,"avatar_url":"https://avatars.githubusercontent.com/u/534870?v=3","gravatar_id":"","url":"https://api.github.com/users/RedHatQE","html_url":"https://github.com/RedHatQE","followers_url":"https://api.github.com/users/RedHatQE/followers","following_url":"https://api.github.com/users/RedHatQE/following{/other_user}","gists_url":"https://api.github.com/users/RedHatQE/gists{/gist_id}","starred_url":"https://api.github.com/users/RedHatQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedHatQE/subscriptions","organizations_url":"https://api.github.com/users/RedHatQE/orgs","repos_url":"https://api.github.com/users/RedHatQE/repos","events_url":"https://api.github.com/users/RedHatQE/events{/privacy}","received_events_url":"https://api.github.com/users/RedHatQE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RedHatQE/cfme_tests","description":"CloudForms Management Engine - Functional tests","fork":false,"url":"https://api.github.com/repos/RedHatQE/cfme_tests","forks_url":"https://api.github.com/repos/RedHatQE/cfme_tests/forks","keys_url":"https://api.github.com/repos/RedHatQE/cfme_tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RedHatQE/cfme_tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RedHatQE/cfme_tests/teams","hooks_url":"https://api.github.com/repos/RedHatQE/cfme_tests/hooks","issue_events_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/events{/number}","events_url":"https://api.github.com/repos/RedHatQE/cfme_tests/events","assignees_url":"https://api.github.com/repos/RedHatQE/cfme_tests/assignees{/user}","branches_url":"https://api.github.com/repos/RedHatQE/cfme_tests/branches{/branch}","tags_url":"https://api.github.com/repos/RedHatQE/cfme_tests/tags","blobs_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RedHatQE/cfme_tests/statuses/{sha}","languages_url":"https://api.github.com/repos/RedHatQE/cfme_tests/languages","stargazers_url":"https://api.github.com/repos/RedHatQE/cfme_tests/stargazers","contributors_url":"https://api.github.com/repos/RedHatQE/cfme_tests/contributors","subscribers_url":"https://api.github.com/repos/RedHatQE/cfme_tests/subscribers","subscription_url":"https://api.github.com/repos/RedHatQE/cfme_tests/subscription","commits_url":"https://api.github.com/repos/RedHatQE/cfme_tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/RedHatQE/cfme_tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/RedHatQE/cfme_tests/contents/{+path}","compare_url":"https://api.github.com/repos/RedHatQE/cfme_tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RedHatQE/cfme_tests/merges","archive_url":"https://api.github.com/repos/RedHatQE/cfme_tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RedHatQE/cfme_tests/downloads","issues_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues{/number}","pulls_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls{/number}","milestones_url":"https://api.github.com/repos/RedHatQE/cfme_tests/milestones{/number}","notifications_url":"https://api.github.com/repos/RedHatQE/cfme_tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RedHatQE/cfme_tests/labels{/name}","releases_url":"https://api.github.com/repos/RedHatQE/cfme_tests/releases{/id}","deployments_url":"https://api.github.com/repos/RedHatQE/cfme_tests/deployments","created_at":"2013-02-06T21:59:17Z","updated_at":"2016-02-23T16:41:33Z","pushed_at":"2016-02-25T08:44:15Z","git_url":"git://github.com/RedHatQE/cfme_tests.git","ssh_url":"git@github.com:RedHatQE/cfme_tests.git","clone_url":"https://github.com/RedHatQE/cfme_tests.git","svn_url":"https://github.com/RedHatQE/cfme_tests","homepage":"","size":10251,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":71,"forks":42,"open_issues":71,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2691"},"html":{"href":"https://github.com/RedHatQE/cfme_tests/pull/2691"},"issue":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/2691"},"comments":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/2691/comments"},"review_comments":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2691/comments"},"review_comment":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2691/commits"},"statuses":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/statuses/81be5edfcf0fbde800b64a72eac45a13e33360c9"}}}}