{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/comments/42155054","id":42155054,"diff_hunk":"@@ -112,7 +116,15 @@ public void restart() {\n         visit(\"restart\");\n         clickButton(\"Yes\");\n \n-        waitFor(driver, not(hasContent(\"Please wait\")), JenkinsController.STARTUP_TIMEOUT);\n+        try {\n+            waitFor(driver, not(hasContent(\"Please wait\")), JenkinsController.STARTUP_TIMEOUT);\n+        }catch(TimeoutException e) {\n+            //Let's try to avoid false negatives or not auto refresh\n+            visit(driver.getCurrentUrl());\n+            //we wait 10 seconds for refresh things.\n+            //breadcrumbBarAnchor is only present when the Jenkins is ready","path":"src/main/java/org/jenkinsci/test/acceptance/po/Jenkins.java","position":29,"original_position":29,"commit_id":"5c5f18315a4875c83f0054a857aac5f24c6bc99f","original_commit_id":"5c5f18315a4875c83f0054a857aac5f24c6bc99f","user":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"body":"And can I assume that is present even when there is no anonymous read access and you have been redirected to the login screen?","created_at":"2015-10-15T17:38:19Z","updated_at":"2015-10-15T17:38:19Z","html_url":"https://github.com/jenkinsci/acceptance-test-harness/pull/45#discussion_r42155054","pull_request_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/comments/42155054"},"html":{"href":"https://github.com/jenkinsci/acceptance-test-harness/pull/45#discussion_r42155054"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/45","id":47777588,"html_url":"https://github.com/jenkinsci/acceptance-test-harness/pull/45","diff_url":"https://github.com/jenkinsci/acceptance-test-harness/pull/45.diff","patch_url":"https://github.com/jenkinsci/acceptance-test-harness/pull/45.patch","issue_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/issues/45","number":45,"state":"open","locked":false,"title":"[FIXED JENKINS-30971] Refresh page after restart failure","user":{"login":"lordofthejars","id":1517153,"avatar_url":"https://avatars.githubusercontent.com/u/1517153?v=3","gravatar_id":"","url":"https://api.github.com/users/lordofthejars","html_url":"https://github.com/lordofthejars","followers_url":"https://api.github.com/users/lordofthejars/followers","following_url":"https://api.github.com/users/lordofthejars/following{/other_user}","gists_url":"https://api.github.com/users/lordofthejars/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofthejars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofthejars/subscriptions","organizations_url":"https://api.github.com/users/lordofthejars/orgs","repos_url":"https://api.github.com/users/lordofthejars/repos","events_url":"https://api.github.com/users/lordofthejars/events{/privacy}","received_events_url":"https://api.github.com/users/lordofthejars/received_events","type":"User","site_admin":false},"body":"[JENKINS-30971](https://issues.jenkins-ci.org/browse/JENKINS-30971)\r\n\r\n@reviewbybees ","created_at":"2015-10-15T12:09:01Z","updated_at":"2015-10-15T17:38:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"542fa91c60b1ea160b130ac4c390384dd68ae0e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/45/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/45/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/issues/45/comments","statuses_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/statuses/5c5f18315a4875c83f0054a857aac5f24c6bc99f","head":{"label":"lordofthejars:master","ref":"master","sha":"5c5f18315a4875c83f0054a857aac5f24c6bc99f","user":{"login":"lordofthejars","id":1517153,"avatar_url":"https://avatars.githubusercontent.com/u/1517153?v=3","gravatar_id":"","url":"https://api.github.com/users/lordofthejars","html_url":"https://github.com/lordofthejars","followers_url":"https://api.github.com/users/lordofthejars/followers","following_url":"https://api.github.com/users/lordofthejars/following{/other_user}","gists_url":"https://api.github.com/users/lordofthejars/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofthejars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofthejars/subscriptions","organizations_url":"https://api.github.com/users/lordofthejars/orgs","repos_url":"https://api.github.com/users/lordofthejars/repos","events_url":"https://api.github.com/users/lordofthejars/events{/privacy}","received_events_url":"https://api.github.com/users/lordofthejars/received_events","type":"User","site_admin":false},"repo":{"id":40872046,"name":"acceptance-test-harness","full_name":"lordofthejars/acceptance-test-harness","owner":{"login":"lordofthejars","id":1517153,"avatar_url":"https://avatars.githubusercontent.com/u/1517153?v=3","gravatar_id":"","url":"https://api.github.com/users/lordofthejars","html_url":"https://github.com/lordofthejars","followers_url":"https://api.github.com/users/lordofthejars/followers","following_url":"https://api.github.com/users/lordofthejars/following{/other_user}","gists_url":"https://api.github.com/users/lordofthejars/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofthejars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofthejars/subscriptions","organizations_url":"https://api.github.com/users/lordofthejars/orgs","repos_url":"https://api.github.com/users/lordofthejars/repos","events_url":"https://api.github.com/users/lordofthejars/events{/privacy}","received_events_url":"https://api.github.com/users/lordofthejars/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lordofthejars/acceptance-test-harness","description":"Attempted port from selenium-tests to Java","fork":true,"url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness","forks_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/forks","keys_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/teams","hooks_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/hooks","issue_events_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/issues/events{/number}","events_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/events","assignees_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/assignees{/user}","branches_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/branches{/branch}","tags_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/tags","blobs_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/git/refs{/sha}","trees_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/statuses/{sha}","languages_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/languages","stargazers_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/stargazers","contributors_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/contributors","subscribers_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/subscribers","subscription_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/subscription","commits_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/commits{/sha}","git_commits_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/git/commits{/sha}","comments_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/comments{/number}","issue_comment_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/issues/comments{/number}","contents_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/contents/{+path}","compare_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/merges","archive_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/downloads","issues_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/issues{/number}","pulls_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/pulls{/number}","milestones_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/milestones{/number}","notifications_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/labels{/name}","releases_url":"https://api.github.com/repos/lordofthejars/acceptance-test-harness/releases{/id}","created_at":"2015-08-17T07:01:50Z","updated_at":"2015-08-17T07:01:51Z","pushed_at":"2015-10-15T17:33:15Z","git_url":"git://github.com/lordofthejars/acceptance-test-harness.git","ssh_url":"git@github.com:lordofthejars/acceptance-test-harness.git","clone_url":"https://github.com/lordofthejars/acceptance-test-harness.git","svn_url":"https://github.com/lordofthejars/acceptance-test-harness","homepage":null,"size":7850,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jenkinsci:master","ref":"master","sha":"6a2134809e4e00006800272c72cbd57f8b52de81","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":17294237,"name":"acceptance-test-harness","full_name":"jenkinsci/acceptance-test-harness","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/acceptance-test-harness","description":"Attempted port from selenium-tests to Java","fork":false,"url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness","forks_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/forks","keys_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/teams","hooks_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/events","assignees_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/tags","blobs_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/subscription","commits_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/merges","archive_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/downloads","issues_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/releases{/id}","created_at":"2014-02-28T17:39:55Z","updated_at":"2015-10-05T08:19:28Z","pushed_at":"2015-10-15T17:33:16Z","git_url":"git://github.com/jenkinsci/acceptance-test-harness.git","ssh_url":"git@github.com:jenkinsci/acceptance-test-harness.git","clone_url":"https://github.com/jenkinsci/acceptance-test-harness.git","svn_url":"https://github.com/jenkinsci/acceptance-test-harness","homepage":null,"size":10502,"stargazers_count":31,"watchers_count":31,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":1,"forks":49,"open_issues":1,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/45"},"html":{"href":"https://github.com/jenkinsci/acceptance-test-harness/pull/45"},"issue":{"href":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/issues/45"},"comments":{"href":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/acceptance-test-harness/statuses/5c5f18315a4875c83f0054a857aac5f24c6bc99f"}}}}