IBM Support

Unable to get current foundation's closure for stream error reported during a UCM rebase operation

Troubleshooting


Problem

This technote explains why the error []Unable to get current foundation's closure for stream[] might occur when using IBM® Rational® ClearCase® to rebase a UCM stream.

Cause

Attempts to rebase a UCM stream results in the following error:

Unable to get current foundation's closure for stream.  

This error indicates a possible problem with one of the stream's current foundation's baselines.


An unknown action previously occurred, possibly associated with a VOB database issue, in which a baseline was associated with two label types.

SYMPTOM:

A cleartool describe -long baseline:<baseline selector>@\<pvob> will show no label status and two hyperlinks to label types at the end of the output:


baseline "TEST.1234" created 05-Jul-07.15:37:31 by
owner: DOMAIN\jdoe
group: DOMAIN\Domain Users
component: COMP@\projects
label status: <-----NOTE: This baseline has no label
change sets:
promotion level: INITIAL
depends on:
Attributes:
PromotionLevel =
"INITIAL"
Hyperlinks:
BaselineLbtype@463850@\projects -> lbtype:TEST.1234@\ProvOne
BaselineLbtype@464078@\projects -> lbtype:TEST.3245@\ProvOne

UseBaseline@463965@\projects <- stream:mystream@\projects

Resolving The Problem

  1. Check to make sure that both of these lbtypes above exist.

    From a command prompt, cd into a UCM view and into the component that this baseline is associated with. Run cleartool lstype -kind lbtype -invob <vobtag>

    From Type Explorer GUI verify that both lbtypes exist:
    • Click Start > Programs > Rational Software > Rational ClearCase > Type Explorer.
    • Click the VOB where the label type resides from the Select VOB applet.
    • Click OK.
    • Double click the label type folder.
    • Ensure that both label types are present

  2. If only one of the lbtypes are present, proceed to step 4.

  3. If both lbtypes are present, then the lbtype whose name matches the baseline will be the correct one.

  4. Remove the base BaselineLbtype hyperlink via the command prompt.

    Using our example above, the command is:

    cleartool rmhlink BaselineLbtype@464078


    The resulting describe of the baseline will show something like the following:

    baseline "TEST.1234" created 05-Jul-07.15:37:31 by
    owner: DOMAIN\jdoe
    group: DOMAIN\Domain Users
    component: COMP@\projects
    label status: <-----NOTE: This baseline still has no label
    change sets:
    promotion level: INITIAL
    depends on:
    Attributes:
    PromotionLevel =
    "INITIAL"
    Hyperlinks:
    BaselineLbtype@463850@\projects -> lbtype:TEST.1234@\ProvOne
     
    UseBaseline@463965@\projects <- stream:mystream@\projects

  5. Promote the baseline to either a full or incremental label from a command prompt. In the example here, we will promote the baseline to full:

    cleartool chbl -full baseline:TEST.1234@\projects

  6. A final describe of the baseline shows that it is now labelled properly and can be used in the environment:

    baseline "TEST.1234" created 05-Jul-07.15:37:31 by
    owner: DOMAIN\jdoe
    group: DOMAIN\Domain Users
    component: COMP@\projects
    label status: full
    change sets:
    promotion level: INITIAL
    depends on:
    Attributes:
    PromotionLevel =
    "INITIAL"
    Hyperlinks:
    BaselineLbtype@463850@\projects -> lbtype:TEST.1234@\ProvOne
    UseBaseline@463965@\projects <- stream:mystream@\projects

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"UCM: Rebase","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":"2003.06.00;2003.06.01;2003.06.10;2003.06.12;2003.06.13;2003.06.14;2003.06.15;2003.06.16;7.0;7.0.0.1;7.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21266367