IBM Support

Cancel delivery or rebase reports error: Cannot cancel because the integration activity "deliver.stream000928.143521.20010815.164413" has checkins

Troubleshooting


Problem

This technote explains how to cancel an IBM® Rational® ClearCase® UCM deliver operation when changes have already been checked in on the integration stream.

Symptom


When attempting to cancel a delivery (or a rebase), the following error is returned:

cleartool: Error: Cannot cancel because the integration activity "deliver.stream000928.143521.20010815.164413" has checkins.  You must remove the checked in versions then redo the cancel OR resume the operation.
cleartool: Error: Integration activity "deliver.stream000928.143521.20010815.164413" has checkedin versions.  You must manually remove these versions from the change set.
cleartool: Error: Unable to undo checkin.
cleartool: Error: Unable to cancel deliver.

Cause


After delivering an activity in the development stream, one or more versions were checked in from the Integration stream manually. Since the checkin, in effect "finalizes" the delivered change set, there is no way to cancel the delivery.

Resolving The Problem

The first step is to find out which file(s) were checked in on the integration stream.

Look at the change set of the integration activity -- (in this case deliver.stream000928.143521.20010815.164413). Which ever file versions have been checked in have to be removed from the change set using the cleartool rmver -xhlink <version-pname> command before it is possible to cancel the deliver.

Example:

Note: The X:\ is the Development View for this particular instance.

1. Describe the activity in the error from the cancel operation and look for the versions that are not checkedout where the version extended path name does not have a CHECKEDOUT suffix:

  • X:\>cleartool deliver -cancel
    Cancel deliver
    FROM: stream "stream000928.143521"
    TO: stream "Integration_12623"
    Using integration view: "Test_Project_integration".
    Are you sure you want to cancel this deliver operation?  [no] y
    cleartool: Error: Cannot cancel because the integration activity "
    deliver.stream000928.143521.20010815.164413" has checkins.  You must remove the checked in versions then redo the cancel OR resume the operation.
    cleartool: Error: Integration activity "deliver.stream000928.143521.20010815.164413" has checkedin
    versions.  You must manually remove these versions from the change set.
    cleartool: Error: Unable to undo checkin.
    cleartool: Error: Unable to cancel deliver.

  • X:\>cleartool describe -long activity:deliver.stream000928.143521.20010815.164413@\PVOB
    activity "deliver.stream000928.143521.20010815.164413"
    created 15-Aug-01.16:44:15 by testuser.user@wus-testuser01
    "Integration activity created by deliver on 08/15/01 16:44:13.
    "
    owner: testuser
    group: user
    stream: Integration_12623@\PVOB
    title: deliver test_Test_Project on 08/15/01 16:44:13.
    change set versions:
    \Comp_2\class\CBLogon_CustomBindingListener.class@@\main\Integration_12623\CHECKEDOUT.300
    \Comp_2\class\CBLogon.class@@\main\Integration_12623\CHECKEDOUT.297
    \Comp_2\class\CBLogon$CustomBindingListener.class.701@@\main\Integration_12623\CHECKEDOUT.294
    \Comp_2\class\CBLogon$CustomBindingListener.class@@\main\Integration_12623\CHECKEDOUT.291
    \Comp_2\.@@\main\Integration_12623\CHECKEDOUT.285
    \Comp_2\class@@\main\Integration_12623\1      <<<==== CHECKED IN

2. Remove these versions:

  • X:\>cleartool rmver -xhlink \Comp_2\class@@\main\Integration_12623\1
    Removing these versions of "\Comp_2\class":
    \main\Integration_12623\1 (has: hyperlinks)
    Remove versions?  [no] y
    Removed versions of "\Comp_2\class".

    Please note that if time has elapsed since the partial deliver, it is possible that the checked in version(s) may have been included in a baseline. IBM Rational support strongly recommends that you complete the deliver rather than cancelling it. If you must cancel the deliver then you would need to run "cleartool rmver -xhlink -xlabel \Comp_2\class@@\main\Integration_12623\1

3. If using a ClearQuest® database that integrates with UCM, a checkvob command will need to be run to ensure that data inconsistency will not occur between UCM and ClearQuest.

  • Syntax:
  • cleartool checkvob -hlink -fix activity:activity_name@\PVOB

  • Example:
  • X:\cleartool checkvob -hlink -fix activity:deliver.stream000928.143521.20010815.164413@\PVOB


4. Cancel the delivery:

  • X:\>cleartool deliver -cancel
    Cancel deliver
    FROM: stream "stream000928.143521"
    TO: stream "Integration_12623"
    Using integration view: "Test_Project_integration".
    Are you sure you want to cancel this deliver operation?  [no] y
    Deliver of stream "stream000928.143521" canceled
    .

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"UCM: Deliver","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0.1.1;7.0.1;7.0.0.2;7.0.0.1;7.0;2003.06.16;2003.06.00","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"UCM: Deliver","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"UCM: Rebase","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21125189