{"action":"created","comment":{"url":"https://api.github.com/repos/FNNDSC/pman/pulls/comments/203580318","pull_request_review_id":138497834,"id":203580318,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzU4MDMxOA==","diff_hunk":"@@ -59,6 +59,80 @@ def storeData(self, **kwargs):\n             swiftHandler._deleteEmptyDirectory(key)\n \n \n+def check_before_upload():\n+    \"\"\"\n+    Checks for the pod that downloaded objects from Swift for uploading results to Swift.\n+    Other pods should exit. \n+    \"\"\"\n+    \n+    if os.path.exists('/cache/.download-pod'):","path":"openshift/pman-swift-publisher/put_data.py","position":19,"original_position":19,"commit_id":"43d8ea17a1c997672da955be30be37e8d7820332","original_commit_id":"43d8ea17a1c997672da955be30be37e8d7820332","user":{"login":"ravisantoshgudimetla","id":11657829,"node_id":"MDQ6VXNlcjExNjU3ODI5","avatar_url":"https://avatars3.githubusercontent.com/u/11657829?v=4","gravatar_id":"","url":"https://api.github.com/users/ravisantoshgudimetla","html_url":"https://github.com/ravisantoshgudimetla","followers_url":"https://api.github.com/users/ravisantoshgudimetla/followers","following_url":"https://api.github.com/users/ravisantoshgudimetla/following{/other_user}","gists_url":"https://api.github.com/users/ravisantoshgudimetla/gists{/gist_id}","starred_url":"https://api.github.com/users/ravisantoshgudimetla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravisantoshgudimetla/subscriptions","organizations_url":"https://api.github.com/users/ravisantoshgudimetla/orgs","repos_url":"https://api.github.com/users/ravisantoshgudimetla/repos","events_url":"https://api.github.com/users/ravisantoshgudimetla/events{/privacy}","received_events_url":"https://api.github.com/users/ravisantoshgudimetla/received_events","type":"User","site_admin":false},"body":"Same as previous comment.","created_at":"2018-07-19T01:38:17Z","updated_at":"2018-07-19T01:38:17Z","html_url":"https://github.com/FNNDSC/pman/pull/72#discussion_r203580318","pull_request_url":"https://api.github.com/repos/FNNDSC/pman/pulls/72","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/FNNDSC/pman/pulls/comments/203580318"},"html":{"href":"https://github.com/FNNDSC/pman/pull/72#discussion_r203580318"},"pull_request":{"href":"https://api.github.com/repos/FNNDSC/pman/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/FNNDSC/pman/pulls/72","id":182695378,"node_id":"MDExOlB1bGxSZXF1ZXN0MTgyNjk1Mzc4","html_url":"https://github.com/FNNDSC/pman/pull/72","diff_url":"https://github.com/FNNDSC/pman/pull/72.diff","patch_url":"https://github.com/FNNDSC/pman/pull/72.patch","issue_url":"https://api.github.com/repos/FNNDSC/pman/issues/72","number":72,"state":"open","locked":false,"title":"single worker published file to swift","user":{"login":"husky-parul","id":24639524,"node_id":"MDQ6VXNlcjI0NjM5NTI0","avatar_url":"https://avatars0.githubusercontent.com/u/24639524?v=4","gravatar_id":"","url":"https://api.github.com/users/husky-parul","html_url":"https://github.com/husky-parul","followers_url":"https://api.github.com/users/husky-parul/followers","following_url":"https://api.github.com/users/husky-parul/following{/other_user}","gists_url":"https://api.github.com/users/husky-parul/gists{/gist_id}","starred_url":"https://api.github.com/users/husky-parul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/husky-parul/subscriptions","organizations_url":"https://api.github.com/users/husky-parul/orgs","repos_url":"https://api.github.com/users/husky-parul/repos","events_url":"https://api.github.com/users/husky-parul/events{/privacy}","received_events_url":"https://api.github.com/users/husky-parul/received_events","type":"User","site_admin":false},"body":"1. lockfile is deprecated but fastener was giving lock to all the workers. So, reverted to use lockfile again. Need to work on this.\r\n`fasteners.InterProcessLock('/tmp/tmp_lock_file')`\r\n\r\n2. At times the workers terminates with below errors but the status stays \"complete\". Under this circumstance when all workers reached complete status no new workers gets created. Result is not published to swift in this scenario. Is this expected behavior?\r\n\r\nError 1: while watching workers\r\n```\r\n('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))\r\n```\r\n\r\nError 2: while connecting to swift\r\n```\r\nUnable to establish connection to https://kaizen.massopen.cloud:5000/v3/auth/tokens: HTTPSConnectionPool(host='kaizen.massopen.cloud', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fefaf791ef0>: Failed to establish a new connection: [Errno 110] Connection timed out',))\r\n```\r\n","created_at":"2018-04-19T08:03:31Z","updated_at":"2018-07-19T01:38:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8966a6f89058c15b1dfee4994e78a64e8447bdb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FNNDSC/pman/pulls/72/commits","review_comments_url":"https://api.github.com/repos/FNNDSC/pman/pulls/72/comments","review_comment_url":"https://api.github.com/repos/FNNDSC/pman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FNNDSC/pman/issues/72/comments","statuses_url":"https://api.github.com/repos/FNNDSC/pman/statuses/43d8ea17a1c997672da955be30be37e8d7820332","head":{"label":"husky-parul:master","ref":"master","sha":"43d8ea17a1c997672da955be30be37e8d7820332","user":{"login":"husky-parul","id":24639524,"node_id":"MDQ6VXNlcjI0NjM5NTI0","avatar_url":"https://avatars0.githubusercontent.com/u/24639524?v=4","gravatar_id":"","url":"https://api.github.com/users/husky-parul","html_url":"https://github.com/husky-parul","followers_url":"https://api.github.com/users/husky-parul/followers","following_url":"https://api.github.com/users/husky-parul/following{/other_user}","gists_url":"https://api.github.com/users/husky-parul/gists{/gist_id}","starred_url":"https://api.github.com/users/husky-parul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/husky-parul/subscriptions","organizations_url":"https://api.github.com/users/husky-parul/orgs","repos_url":"https://api.github.com/users/husky-parul/repos","events_url":"https://api.github.com/users/husky-parul/events{/privacy}","received_events_url":"https://api.github.com/users/husky-parul/received_events","type":"User","site_admin":false},"repo":{"id":130170239,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAxNzAyMzk=","name":"pman","full_name":"husky-parul/pman","owner":{"login":"husky-parul","id":24639524,"node_id":"MDQ6VXNlcjI0NjM5NTI0","avatar_url":"https://avatars0.githubusercontent.com/u/24639524?v=4","gravatar_id":"","url":"https://api.github.com/users/husky-parul","html_url":"https://github.com/husky-parul","followers_url":"https://api.github.com/users/husky-parul/followers","following_url":"https://api.github.com/users/husky-parul/following{/other_user}","gists_url":"https://api.github.com/users/husky-parul/gists{/gist_id}","starred_url":"https://api.github.com/users/husky-parul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/husky-parul/subscriptions","organizations_url":"https://api.github.com/users/husky-parul/orgs","repos_url":"https://api.github.com/users/husky-parul/repos","events_url":"https://api.github.com/users/husky-parul/events{/privacy}","received_events_url":"https://api.github.com/users/husky-parul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/husky-parul/pman","description":"A process management system written in python.","fork":true,"url":"https://api.github.com/repos/husky-parul/pman","forks_url":"https://api.github.com/repos/husky-parul/pman/forks","keys_url":"https://api.github.com/repos/husky-parul/pman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/husky-parul/pman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/husky-parul/pman/teams","hooks_url":"https://api.github.com/repos/husky-parul/pman/hooks","issue_events_url":"https://api.github.com/repos/husky-parul/pman/issues/events{/number}","events_url":"https://api.github.com/repos/husky-parul/pman/events","assignees_url":"https://api.github.com/repos/husky-parul/pman/assignees{/user}","branches_url":"https://api.github.com/repos/husky-parul/pman/branches{/branch}","tags_url":"https://api.github.com/repos/husky-parul/pman/tags","blobs_url":"https://api.github.com/repos/husky-parul/pman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/husky-parul/pman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/husky-parul/pman/git/refs{/sha}","trees_url":"https://api.github.com/repos/husky-parul/pman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/husky-parul/pman/statuses/{sha}","languages_url":"https://api.github.com/repos/husky-parul/pman/languages","stargazers_url":"https://api.github.com/repos/husky-parul/pman/stargazers","contributors_url":"https://api.github.com/repos/husky-parul/pman/contributors","subscribers_url":"https://api.github.com/repos/husky-parul/pman/subscribers","subscription_url":"https://api.github.com/repos/husky-parul/pman/subscription","commits_url":"https://api.github.com/repos/husky-parul/pman/commits{/sha}","git_commits_url":"https://api.github.com/repos/husky-parul/pman/git/commits{/sha}","comments_url":"https://api.github.com/repos/husky-parul/pman/comments{/number}","issue_comment_url":"https://api.github.com/repos/husky-parul/pman/issues/comments{/number}","contents_url":"https://api.github.com/repos/husky-parul/pman/contents/{+path}","compare_url":"https://api.github.com/repos/husky-parul/pman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/husky-parul/pman/merges","archive_url":"https://api.github.com/repos/husky-parul/pman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/husky-parul/pman/downloads","issues_url":"https://api.github.com/repos/husky-parul/pman/issues{/number}","pulls_url":"https://api.github.com/repos/husky-parul/pman/pulls{/number}","milestones_url":"https://api.github.com/repos/husky-parul/pman/milestones{/number}","notifications_url":"https://api.github.com/repos/husky-parul/pman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/husky-parul/pman/labels{/name}","releases_url":"https://api.github.com/repos/husky-parul/pman/releases{/id}","deployments_url":"https://api.github.com/repos/husky-parul/pman/deployments","created_at":"2018-04-19T06:40:03Z","updated_at":"2018-07-18T19:48:20Z","pushed_at":"2018-07-18T19:48:18Z","git_url":"git://github.com/husky-parul/pman.git","ssh_url":"git@github.com:husky-parul/pman.git","clone_url":"https://github.com/husky-parul/pman.git","svn_url":"https://github.com/husky-parul/pman","homepage":null,"size":642,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FNNDSC:master","ref":"master","sha":"36c3c671ee4933f36ca1d47c36561d23a5817285","user":{"login":"FNNDSC","id":1093496,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTM0OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1093496?v=4","gravatar_id":"","url":"https://api.github.com/users/FNNDSC","html_url":"https://github.com/FNNDSC","followers_url":"https://api.github.com/users/FNNDSC/followers","following_url":"https://api.github.com/users/FNNDSC/following{/other_user}","gists_url":"https://api.github.com/users/FNNDSC/gists{/gist_id}","starred_url":"https://api.github.com/users/FNNDSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FNNDSC/subscriptions","organizations_url":"https://api.github.com/users/FNNDSC/orgs","repos_url":"https://api.github.com/users/FNNDSC/repos","events_url":"https://api.github.com/users/FNNDSC/events{/privacy}","received_events_url":"https://api.github.com/users/FNNDSC/received_events","type":"Organization","site_admin":false},"repo":{"id":61242281,"node_id":"MDEwOlJlcG9zaXRvcnk2MTI0MjI4MQ==","name":"pman","full_name":"FNNDSC/pman","owner":{"login":"FNNDSC","id":1093496,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTM0OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1093496?v=4","gravatar_id":"","url":"https://api.github.com/users/FNNDSC","html_url":"https://github.com/FNNDSC","followers_url":"https://api.github.com/users/FNNDSC/followers","following_url":"https://api.github.com/users/FNNDSC/following{/other_user}","gists_url":"https://api.github.com/users/FNNDSC/gists{/gist_id}","starred_url":"https://api.github.com/users/FNNDSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FNNDSC/subscriptions","organizations_url":"https://api.github.com/users/FNNDSC/orgs","repos_url":"https://api.github.com/users/FNNDSC/repos","events_url":"https://api.github.com/users/FNNDSC/events{/privacy}","received_events_url":"https://api.github.com/users/FNNDSC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FNNDSC/pman","description":"A process management system written in python.","fork":false,"url":"https://api.github.com/repos/FNNDSC/pman","forks_url":"https://api.github.com/repos/FNNDSC/pman/forks","keys_url":"https://api.github.com/repos/FNNDSC/pman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FNNDSC/pman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FNNDSC/pman/teams","hooks_url":"https://api.github.com/repos/FNNDSC/pman/hooks","issue_events_url":"https://api.github.com/repos/FNNDSC/pman/issues/events{/number}","events_url":"https://api.github.com/repos/FNNDSC/pman/events","assignees_url":"https://api.github.com/repos/FNNDSC/pman/assignees{/user}","branches_url":"https://api.github.com/repos/FNNDSC/pman/branches{/branch}","tags_url":"https://api.github.com/repos/FNNDSC/pman/tags","blobs_url":"https://api.github.com/repos/FNNDSC/pman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FNNDSC/pman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FNNDSC/pman/git/refs{/sha}","trees_url":"https://api.github.com/repos/FNNDSC/pman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FNNDSC/pman/statuses/{sha}","languages_url":"https://api.github.com/repos/FNNDSC/pman/languages","stargazers_url":"https://api.github.com/repos/FNNDSC/pman/stargazers","contributors_url":"https://api.github.com/repos/FNNDSC/pman/contributors","subscribers_url":"https://api.github.com/repos/FNNDSC/pman/subscribers","subscription_url":"https://api.github.com/repos/FNNDSC/pman/subscription","commits_url":"https://api.github.com/repos/FNNDSC/pman/commits{/sha}","git_commits_url":"https://api.github.com/repos/FNNDSC/pman/git/commits{/sha}","comments_url":"https://api.github.com/repos/FNNDSC/pman/comments{/number}","issue_comment_url":"https://api.github.com/repos/FNNDSC/pman/issues/comments{/number}","contents_url":"https://api.github.com/repos/FNNDSC/pman/contents/{+path}","compare_url":"https://api.github.com/repos/FNNDSC/pman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FNNDSC/pman/merges","archive_url":"https://api.github.com/repos/FNNDSC/pman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FNNDSC/pman/downloads","issues_url":"https://api.github.com/repos/FNNDSC/pman/issues{/number}","pulls_url":"https://api.github.com/repos/FNNDSC/pman/pulls{/number}","milestones_url":"https://api.github.com/repos/FNNDSC/pman/milestones{/number}","notifications_url":"https://api.github.com/repos/FNNDSC/pman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FNNDSC/pman/labels{/name}","releases_url":"https://api.github.com/repos/FNNDSC/pman/releases{/id}","deployments_url":"https://api.github.com/repos/FNNDSC/pman/deployments","created_at":"2016-06-15T21:30:56Z","updated_at":"2018-07-09T19:28:42Z","pushed_at":"2018-07-18T19:48:20Z","git_url":"git://github.com/FNNDSC/pman.git","ssh_url":"git@github.com:FNNDSC/pman.git","clone_url":"https://github.com/FNNDSC/pman.git","svn_url":"https://github.com/FNNDSC/pman","homepage":null,"size":636,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":13,"open_issues":15,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FNNDSC/pman/pulls/72"},"html":{"href":"https://github.com/FNNDSC/pman/pull/72"},"issue":{"href":"https://api.github.com/repos/FNNDSC/pman/issues/72"},"comments":{"href":"https://api.github.com/repos/FNNDSC/pman/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/FNNDSC/pman/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/FNNDSC/pman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FNNDSC/pman/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/FNNDSC/pman/statuses/43d8ea17a1c997672da955be30be37e8d7820332"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ravisantoshgudimetla"}}