{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments/42426668","id":42426668,"diff_hunk":"@@ -1438,17 +1448,22 @@ public void maintain() {\n             while (!waitingList.isEmpty()) {\n                 WaitingItem top = peek();\n \n-                if (top.timestamp.compareTo(new GregorianCalendar()) > 0)\n+                if (top.timestamp.compareTo(new GregorianCalendar()) > 0) {\n+                    LOGGER.log(Level.FINEST, \"Finished moving all ready items from queue.\");\n                     break; // finished moving all ready items from queue\n+                }\n \n                 top.leave(this);\n                 Task p = top.task;\n                 if (!isBuildBlocked(top) && allowNewBuildableTask(p)) {\n                     // ready to be executed immediately\n                     Runnable r = makeBuildable(new BuildableItem(top));\n+                    String topTaskDisplayName = top.task.getFullDisplayName();","path":"core/src/main/java/hudson/model/Queue.java","position":43,"original_position":43,"commit_id":"09fadd58b56f8504fab414a9414d081918461d1a","original_commit_id":"09fadd58b56f8504fab414a9414d081918461d1a","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":"I..e, `p.getFullDisplayName()` right?","created_at":"2015-10-19T21:13:26Z","updated_at":"2015-10-19T21:13:26Z","html_url":"https://github.com/jenkinsci/jenkins/pull/1863#discussion_r42426668","pull_request_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1863","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments/42426668"},"html":{"href":"https://github.com/jenkinsci/jenkins/pull/1863#discussion_r42426668"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1863"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1863","id":47394141,"html_url":"https://github.com/jenkinsci/jenkins/pull/1863","diff_url":"https://github.com/jenkinsci/jenkins/pull/1863.diff","patch_url":"https://github.com/jenkinsci/jenkins/pull/1863.patch","issue_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/1863","number":1863,"state":"open","locked":false,"title":"[JENKINS-30914] Add extra logging to the queue","user":{"login":"christ66","id":1302212,"avatar_url":"https://avatars.githubusercontent.com/u/1302212?v=3","gravatar_id":"","url":"https://api.github.com/users/christ66","html_url":"https://github.com/christ66","followers_url":"https://api.github.com/users/christ66/followers","following_url":"https://api.github.com/users/christ66/following{/other_user}","gists_url":"https://api.github.com/users/christ66/gists{/gist_id}","starred_url":"https://api.github.com/users/christ66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christ66/subscriptions","organizations_url":"https://api.github.com/users/christ66/orgs","repos_url":"https://api.github.com/users/christ66/repos","events_url":"https://api.github.com/users/christ66/events{/privacy}","received_events_url":"https://api.github.com/users/christ66/received_events","type":"User","site_admin":false},"body":"In order to diagnose why something might be blocked in the queue I added loggers in the `Queue.maintain` to understand why a potential item is blocked in the queue and never executes.\r\n\r\n@reviewbybees","created_at":"2015-10-12T08:13:39Z","updated_at":"2015-10-19T21:13:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18363f2846fa68ef3e8d8641146475859073b817","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1863/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1863/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/1863/comments","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/09fadd58b56f8504fab414a9414d081918461d1a","head":{"label":"christ66:maintainlogs","ref":"maintainlogs","sha":"09fadd58b56f8504fab414a9414d081918461d1a","user":{"login":"christ66","id":1302212,"avatar_url":"https://avatars.githubusercontent.com/u/1302212?v=3","gravatar_id":"","url":"https://api.github.com/users/christ66","html_url":"https://github.com/christ66","followers_url":"https://api.github.com/users/christ66/followers","following_url":"https://api.github.com/users/christ66/following{/other_user}","gists_url":"https://api.github.com/users/christ66/gists{/gist_id}","starred_url":"https://api.github.com/users/christ66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christ66/subscriptions","organizations_url":"https://api.github.com/users/christ66/orgs","repos_url":"https://api.github.com/users/christ66/repos","events_url":"https://api.github.com/users/christ66/events{/privacy}","received_events_url":"https://api.github.com/users/christ66/received_events","type":"User","site_admin":false},"repo":{"id":16967504,"name":"jenkins","full_name":"christ66/jenkins","owner":{"login":"christ66","id":1302212,"avatar_url":"https://avatars.githubusercontent.com/u/1302212?v=3","gravatar_id":"","url":"https://api.github.com/users/christ66","html_url":"https://github.com/christ66","followers_url":"https://api.github.com/users/christ66/followers","following_url":"https://api.github.com/users/christ66/following{/other_user}","gists_url":"https://api.github.com/users/christ66/gists{/gist_id}","starred_url":"https://api.github.com/users/christ66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christ66/subscriptions","organizations_url":"https://api.github.com/users/christ66/orgs","repos_url":"https://api.github.com/users/christ66/repos","events_url":"https://api.github.com/users/christ66/events{/privacy}","received_events_url":"https://api.github.com/users/christ66/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christ66/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/christ66/jenkins","forks_url":"https://api.github.com/repos/christ66/jenkins/forks","keys_url":"https://api.github.com/repos/christ66/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christ66/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christ66/jenkins/teams","hooks_url":"https://api.github.com/repos/christ66/jenkins/hooks","issue_events_url":"https://api.github.com/repos/christ66/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/christ66/jenkins/events","assignees_url":"https://api.github.com/repos/christ66/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/christ66/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/christ66/jenkins/tags","blobs_url":"https://api.github.com/repos/christ66/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christ66/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christ66/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/christ66/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christ66/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/christ66/jenkins/languages","stargazers_url":"https://api.github.com/repos/christ66/jenkins/stargazers","contributors_url":"https://api.github.com/repos/christ66/jenkins/contributors","subscribers_url":"https://api.github.com/repos/christ66/jenkins/subscribers","subscription_url":"https://api.github.com/repos/christ66/jenkins/subscription","commits_url":"https://api.github.com/repos/christ66/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/christ66/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/christ66/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/christ66/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/christ66/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/christ66/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christ66/jenkins/merges","archive_url":"https://api.github.com/repos/christ66/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christ66/jenkins/downloads","issues_url":"https://api.github.com/repos/christ66/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/christ66/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/christ66/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/christ66/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christ66/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/christ66/jenkins/releases{/id}","created_at":"2014-02-18T23:19:43Z","updated_at":"2015-04-17T18:22:51Z","pushed_at":"2015-10-12T23:37:47Z","git_url":"git://github.com/christ66/jenkins.git","ssh_url":"git@github.com:christ66/jenkins.git","clone_url":"https://github.com/christ66/jenkins.git","svn_url":"https://github.com/christ66/jenkins","homepage":"http://jenkins-ci.org/","size":88133,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"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":"d696cccd1090e325eb62c8acbd4dd53e3db25650","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":1103607,"name":"jenkins","full_name":"jenkinsci/jenkins","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/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/jenkinsci/jenkins","forks_url":"https://api.github.com/repos/jenkinsci/jenkins/forks","keys_url":"https://api.github.com/repos/jenkinsci/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/jenkins/teams","hooks_url":"https://api.github.com/repos/jenkinsci/jenkins/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/jenkins/events","assignees_url":"https://api.github.com/repos/jenkinsci/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/jenkins/tags","blobs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/jenkins/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/jenkins/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/jenkins/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/jenkins/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/jenkins/subscription","commits_url":"https://api.github.com/repos/jenkinsci/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/jenkins/merges","archive_url":"https://api.github.com/repos/jenkinsci/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/jenkins/downloads","issues_url":"https://api.github.com/repos/jenkinsci/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/jenkins/releases{/id}","created_at":"2010-11-22T21:21:23Z","updated_at":"2015-10-19T17:10:58Z","pushed_at":"2015-10-19T21:08:16Z","git_url":"git://github.com/jenkinsci/jenkins.git","ssh_url":"git@github.com:jenkinsci/jenkins.git","clone_url":"https://github.com/jenkinsci/jenkins.git","svn_url":"https://github.com/jenkinsci/jenkins","homepage":"http://jenkins-ci.org/","size":457445,"stargazers_count":4662,"watchers_count":4662,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2075,"mirror_url":null,"open_issues_count":109,"forks":2075,"open_issues":109,"watchers":4662,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1863"},"html":{"href":"https://github.com/jenkinsci/jenkins/pull/1863"},"issue":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/1863"},"comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/1863/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1863/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1863/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/jenkins/statuses/09fadd58b56f8504fab414a9414d081918461d1a"}}}}