java.io.IOException: Unable to delete /usr/share/tomcat/.hudson/jobs/navl-official-single-plugin-build-2.7.0/workspace/working/checkout/platform/tools/amd64-chroot/home/tomcat6

Jenkins JIRA | rakslice | 5 years ago
  1. 0

    Jenkins issues - [Issue 3813] New - java.io.IOException: Unable to delete <FOLDER_NAME> - files in dir: [<WEB_REFERENCE_FILE>]

    nabble.com | 1 year ago
    java.io.IOException: Unable to delete E:\Hudson\.hudson\jobs\Home\workspace\vRegressionBuildCode- branch\Country.eApHomePCO.WS\App_WebReferences
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    1. Configure a CC so it doesnt use "Use update" 2. Build once to get it working 3. Open a command prompt and go into the hudson view folder 4. Build again, which will fail as the folder can not be removed 5. Build again, now the rmview fails del path fails ---------------------------------------------- [workspace] $ cleartool rmview -force HUDSON_SHORT_CS cleartool: Error: C:\hudson\data\jobs\cc3\workspace\HUDSON_SHORT_CS: Permission denied cleartool: Error: Unable to remove the snapshot view directory. Removing view folder as it was not removed when the view was removed. FATAL: Unable to delete C:\hudson\.\data\jobs\cc3\workspace\HUDSON_SHORT_CS java.io.IOException: Unable to delete C:\hudson\.\data\jobs\cc3\workspace\HUDSON_SHORT_CS at hudson.Util.deleteFile(Util.java:148) at hudson.Util.deleteRecursive(Util.java:155) at hudson.FilePath$5.invoke(FilePath.java:342) at hudson.FilePath$5.invoke(FilePath.java:340) at hudson.FilePath.act(FilePath.java:280) at hudson.FilePath.deleteRecursive(FilePath.java:340) at hudson.plugins.clearcase.ClearToolExec.rmview(ClearToolExec.java:68) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:106) at hudson.model.AbstractProject.checkout(AbstractProject.java:529) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:213) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:179) at hudson.model.Run.run(Run.java:579) at hudson.model.Build.run(Build.java:103) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62) rmview fails ------------------------------------------ [workspace] $ cleartool rmview -force HUDSON_SHORT_CS cleartool: Error: Unable to open file "HUDSON_SHORT_CS\.view": No such file or directory. cleartool: Error: HUDSON_SHORT_CS isn't a view: No such file or directory cleartool: Error: Unable to remove view "HUDSON_SHORT_CS". FATAL: Clear Case failed. exit code=1 FATAL: Clear tool did not return the expected exit code. Command line="cleartool rmview -force HUDSON_SHORT_CS", actual exit code=1 java.io.IOException: Clear tool did not return the expected exit code. Command line="cleartool rmview -force HUDSON_SHORT_CS", actual exit code=1 at hudson.plugins.clearcase.ClearCaseSCM$ClearToolLauncherImpl.run(ClearCaseSCM.java:205) at hudson.plugins.clearcase.ClearToolExec.rmview(ClearToolExec.java:64) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:106) at hudson.model.AbstractProject.checkout(AbstractProject.java:529) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:213) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:179) at hudson.model.Run.run(Run.java:579) at hudson.model.Build.run(Build.java:103) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62)

    Jenkins JIRA | 9 years ago | redsolo
    java.io.IOException: Unable to delete C:\hudson\.\data\jobs\cc3\workspace\HUDSON_SHORT_CS
  4. 0

    1. Configure a CC so it doesnt use "Use update" 2. Build once to get it working 3. Open a command prompt and go into the hudson view folder 4. Build again, which will fail as the folder can not be removed 5. Build again, now the rmview fails del path fails ---------------------------------------------- [workspace] $ cleartool rmview -force HUDSON_SHORT_CS cleartool: Error: C:\hudson\data\jobs\cc3\workspace\HUDSON_SHORT_CS: Permission denied cleartool: Error: Unable to remove the snapshot view directory. Removing view folder as it was not removed when the view was removed. FATAL: Unable to delete C:\hudson\.\data\jobs\cc3\workspace\HUDSON_SHORT_CS java.io.IOException: Unable to delete C:\hudson\.\data\jobs\cc3\workspace\HUDSON_SHORT_CS at hudson.Util.deleteFile(Util.java:148) at hudson.Util.deleteRecursive(Util.java:155) at hudson.FilePath$5.invoke(FilePath.java:342) at hudson.FilePath$5.invoke(FilePath.java:340) at hudson.FilePath.act(FilePath.java:280) at hudson.FilePath.deleteRecursive(FilePath.java:340) at hudson.plugins.clearcase.ClearToolExec.rmview(ClearToolExec.java:68) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:106) at hudson.model.AbstractProject.checkout(AbstractProject.java:529) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:213) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:179) at hudson.model.Run.run(Run.java:579) at hudson.model.Build.run(Build.java:103) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62) rmview fails ------------------------------------------ [workspace] $ cleartool rmview -force HUDSON_SHORT_CS cleartool: Error: Unable to open file "HUDSON_SHORT_CS\.view": No such file or directory. cleartool: Error: HUDSON_SHORT_CS isn't a view: No such file or directory cleartool: Error: Unable to remove view "HUDSON_SHORT_CS". FATAL: Clear Case failed. exit code=1 FATAL: Clear tool did not return the expected exit code. Command line="cleartool rmview -force HUDSON_SHORT_CS", actual exit code=1 java.io.IOException: Clear tool did not return the expected exit code. Command line="cleartool rmview -force HUDSON_SHORT_CS", actual exit code=1 at hudson.plugins.clearcase.ClearCaseSCM$ClearToolLauncherImpl.run(ClearCaseSCM.java:205) at hudson.plugins.clearcase.ClearToolExec.rmview(ClearToolExec.java:64) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:106) at hudson.model.AbstractProject.checkout(AbstractProject.java:529) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:213) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:179) at hudson.model.Run.run(Run.java:579) at hudson.model.Build.run(Build.java:103) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62)

    Jenkins JIRA | 9 years ago | redsolo
    java.io.IOException: Unable to delete C:\hudson\.\data\jobs\cc3\workspace\HUDSON_SHORT_CS

    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 /usr/share/tomcat/.hudson/jobs/navl-official-single-plugin-build-2.7.0/workspace/working/checkout/platform/tools/amd64-chroot/home/tomcat6

      at hudson.Util.deleteFile()
    2. Hudson
      Util.deleteFile
      1. hudson.Util.deleteFile(Util.java:263)
      1 frame