-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
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)