java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by redsolo,
  • 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)
    via by redsolo,
  • Hudson and gitosis
    via Stack Overflow by Jon
    ,
  • Failed to clean up temp dirs
    via GitHub by RZhou94
    ,
  • Build failed in Hudson: OpenEngSB #576
    via by Unknown author,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,