{"action":"closed","number":531,"pull_request":{"url":"https://api.github.com/repos/numenta/numenta-apps/pulls/531","id":53918969,"html_url":"https://github.com/numenta/numenta-apps/pull/531","diff_url":"https://github.com/numenta/numenta-apps/pull/531.diff","patch_url":"https://github.com/numenta/numenta-apps/pull/531.patch","issue_url":"https://api.github.com/repos/numenta/numenta-apps/issues/531","number":531,"state":"closed","locked":false,"title":"ENG-84 Fix race condition in taurus update pipeline's server stop/start logic","user":{"login":"vitaly-krugl","id":1441066,"avatar_url":"https://avatars.githubusercontent.com/u/1441066?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-krugl","html_url":"https://github.com/vitaly-krugl","followers_url":"https://api.github.com/users/vitaly-krugl/followers","following_url":"https://api.github.com/users/vitaly-krugl/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-krugl/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-krugl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-krugl/subscriptions","organizations_url":"https://api.github.com/users/vitaly-krugl/orgs","repos_url":"https://api.github.com/users/vitaly-krugl/repos","events_url":"https://api.github.com/users/vitaly-krugl/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-krugl/received_events","type":"User","site_admin":false},"body":"CC @scottpurdy, @oxtopus\r\n\r\nENG-84 Cleaned up server stop/start logic in update-remote-taurus-servers.sh.\r\n\r\nENG-84 Added necessary nta-wait-for-supervisord-stopped to eliminate stop/start race condition.\r\n\r\nENG-84 In nta.utils.tools.supervisord_state.waitForStoppedStateMain, wait only for socket.error to conclude that supervisord is not available in order to eliminate race condition with re-starting logic.\r\nENG-84 Removed unnecessary supervisord shutdown of metric collector before running resource accessibility test, since the server was already shut down at the top of the script.","created_at":"2015-12-17T00:23:37Z","updated_at":"2015-12-17T00:49:43Z","closed_at":"2015-12-17T00:49:43Z","merged_at":"2015-12-17T00:49:43Z","merge_commit_sha":"ddfd4e128f8744af4df24b58a4d310601a505ab4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/numenta/numenta-apps/pulls/531/commits","review_comments_url":"https://api.github.com/repos/numenta/numenta-apps/pulls/531/comments","review_comment_url":"https://api.github.com/repos/numenta/numenta-apps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numenta/numenta-apps/issues/531/comments","statuses_url":"https://api.github.com/repos/numenta/numenta-apps/statuses/12f8491372f9fe553fbdef049317df43e5c9127a","head":{"label":"vitaly-krugl:eng84-supervisord-shutdown-race","ref":"eng84-supervisord-shutdown-race","sha":"12f8491372f9fe553fbdef049317df43e5c9127a","user":{"login":"vitaly-krugl","id":1441066,"avatar_url":"https://avatars.githubusercontent.com/u/1441066?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-krugl","html_url":"https://github.com/vitaly-krugl","followers_url":"https://api.github.com/users/vitaly-krugl/followers","following_url":"https://api.github.com/users/vitaly-krugl/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-krugl/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-krugl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-krugl/subscriptions","organizations_url":"https://api.github.com/users/vitaly-krugl/orgs","repos_url":"https://api.github.com/users/vitaly-krugl/repos","events_url":"https://api.github.com/users/vitaly-krugl/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-krugl/received_events","type":"User","site_admin":false},"repo":{"id":36960229,"name":"numenta-apps","full_name":"vitaly-krugl/numenta-apps","owner":{"login":"vitaly-krugl","id":1441066,"avatar_url":"https://avatars.githubusercontent.com/u/1441066?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-krugl","html_url":"https://github.com/vitaly-krugl","followers_url":"https://api.github.com/users/vitaly-krugl/followers","following_url":"https://api.github.com/users/vitaly-krugl/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-krugl/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-krugl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-krugl/subscriptions","organizations_url":"https://api.github.com/users/vitaly-krugl/orgs","repos_url":"https://api.github.com/users/vitaly-krugl/repos","events_url":"https://api.github.com/users/vitaly-krugl/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-krugl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vitaly-krugl/numenta-apps","description":"HTM based applications and support libraries. Includes Grok for IT Analytics and Grok for Stocks.","fork":true,"url":"https://api.github.com/repos/vitaly-krugl/numenta-apps","forks_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/forks","keys_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/teams","hooks_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/hooks","issue_events_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/issues/events{/number}","events_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/events","assignees_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/assignees{/user}","branches_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/branches{/branch}","tags_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/tags","blobs_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/languages","stargazers_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/stargazers","contributors_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/contributors","subscribers_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/subscribers","subscription_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/subscription","commits_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/contents/{+path}","compare_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/merges","archive_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/downloads","issues_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/issues{/number}","pulls_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/labels{/name}","releases_url":"https://api.github.com/repos/vitaly-krugl/numenta-apps/releases{/id}","created_at":"2015-06-05T23:27:51Z","updated_at":"2015-06-05T23:27:56Z","pushed_at":"2015-12-17T00:46:36Z","git_url":"git://github.com/vitaly-krugl/numenta-apps.git","ssh_url":"git@github.com:vitaly-krugl/numenta-apps.git","clone_url":"https://github.com/vitaly-krugl/numenta-apps.git","svn_url":"https://github.com/vitaly-krugl/numenta-apps","homepage":"http://numenta.com","size":52508,"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":"numenta:master","ref":"master","sha":"7491698ab63aae9847b81cb02773c1004c18838e","user":{"login":"numenta","id":1039191,"avatar_url":"https://avatars.githubusercontent.com/u/1039191?v=3","gravatar_id":"","url":"https://api.github.com/users/numenta","html_url":"https://github.com/numenta","followers_url":"https://api.github.com/users/numenta/followers","following_url":"https://api.github.com/users/numenta/following{/other_user}","gists_url":"https://api.github.com/users/numenta/gists{/gist_id}","starred_url":"https://api.github.com/users/numenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numenta/subscriptions","organizations_url":"https://api.github.com/users/numenta/orgs","repos_url":"https://api.github.com/users/numenta/repos","events_url":"https://api.github.com/users/numenta/events{/privacy}","received_events_url":"https://api.github.com/users/numenta/received_events","type":"Organization","site_admin":false},"repo":{"id":36754402,"name":"numenta-apps","full_name":"numenta/numenta-apps","owner":{"login":"numenta","id":1039191,"avatar_url":"https://avatars.githubusercontent.com/u/1039191?v=3","gravatar_id":"","url":"https://api.github.com/users/numenta","html_url":"https://github.com/numenta","followers_url":"https://api.github.com/users/numenta/followers","following_url":"https://api.github.com/users/numenta/following{/other_user}","gists_url":"https://api.github.com/users/numenta/gists{/gist_id}","starred_url":"https://api.github.com/users/numenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numenta/subscriptions","organizations_url":"https://api.github.com/users/numenta/orgs","repos_url":"https://api.github.com/users/numenta/repos","events_url":"https://api.github.com/users/numenta/events{/privacy}","received_events_url":"https://api.github.com/users/numenta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/numenta/numenta-apps","description":"HTM based applications and support libraries. Includes Grok for IT Analytics and Grok for Stocks (code name \"Taurus\").","fork":false,"url":"https://api.github.com/repos/numenta/numenta-apps","forks_url":"https://api.github.com/repos/numenta/numenta-apps/forks","keys_url":"https://api.github.com/repos/numenta/numenta-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numenta/numenta-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numenta/numenta-apps/teams","hooks_url":"https://api.github.com/repos/numenta/numenta-apps/hooks","issue_events_url":"https://api.github.com/repos/numenta/numenta-apps/issues/events{/number}","events_url":"https://api.github.com/repos/numenta/numenta-apps/events","assignees_url":"https://api.github.com/repos/numenta/numenta-apps/assignees{/user}","branches_url":"https://api.github.com/repos/numenta/numenta-apps/branches{/branch}","tags_url":"https://api.github.com/repos/numenta/numenta-apps/tags","blobs_url":"https://api.github.com/repos/numenta/numenta-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numenta/numenta-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numenta/numenta-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/numenta/numenta-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numenta/numenta-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/numenta/numenta-apps/languages","stargazers_url":"https://api.github.com/repos/numenta/numenta-apps/stargazers","contributors_url":"https://api.github.com/repos/numenta/numenta-apps/contributors","subscribers_url":"https://api.github.com/repos/numenta/numenta-apps/subscribers","subscription_url":"https://api.github.com/repos/numenta/numenta-apps/subscription","commits_url":"https://api.github.com/repos/numenta/numenta-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/numenta/numenta-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/numenta/numenta-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/numenta/numenta-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/numenta/numenta-apps/contents/{+path}","compare_url":"https://api.github.com/repos/numenta/numenta-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numenta/numenta-apps/merges","archive_url":"https://api.github.com/repos/numenta/numenta-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numenta/numenta-apps/downloads","issues_url":"https://api.github.com/repos/numenta/numenta-apps/issues{/number}","pulls_url":"https://api.github.com/repos/numenta/numenta-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/numenta/numenta-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/numenta/numenta-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numenta/numenta-apps/labels{/name}","releases_url":"https://api.github.com/repos/numenta/numenta-apps/releases{/id}","created_at":"2015-06-02T18:49:30Z","updated_at":"2015-12-06T10:55:07Z","pushed_at":"2015-12-17T00:49:43Z","git_url":"git://github.com/numenta/numenta-apps.git","ssh_url":"git@github.com:numenta/numenta-apps.git","clone_url":"https://github.com/numenta/numenta-apps.git","svn_url":"https://github.com/numenta/numenta-apps","homepage":"http://numenta.com","size":52564,"stargazers_count":78,"watchers_count":78,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":4,"forks":46,"open_issues":4,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/531"},"html":{"href":"https://github.com/numenta/numenta-apps/pull/531"},"issue":{"href":"https://api.github.com/repos/numenta/numenta-apps/issues/531"},"comments":{"href":"https://api.github.com/repos/numenta/numenta-apps/issues/531/comments"},"review_comments":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/531/comments"},"review_comment":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/531/commits"},"statuses":{"href":"https://api.github.com/repos/numenta/numenta-apps/statuses/12f8491372f9fe553fbdef049317df43e5c9127a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"vitaly-krugl","id":1441066,"avatar_url":"https://avatars.githubusercontent.com/u/1441066?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-krugl","html_url":"https://github.com/vitaly-krugl","followers_url":"https://api.github.com/users/vitaly-krugl/followers","following_url":"https://api.github.com/users/vitaly-krugl/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-krugl/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-krugl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-krugl/subscriptions","organizations_url":"https://api.github.com/users/vitaly-krugl/orgs","repos_url":"https://api.github.com/users/vitaly-krugl/repos","events_url":"https://api.github.com/users/vitaly-krugl/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-krugl/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"commits":1,"additions":17,"deletions":23,"changed_files":3}}