Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: envinject-plugin
-
Labels:
-
Environment:envinject-1.91.2
-
Similar Issues:
Description
If a job uses EnvInjectPasswordWrapper, the stream close command won't be propagated to upper loggers. It means that the files may stay in open state => potential file descriptor leaks.
The leaks may have a big impact if you try delete a job from a remote NFS storage. Plugins like Timestamper also multiply a number of unclosed files, hence there's a real risk of the open descriptors overflow.
Attachments
Issue Links
- relates to
-
JENKINS-43199 Credentials Binding plugin causes File Descriptor leak
-
- Resolved
-
- links to
Code changed in jenkins
User: Oleg Nenashev
Path:
src/test/java/org/jenkinsci/plugins/envinject/EnvInjectPasswordTest.java
http://jenkins-ci.org/commit/envinject-plugin/7c6976052b1417bf2eedad5ea36e0f3663fbfba8
Log:
JENKINS-28409- Direct unit test for the issue