java.io.IOException: Unable to delete file: C:\Users\Administrator\bamboo-agent-home\xml-data\build-dir\JIRAMASTER-LDAPAD-JOB1\jira-distribution\tpm-standalone\spm\target\atlassian-jira-6.2-SNAPSHOT-standalone\logs\manager.2013-12-12.log

Atlassian JIRA | Mark Lassau [Atlassian] | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    See for instance https://jira-bamboo.internal.atlassian.com/browse/JIRAMASTER-LDAPAD-JOB1-1200/log The build appears to complete normally, however it is hung and requires manual kill: {noformat} build 11-Dec-2013 22:33:00 [INFO] ------------------------------------------------------------------------ build 11-Dec-2013 22:33:00 [INFO] BUILD SUCCESSFUL build 11-Dec-2013 22:33:00 [INFO] ------------------------------------------------------------------------ build 11-Dec-2013 22:33:00 [INFO] Total time: 19 minutes 18 seconds build 11-Dec-2013 22:33:00 [INFO] Finished at: Wed Dec 11 22:33:00 GMT 2013 build 11-Dec-2013 22:33:00 [INFO] Final Memory: 84M/200M build 11-Dec-2013 22:33:00 [INFO] ------------------------------------------------------------------------ command 15-Dec-2013 22:47:29 Request to stop 'JIRAMASTER-LDAPAD-JOB1-1200' received from jhazelwood {noformat} Bamboo's error viewer shows the clue to the underlying problem https://jira-bamboo.internal.atlassian.com/admin/viewError.action?buildKey=JIRAMASTER-LDAPAD-JOB1&error=161 {noformat} java.io.IOException: Unable to delete file: C:\Users\Administrator\bamboo-agent-home\xml-data\build-dir\JIRAMASTER-LDAPAD-JOB1\jira-distribution\tpm-standalone\spm\target\atlassian-jira-6.2-SNAPSHOT-standalone\logs\manager.2013-12-12.log at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.cleanWorkingDirectory(ExecuteBuildTask.java:129) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:98) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:55) at java.lang.Thread.run(Thread.java:662) {noformat} Observed in 5.3-m2

    Atlassian JIRA | 3 years ago | Mark Lassau [Atlassian]
    java.io.IOException: Unable to delete file: C:\Users\Administrator\bamboo-agent-home\xml-data\build-dir\JIRAMASTER-LDAPAD-JOB1\jira-distribution\tpm-standalone\spm\target\atlassian-jira-6.2-SNAPSHOT-standalone\logs\manager.2013-12-12.log
  2. 0

    See for instance https://jira-bamboo.internal.atlassian.com/browse/JIRAMASTER-LDAPAD-JOB1-1200/log The build appears to complete normally, however it is hung and requires manual kill: {noformat} build 11-Dec-2013 22:33:00 [INFO] ------------------------------------------------------------------------ build 11-Dec-2013 22:33:00 [INFO] BUILD SUCCESSFUL build 11-Dec-2013 22:33:00 [INFO] ------------------------------------------------------------------------ build 11-Dec-2013 22:33:00 [INFO] Total time: 19 minutes 18 seconds build 11-Dec-2013 22:33:00 [INFO] Finished at: Wed Dec 11 22:33:00 GMT 2013 build 11-Dec-2013 22:33:00 [INFO] Final Memory: 84M/200M build 11-Dec-2013 22:33:00 [INFO] ------------------------------------------------------------------------ command 15-Dec-2013 22:47:29 Request to stop 'JIRAMASTER-LDAPAD-JOB1-1200' received from jhazelwood {noformat} Bamboo's error viewer shows the clue to the underlying problem https://jira-bamboo.internal.atlassian.com/admin/viewError.action?buildKey=JIRAMASTER-LDAPAD-JOB1&error=161 {noformat} java.io.IOException: Unable to delete file: C:\Users\Administrator\bamboo-agent-home\xml-data\build-dir\JIRAMASTER-LDAPAD-JOB1\jira-distribution\tpm-standalone\spm\target\atlassian-jira-6.2-SNAPSHOT-standalone\logs\manager.2013-12-12.log at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.cleanWorkingDirectory(ExecuteBuildTask.java:129) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:98) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:55) at java.lang.Thread.run(Thread.java:662) {noformat} Observed in 5.3-m2

    Atlassian JIRA | 3 years ago | Mark Lassau [Atlassian]
    java.io.IOException: Unable to delete file: C:\Users\Administrator\bamboo-agent-home\xml-data\build-dir\JIRAMASTER-LDAPAD-JOB1\jira-distribution\tpm-standalone\spm\target\atlassian-jira-6.2-SNAPSHOT-standalone\logs\manager.2013-12-12.log
  3. 0

    Deleting a File in tearDown() fails in Robolectric

    Stack Overflow | 4 years ago | Egor
    java.io.IOException: Unable to delete file: C:\Users\user\AppData\Local\Temp\android-external-cache\test.zip
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when delete repository

    GitHub | 2 years ago | losper
    java.io.IOException: Unable to delete file: d:\dev\repo\gitbucket\repositories\liuwenjun\spms.git\objects\pack\pack-60af82734d0e4161b7267c95d7b8f8b9d45fae0e.pack
  6. 0

    [JRA-27438] JIRA fails to start if it can't delete the Felix OSGI cache - Atlassian JIRA

    atlassian.com | 1 year ago
    com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to clean the cache directory: C:\Program Files\Atlassian\Application Data\JIRA\plugins\.osgi-plugins\felix

  1. kid 17 times, last 10 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Unable to delete file: C:\Users\Administrator\bamboo-agent-home\xml-data\build-dir\JIRAMASTER-LDAPAD-JOB1\jira-distribution\tpm-standalone\spm\target\atlassian-jira-6.2-SNAPSHOT-standalone\logs\manager.2013-12-12.log

    at org.apache.commons.io.FileUtils.forceDelete()
  2. Commons IO
    FileUtils.cleanDirectory
    1. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
    2. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
    3. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
    4. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
    5. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
    6. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
    7. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
    8. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
    9. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
    10. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
    11. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
    12. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
    13. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
    14. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
    15. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
    16. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
    17. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
    18. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
    19. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
    20. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
    20 frames
  3. com.atlassian.bamboo
    NamedThreadFactory$2.run
    1. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.cleanWorkingDirectory(ExecuteBuildTask.java:129)
    2. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:98)
    3. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181)
    4. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101)
    5. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)
    6. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:55)
    6 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame