hudson.util.IOException2: Failed to clean up temp dirs

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Patrik Johansson, 1 year ago
Failed to clean up temp dirs
via Jenkins JIRA by Patrik Johansson, 1 year ago
Failed to clean up temp dirs
via Jenkins JIRA by ikedam, 1 year ago
Failed to clean up temp dirs
via Jenkins JIRA by ikedam, 1 year ago
Failed to clean up temp dirs
via Jenkins JIRA by Simon Westcott, 1 year ago
Failed to clean up temp dirs
via Jenkins JIRA by Simon Westcott, 1 year ago
Failed to clean up temp dirs
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)
at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:53)
at junit.framework.TestCase.runBare(TestCase.java:140)
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.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
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 undefined.$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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.