-
Bug
-
Resolution: Fixed
-
Critical
-
envinject-1.91.2
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.
- 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