java.io.IOException: cleartool did not return the expected exit code. Command line="chbl -c Hudson promoted baseline to BUILT -level BUILT build.deskCore_3.2- 44.4851@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.1788@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.804@\P_ORC, baseline:build.151_200810101907@\P_ORC", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:72) at hudson.plugins.clearcase.ucm.UcmMakeBaseline.promoteBaselineToBuiltLevel (UcmMakeBaseline.java:317)

Jenkins JIRA | Gregory Boissinot | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    For Hudson ClearCaseUCM mode, when you have one stream and many components, the generated "cleartool mkbl" is wrong. The baselines list is separated is encapsulated with double quote and each beaseline is sperated by a comma. With Clearcase 7, there must be no quote and no comma, just a with espace between each baseline name Hudson Clearcase log : cleartool chbl -c "Hudson promoted baseline to BUILT" -level BUILT "build.deskCore_3.2-44.4851@\P_ORC, baseline:build.deskCore_3.2-2008-10- 14_10-20-34.1788@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20- 34.804@\P_ORC, baseline:build.151_200810101907@\P_ORC" cleartool: Error: Unable to find baseline "build.deskCore_3.2-44.4851@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.1788@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.804@\P_ORC, baseline:build.151_200810101907@\P_ORC". cleartool: Error: Unable to change baseline "build.deskCore_3.2-44.4851@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.1788@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.804@\P_ORC, baseline:build.151_200810101907@\P_ORC". FATAL: ClearCase UCM Makebaseline failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="chbl -c Hudson promoted baseline to BUILT -level BUILT build.deskCore_3.2- 44.4851@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.1788@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.804@\P_ORC, baseline:build.151_200810101907@\P_ORC", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="chbl -c Hudson promoted baseline to BUILT -level BUILT build.deskCore_3.2- 44.4851@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.1788@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.804@\P_ORC, baseline:build.151_200810101907@\P_ORC", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:72) at hudson.plugins.clearcase.ucm.UcmMakeBaseline.promoteBaselineToBuiltLevel (UcmMakeBaseline.java:317) at hudson.plugins.clearcase.ucm.UcmMakeBaseline.perform (UcmMakeBaseline.java:188) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:318) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:306) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:131) at hudson.model.Run.run(Run.java:832) at hudson.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88)

    Jenkins JIRA | 8 years ago | Gregory Boissinot
    java.io.IOException: cleartool did not return the expected exit code. Command line="chbl -c Hudson promoted baseline to BUILT -level BUILT build.deskCore_3.2- 44.4851@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.1788@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.804@\P_ORC, baseline:build.151_200810101907@\P_ORC", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:72) at hudson.plugins.clearcase.ucm.UcmMakeBaseline.promoteBaselineToBuiltLevel (UcmMakeBaseline.java:317)

    Root Cause Analysis

    1. java.io.IOException

      cleartool did not return the expected exit code. Command line="chbl -c Hudson promoted baseline to BUILT -level BUILT build.deskCore_3.2- 44.4851@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.1788@\P_ORC, baseline:build.deskCore_3.2-2008-10-14_10-20-34.804@\P_ORC, baseline:build.151_200810101907@\P_ORC", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:72) at hudson.plugins.clearcase.ucm.UcmMakeBaseline.promoteBaselineToBuiltLevel (UcmMakeBaseline.java:317)

      at hudson.plugins.clearcase.ucm.UcmMakeBaseline.perform()
    2. hudson.plugins.clearcase
      UcmMakeBaseline.perform
      1. hudson.plugins.clearcase.ucm.UcmMakeBaseline.perform(UcmMakeBaseline.java:188)
      1 frame
    3. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:318)
      2. hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:306)
      3. hudson.model.Build$RunnerImpl.cleanUp(Build.java:131)
      4. hudson.model.Run.run(Run.java:832)
      5. hudson.model.Build.run(Build.java:88)
      6. hudson.model.ResourceController.execute(ResourceController.java:70)
      7. hudson.model.Executor.run(Executor.java:88)
      7 frames