java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob", actual exit code=1

Jenkins JIRA | peterkline | 6 years ago
  1. 0

    When starting a new project we noticed we cannot get it to build. It appears that the logic that is finding the components is broken when it goes and tries to find the root_dir. In our example our foundation baseline contains 3 components. The logic of the plugin seems to have no problem in finding the the names of the three components. Its when the plugin tries to find the root_dir that we run into an issue where two of the three components are found and the last one somehow gets changed from a valid value into NULL. A log of the output: FailedConsole Output View as plain text 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[found_bls]p\n stream:RavenPlatMain_Int@/vobs/tlv_pvob 13:12:42 RAVENPLAT_MAIN_04-DEC-08_1815 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[latest_bls]p\n stream:RavenPlatMain_Int@/vobs/tlv_pvob 13:12:42 RAVENPLATMAIN_31-AUG-10_1000.2095 RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51 RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51.6197 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_31-AUG-10_1000.2095@/vobs/tlv_pvob 13:12:42 Raven3p 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51@/vobs/tlv_pvob 13:12:42 tlv_comp 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51.6197@/vobs/tlv_pvob 13:12:42 RavenPlat 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:Raven3p@/vobs/tlv_pvob 13:12:42 /vobs/Raven3p 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:tlv_comp@/vobs/tlv_pvob 13:12:42 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob 13:12:42 cleartoolFATAL: UCM ClearCase failed. exit code=1 13:12:42 java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob", actual exit code=1 13:12:42 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107) 13:12:42 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70) 13:12:42 at hudson.plugins.clearcase.ClearToolExec.describe(ClearToolExec.java:88) 13:12:42 at hudson.plugins.clearcase.ucm.UcmCommon.generateLoadRulesFromBaselines(UcmCommon.java:63) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.getViewPaths(ClearCaseUcmSCM.java:262) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.createRevisionState(ClearCaseUcmSCM.java:173) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.calcRevisionsFromBuild(ClearCaseUcmSCM.java:159) 13:12:42 at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:457) 13:12:42 at hudson.model.AbstractProject.checkout(AbstractProject.java:1082) 13:12:42 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) 13:12:42 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) 13:12:42 at hudson.model.Run.run(Run.java:1280) 13:12:42 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 13:12:42 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:12:42 at hudson.model.Executor.run(Executor.java:140) 13:12:42 : Error: component not found: "null".

    Jenkins JIRA | 6 years ago | peterkline
    java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob", actual exit code=1
  2. 0

    When starting a new project we noticed we cannot get it to build. It appears that the logic that is finding the components is broken when it goes and tries to find the root_dir. In our example our foundation baseline contains 3 components. The logic of the plugin seems to have no problem in finding the the names of the three components. Its when the plugin tries to find the root_dir that we run into an issue where two of the three components are found and the last one somehow gets changed from a valid value into NULL. A log of the output: FailedConsole Output View as plain text 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[found_bls]p\n stream:RavenPlatMain_Int@/vobs/tlv_pvob 13:12:42 RAVENPLAT_MAIN_04-DEC-08_1815 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[latest_bls]p\n stream:RavenPlatMain_Int@/vobs/tlv_pvob 13:12:42 RAVENPLATMAIN_31-AUG-10_1000.2095 RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51 RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51.6197 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_31-AUG-10_1000.2095@/vobs/tlv_pvob 13:12:42 Raven3p 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51@/vobs/tlv_pvob 13:12:42 tlv_comp 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[component]p\n baseline:RAVENPLATMAIN_1.3.0.0-209_14-OCT-2010_10.51.6197@/vobs/tlv_pvob 13:12:42 RavenPlat 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:Raven3p@/vobs/tlv_pvob 13:12:42 /vobs/Raven3p 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:tlv_comp@/vobs/tlv_pvob 13:12:42 13:12:42 [RavenPlatMain_Chassis_Recommended] $ cleartool desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob 13:12:42 cleartoolFATAL: UCM ClearCase failed. exit code=1 13:12:42 java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob", actual exit code=1 13:12:42 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107) 13:12:42 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70) 13:12:42 at hudson.plugins.clearcase.ClearToolExec.describe(ClearToolExec.java:88) 13:12:42 at hudson.plugins.clearcase.ucm.UcmCommon.generateLoadRulesFromBaselines(UcmCommon.java:63) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.getViewPaths(ClearCaseUcmSCM.java:262) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.createRevisionState(ClearCaseUcmSCM.java:173) 13:12:42 at hudson.plugins.clearcase.ClearCaseUcmSCM.calcRevisionsFromBuild(ClearCaseUcmSCM.java:159) 13:12:42 at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:457) 13:12:42 at hudson.model.AbstractProject.checkout(AbstractProject.java:1082) 13:12:42 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) 13:12:42 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) 13:12:42 at hudson.model.Run.run(Run.java:1280) 13:12:42 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 13:12:42 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:12:42 at hudson.model.Executor.run(Executor.java:140) 13:12:42 : Error: component not found: "null".

    Jenkins JIRA | 6 years ago | peterkline
    java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob", actual exit code=1
  3. 0

    Integrating Hudson with UCM Clearcase on windows machine

    Stack Overflow | 6 years ago | Umang
    java.io.IOException: cleartool did not return the expected exit code. Command line="setcs -tag advcm3_LAC_FN38_Test -stream", actual exit code=1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Base Clearcase issues

    Google Groups | 6 years ago | BEvans
    java.io.IOException: cleartool did not return the expected exit code. Command line="startview GURt2645", actual exit code=1
  6. 0

    Regarding problem with base clear case plugin (1.3.6)

    Google Groups | 4 years ago | Deepika Garg
    java.io.IOException: cleartool did not return the expected exit code. Command line="startview GURt2645", actual exit code=1

    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="desc -fmt %[root_dir]p\n component:null@/vobs/tlv_pvob", actual exit code=1

      at hudson.plugins.clearcase.HudsonClearToolLauncher.run()
    2. hudson.plugins.clearcase
      AbstractClearCaseScm.checkout
      1. hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107)
      2. hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70)
      3. hudson.plugins.clearcase.ClearToolExec.describe(ClearToolExec.java:88)
      4. hudson.plugins.clearcase.ucm.UcmCommon.generateLoadRulesFromBaselines(UcmCommon.java:63)
      5. hudson.plugins.clearcase.ClearCaseUcmSCM.getViewPaths(ClearCaseUcmSCM.java:262)
      6. hudson.plugins.clearcase.ClearCaseUcmSCM.createRevisionState(ClearCaseUcmSCM.java:173)
      7. hudson.plugins.clearcase.ClearCaseUcmSCM.calcRevisionsFromBuild(ClearCaseUcmSCM.java:159)
      8. hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:457)
      8 frames
    3. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1082)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      4. hudson.model.Run.run(Run.java:1280)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      6. hudson.model.ResourceController.execute(ResourceController.java:88)
      7. hudson.model.Executor.run(Executor.java:140)
      7 frames