Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: clearcase-ucm-baseline-plugin
-
Labels:None
-
Environment:Hudson 1.393
clearcase 7.0.1.2
-
Similar Issues:
Description
When defining the UCM Baseline parameter, if the Exclude element CHECKEDOUT is checked, the job systematically fails when creating the view's config spec.
The error message is :
— config spec start —
element "/mts_tools/HudsonAdm/..." B_HUDSONADM_V01_E24 -nocheckout
element * /main/0 -ucm -nocheckout
load /mts_tools/HudsonAdm/Controler
— config spec end —
[HUDSON_CTRL_B_HUDSONADM_V01_E24] $ /usr/atria/bin/cleartool setcs -tag HUDSON_CTRL_B_HUDSONADM_V01_E24 ../configspec50873.txt
cleartool: Error: The first element rule of a snapshot view's config spec must be "element * CHECKEDOUT".
cleartool: Error: Config spec semantic processing failed.
cleartool: Error: Unable to change configuration specification: error in configuration specification.
FATAL: ClearCase UCM baseline failed. exit code=1
Note that it works correctly if the checkbox is not checked. But it means that we cannot ensure that checkedout versions are not loaded, which is a critical problem when building or testing stable configuration.
Hey Jean-Luc,
I don't think this is a bug: The error occurs becuse CC's snapshot views must have the element * CHECKEDOUT instruction. To not have it, you need to use a dynamic view. Also, if you're using CCLT, element * CHECKEDOUT must always be there.
HTH,
Romain