• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Platform: All, OS: All

      The cleartool lshistory command must not be invoked on readonly component

      If you have only readonly components
      [p121258_changeMgt_3.2.1_testCC5] $ cleartool lshistory r -since 2-mar
      09.14:51:28utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%
      [activity]p\" \n%c\n' -branch brtype_ChangeMgt_V4.0.0_int -nco ORCHESTRA2
      \EG_Eclipse\scripts
      cleartool: Error: Branch type not found: "P_ChangeMgt_V4.0.0_int".
      FATAL: UCM ClearCase failed. exit code=1
      FATAL: cleartool did not return the expected exit code. Command
      line="lshistory -r -since 2-mar-09.14:51:28utc+0000 -fmt \"%Nd\" \"%u\" \"%En\"
      \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch
      brtype_ChangeMgt_V4.0.0_int -nco ORCHESTRA2\EG_Eclipse\scripts", actual exit
      code=1
      java.io.IOException: cleartool did not return the expected exit code. Command
      line="lshistory -r -since 2-mar-09.14:51:28utc+0000 -fmt \"%Nd\" \"%u\" \"%En\"
      \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n -branch
      brtype_ChangeMgt_V4.0.0_int -nco ORCHESTRA2\EG_Eclipse\scripts", actual exit
      code=1
      at hudson.plugins.clearcase.HudsonClearToolLauncher.run
      (HudsonClearToolLauncher.java:76)
      at hudson.plugins.clearcase.ClearToolExec.lshistory
      (ClearToolExec.java:64)
      at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory
      (AbstractHistoryAction.java:57)
      at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges
      (AbstractHistoryAction.java:43)
      at hudson.plugins.clearcase.AbstractClearCaseScm.checkout
      (AbstractClearCaseScm.java:267)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:801)
      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:894)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)

          [JENKINS-3191] cleartool lshistory for readonly components

          Gregory Boissinot created issue -
          yrogovaya made changes -
          Link New: This issue is duplicated by JENKINS-6195 [ JENKINS-6195 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 133264 ] New: JNJira + In-Review [ 174005 ]

            sunfire sunfire
            gbois Gregory Boissinot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: