-
Bug
-
Resolution: Unresolved
-
Major
-
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)
- is duplicated by
-
JENKINS-6195 Making lshistory request only the vobs which really contain the branch type specified
-
- Closed
-
Using version 1.3.7, I have a mix of components, some of which are readonly.
I get the message "cleartool: Error: Branch type not found: <branchname>" for each component, however, it seems to pick up the changes correctly for the other components.
Catching the error message and giving better feedback messages saying which component(s) lack the branch would be nice.