Selected activity deliver from stream "dev" to stream "int" is not supported

why attempts to deliver select activities from a child stream to the integration stream results in errors such as cleartool: Error: Selected activity deliver from stream "Bpr_MakefilesPatch_fdev" to stream "Bpr_LicensePatchM1_finteg" is not supported.

Symptom

Attempts to deliver only selected activities within your development stream results in the following error:

cleartool: Error: Selected activity deliver from stream "Bpr_MakefilesPatch_fdev" to stream "Bpr_LicensePatchM1_finteg" is not supported.
cleartool: Error: Unable to deliver stream "Bpr_MakefilesPatch_fdev".


Cause

Imagine the hierarchy of streams as follows:
  • Integration stream
    • Group stream
    • Development stream

It is not possible to deliver from the group stream to the Integration stream, based on activities in the development stream.

You are allowed to deliver from the development stream directly to the integration stream.

The key to which activities may be delivered individually will depend on the order the activities were delivered to the group stream and which elements were modified in the activities. This follows the general rules for which activities may be delivered using selected activity deliver.

Scenario:

Suppose CQACT1 only modifies Component 1, and CQACT2 only modifies Component 2.

Both activities are delivered to the group stream (it does not matter which order).

Now suppose you want to deliver to the integration stream.

  • If there are no dependencies between the activities either by elements or components, you may deliver CQACT1 or CQACT2 to the integration stream in any order using Alternate Target Deliver from the development stream.

  • If there are dependencies between the activities, then delivering separate activities is not longer possible. For example, CQACT1 and CQACT2 modify the same element (CQACT1 modifies the first version while CQACT2 modifies the second version). CQACT1 is delivered first (selectively), CQACT2 is delivered second. At this point, attempts to deliver to the integration stream select activities changes. You can deliver CQACT1 selectively, but you cannot deliver CQACT2 selectively because the deliver baseline that was created when you delivered to the Group Stream includes CQACT1. CQACT2 now has a dependency with CQACT1.

    Note: The same logic applies even if you modify different elements in the same component because the second baseline created for the second deliver in the component is cumulative and includes the baseline created for the first deliver.

Resolving the problem

UCM does not currently provide for activity "independence".

You need to deliver all required activities that are referenced as dependencies.


Refer to technote 1303221 Knowledge Collection: UCM Activity Dependencies for a list of resources that provide further details about activity dependencies.

No comments:

Post a Comment