jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-51930] Executors lock when github api quota is hammered

Open
#1,188 2 comments 0 reactions 0 assignees View on GitHub
component:github-api-plugin component:github-branch-source-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

Heavily using the github api quota seems to lock executors for a period of time. They are not zombie jobs as they eventually clear out but it takes a while. The jobs themselves run fine when our quota usage is low. 

The jobs in the attached screenshot all finished successfully but the executor refuses to unlock for an hour or so afterwards.

I thought that it might be just hanging waiting for the quota to refresh but even after refresh they stay locked with the logs stating that the build has finished.

 

 

---
Originally reported by ecsdconner, imported from: Executors lock when github api quota is hammered


  • status: Open
  • priority: Major
  • component(s): github-api-plugin, github-branch-source-plugin
  • label(s): executors, lock, triaged-2018-11
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-02

Raw content of original issue

Heavily using the github api quota seems to lock executors for a period of time. They are not zombie jobs as they eventually clear out but it takes a while. The jobs themselves run fine when our quota usage is low. 

The jobs in the attached screenshot all finished successfully but the executor refuses to unlock for an hour or so afterwards.

I thought that it might be just hanging waiting for the quota to refresh but even after refresh they stay locked with the logs stating that the build has finished.

 

 

  • environment: Jenkins 2.107, Ubunutu Xenial 16.04

1 attachment

- [jenkinstest.png](https://issues.jenkins.io/secure/attachment/42858/jenkinstest.png)
> ![jenkinstest.png](https://issues.jenkins.io/secure/attachment/42858/jenkinstest.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.