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

Leaking Handles to \Device\NamedPipe on slave (Win7, JNLP)

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • durable-task-plugin

      Steps to reproduce:

      (1) Create a simple, self calling pipeline script 'HelloWorldLoop' and start it:

      stage('Foo') { 
          node('test-node') { bat 'echo Hello, World!' }
          build job: 'HelloWorldLoop', wait: false
      }

      (2) Open Procexp on slave node and watch "Handles"-count rise of the process ip2launcher.exe

       

      With every run, there is a new open handle to "\Device\NamedPipe".After ~3000 open handles you can not start even simple GUI applications (cmd, paint, ...). You have to restart the slave agent to go on. I can not open the details in procexp so sorry, I can not provide more details without further instructions (overlooked something obvious? Not used to java-programs...). 

      This sounds similar to JENKINS-43199 but this one should be resolved in 2.73.3, shouldn't it?

       

          [JENKINS-47971] Leaking Handles to \Device\NamedPipe on slave (Win7, JNLP)

          Peter Schneider created issue -
          Peter Schneider made changes -
          Environment Original: - Jenkins 2.73.3
          - Windows 7 Slave, jre1.8.0_151
          - Windows Server 2012 R2 Master, jre1.8.0_144
          - System Information Master: https://pastebin.com/jNpYPcxR
          - System Information Slave: https://pastebin.com/VmfHq5GV
          - Connection over JNLP
          - master and slave run as User, NOT as a Service
          New: - Jenkins 2.73.3
          - Windows 7 Slave, jre1.8.0_151
          - Windows Server 2012 R2 Master, jre1.8.0_144
          - System Information Master: https://pastebin.com/jNpYPcxR
          - System Information Slave: https://pastebin.com/VmfHq5GV
          - Plugins: https://pastebin.com/0kafvmwa
          - Connection over JNLP
          - master and slave run as User, NOT as a Service
          Peter Schneider made changes -
          Description Original: *Steps to reproduce:*

          (1) Create a simple, self calling pipeline script 'HelloWorldLoop' and start it:

          stage('Foo') \{ 
              node('test-node') \{ bat 'echo Hello, World!' }
              build job: 'HelloWorldLoop', wait: false
          }

          (2) Open Procexp on slave node and watch "Handles"-count rise of the process ip2launcher.exe

           

          With every run, there is a new open handle to "\Device\NamedPipe".After ~3000 open handles you can not start even simple GUI applications (cmd, paint, ...). You have to restart the slave agent to go on. I can not open the details in procexp so sorry, I can not provide more details without further instructions (overlooked something obvious? Not used to java-programs...). 

          This sounds similar to JENKINS-43199 but this one should be resolved in 2.73.1, shouldn't it?

           
          New: *Steps to reproduce:*

          (1) Create a simple, self calling pipeline script 'HelloWorldLoop' and start it:

          stage('Foo') \{ 
              node('test-node') \{ bat 'echo Hello, World!' }
              build job: 'HelloWorldLoop', wait: false
          }

          (2) Open Procexp on slave node and watch "Handles"-count rise of the process ip2launcher.exe

           

          With every run, there is a new open handle to "\Device\NamedPipe".After ~3000 open handles you can not start even simple GUI applications (cmd, paint, ...). You have to restart the slave agent to go on. I can not open the details in procexp so sorry, I can not provide more details without further instructions (overlooked something obvious? Not used to java-programs...). 

          This sounds similar to JENKINS-43199 but this one should be resolved in 2.73.3, shouldn't it?

           
          Andrew Bayer made changes -
          Component/s New: durable-task-plugin [ 18622 ]
          Component/s Original: core [ 15593 ]
          Component/s Original: pipeline [ 21692 ]
          Jesse Glick made changes -
          Labels Original: Windows jenkins leak New: leak windows
          Vivek Pandey made changes -
          Labels Original: leak windows New: leak triaged-2018-11 windows

            Unassigned Unassigned
            peterschneider255 Peter Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: