-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
OSX 10.6 / Java6 and various 'cloud' based Jenkins services
Tests extending HudsonTestCase intermittently fail with,
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:54)
at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:304)
at junit.framework.TestCase.runBare(TestCase.java:140)
at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:224)
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:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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 /tmp/hudson8023746522728512854test/jobs - files in dir: [/tmp/hudson8023746522728512854test/jobs/fail]
at hudson.Util.deleteFile(Util.java:260)
at hudson.Util.deleteRecursive(Util.java:303)
at hudson.Util.deleteContentsRecursive(Util.java:222)
at hudson.Util.deleteRecursive(Util.java:302)
at hudson.FilePath$9.invoke(FilePath.java:821)
at hudson.FilePath$9.invoke(FilePath.java:819)
at hudson.FilePath.act(FilePath.java:753)
at hudson.FilePath.act(FilePath.java:735)
at hudson.FilePath.deleteRecursive(FilePath.java:819)
at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:82)
... 23 more
This happens on the main hudson-on-hudson server and also on cloudbees.com,
- http://ci.jenkins-ci.org/view/Plugins/job/plugins_bulk-builder/org.jvnet.hudson.plugins$bulk-builder/30/testReport/junit/org.jvnet.hudson.plugins.bulkbuilder.model/BuilderTest/testBuildFailed/
- https://swestcott.ci.cloudbees.com/job/Jenkins%20Bulk%20Builder%20(github-swestcott)/org.jvnet.hudson.plugins$bulk-builder/9/testReport/org.jvnet.hudson.plugins.bulkbuilder.model/BuilderTest/testBuildFailed/
- is duplicated by
-
JENKINS-17269 10 Testcases fail on Windows with error: hudson.util.IOException2: Failed to clean up temp dirs
- Closed
- is related to
-
JENKINS-4409 Hudson test case leaks temp folders
- Resolved
-
JENKINS-18259 Unable to delete slave.log in plugin tests
- Closed