Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28409

EnvInjectPasswordsOutputStream does not close the parent logger

    Details

    • 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

            Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Summary EnvInjectPasswordsOutputStream does not close parent logger EnvInjectPasswordsOutputStream does not close the parent logger
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "PR #50 (Web Link)" [ 12910 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Labels leak
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 163248 ] JNJira + In-Review [ 197146 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-43199 [ JENKINS-43199 ]

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: