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.

  • The new feature to update the config spec if it has been changed throws an exception if the new config spec has less files/folders than the previous config spec. Console output: -------------------------------------------------------------------- started Creating a snapshot clear tool [workspace] $ cleartool catcs -tag hudson_cc5_test #Security Systems - Market Documentation element \security_systems\... /main/sec_1/LATEST element \security_systems\... /main/LATEST -mkbranch sec_1 load \aaa_code\CM [hudson_cc5_test] $ cleartool setcs ..\configspec35981.txt cleartool: Warning: 1 objects were eliminated from the new config spec's load rules: "\ccl\3rdParty\AAAA\FAAA.NET2\bin" Continue, and unload these objects? [no] cleartool: Error: Unable to change configuration specification: error detected by ClearCase subsystem. FATAL: Clear Case failed. exit code=1 FATAL: Clear tool did not return the expected exit code. Command line="cleartool setcs ..\configspec35981.txt", actual exit code=1 java.io.IOException: Clear tool did not return the expected exit code. Command line="cleartool setcs ..\configspec35981.txt", actual exit code=1 at hudson.plugins.clearcase.ClearCaseSCM$ClearToolLauncherImpl.run(ClearCaseSCM.java:271) at hudson.plugins.clearcase.ClearToolSnapshot.setcs(ClearToolSnapshot.java:23) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:145) at hudson.model.AbstractProject.checkout(AbstractProject.java:541) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:223) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:189) at hudson.model.Run.run(Run.java:649) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62)
    via by redsolo,
  • The new feature to update the config spec if it has been changed throws an exception if the new config spec has less files/folders than the previous config spec. Console output: -------------------------------------------------------------------- started Creating a snapshot clear tool [workspace] $ cleartool catcs -tag hudson_cc5_test #Security Systems - Market Documentation element \security_systems\... /main/sec_1/LATEST element \security_systems\... /main/LATEST -mkbranch sec_1 load \aaa_code\CM [hudson_cc5_test] $ cleartool setcs ..\configspec35981.txt cleartool: Warning: 1 objects were eliminated from the new config spec's load rules: "\ccl\3rdParty\AAAA\FAAA.NET2\bin" Continue, and unload these objects? [no] cleartool: Error: Unable to change configuration specification: error detected by ClearCase subsystem. FATAL: Clear Case failed. exit code=1 FATAL: Clear tool did not return the expected exit code. Command line="cleartool setcs ..\configspec35981.txt", actual exit code=1 java.io.IOException: Clear tool did not return the expected exit code. Command line="cleartool setcs ..\configspec35981.txt", actual exit code=1 at hudson.plugins.clearcase.ClearCaseSCM$ClearToolLauncherImpl.run(ClearCaseSCM.java:271) at hudson.plugins.clearcase.ClearToolSnapshot.setcs(ClearToolSnapshot.java:23) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:145) at hudson.model.AbstractProject.checkout(AbstractProject.java:541) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:223) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:189) at hudson.model.Run.run(Run.java:649) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62)
    via by redsolo,
  • ClearCase Plugin - hudson - Hudson Wiki
    via by Unknown author,
  • ClearCase Plugin - Jenkins - Jenkins Wiki
    via by Unknown author,
  • 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,
  • Our repo is set up in a way that when I have a load rule in my config spec like "load vobs/gtx2", the lshistory command is getting run in the snapshot view at the parent of that and gets an error because, apparently, "vobs" is not a vob element. It would be nice if you could specify a specific path to feed into the lshistory command. For me, "vobs/*" works from the command line. Here's the error output in case it helps: Done loading "/vobs/gtx2" (16879 objects, copied 0 KB). [snapshot14_cruise1_fhudson_feature_6.43_20071120] $ cleartool lshistory -r -since 28-Nov.15:30:38 -fmt '\"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\"\n%c\n' -branch feature_6.43 -nco update.28-Nov-07.16:03:36.updt vobs .view.stg .view.dat cleartool: Error: Not an object in a vob: "update.28-Nov-07.16:03:36.updt". cleartool: Error: Not an object in a vob: "vobs". cleartool: Error: Not an object in a vob: ".view.stg". cleartool: Error: Not an object in a vob: ".view.dat". FATAL: Clear Case failed. exit code=1 FATAL: Clear tool did not return the expected exit code. Command line="cleartool lshistory -r -since 28-Nov.15:30:38 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\"\n%c\n -branch feature_6.43 -nco update.28-Nov-07.16:03:36.updt vobs .view.stg .view.dat", actual exit code=1 java.io.IOException: Clear tool did not return the expected exit code. Command line="cleartool lshistory -r -since 28-Nov.15:30:38 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\"\n%c\n -branch feature_6.43 -nco update.28-Nov-07.16:03:36.updt vobs .view.stg .view.dat", actual exit code=1 at hudson.plugins.clearcase.ClearCaseSCM.run(ClearCaseSCM.java:272) at hudson.plugins.clearcase.ClearCaseSCM.getHistoryEntries(ClearCaseSCM.java:247) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:117) at hudson.model.AbstractProject.checkout(AbstractProject.java:541) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:223) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:189) at hudson.model.Run.run(Run.java:649) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62)
    via by Eric Smalling,
  • Our repo is set up in a way that when I have a load rule in my config spec like "load vobs/gtx2", the lshistory command is getting run in the snapshot view at the parent of that and gets an error because, apparently, "vobs" is not a vob element. It would be nice if you could specify a specific path to feed into the lshistory command. For me, "vobs/*" works from the command line. Here's the error output in case it helps: Done loading "/vobs/gtx2" (16879 objects, copied 0 KB). [snapshot14_cruise1_fhudson_feature_6.43_20071120] $ cleartool lshistory -r -since 28-Nov.15:30:38 -fmt '\"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\"\n%c\n' -branch feature_6.43 -nco update.28-Nov-07.16:03:36.updt vobs .view.stg .view.dat cleartool: Error: Not an object in a vob: "update.28-Nov-07.16:03:36.updt". cleartool: Error: Not an object in a vob: "vobs". cleartool: Error: Not an object in a vob: ".view.stg". cleartool: Error: Not an object in a vob: ".view.dat". FATAL: Clear Case failed. exit code=1 FATAL: Clear tool did not return the expected exit code. Command line="cleartool lshistory -r -since 28-Nov.15:30:38 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\"\n%c\n -branch feature_6.43 -nco update.28-Nov-07.16:03:36.updt vobs .view.stg .view.dat", actual exit code=1 java.io.IOException: Clear tool did not return the expected exit code. Command line="cleartool lshistory -r -since 28-Nov.15:30:38 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\"\n%c\n -branch feature_6.43 -nco update.28-Nov-07.16:03:36.updt vobs .view.stg .view.dat", actual exit code=1 at hudson.plugins.clearcase.ClearCaseSCM.run(ClearCaseSCM.java:272) at hudson.plugins.clearcase.ClearCaseSCM.getHistoryEntries(ClearCaseSCM.java:247) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:117) at hudson.model.AbstractProject.checkout(AbstractProject.java:541) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:223) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:189) at hudson.model.Run.run(Run.java:649) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62)
    via by Eric Smalling,
  • I am using Hudson 1.314 with clearcase plugin 0.9. I started experiencing following error after upgradation to 0.9 version.I am using UCM snapshot option. [R4.3.3_Dev_HUDSON] $ cleartool setcs ..\configspec39249.txt cleartool: Error: Syntax error on line 1, near column 2, file "..\configspec39249.txt". cleartool: Error: Config spec parsing failed: "..\configspec39249.txt". cleartool: Error: Unable to change configuration specification: error in configuration specification. FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="setcs ..\configspec39249.txt", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="setcs ..\configspec39249.txt", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100) at hudson.plugins.clearcase.ClearToolSnapshot.setcs(ClearToolSnapshot.java:67) at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout(UcmSnapshotCheckoutAction.java:77) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:289) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118) -->>configspec39249.txt line 1 content as flollowed ucmidentity UCM.Stream oid:780968ac.274242f0.860f.f3:96:5d:b9:af:27@vobuuid:ee36e29c.883b4899.9422.46:19:2f:aa:19:87 6# ONLY
    via by gandugamerio,
  • I am using Hudson 1.314 with clearcase plugin 0.9. I started experiencing following error after upgradation to 0.9 version.I am using UCM snapshot option. [R4.3.3_Dev_HUDSON] $ cleartool setcs ..\configspec39249.txt cleartool: Error: Syntax error on line 1, near column 2, file "..\configspec39249.txt". cleartool: Error: Config spec parsing failed: "..\configspec39249.txt". cleartool: Error: Unable to change configuration specification: error in configuration specification. FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="setcs ..\configspec39249.txt", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="setcs ..\configspec39249.txt", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100) at hudson.plugins.clearcase.ClearToolSnapshot.setcs(ClearToolSnapshot.java:67) at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout(UcmSnapshotCheckoutAction.java:77) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:289) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118) -->>configspec39249.txt line 1 content as flollowed ucmidentity UCM.Stream oid:780968ac.274242f0.860f.f3:96:5d:b9:af:27@vobuuid:ee36e29c.883b4899.9422.46:19:2f:aa:19:87 6# ONLY
    via by gandugamerio,
    • java.io.IOException: Clear tool did not return the expected exit code. Command line="cleartool setcs ..\configspec35981.txt", actual exit code=1 at hudson.plugins.clearcase.ClearCaseSCM$ClearToolLauncherImpl.run(ClearCaseSCM.java:271) at hudson.plugins.clearcase.ClearToolSnapshot.setcs(ClearToolSnapshot.java:23) at hudson.plugins.clearcase.ClearCaseSCM.checkout(ClearCaseSCM.java:145) at hudson.model.AbstractProject.checkout(AbstractProject.java:541) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:223) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:189) at hudson.model.Run.run(Run.java:649) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:62)
    No Bugmate found.