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)

Jenkins JIRA | gandugamerio | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    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

    Jenkins JIRA | 8 years ago | gandugamerio
    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)
  2. 0

    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

    Jenkins JIRA | 8 years ago | gandugamerio
    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)
  3. 0

    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)

    Jenkins JIRA | 9 years ago | redsolo
    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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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)

    Jenkins JIRA | 9 years ago | redsolo
    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)

    Root Cause Analysis

    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()
    2. hudson.plugins.clearcase
      ClearToolSnapshot.setcs
      1. hudson.plugins.clearcase.ClearToolSnapshot.setcs(ClearToolSnapshot.java:67)
      1 frame