{"action":"created","comment":{"url":"https://api.github.com/repos/h2oai/h2o-3/pulls/comments/87629223","pull_request_review_id":8237023,"id":87629223,"diff_hunk":"@@ -400,40 +400,29 @@ def start(self):\n     def scrape_port_from_stdout(self):\n         \"\"\"\n         Look at the stdout log and figure out which port the JVM chose.\n-        Write this to self.port.\n-        This call is blocking.\n-        Exit if this fails.\n \n-        :return none\n-        \"\"\"\n-        retries = 30\n-        while retries > 0:\n-            if self.terminated: return\n-            f = open(self.output_file_name, \"r\")\n-            s = f.readline()\n-            while len(s) > 0:\n-                if self.terminated: return\n-                match_groups = re.search(r\"Listening for HTTP and REST traffic on http.*://(\\S+):(\\d+)\", s)\n-                if match_groups is not None:\n-                    port = match_groups.group(2)\n-                    if port is not None:\n-                        self.port = port\n-                        f.close()\n-                        print(\"H2O Cloud {} Node {} started with output file {}\".format(self.cloud_num,\n-                                                                                        self.node_num,\n-                                                                                        self.output_file_name))\n+        If successful, port number is stored in self.port; otherwise the\n+        program is terminated. This call is blocking, and will wait for\n+        up to 30s for the server to start up.\n+        \"\"\"\n+        regex = re.compile(r\"Open H2O Flow in your web browser: https?://([^:]+):(\\d+)\")\n+        retries_left = 30","path":"scripts/run.py","position":31,"original_position":31,"commit_id":"b48a394ee901c7420094307e00d5567685e372e3","original_commit_id":"b48a394ee901c7420094307e00d5567685e372e3","user":{"login":"mmalohlava","id":597582,"avatar_url":"https://avatars.githubusercontent.com/u/597582?v=3","gravatar_id":"","url":"https://api.github.com/users/mmalohlava","html_url":"https://github.com/mmalohlava","followers_url":"https://api.github.com/users/mmalohlava/followers","following_url":"https://api.github.com/users/mmalohlava/following{/other_user}","gists_url":"https://api.github.com/users/mmalohlava/gists{/gist_id}","starred_url":"https://api.github.com/users/mmalohlava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmalohlava/subscriptions","organizations_url":"https://api.github.com/users/mmalohlava/orgs","repos_url":"https://api.github.com/users/mmalohlava/repos","events_url":"https://api.github.com/users/mmalohlava/events{/privacy}","received_events_url":"https://api.github.com/users/mmalohlava/received_events","type":"User","site_admin":false},"body":"again, it would be nice to control that when we have possibility to specify configuration file","created_at":"2016-11-11T17:53:18Z","updated_at":"2016-11-11T17:53:18Z","html_url":"https://github.com/h2oai/h2o-3/pull/504#discussion_r87629223","pull_request_url":"https://api.github.com/repos/h2oai/h2o-3/pulls/504","_links":{"self":{"href":"https://api.github.com/repos/h2oai/h2o-3/pulls/comments/87629223"},"html":{"href":"https://github.com/h2oai/h2o-3/pull/504#discussion_r87629223"},"pull_request":{"href":"https://api.github.com/repos/h2oai/h2o-3/pulls/504"}}},"pull_request":{"url":"https://api.github.com/repos/h2oai/h2o-3/pulls/504","id":93294050,"html_url":"https://github.com/h2oai/h2o-3/pull/504","diff_url":"https://github.com/h2oai/h2o-3/pull/504.diff","patch_url":"https://github.com/h2oai/h2o-3/pull/504.patch","issue_url":"https://api.github.com/repos/h2oai/h2o-3/issues/504","number":504,"state":"open","locked":false,"title":"Fix several bugs in the run.py test harness that was causing freezing…","user":{"login":"st-pasha","id":4231472,"avatar_url":"https://avatars.githubusercontent.com/u/4231472?v=3","gravatar_id":"","url":"https://api.github.com/users/st-pasha","html_url":"https://github.com/st-pasha","followers_url":"https://api.github.com/users/st-pasha/followers","following_url":"https://api.github.com/users/st-pasha/following{/other_user}","gists_url":"https://api.github.com/users/st-pasha/gists{/gist_id}","starred_url":"https://api.github.com/users/st-pasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st-pasha/subscriptions","organizations_url":"https://api.github.com/users/st-pasha/orgs","repos_url":"https://api.github.com/users/st-pasha/repos","events_url":"https://api.github.com/users/st-pasha/events{/privacy}","received_events_url":"https://api.github.com/users/st-pasha/received_events","type":"User","site_admin":false},"body":"… / task timeouts\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/h2oai/h2o-3/504)\n<!-- Reviewable:end -->\n","created_at":"2016-11-11T08:10:17Z","updated_at":"2016-11-11T17:54:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee04abfab1172c7356fd2857235cbb5ccf6601ef","assignee":{"login":"mmalohlava","id":597582,"avatar_url":"https://avatars.githubusercontent.com/u/597582?v=3","gravatar_id":"","url":"https://api.github.com/users/mmalohlava","html_url":"https://github.com/mmalohlava","followers_url":"https://api.github.com/users/mmalohlava/followers","following_url":"https://api.github.com/users/mmalohlava/following{/other_user}","gists_url":"https://api.github.com/users/mmalohlava/gists{/gist_id}","starred_url":"https://api.github.com/users/mmalohlava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmalohlava/subscriptions","organizations_url":"https://api.github.com/users/mmalohlava/orgs","repos_url":"https://api.github.com/users/mmalohlava/repos","events_url":"https://api.github.com/users/mmalohlava/events{/privacy}","received_events_url":"https://api.github.com/users/mmalohlava/received_events","type":"User","site_admin":false},"assignees":[{"login":"mmalohlava","id":597582,"avatar_url":"https://avatars.githubusercontent.com/u/597582?v=3","gravatar_id":"","url":"https://api.github.com/users/mmalohlava","html_url":"https://github.com/mmalohlava","followers_url":"https://api.github.com/users/mmalohlava/followers","following_url":"https://api.github.com/users/mmalohlava/following{/other_user}","gists_url":"https://api.github.com/users/mmalohlava/gists{/gist_id}","starred_url":"https://api.github.com/users/mmalohlava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmalohlava/subscriptions","organizations_url":"https://api.github.com/users/mmalohlava/orgs","repos_url":"https://api.github.com/users/mmalohlava/repos","events_url":"https://api.github.com/users/mmalohlava/events{/privacy}","received_events_url":"https://api.github.com/users/mmalohlava/received_events","type":"User","site_admin":false},{"login":"arnocandel","id":6147661,"avatar_url":"https://avatars.githubusercontent.com/u/6147661?v=3","gravatar_id":"","url":"https://api.github.com/users/arnocandel","html_url":"https://github.com/arnocandel","followers_url":"https://api.github.com/users/arnocandel/followers","following_url":"https://api.github.com/users/arnocandel/following{/other_user}","gists_url":"https://api.github.com/users/arnocandel/gists{/gist_id}","starred_url":"https://api.github.com/users/arnocandel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnocandel/subscriptions","organizations_url":"https://api.github.com/users/arnocandel/orgs","repos_url":"https://api.github.com/users/arnocandel/repos","events_url":"https://api.github.com/users/arnocandel/events{/privacy}","received_events_url":"https://api.github.com/users/arnocandel/received_events","type":"User","site_admin":false},{"login":"navdeep-G","id":10055668,"avatar_url":"https://avatars.githubusercontent.com/u/10055668?v=3","gravatar_id":"","url":"https://api.github.com/users/navdeep-G","html_url":"https://github.com/navdeep-G","followers_url":"https://api.github.com/users/navdeep-G/followers","following_url":"https://api.github.com/users/navdeep-G/following{/other_user}","gists_url":"https://api.github.com/users/navdeep-G/gists{/gist_id}","starred_url":"https://api.github.com/users/navdeep-G/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navdeep-G/subscriptions","organizations_url":"https://api.github.com/users/navdeep-G/orgs","repos_url":"https://api.github.com/users/navdeep-G/repos","events_url":"https://api.github.com/users/navdeep-G/events{/privacy}","received_events_url":"https://api.github.com/users/navdeep-G/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/h2oai/h2o-3/pulls/504/commits","review_comments_url":"https://api.github.com/repos/h2oai/h2o-3/pulls/504/comments","review_comment_url":"https://api.github.com/repos/h2oai/h2o-3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/h2oai/h2o-3/issues/504/comments","statuses_url":"https://api.github.com/repos/h2oai/h2o-3/statuses/b48a394ee901c7420094307e00d5567685e372e3","head":{"label":"h2oai:pasha_runpy_and_co","ref":"pasha_runpy_and_co","sha":"b48a394ee901c7420094307e00d5567685e372e3","user":{"login":"h2oai","id":1402695,"avatar_url":"https://avatars.githubusercontent.com/u/1402695?v=3","gravatar_id":"","url":"https://api.github.com/users/h2oai","html_url":"https://github.com/h2oai","followers_url":"https://api.github.com/users/h2oai/followers","following_url":"https://api.github.com/users/h2oai/following{/other_user}","gists_url":"https://api.github.com/users/h2oai/gists{/gist_id}","starred_url":"https://api.github.com/users/h2oai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h2oai/subscriptions","organizations_url":"https://api.github.com/users/h2oai/orgs","repos_url":"https://api.github.com/users/h2oai/repos","events_url":"https://api.github.com/users/h2oai/events{/privacy}","received_events_url":"https://api.github.com/users/h2oai/received_events","type":"Organization","site_admin":false},"repo":{"id":17371412,"name":"h2o-3","full_name":"h2oai/h2o-3","owner":{"login":"h2oai","id":1402695,"avatar_url":"https://avatars.githubusercontent.com/u/1402695?v=3","gravatar_id":"","url":"https://api.github.com/users/h2oai","html_url":"https://github.com/h2oai","followers_url":"https://api.github.com/users/h2oai/followers","following_url":"https://api.github.com/users/h2oai/following{/other_user}","gists_url":"https://api.github.com/users/h2oai/gists{/gist_id}","starred_url":"https://api.github.com/users/h2oai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h2oai/subscriptions","organizations_url":"https://api.github.com/users/h2oai/orgs","repos_url":"https://api.github.com/users/h2oai/repos","events_url":"https://api.github.com/users/h2oai/events{/privacy}","received_events_url":"https://api.github.com/users/h2oai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/h2oai/h2o-3","description":"Open Source Fast Scalable Machine Learning API For Smarter Applications (Deep Learning, Gradient Boosting, Random Forest, Generalized Linear Modeling (Logistic Regression, Elastic Net), K-Means, PCA...)","fork":false,"url":"https://api.github.com/repos/h2oai/h2o-3","forks_url":"https://api.github.com/repos/h2oai/h2o-3/forks","keys_url":"https://api.github.com/repos/h2oai/h2o-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h2oai/h2o-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h2oai/h2o-3/teams","hooks_url":"https://api.github.com/repos/h2oai/h2o-3/hooks","issue_events_url":"https://api.github.com/repos/h2oai/h2o-3/issues/events{/number}","events_url":"https://api.github.com/repos/h2oai/h2o-3/events","assignees_url":"https://api.github.com/repos/h2oai/h2o-3/assignees{/user}","branches_url":"https://api.github.com/repos/h2oai/h2o-3/branches{/branch}","tags_url":"https://api.github.com/repos/h2oai/h2o-3/tags","blobs_url":"https://api.github.com/repos/h2oai/h2o-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h2oai/h2o-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h2oai/h2o-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/h2oai/h2o-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h2oai/h2o-3/statuses/{sha}","languages_url":"https://api.github.com/repos/h2oai/h2o-3/languages","stargazers_url":"https://api.github.com/repos/h2oai/h2o-3/stargazers","contributors_url":"https://api.github.com/repos/h2oai/h2o-3/contributors","subscribers_url":"https://api.github.com/repos/h2oai/h2o-3/subscribers","subscription_url":"https://api.github.com/repos/h2oai/h2o-3/subscription","commits_url":"https://api.github.com/repos/h2oai/h2o-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/h2oai/h2o-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/h2oai/h2o-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/h2oai/h2o-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/h2oai/h2o-3/contents/{+path}","compare_url":"https://api.github.com/repos/h2oai/h2o-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h2oai/h2o-3/merges","archive_url":"https://api.github.com/repos/h2oai/h2o-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h2oai/h2o-3/downloads","issues_url":"https://api.github.com/repos/h2oai/h2o-3/issues{/number}","pulls_url":"https://api.github.com/repos/h2oai/h2o-3/pulls{/number}","milestones_url":"https://api.github.com/repos/h2oai/h2o-3/milestones{/number}","notifications_url":"https://api.github.com/repos/h2oai/h2o-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h2oai/h2o-3/labels{/name}","releases_url":"https://api.github.com/repos/h2oai/h2o-3/releases{/id}","deployments_url":"https://api.github.com/repos/h2oai/h2o-3/deployments","created_at":"2014-03-03T16:08:07Z","updated_at":"2016-11-11T16:10:55Z","pushed_at":"2016-11-11T17:44:37Z","git_url":"git://github.com/h2oai/h2o-3.git","ssh_url":"git@github.com:h2oai/h2o-3.git","clone_url":"https://github.com/h2oai/h2o-3.git","svn_url":"https://github.com/h2oai/h2o-3","homepage":"http://h2o.ai","size":384648,"stargazers_count":1503,"watchers_count":1503,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":662,"mirror_url":null,"open_issues_count":29,"forks":662,"open_issues":29,"watchers":1503,"default_branch":"master"}},"base":{"label":"h2oai:master","ref":"master","sha":"dcd4310e7b8daaf6d6586a548f4d75649e92f104","user":{"login":"h2oai","id":1402695,"avatar_url":"https://avatars.githubusercontent.com/u/1402695?v=3","gravatar_id":"","url":"https://api.github.com/users/h2oai","html_url":"https://github.com/h2oai","followers_url":"https://api.github.com/users/h2oai/followers","following_url":"https://api.github.com/users/h2oai/following{/other_user}","gists_url":"https://api.github.com/users/h2oai/gists{/gist_id}","starred_url":"https://api.github.com/users/h2oai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h2oai/subscriptions","organizations_url":"https://api.github.com/users/h2oai/orgs","repos_url":"https://api.github.com/users/h2oai/repos","events_url":"https://api.github.com/users/h2oai/events{/privacy}","received_events_url":"https://api.github.com/users/h2oai/received_events","type":"Organization","site_admin":false},"repo":{"id":17371412,"name":"h2o-3","full_name":"h2oai/h2o-3","owner":{"login":"h2oai","id":1402695,"avatar_url":"https://avatars.githubusercontent.com/u/1402695?v=3","gravatar_id":"","url":"https://api.github.com/users/h2oai","html_url":"https://github.com/h2oai","followers_url":"https://api.github.com/users/h2oai/followers","following_url":"https://api.github.com/users/h2oai/following{/other_user}","gists_url":"https://api.github.com/users/h2oai/gists{/gist_id}","starred_url":"https://api.github.com/users/h2oai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h2oai/subscriptions","organizations_url":"https://api.github.com/users/h2oai/orgs","repos_url":"https://api.github.com/users/h2oai/repos","events_url":"https://api.github.com/users/h2oai/events{/privacy}","received_events_url":"https://api.github.com/users/h2oai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/h2oai/h2o-3","description":"Open Source Fast Scalable Machine Learning API For Smarter Applications (Deep Learning, Gradient Boosting, Random Forest, Generalized Linear Modeling (Logistic Regression, Elastic Net), K-Means, PCA...)","fork":false,"url":"https://api.github.com/repos/h2oai/h2o-3","forks_url":"https://api.github.com/repos/h2oai/h2o-3/forks","keys_url":"https://api.github.com/repos/h2oai/h2o-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h2oai/h2o-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h2oai/h2o-3/teams","hooks_url":"https://api.github.com/repos/h2oai/h2o-3/hooks","issue_events_url":"https://api.github.com/repos/h2oai/h2o-3/issues/events{/number}","events_url":"https://api.github.com/repos/h2oai/h2o-3/events","assignees_url":"https://api.github.com/repos/h2oai/h2o-3/assignees{/user}","branches_url":"https://api.github.com/repos/h2oai/h2o-3/branches{/branch}","tags_url":"https://api.github.com/repos/h2oai/h2o-3/tags","blobs_url":"https://api.github.com/repos/h2oai/h2o-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h2oai/h2o-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h2oai/h2o-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/h2oai/h2o-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h2oai/h2o-3/statuses/{sha}","languages_url":"https://api.github.com/repos/h2oai/h2o-3/languages","stargazers_url":"https://api.github.com/repos/h2oai/h2o-3/stargazers","contributors_url":"https://api.github.com/repos/h2oai/h2o-3/contributors","subscribers_url":"https://api.github.com/repos/h2oai/h2o-3/subscribers","subscription_url":"https://api.github.com/repos/h2oai/h2o-3/subscription","commits_url":"https://api.github.com/repos/h2oai/h2o-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/h2oai/h2o-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/h2oai/h2o-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/h2oai/h2o-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/h2oai/h2o-3/contents/{+path}","compare_url":"https://api.github.com/repos/h2oai/h2o-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h2oai/h2o-3/merges","archive_url":"https://api.github.com/repos/h2oai/h2o-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h2oai/h2o-3/downloads","issues_url":"https://api.github.com/repos/h2oai/h2o-3/issues{/number}","pulls_url":"https://api.github.com/repos/h2oai/h2o-3/pulls{/number}","milestones_url":"https://api.github.com/repos/h2oai/h2o-3/milestones{/number}","notifications_url":"https://api.github.com/repos/h2oai/h2o-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h2oai/h2o-3/labels{/name}","releases_url":"https://api.github.com/repos/h2oai/h2o-3/releases{/id}","deployments_url":"https://api.github.com/repos/h2oai/h2o-3/deployments","created_at":"2014-03-03T16:08:07Z","updated_at":"2016-11-11T16:10:55Z","pushed_at":"2016-11-11T17:44:37Z","git_url":"git://github.com/h2oai/h2o-3.git","ssh_url":"git@github.com:h2oai/h2o-3.git","clone_url":"https://github.com/h2oai/h2o-3.git","svn_url":"https://github.com/h2oai/h2o-3","homepage":"http://h2o.ai","size":384648,"stargazers_count":1503,"watchers_count":1503,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":662,"mirror_url":null,"open_issues_count":29,"forks":662,"open_issues":29,"watchers":1503,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/h2oai/h2o-3/pulls/504"},"html":{"href":"https://github.com/h2oai/h2o-3/pull/504"},"issue":{"href":"https://api.github.com/repos/h2oai/h2o-3/issues/504"},"comments":{"href":"https://api.github.com/repos/h2oai/h2o-3/issues/504/comments"},"review_comments":{"href":"https://api.github.com/repos/h2oai/h2o-3/pulls/504/comments"},"review_comment":{"href":"https://api.github.com/repos/h2oai/h2o-3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/h2oai/h2o-3/pulls/504/commits"},"statuses":{"href":"https://api.github.com/repos/h2oai/h2o-3/statuses/b48a394ee901c7420094307e00d5567685e372e3"}}}}
{"actor":{"display_login":"mmalohlava"}}