Checked out element in the lost+found directory prevents a UCM Activity deliver

CM deliver operation fails due to an Activity that is checkedout but catalogued in the lost+found directory of the VOB.
Symptom

An element version listed as CHECKEDOUT in the change set of a UCM activity points to lost+found and blocks the deliver from progressing.

The other change set versions have been moved to a new activity and delivered.

Running checkvob -hlinks and checkvob -ucm complete with no errors, but do not resolve the issue with the problem activity, and the checkout remains.

Listing the properties of the activity show the change set version checked out to the lost+found directory:

lost+found> cleartool lsact -long ACT00032163
activity "ACT00032163"
16-May-06.14:58:24 by Joe User (jou)
"Created automatically as a result of 'Work On' action in ClearQuest"
owner: jou
group: liteline
stream: jou-act3g-v1.0-2@/vobs/projects
title: Draft of Test cases for UC01-1,2,3,7,8,10,11,30,32 and 04-2
change set versions:

/vobs/act3g/lost+found/TC01-02SelectRang.8de766bce4e411da810d000183536e1d@@/main/jou-act3g-v1.0-2/CHECKEDOUT.21870

Listing the output of the lost+found directory show the element as checked out but removed:

lost+found> cleartool ls
...
TC01-02SelectRang.8de766bce4e411da810d000183536e1d@@/main/jou-act3g-v1.0-2/CHECKEDOUT from /main/jou-act3g-v1.0-2/0
[checkedout but removed]
...

Attempts to list the file by name fails with the following error:

lost+found> cleartool ls TC01-02SelectTimeRang.8de766bce4e411da810d000183536e1d
cleartool: Error: Unable to access
"TC01-02SelectTimeRang.8de766bce4e411da810d000183536e1d": No such file or directory.

Attempting to remove the element from lost+found fails with an error:

lost+found> cleartool rmelem -f TC01-02SelectTimeRang.8de766bce4e411da810d000183536e1d
cleartool: Error: Pathname not found:
"TC01-02SelectTimeRang.8de766bce4e411da810d000183536e1d".


Cause

The element is referenced in the change set of the UCM activity, but it is no longer present; hence checked out but removed.

Attempts to cancel the checkout and remove the element from lost+found failed, which indicate that the checkout is in a corrupted state.


Resolving the problem

To remove the lost+found entry from the change set of the UCM activity, the view will need to be removed.

Resolve all the checkouts in the view, aside from the one in lost+found, then remove the view and the entry will be removed from the change set of the UCM activity.

Once the activity is empty, it can also be removed.

Note: If the deliver is unable to process until the checkout is resolved (canceled) in the problem activity, then proceed with the deliver in a new view.

No comments:

Post a Comment