{"action":"created","comment":{"url":"https://api.github.com/repos/apache/cordova-medic/pulls/comments/52387149","id":52387149,"diff_hunk":"@@ -372,13 +372,13 @@ function main() {\n         //      timeout needs to be in milliseconds, but it's\n         //      given in seconds, so we multiply by 1000\n         testwait.init(couchdbURI);\n-        testwait.waitTestsCompleted(buildId, timeout * 1000).then(\n+        testwait.waitTestsCompleted(buildId, timeout * 1000, false).then(\n             function onFulfilled(value) {\n-                util.medicLog(\"got test results\");\n+                util.medicLog(\"Successfully found test results\");\n                 process.exit(0);\n             },\n             function onRejected(error) {\n-                console.error(\"didn't get test results: \" + error);\n+                console.error(\"Could not find test results: \" + error);","path":"medic/medic-run.js","position":22,"original_position":22,"commit_id":"dcc5054825555ba20f6b34da6997be3a1155b0d7","original_commit_id":"dcc5054825555ba20f6b34da6997be3a1155b0d7","user":{"login":"nikhilkh","id":2417321,"avatar_url":"https://avatars.githubusercontent.com/u/2417321?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilkh","html_url":"https://github.com/nikhilkh","followers_url":"https://api.github.com/users/nikhilkh/followers","following_url":"https://api.github.com/users/nikhilkh/following{/other_user}","gists_url":"https://api.github.com/users/nikhilkh/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilkh/subscriptions","organizations_url":"https://api.github.com/users/nikhilkh/orgs","repos_url":"https://api.github.com/users/nikhilkh/repos","events_url":"https://api.github.com/users/nikhilkh/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilkh/received_events","type":"User","site_admin":false},"body":"It will be great to suggest that a failure indicates a crashed app. Checking platform specific logs for crash reason is a good idea.","created_at":"2016-02-09T22:45:04Z","updated_at":"2016-02-09T22:45:04Z","html_url":"https://github.com/apache/cordova-medic/pull/76#discussion_r52387149","pull_request_url":"https://api.github.com/repos/apache/cordova-medic/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/comments/52387149"},"html":{"href":"https://github.com/apache/cordova-medic/pull/76#discussion_r52387149"},"pull_request":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/apache/cordova-medic/pulls/76","id":58816669,"html_url":"https://github.com/apache/cordova-medic/pull/76","diff_url":"https://github.com/apache/cordova-medic/pull/76.diff","patch_url":"https://github.com/apache/cordova-medic/pull/76.patch","issue_url":"https://api.github.com/repos/apache/cordova-medic/issues/76","number":76,"state":"open","locked":false,"title":"CB-10433: Removing the ETIMEDOUT errors in medic-run","user":{"login":"riknoll","id":13754588,"avatar_url":"https://avatars.githubusercontent.com/u/13754588?v=3","gravatar_id":"","url":"https://api.github.com/users/riknoll","html_url":"https://github.com/riknoll","followers_url":"https://api.github.com/users/riknoll/followers","following_url":"https://api.github.com/users/riknoll/following{/other_user}","gists_url":"https://api.github.com/users/riknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/riknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riknoll/subscriptions","organizations_url":"https://api.github.com/users/riknoll/orgs","repos_url":"https://api.github.com/users/riknoll/repos","events_url":"https://api.github.com/users/riknoll/events{/privacy}","received_events_url":"https://api.github.com/users/riknoll/received_events","type":"User","site_admin":false},"body":"Occasionally, requests to couchdb fail for mysterious reasons when medic-run does its polling for mobilespec results. These were being reported a lot as the cause of CI issues, but in fact they are not. Only a few requests fail out of multiple poll attempts and sometimes these messages show up in successful runs. This removes the annoying ETIMEDOUT messages and replaces them with brief stats at the end of the polling.\r\n\r\n@dblotsky @nikhilkh @rakatyal please review.","created_at":"2016-02-09T22:08:54Z","updated_at":"2016-02-09T22:45:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"31b233353771536caac59118cb073c55f55ee8af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/cordova-medic/pulls/76/commits","review_comments_url":"https://api.github.com/repos/apache/cordova-medic/pulls/76/comments","review_comment_url":"https://api.github.com/repos/apache/cordova-medic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/cordova-medic/issues/76/comments","statuses_url":"https://api.github.com/repos/apache/cordova-medic/statuses/dcc5054825555ba20f6b34da6997be3a1155b0d7","head":{"label":"MSOpenTech:CB-10433","ref":"CB-10433","sha":"dcc5054825555ba20f6b34da6997be3a1155b0d7","user":{"login":"MSOpenTech","id":1638184,"avatar_url":"https://avatars.githubusercontent.com/u/1638184?v=3","gravatar_id":"","url":"https://api.github.com/users/MSOpenTech","html_url":"https://github.com/MSOpenTech","followers_url":"https://api.github.com/users/MSOpenTech/followers","following_url":"https://api.github.com/users/MSOpenTech/following{/other_user}","gists_url":"https://api.github.com/users/MSOpenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/MSOpenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSOpenTech/subscriptions","organizations_url":"https://api.github.com/users/MSOpenTech/orgs","repos_url":"https://api.github.com/users/MSOpenTech/repos","events_url":"https://api.github.com/users/MSOpenTech/events{/privacy}","received_events_url":"https://api.github.com/users/MSOpenTech/received_events","type":"Organization","site_admin":false},"repo":{"id":20414076,"name":"cordova-medic","full_name":"MSOpenTech/cordova-medic","owner":{"login":"MSOpenTech","id":1638184,"avatar_url":"https://avatars.githubusercontent.com/u/1638184?v=3","gravatar_id":"","url":"https://api.github.com/users/MSOpenTech","html_url":"https://github.com/MSOpenTech","followers_url":"https://api.github.com/users/MSOpenTech/followers","following_url":"https://api.github.com/users/MSOpenTech/following{/other_user}","gists_url":"https://api.github.com/users/MSOpenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/MSOpenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSOpenTech/subscriptions","organizations_url":"https://api.github.com/users/MSOpenTech/orgs","repos_url":"https://api.github.com/users/MSOpenTech/repos","events_url":"https://api.github.com/users/MSOpenTech/events{/privacy}","received_events_url":"https://api.github.com/users/MSOpenTech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MSOpenTech/cordova-medic","description":"Mirror of Apache Cordova Medic","fork":true,"url":"https://api.github.com/repos/MSOpenTech/cordova-medic","forks_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/forks","keys_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/teams","hooks_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/hooks","issue_events_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/issues/events{/number}","events_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/events","assignees_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/assignees{/user}","branches_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/branches{/branch}","tags_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/tags","blobs_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/refs{/sha}","trees_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/statuses/{sha}","languages_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/languages","stargazers_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/stargazers","contributors_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/contributors","subscribers_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/subscribers","subscription_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/subscription","commits_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/commits{/sha}","git_commits_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/git/commits{/sha}","comments_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/comments{/number}","issue_comment_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/issues/comments{/number}","contents_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/contents/{+path}","compare_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/merges","archive_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/downloads","issues_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/issues{/number}","pulls_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/pulls{/number}","milestones_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/milestones{/number}","notifications_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/labels{/name}","releases_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/releases{/id}","deployments_url":"https://api.github.com/repos/MSOpenTech/cordova-medic/deployments","created_at":"2014-06-02T18:06:09Z","updated_at":"2015-05-08T18:22:45Z","pushed_at":"2016-02-09T22:02:30Z","git_url":"git://github.com/MSOpenTech/cordova-medic.git","ssh_url":"git@github.com:MSOpenTech/cordova-medic.git","clone_url":"https://github.com/MSOpenTech/cordova-medic.git","svn_url":"https://github.com/MSOpenTech/cordova-medic","homepage":null,"size":946,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"950989b3fc3dba41fc812c9f3fac444f0c7b138b","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":13641480,"name":"cordova-medic","full_name":"apache/cordova-medic","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cordova-medic","description":"Mirror of Apache Cordova Medic","fork":false,"url":"https://api.github.com/repos/apache/cordova-medic","forks_url":"https://api.github.com/repos/apache/cordova-medic/forks","keys_url":"https://api.github.com/repos/apache/cordova-medic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cordova-medic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cordova-medic/teams","hooks_url":"https://api.github.com/repos/apache/cordova-medic/hooks","issue_events_url":"https://api.github.com/repos/apache/cordova-medic/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cordova-medic/events","assignees_url":"https://api.github.com/repos/apache/cordova-medic/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cordova-medic/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cordova-medic/tags","blobs_url":"https://api.github.com/repos/apache/cordova-medic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cordova-medic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cordova-medic/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cordova-medic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cordova-medic/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cordova-medic/languages","stargazers_url":"https://api.github.com/repos/apache/cordova-medic/stargazers","contributors_url":"https://api.github.com/repos/apache/cordova-medic/contributors","subscribers_url":"https://api.github.com/repos/apache/cordova-medic/subscribers","subscription_url":"https://api.github.com/repos/apache/cordova-medic/subscription","commits_url":"https://api.github.com/repos/apache/cordova-medic/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cordova-medic/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cordova-medic/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cordova-medic/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cordova-medic/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cordova-medic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cordova-medic/merges","archive_url":"https://api.github.com/repos/apache/cordova-medic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cordova-medic/downloads","issues_url":"https://api.github.com/repos/apache/cordova-medic/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cordova-medic/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cordova-medic/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cordova-medic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cordova-medic/labels{/name}","releases_url":"https://api.github.com/repos/apache/cordova-medic/releases{/id}","deployments_url":"https://api.github.com/repos/apache/cordova-medic/deployments","created_at":"2013-10-17T07:00:47Z","updated_at":"2016-01-21T22:39:32Z","pushed_at":"2016-02-09T22:08:55Z","git_url":"git://github.com/apache/cordova-medic.git","ssh_url":"git@github.com:apache/cordova-medic.git","clone_url":"https://github.com/apache/cordova-medic.git","svn_url":"https://github.com/apache/cordova-medic","homepage":null,"size":938,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":"git://git.apache.org/cordova-medic.git","open_issues_count":3,"forks":28,"open_issues":3,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/76"},"html":{"href":"https://github.com/apache/cordova-medic/pull/76"},"issue":{"href":"https://api.github.com/repos/apache/cordova-medic/issues/76"},"comments":{"href":"https://api.github.com/repos/apache/cordova-medic/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/cordova-medic/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/apache/cordova-medic/statuses/dcc5054825555ba20f6b34da6997be3a1155b0d7"}}}}