-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins version 2.73.1
ace-editor 1.1
ant 1.7
antisamy-markup-formatter 1.5
authentication-tokens 1.3
blueocean 1.2.4
blueocean-autofavorite 1.0.0
blueocean-bitbucket-pipeline 1.2.4
blueocean-commons 1.2.4
blueocean-config 1.2.4
blueocean-dashboard 1.2.4
blueocean-display-url 2.1.0
blueocean-events 1.2.4
blueocean-git-pipeline 1.2.4
blueocean-github-pipeline 1.2.4
blueocean-i18n 1.2.4
blueocean-jira 1.2.4
blueocean-jwt 1.2.4
blueocean-personalization 1.2.4
blueocean-pipeline-api-impl 1.2.4
blueocean-pipeline-editor 1.2.4
blueocean-pipeline-scm-api 1.2.4
blueocean-rest 1.2.4
blueocean-rest-impl 1.2.4
blueocean-web 1.2.4
bouncycastle-api 2.16.2
branch-api 2.0.11
cloud-stats 0.13
cloudbees-bitbucket-branch-source 2.2.3
cloudbees-folder 6.1.2
cobertura 1.11
console-column-plugin 1.5
covcomplplot 1.1.1
credentials 2.1.16
credentials-binding 1.13
cvs 2.13
dashboard-view 2.9.11
display-url-api 2.0
docker-commons 1.8
docker-workflow 1.13
durable-task 1.14
embeddable-build-status 1.9
external-monitor-job 1.7
favorite 2.3.0
git 3.5.1
git-client 2.5.0
git-server 1.7
github 1.28.0
github-api 1.86
github-branch-source 2.2.3
github-oauth 0.27
groovy 2.0
groovy-label-assignment 1.2.0
handlebars 1.1.1
htmlpublisher 1.14
icon-shim 2.0.3
jackson2-api 2.7.3
javadoc 1.4
jira 2.4.2
job-dsl 1.65
jquery-detached 1.2.1
junit 1.21
ldap 1.17
mailer 1.20
mapdb-api 1.0.9.0
mask-passwords 2.10.1
matrix-auth 1.7
matrix-project 1.11
maven-plugin 2.17
mercurial 2.1
momentjs 1.1.1
pam-auth 1.3
pipeline-build-step 2.5.1
pipeline-graph-analysis 1.5
pipeline-input-step 2.8
pipeline-milestone-step 1.3.1
pipeline-model-api 1.2
pipeline-model-declarative-agent 1.1.1
pipeline-model-definition 1.2
pipeline-model-extensions 1.2
pipeline-rest-api 2.9
pipeline-stage-step 2.2
pipeline-stage-tags-metadata 1.2
pipeline-stage-view 2.9
plain-credentials 1.4
pubsub-light 1.12
rich-text-publisher-plugin 1.4
scm-api 2.2.2
script-security 1.34
sse-gateway 1.15
ssh-credentials 1.13
ssh-slaves 1.21
structs 1.10
subversion 2.9
token-macro 2.3
translation 1.15
variant 1.1
view-job-filters 1.27
windows-slaves 1.3.1
workflow-aggregator 2.5
workflow-api 2.20
workflow-basic-steps 2.6
workflow-cps 2.40
workflow-cps-global-lib 2.9
workflow-durable-task-step 2.15
workflow-job 2.14.1
workflow-multibranch 2.16
workflow-scm-step 2.6
workflow-step-api 2.13
workflow-support 2.14
yet-another-docker-plugin 0.1.0-rc41Jenkins version 2.73.1 ace-editor 1.1 ant 1.7 antisamy-markup-formatter 1.5 authentication-tokens 1.3 blueocean 1.2.4 blueocean-autofavorite 1.0.0 blueocean-bitbucket-pipeline 1.2.4 blueocean-commons 1.2.4 blueocean-config 1.2.4 blueocean-dashboard 1.2.4 blueocean-display-url 2.1.0 blueocean-events 1.2.4 blueocean-git-pipeline 1.2.4 blueocean-github-pipeline 1.2.4 blueocean-i18n 1.2.4 blueocean-jira 1.2.4 blueocean-jwt 1.2.4 blueocean-personalization 1.2.4 blueocean-pipeline-api-impl 1.2.4 blueocean-pipeline-editor 1.2.4 blueocean-pipeline-scm-api 1.2.4 blueocean-rest 1.2.4 blueocean-rest-impl 1.2.4 blueocean-web 1.2.4 bouncycastle-api 2.16.2 branch-api 2.0.11 cloud-stats 0.13 cloudbees-bitbucket-branch-source 2.2.3 cloudbees-folder 6.1.2 cobertura 1.11 console-column-plugin 1.5 covcomplplot 1.1.1 credentials 2.1.16 credentials-binding 1.13 cvs 2.13 dashboard-view 2.9.11 display-url-api 2.0 docker-commons 1.8 docker-workflow 1.13 durable-task 1.14 embeddable-build-status 1.9 external-monitor-job 1.7 favorite 2.3.0 git 3.5.1 git-client 2.5.0 git-server 1.7 github 1.28.0 github-api 1.86 github-branch-source 2.2.3 github-oauth 0.27 groovy 2.0 groovy-label-assignment 1.2.0 handlebars 1.1.1 htmlpublisher 1.14 icon-shim 2.0.3 jackson2-api 2.7.3 javadoc 1.4 jira 2.4.2 job-dsl 1.65 jquery-detached 1.2.1 junit 1.21 ldap 1.17 mailer 1.20 mapdb-api 1.0.9.0 mask-passwords 2.10.1 matrix-auth 1.7 matrix-project 1.11 maven-plugin 2.17 mercurial 2.1 momentjs 1.1.1 pam-auth 1.3 pipeline-build-step 2.5.1 pipeline-graph-analysis 1.5 pipeline-input-step 2.8 pipeline-milestone-step 1.3.1 pipeline-model-api 1.2 pipeline-model-declarative-agent 1.1.1 pipeline-model-definition 1.2 pipeline-model-extensions 1.2 pipeline-rest-api 2.9 pipeline-stage-step 2.2 pipeline-stage-tags-metadata 1.2 pipeline-stage-view 2.9 plain-credentials 1.4 pubsub-light 1.12 rich-text-publisher-plugin 1.4 scm-api 2.2.2 script-security 1.34 sse-gateway 1.15 ssh-credentials 1.13 ssh-slaves 1.21 structs 1.10 subversion 2.9 token-macro 2.3 translation 1.15 variant 1.1 view-job-filters 1.27 windows-slaves 1.3.1 workflow-aggregator 2.5 workflow-api 2.20 workflow-basic-steps 2.6 workflow-cps 2.40 workflow-cps-global-lib 2.9 workflow-durable-task-step 2.15 workflow-job 2.14.1 workflow-multibranch 2.16 workflow-scm-step 2.6 workflow-step-api 2.13 workflow-support 2.14 yet-another-docker-plugin 0.1.0-rc41
Using github-branch-source plugin 2.2.3. For full environment version information see the Environment meta detail at the top of this issue.
Description of problem
My multibranch pipeline job currently hangs for 10+ hours before it will apparently allow a build. The scan log output says it's due to me being over budget with my quota. I would like my job to run right away since there's available quota in the rate limit of my token.
My actual available rate limit
The limit reset is 17 minutes from now at the time of this writing.
$ date -d @1506504539 Wed Sep 27 02:28:59 PDT 2017 $ curl -H "Authorization: token $GH_TOKEN" https://api.github.com/rate_limit { "resources": { "core": { "limit": 5000, "remaining": 4997, "reset": 1506504539 }, "search": { "limit": 30, "remaining": 30, "reset": 1506502499 }, "graphql": { "limit": 5000, "remaining": 5000, "reset": 1506506039 } }, "rate": { "limit": 5000, "remaining": 4997, "reset": 1506504539 } }
Scan log error
My scan log from a multibranch pipeline job including the error:
Started by user admin [Tue Sep 26 22:44:05 UTC 2017] Starting branch indexing... 22:44:05 Connecting to https://api.github.com using samrocketman/****** (GitHub user and personal access token used by multibranch pipeline jobs for the GitHub API) 22:44:06 GitHub API Usage: Current quota has 4997 remaining (35557 over budget). Next quota of 5000 in 10 hr. Sleeping for 9 hr 29 min. 22:47:06 GitHub API Usage: Still sleeping, now only 9 hr 26 min remaining. 22:50:06 GitHub API Usage: Still sleeping, now only 9 hr 23 min remaining. 22:53:06 GitHub API Usage: Still sleeping, now only 9 hr 20 min remaining. 22:56:06 GitHub API Usage: Still sleeping, now only 9 hr 17 min remaining. 22:59:06 GitHub API Usage: Still sleeping, now only 9 hr 14 min remaining. 23:02:06 GitHub API Usage: Still sleeping, now only 9 hr 11 min remaining. 23:05:06 GitHub API Usage: Still sleeping, now only 9 hr 8 min remaining. 23:08:06 GitHub API Usage: Still sleeping, now only 9 hr 5 min remaining. 23:11:06 GitHub API Usage: Still sleeping, now only 9 hr 2 min remaining.
See also
- is duplicated by
-
JENKINS-47099 "Github API rate limit" blocks if Jenkins and Github system time are not in sync
- Resolved
- links to