{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/comments/69799375","id":69799375,"diff_hunk":"@@ -251,10 +278,12 @@ def run(cls, filename, dry_run, **kwargs):\n                 key=s3_source_filename\n             )\n \n-            log.info(\"Running command %s.\", marker_command)\n             try:\n-                log.info(\"Running command %s.\", marker_command)\n-                execute_shell(marker_command, **kwargs)\n+                log.info(\"Running command with retries: %s.\", marker_command)\n+                # Define retries here, to recover from temporary outages when calling S3 to find files.\n+                local_kwargs = dict(**kwargs)\n+                local_kwargs['max_tries'] = 5","path":"exporter/tasks.py","position":68,"original_position":68,"commit_id":"5493669059a0e993fb2527521276029777c3c9f2","original_commit_id":"5493669059a0e993fb2527521276029777c3c9f2","user":{"login":"mulby","id":627177,"avatar_url":"https://avatars.githubusercontent.com/u/627177?v=3","gravatar_id":"","url":"https://api.github.com/users/mulby","html_url":"https://github.com/mulby","followers_url":"https://api.github.com/users/mulby/followers","following_url":"https://api.github.com/users/mulby/following{/other_user}","gists_url":"https://api.github.com/users/mulby/gists{/gist_id}","starred_url":"https://api.github.com/users/mulby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulby/subscriptions","organizations_url":"https://api.github.com/users/mulby/orgs","repos_url":"https://api.github.com/users/mulby/repos","events_url":"https://api.github.com/users/mulby/events{/privacy}","received_events_url":"https://api.github.com/users/mulby/received_events","type":"User","site_admin":false},"body":"we should make this a constant too","created_at":"2016-07-06T19:49:06Z","updated_at":"2016-07-06T19:49:06Z","html_url":"https://github.com/edx/edx-analytics-exporter/pull/12#discussion_r69799375","pull_request_url":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/comments/69799375"},"html":{"href":"https://github.com/edx/edx-analytics-exporter/pull/12#discussion_r69799375"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/12","id":76490209,"html_url":"https://github.com/edx/edx-analytics-exporter/pull/12","diff_url":"https://github.com/edx/edx-analytics-exporter/pull/12.diff","patch_url":"https://github.com/edx/edx-analytics-exporter/pull/12.patch","issue_url":"https://api.github.com/repos/edx/edx-analytics-exporter/issues/12","number":12,"state":"open","locked":false,"title":"Add retry logic when looking for CWSM success markers.","user":{"login":"brianhw","id":2534095,"avatar_url":"https://avatars.githubusercontent.com/u/2534095?v=3","gravatar_id":"","url":"https://api.github.com/users/brianhw","html_url":"https://github.com/brianhw","followers_url":"https://api.github.com/users/brianhw/followers","following_url":"https://api.github.com/users/brianhw/following{/other_user}","gists_url":"https://api.github.com/users/brianhw/gists{/gist_id}","starred_url":"https://api.github.com/users/brianhw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianhw/subscriptions","organizations_url":"https://api.github.com/users/brianhw/orgs","repos_url":"https://api.github.com/users/brianhw/repos","events_url":"https://api.github.com/users/brianhw/events{/privacy}","received_events_url":"https://api.github.com/users/brianhw/received_events","type":"User","site_admin":false},"body":"This now includes some additional cleanup.\r\n\r\n@mulby @HassanJaveed84 ","created_at":"2016-07-06T19:47:36Z","updated_at":"2016-07-06T19:49:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23e174cd625fa45bc9f5267dd0ae936f33d89798","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/12/commits","review_comments_url":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/12/comments","review_comment_url":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-analytics-exporter/issues/12/comments","statuses_url":"https://api.github.com/repos/edx/edx-analytics-exporter/statuses/5493669059a0e993fb2527521276029777c3c9f2","head":{"label":"edx:brian/add-retry","ref":"brian/add-retry","sha":"5493669059a0e993fb2527521276029777c3c9f2","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":45701702,"name":"edx-analytics-exporter","full_name":"edx/edx-analytics-exporter","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-analytics-exporter","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-analytics-exporter","forks_url":"https://api.github.com/repos/edx/edx-analytics-exporter/forks","keys_url":"https://api.github.com/repos/edx/edx-analytics-exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-analytics-exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-analytics-exporter/teams","hooks_url":"https://api.github.com/repos/edx/edx-analytics-exporter/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-analytics-exporter/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-analytics-exporter/events","assignees_url":"https://api.github.com/repos/edx/edx-analytics-exporter/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-analytics-exporter/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-analytics-exporter/tags","blobs_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-analytics-exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-analytics-exporter/languages","stargazers_url":"https://api.github.com/repos/edx/edx-analytics-exporter/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-analytics-exporter/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-analytics-exporter/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-analytics-exporter/subscription","commits_url":"https://api.github.com/repos/edx/edx-analytics-exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-analytics-exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-analytics-exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-analytics-exporter/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-analytics-exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-analytics-exporter/merges","archive_url":"https://api.github.com/repos/edx/edx-analytics-exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-analytics-exporter/downloads","issues_url":"https://api.github.com/repos/edx/edx-analytics-exporter/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-analytics-exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-analytics-exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-analytics-exporter/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-analytics-exporter/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-analytics-exporter/deployments","created_at":"2015-11-06T19:10:09Z","updated_at":"2016-01-22T22:15:05Z","pushed_at":"2016-07-06T19:47:36Z","git_url":"git://github.com/edx/edx-analytics-exporter.git","ssh_url":"git@github.com:edx/edx-analytics-exporter.git","clone_url":"https://github.com/edx/edx-analytics-exporter.git","svn_url":"https://github.com/edx/edx-analytics-exporter","homepage":null,"size":43,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"69def3c3f9015cbe0239ce83b2f683d86f14cdc9","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":45701702,"name":"edx-analytics-exporter","full_name":"edx/edx-analytics-exporter","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-analytics-exporter","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-analytics-exporter","forks_url":"https://api.github.com/repos/edx/edx-analytics-exporter/forks","keys_url":"https://api.github.com/repos/edx/edx-analytics-exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-analytics-exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-analytics-exporter/teams","hooks_url":"https://api.github.com/repos/edx/edx-analytics-exporter/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-analytics-exporter/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-analytics-exporter/events","assignees_url":"https://api.github.com/repos/edx/edx-analytics-exporter/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-analytics-exporter/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-analytics-exporter/tags","blobs_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-analytics-exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-analytics-exporter/languages","stargazers_url":"https://api.github.com/repos/edx/edx-analytics-exporter/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-analytics-exporter/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-analytics-exporter/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-analytics-exporter/subscription","commits_url":"https://api.github.com/repos/edx/edx-analytics-exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-analytics-exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-analytics-exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-analytics-exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-analytics-exporter/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-analytics-exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-analytics-exporter/merges","archive_url":"https://api.github.com/repos/edx/edx-analytics-exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-analytics-exporter/downloads","issues_url":"https://api.github.com/repos/edx/edx-analytics-exporter/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-analytics-exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-analytics-exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-analytics-exporter/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-analytics-exporter/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-analytics-exporter/deployments","created_at":"2015-11-06T19:10:09Z","updated_at":"2016-01-22T22:15:05Z","pushed_at":"2016-07-06T19:47:36Z","git_url":"git://github.com/edx/edx-analytics-exporter.git","ssh_url":"git@github.com:edx/edx-analytics-exporter.git","clone_url":"https://github.com/edx/edx-analytics-exporter.git","svn_url":"https://github.com/edx/edx-analytics-exporter","homepage":null,"size":43,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/12"},"html":{"href":"https://github.com/edx/edx-analytics-exporter/pull/12"},"issue":{"href":"https://api.github.com/repos/edx/edx-analytics-exporter/issues/12"},"comments":{"href":"https://api.github.com/repos/edx/edx-analytics-exporter/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-analytics-exporter/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-analytics-exporter/statuses/5493669059a0e993fb2527521276029777c3c9f2"}}}}
{"actor":{"display_login":"mulby"}}