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

Remoting Test Client causes File Leak on Windows in the test Code

      Is is one of JENKINS-38696 causes

      #5 C:\Users\Oleg\AppData\Local\Temp\remoting9031571770678811458cache\7F\CE79BB8C55572F4D2C34ABECD36F76.jar by thread:pool-4-thread-3 for south id=9 on Fri Jul 07 08:56:29 CEST 2017 at java.util.zip.ZipFile.<init>(ZipFile.java:150) at java.util.jar.JarFile.<init>(JarFile.java:166) at java.util.jar.JarFile.<init>(JarFile.java:103) at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:94) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150) at java.net.URL.openStream(URL.java:1045) at org.apache.commons.io.IOUtils.toString(IOUtils.java:742) at org.apache.commons.io.IOUtils.toString(IOUtils.java:727) at test.HelloGetResource.call(HelloGetResource.java:15) at test.HelloGetResource.call(HelloGetResource.java:12) at hudson.remoting.UserRequest.perform(UserRequest.java:203) at hudson.remoting.UserRequest.perform(UserRequest.java:52) at hudson.remoting.Request$2.run(Request.java:356) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748)

          [JENKINS-45349] Remoting Test Client causes File Leak on Windows in the test Code

          Oleg Nenashev added a comment -

          There is no sources on GitHub, moving them to the main remoting repo, at least for a while

          Oleg Nenashev added a comment - There is no sources on GitHub, moving them to the main remoting repo, at least for a while

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - https://repo.jenkins-ci.org/releases/org/jenkins-ci/remoting-test-client/

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          src/main/java/test/HelloGetResource.java
          src/main/java/test/HelloGetResourceAsStream.java
          src/main/java/test/HelloGetResources.java
          http://jenkins-ci.org/commit/remoting/d496898ab02ddec7974a8456c51257bf2d9c82cc
          Log:
          JENKINS-45349 - Allow disabling file caching in HelloGetResource and HelloGetResources.

          This change adds an optional parameter, which disables file caching. My plan is to reuse it in Remoting tests in order to suppress some issues in Windows tests.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/main/java/test/HelloGetResource.java src/main/java/test/HelloGetResourceAsStream.java src/main/java/test/HelloGetResources.java http://jenkins-ci.org/commit/remoting/d496898ab02ddec7974a8456c51257bf2d9c82cc Log: JENKINS-45349 - Allow disabling file caching in HelloGetResource and HelloGetResources. This change adds an optional parameter, which disables file caching. My plan is to reuse it in Remoting tests in order to suppress some issues in Windows tests.

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          src/main/java/test/HelloGetResource.java
          src/main/java/test/HelloGetResourceAsStream.java
          src/main/java/test/HelloGetResources.java
          http://jenkins-ci.org/commit/remoting/b38f2115c2996890cdb1dec83945f3a1dd1a96ea
          Log:
          Merge pull request #181 from oleg-nenashev/remoting-it/JENKINS-45349

          JENKINS-45349 - Test Client: Allow disabling file caching in HelloGetResource and HelloGetResources.

          Compare: https://github.com/jenkinsci/remoting/compare/18d3ebfff19f...b38f2115c299

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/main/java/test/HelloGetResource.java src/main/java/test/HelloGetResourceAsStream.java src/main/java/test/HelloGetResources.java http://jenkins-ci.org/commit/remoting/b38f2115c2996890cdb1dec83945f3a1dd1a96ea Log: Merge pull request #181 from oleg-nenashev/remoting-it/ JENKINS-45349 JENKINS-45349 - Test Client: Allow disabling file caching in HelloGetResource and HelloGetResources. Compare: https://github.com/jenkinsci/remoting/compare/18d3ebfff19f...b38f2115c299

          Oleg Nenashev added a comment -

          Released as Remoting Test Client 1.1

          Oleg Nenashev added a comment - Released as Remoting Test Client 1.1

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

              Created:
              Updated:
              Resolved: