Thursday, June 17, 2010

Clearcase content deliver issue


ClearCase Delivery Issue.
This issue I have encountered while delivery the content from the development stream to the Integration stream.
ClearCase uses the information associated with your development stream to determine which activities have been worked on and are ready to be delivered. Based on that information, it detects which files need to be merged to your project's Integration stream.

As long as there are no conflicts between your changes and changes made by other developers on your project, the delivery will be completed without any further intervention.

I got the above error while delivering the content.

Undo of the above delivery gives another error described as.

Error canceling delivery to stream kgd62144_SR1144_ASAPS_Current.
Cannot cancel because the integration activity has checkins.
you must remove the checkedin versions then redo cancel or resume operation.
You must manually remove these versions from changesets.
unable to undo checkins.



I have followed following steps to resolve the issue.

1 )Check the delivery status of the stream

ct deliver -status -stream @

Do a long listing of the delivery activity that is created in the target
stream. If there are checkins, then you have to to either do rmver or
handle the checkedin changes later, post delivery cancellation. If there
are checkouts, uncheckout them later,post delivery cancellation

2) Get the dump of the source stream

ct dump -l stream:@

look for the value of the process variable UCM_INTEGRATION_ACTIVITY . Any
nonzero value means that the variable value has to be reset

3)Get the dump of the activity

ct dump -l activity:@

Look for the value of the process variable UCM_DELIVER . Any nonzero value
means that the variable value has to be reset

4)Reset the value for the variables

Reset the value set for UCM_INTEGRATION_ACTIVITY
/opt/rational/clearcase/etc/utils/ucmutil setpvar -pvar
UCM_INTEGRATION_ACTIVITY -none activity:@
ucmutil: Warning: VOB is replicated; can only repair objects mastered in
this replica.
You are about to modify internal data. Any mistake will damage the
objects.
Do you want to continue? no yes
Set UCM_INTEGRATION_ACTIVITY = "" cleared
Reset the value set for UCM_DELIVER
/opt/rational/clearcase/etc/utils/ucmutil setpvar -pvar UCM_DELIVER -none
stream:@
ucmutil: Warning: VOB is replicated; can only repair objects mastered in
this replica.
You are about to modify internal data. Any mistake will damage the
objects.
Do you want to continue? no yes
Set UCM_DELIVER = "" cleared




No comments:

Post a Comment