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

10 Testcases fail on Windows with error: hudson.util.IOException2: Failed to clean up temp dirs

XMLWordPrintable

      Test results on windows Vista are:

      Package Tests Err Fail Skip Success Rate Time
      com.sonyericsson.jenkins.plugins.externalresource.dispatcher.utils.resourcemanagers 3 0 0 0 100% 5
      com.sonyericsson.jenkins.plugins.externalresource.dispatcher.utils 4 1 1 0 50% 7
      com.sonyericsson.jenkins.plugins.externalresource.dispatcher.spec 1 1 0 0 0% 4
      com.sonyericsson.jenkins.plugins.externalresource.dispatcher.data 14 4 1 0 64.286% 76
      com.sonyericsson.jenkins.plugins.externalresource.dispatcher 8 4 0 0 50% 47
      org.jvnet.hudson.test.junit 1 0 0 0 100% 0
      com.sonyericsson.jenkins.plugins.externalresource.dispatcher.cli 8 0 0 0 100% 10
      org.jvnet.hudson.test 7 0 0 0 100% 0

      10 tests fail with the following stack trace:

      hudson.util.IOException2: Failed to clean up temp dirs
      at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:87)
      at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:53)
      at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:352)
      at junit.framework.TestCase.runBare(TestCase.java:140)
      at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:264)
      at junit.framework.TestResult$1.protect(TestResult.java:110)
      at junit.framework.TestResult.runProtected(TestResult.java:128)
      at junit.framework.TestResult.run(TestResult.java:113)
      at junit.framework.TestCase.run(TestCase.java:124)
      at junit.framework.TestSuite.runTest(TestSuite.java:243)
      at junit.framework.TestSuite.run(TestSuite.java:238)
      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
      at $Proxy0.invoke(Unknown Source)
      at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
      at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
      Caused by: java.io.IOException: Unable to delete C:\Users\xxx\AppData\Local\Temp\hudson2103820071219030666test\slave-slave0.log
      at hudson.Util.deleteFile(Util.java:266)
      at hudson.Util.deleteRecursive(Util.java:316)
      at hudson.Util.deleteContentsRecursive(Util.java:227)
      at hudson.Util.deleteRecursive(Util.java:307)
      at hudson.FilePath$9.invoke(FilePath.java:826)
      at hudson.FilePath$9.invoke(FilePath.java:824)
      at hudson.FilePath.act(FilePath.java:758)
      at hudson.FilePath.act(FilePath.java:740)
      at hudson.FilePath.deleteRecursive(FilePath.java:824)
      at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:82)
      ... 23 more

            rsandell rsandell
            patrik Patrik Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: