-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
There are some issues talking about idle executors populating Jenkins:
- https://issues.jenkins-ci.org/browse/JENKINS-57304
- https://issues.jenkins-ci.org/browse/JENKINS-55811
- https://issues.jenkins-ci.org/browse/JENKINS-55484
There is already a fix to manually tested that seems to avoid that, at least, the steps to reproduce the problem confirm it works:
https://github.com/jenkinsci/jenkins/pull/4329
In the comments of the PR jglick expressed some concerns about the fix, maybe it's solving the symptoms but not the root cause.
As the fix is valuable by itself, avoiding instances to show hung executors, we have gone forward with it and we have filed this ticket to analyze whether any other improvement could be done to solve the issue.
Look into:
- https://github.com/jenkinsci/jenkins/pull/4329#pullrequestreview-316248853
- https://github.com/jenkinsci/jenkins/pull/4329#issuecomment-555025416
- https://github.com/jenkinsci/jenkins/pull/4329#issuecomment-555049195
to know where he is pointing out to.
The way to work on it, I guess, should be, revert the fix on the [PR|https://github.com/jenkinsci/jenkins/pull/4329] and look where/when the finalize2 method is called and analyze if we are forgetting to call it or any other finalization method in some places.
- is duplicated by
-
JENKINS-53158 Pipelines leak OneOffExecutors when triggered on a temporary offline master
- Resolved
- is related to
-
JENKINS-57304 Multiple "idle" entries on Build Executor Status for non-existant executors
- Resolved
- relates to
-
JENKINS-45571 "likely stuck" job is not actually stuck.
- Open