java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)

Jenkins JIRA | dkutty | 7 years ago
  1. 0

    We have an issue wherein we have the branch type name different from the stream name. Since the job only accepts a stream name , the cleartool lshistory command fails since this requires a brtype name. In our case brtype is different then stream name. We had to do this since the path name was exceeding the limit eg. stream name : VSS_6.4.1_Int@\Y_PVOB brtype: v641i here is the error we get . Notice brtype is using stream name. Is there a workaround to use brtype instead [dkutty_vss_6_4_1_int8] $ cleartool lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n' -branch brtype:VSS_6.4.1_Int -nco MOM_VSS cleartool: Error: Branch type not found: "VSS_6.4.1_Int". FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:90) at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:81) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:67) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:383) at hudson.model.AbstractProject.checkout(AbstractProject.java:974) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:400) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:349) at hudson.model.Run.run(Run.java:1123) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123)

    Jenkins JIRA | 7 years ago | dkutty
    java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
  2. 0

    We have an issue wherein we have the branch type name different from the stream name. Since the job only accepts a stream name , the cleartool lshistory command fails since this requires a brtype name. In our case brtype is different then stream name. We had to do this since the path name was exceeding the limit eg. stream name : VSS_6.4.1_Int@\Y_PVOB brtype: v641i here is the error we get . Notice brtype is using stream name. Is there a workaround to use brtype instead [dkutty_vss_6_4_1_int8] $ cleartool lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n' -branch brtype:VSS_6.4.1_Int -nco MOM_VSS cleartool: Error: Branch type not found: "VSS_6.4.1_Int". FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:90) at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:81) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:67) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:383) at hudson.model.AbstractProject.checkout(AbstractProject.java:974) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:400) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:349) at hudson.model.Run.run(Run.java:1123) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123)

    Jenkins JIRA | 7 years ago | dkutty
    java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
  3. 0

    We have an issue wherein we have the branch type name different from the stream name. Since the job only accepts a stream name , the cleartool lshistory command fails since this requires a brtype name. In our case brtype is different then stream name. We had to do this since the path name was exceeding the limit eg. stream name : VSS_6.4.1_Int@\Y_PVOB brtype: v641i here is the error we get . Notice brtype is using stream name. Is there a workaround to use brtype instead [dkutty_vss_6_4_1_int8] $ cleartool lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n' -branch brtype:VSS_6.4.1_Int -nco MOM_VSS cleartool: Error: Branch type not found: "VSS_6.4.1_Int". FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:90) at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:81) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:67) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:383) at hudson.model.AbstractProject.checkout(AbstractProject.java:974) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:400) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:349) at hudson.model.Run.run(Run.java:1123) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123)

    Jenkins JIRA | 7 years ago | dkutty
    java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    My master is a Windows 2k3 in French. My node is a Linux in US. When Husdon try to make lshistory on the node : [ICS-SCORPIO-ADPCM32K-5] $ cleartool lshistory -r -since 8-juil.-09.12:24:34utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n' -branch brtype:SCORPIO_1.0_dev -nco vobs/scorpio/adpcm32k cleartool: Error: Invalid date/time format: "8-juil.-09.12:24:34utc+0000". <date-time> = <date>.<time> | <date> | <time> | "now" | "none" <date> = d[d]-<month>[-[yy]yy] | <day-of-week> | "today" | "yesterday" <time> = h[h]:m[m][:s[s]][UTC[+|-][h[h][:mm]]] (24-hour time) FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="lshistory -r -since 8-juil.-09.12:24:34utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:SCORPIO_1.0_dev -nco vobs/scorpio/adpcm32k", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -r -since 8-juil.-09.12:24:34utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:SCORPIO_1.0_dev -nco vobs/scorpio/adpcm32k", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:89) at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:81) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:67) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:296) 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:927) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) The clearcase plugin should take the node's locale and not the default locale (of the master) if the checkout/lshistory will be run on a Hudson node.

    Jenkins JIRA | 7 years ago | juherr
    java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -r -since 8-juil.-09.12:24:34utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:SCORPIO_1.0_dev -nco vobs/scorpio/adpcm32k", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
  6. 0

    My master is a Windows 2k3 in French. My node is a Linux in US. When Husdon try to make lshistory on the node : [ICS-SCORPIO-ADPCM32K-5] $ cleartool lshistory -r -since 8-juil.-09.12:24:34utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n' -branch brtype:SCORPIO_1.0_dev -nco vobs/scorpio/adpcm32k cleartool: Error: Invalid date/time format: "8-juil.-09.12:24:34utc+0000". <date-time> = <date>.<time> | <date> | <time> | "now" | "none" <date> = d[d]-<month>[-[yy]yy] | <day-of-week> | "today" | "yesterday" <time> = h[h]:m[m][:s[s]][UTC[+|-][h[h][:mm]]] (24-hour time) FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="lshistory -r -since 8-juil.-09.12:24:34utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:SCORPIO_1.0_dev -nco vobs/scorpio/adpcm32k", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -r -since 8-juil.-09.12:24:34utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:SCORPIO_1.0_dev -nco vobs/scorpio/adpcm32k", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:89) at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:81) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:67) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:296) 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:927) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) The clearcase plugin should take the node's locale and not the default locale (of the master) if the checkout/lshistory will be run on a Hudson node.

    Jenkins JIRA | 7 years ago | juherr
    java.io.IOException: cleartool did not return the expected exit code. Command line="lshistory -r -since 8-juil.-09.12:24:34utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:SCORPIO_1.0_dev -nco vobs/scorpio/adpcm32k", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      cleartool did not return the expected exit code. Command line="lshistory -all -since 28-sep-09.16:06:48utc+0000 -fmt \"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch brtype:VSS_6.4.1_Int -nco MOM_VSS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)

      at hudson.plugins.clearcase.ClearToolExec.lshistory()
    2. hudson.plugins.clearcase
      ClearToolExec.lshistory
      1. hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:90)
      1 frame