Thursday, July 31, 2008

Strangled Deliver

A Developer started a deliver after he had moved around some files. The deliver got stuck at deliver_complete. The following is the error message (when I resumed the operation at the command line).

cleartool: Warning: 4 elements were skipped because they are not visible. You should determine why they are not visible before you complete this deliver or rebase operation. If these elements should be visible, cancel this operation, fix the problem, and re-run the operation.

cleartool: Error: Unable to access "C:\view_stg\CBFE14.8_SwipeDevice_Integration\FrontEnd\CBFE-FE\JavaSource\com\cibc\bankframe\fe@@\main\Mainline_i\NL72_CBFE14.8_SwipeDevice\1\messaging": No such file or directory.

cleartool: Error: Unable to checkin "C:\view_stg\CBFE14.8_SwipeDevice_Integration\FrontEnd\CBFE-FE\JavaSource\com\cibc\bankframe\fe@@\main\Mainline_i\NL72_CBFE14.8_SwipeDevice\1\messaging".

cleartool: Error: Unable to checkin versions in activity "deliver.WenAndy_CBFE14.8_SD.20080729.164552".

cleartool: Error: Unable to perform checkin.

cleartool: Error: Unable to complete integration.

Unable to complete deliver.


After failed to cancel or complete the activity, I tried to bring back the problematic folder to the target view with no succeed. I tried to remove the target view hoping to clear all its reference. That did not help. I decided to remove the deliver activity.

c:\> cleartool describe -long activity:deliver.streamxxxxx
...
change set versions:
...


Remove all the change set in the activity:
c:\> cleartool rmver -xhlink xxxx

Remove the activity:
c:\> cleartool rmact deliver.streamxxxxx

After that the deliver activity was no longer seen from CC project explorer. But the following command showed that the deliver activity was still recorded somewhere.

M:\qinl_CBFE14.8_int>cleartool deliver -stream WenAndy_CBFE14.8_SD@\CBFEProjects -status
cleartool: Warning: Unable to construct object "oid:191965f1.df304728.b92a.74:92:09:52:a9:39@vobuuid:4597339c.992b11dc.8f55.00:01:83:31:69:b5".
cleartool: Error: Unable to find view by uuid:25b3dbb0.f3be43ca.b8b5.54:36:84:ad:6b:98, last known at "unknown:unknown".
cleartool: Error: Unable to get view handle.
cleartool: Warning: Unable to construct object "25b3dbb0.f3be43ca.b8b5.54:36:84:ad:6b:98".
Deliver operation in progress on stream "stream:WenAndy_CBFE14.8_SD@\CBFEProjects"
Started by "WenAndy" on "2008-07-29T16:45:52-04"
The integration activity has not been created.
The target view has not been specified.
Activities will be delivered to the default target stream "stream:CBFE14.8_SwipeDevice@\CBFEProjects" in project "project:CBFE14.8@\CBFEProjects".

Baselines to be delivered:
baseline:deliverbl.WenAndy_CBFE14.8_SD.20080729.164552@\CBFEProjectscomponent:FrontEnd@\CBFEProjects
Activities included in this operation:
activity:Merge_Two_Projects_To_One@\CBFEProjects


C:\Li\tmp>cleartool dump stream:WenAndy_CBFE14.8_SD@\CBFEProjects

WenAndy_CBFE14.8_SD
oid=a5be5398.d6754080.8af6.d2:06:5d:22:7f:fd dbid=874 (0x80eb66)
mtype=activity name="
WenAndy_CBFE14.8_SD" type=85
usid=NT:S-1-5-21-1481920619-292190258-1324514410-329804 gsid=NT:S-1-5-21-148192
0619-292190258-1324514410-201237
master replica dbid=3
title=""
process definition uuid=f90e2e65.3f9b11dc.905f.00:01:83:f9:3b:ad
state dbid=64
role dbid=52
user dbids: 106
config spec:
ucm
identity UCM.Stream oid:a5be5398.d6754080.8af6.d2:06:5d:22:7f:fd@vobuuid:f6ae2d0
d.3f9b11dc.905f.00:01:83:f9:3b:ad 1

# ONLY EDIT THIS CONFIG SPEC IN THE INDICATED "CUSTOM" AREAS
#
# This config spec was automatically generated by the UCM stream
# "
WenAndy_CBFE14.8_SD" at 2008-07-30T16:57:24-04.
#
....
end ucm

#UCMCustomElemBegin - DO NOT REMOVE - ADD CUSTOM ELEMENT RULES AFTER THIS LINE
#UCMCustomElemEnd - DO NOT REMOVE - END CUSTOM ELEMENT RULES

# Non-included component backstop rule: no checkouts
element * /main/0 -ucm -nocheckout

#UCMCustomLoadBegin - DO NOT REMOVE - ADD CUSTOM LOAD RULES AFTER THIS LINE

view=""
planned effort=0.00
priority=50
dtsm=1193942176
mod count=0
flags=0x16, Children, Setwork, Isolated
parent dbid=616
child activities:
878 internal071101.144125
879 internal071101.144125.1
916 internal071114.094245
work items:
user=106 view=1d3877c5.88ab11dc.9a89.00:01:83:f9:3b:ad
user=106 view=e91938ef.c3d44a19.8149.45:2b:c5:1c:02:d1
Process variables:
name=SUM_CSPEC_ID value=0:1
name=UCM_DELIVER_INTEGRATION_VIEW value=bf4d6c88.394f4ea3.8a7b.33:90:71:d7:85:8b
name=UCM_DELIVER value=ver=3
owner=wenandy
start=1217451758
act=oid:bc09e55c.0a994ca8.8e3e.fe:09:77:c1:f1:03@vobuuid:f6ae2d0d.3f9b11dc.905f.
00:01:83:f9:3b:ad
view=bf4d6c88.394f4ea3.8a7b.33:90:71:d7:85:8b
state=merging
target_stream=oid:18ab7ae8.08f3476f.954b.ed:a5:cd:12:49:fd@vobuuid:f6ae2d0d.3f9b
11dc.905f.00:01:83:f9:3b:ad
bls=oid:14d26418.01234f34.971b.c5:86:a4:97:12:66@vobuuid:f6ae2d0d.3f9b11dc.905f.
00:01:83:f9:3b:ad
bls_created=oid:14d26418.01234f34.971b.c5:86:a4:97:12:66@vobuuid:f6ae2d0d.3f9b11
dc.905f.00:01:83:f9:3b:ad
optype=1
orig_replica=oid:f6ae2d11.3f9b11dc.905f.00:01:83:f9:3b:ad@vobuuid:f6ae2d0d.3f9b1
1dc.905f.00:01:83:f9:3b:ad

hyperlinks from object:
arrow=876
type=31
hlink vob=f6ae2d0d.3f9b11dc.905f.00:01:83:f9:3b:ad
hlink obj=d0c38394.85eb4f1e.a797.ff:64:cb:3d:1f:fb
from vob=f6ae2d0d.3f9b11dc.905f.00:01:83:f9:3b:ad
from obj=a5be5398.d6754080.8af6.d2:06:5d:22:7f:fd
to vob=f6ae2d0d.3f9b11dc.905f.00:01:83:f9:3b:ad
to obj=5d3c6ee9.27424740.a08a.77:87:09:90:62:b0
arrow=877
type=38
hlink vob=f6ae2d0d.3f9b11dc.905f.00:01:83:f9:3b:ad
hlink obj=1db21860.ef93482b.abd7.d2:8b:3d:9d:d2:ee
from vob=f6ae2d0d.3f9b11dc.905f.00:01:83:f9:3b:ad
from obj=a5be5398.d6754080.8af6.d2:06:5d:22:7f:fd
to vob=f6ae2d0d.3f9b11dc.905f.00:01:83:f9:3b:ad
to obj=4943b18d.833011dc.87f8.00:01:83:f9:3b:ad

With admin's privilege, run /opt/rational/clearcase/etc/utils/ucmutil to clean the UCM_DELIVER attribute of the source stream.

ucmutil> setpvar -pvar UCM_DELIVER -none stream:xxxx@/vobs/CBFEProjects
You are about to modify internal data. Any mistake will damage the objects.
Do you want to continue? [no] y
Set UCM_DELIVER = "" [cleared]


C:\Li\tmp>cleartool deliver -stream WenAndy_CBFE14.8_SD@\CBFEProjects -status
No deliver operation in progress on stream "WenAndy_CBFE14.8_SD".

Done.

8 comments:

Gabriel said...

Hey man, you're a life saver I ran into a similar problem and your article helped me solve the problem, thanks.

khadir said...

I was stuck with a deliver activity removed and stream still showing the option as Delivery in progress with no way to go. Thanks your command has helped me to clear it.

Anonymous said...

Ӏ do not eѵen κnοw hοw I stoppeԁ up
right herе, however Ӏ believed this post used to be great.

I ԁо not underѕtаnԁ who you are but ceгtaіnly уou're going to a well-known blogger in the event you aren't already.
Ϲheerѕ!

Take a loοk at my page :: payday loans

Anonymous said...

how to get pregnant faster
Another source of estrogen is myco-estrogens which comes from the colon through the activity of candida. You won't detect this slight change, but a basal thermometer will. So, pregnancy miracle methods relate unique causes to explain the infertility of an individual.

ninest123 said...

burberry, tory burch outlet, jordan shoes, sac longchamp, uggs on sale, ugg boots, louis vuitton, oakley sunglasses, michael kors, tiffany jewelry, cheap oakley sunglasses, ray ban sunglasses, christian louboutin outlet, ralph lauren pas cher, louboutin pas cher, ray ban sunglasses, air max, nike free, longchamp outlet, longchamp pas cher, ray ban sunglasses, tiffany and co, oakley sunglasses, polo ralph lauren outlet, louis vuitton, prada outlet, kate spade outlet, longchamp outlet, nike free, ugg boots, nike air max, gucci outlet, oakley sunglasses, louis vuitton outlet, longchamp, nike outlet, replica watches, louis vuitton, replica watches, prada handbags, chanel handbags, louboutin outlet, oakley sunglasses, nike roshe run, louis vuitton outlet, nike air max, louboutin shoes, louboutin, polo ralph lauren outlet, air jordan pas cher

ninest123 said...

true religion jeans, hollister pas cher, vans pas cher, tn pas cher, michael kors, true religion outlet, sac guess, nike free run uk, michael kors outlet, oakley pas cher, true religion jeans, replica handbags, ugg boots, burberry outlet online, mulberry, converse pas cher, michael kors outlet, ugg boots, true religion jeans, michael kors outlet, michael kors, nike air max, air force, hogan, new balance pas cher, vanessa bruno, ray ban uk, hollister, kate spade handbags, north face, nike air max, lululemon, coach outlet, burberry, michael kors, timberland, ray ban pas cher, michael kors outlet, coach purses, lacoste pas cher, hermes, nike air max, nike blazer, north face, ralph lauren uk, abercrombie and fitch, michael kors outlet, michael kors, nike roshe, coach outlet

ninest123 said...

converse outlet, giuseppe zanotti, hollister, insanity workout, herve leger, north face outlet, asics running shoes, nike air max, louboutin, converse, instyler, vans shoes, reebok shoes, iphone cases, abercrombie and fitch, mac cosmetics, wedding dresses, nike huarache, baseball bats, p90x workout, valentino shoes, chi flat iron, nike trainers, ghd, babyliss, oakley, soccer shoes, vans, timberland boots, gucci, celine handbags, nike air max, north face outlet, new balance, ralph lauren, hollister, jimmy choo shoes, mcm handbags, birkin bag, soccer jerseys, longchamp, beats by dre, bottega veneta, ferragamo shoes, nfl jerseys, lululemon, nike roshe, hollister, mont blanc, ray ban

ninest123 said...

moncler, lancel, canada goose, moncler outlet, canada goose, louis vuitton, juicy couture outlet, swarovski crystal, sac louis vuitton pas cher, louis vuitton, canada goose outlet, moncler, moncler, moncler, pandora charms, montre pas cher, canada goose uk, ugg,ugg australia,ugg italia, hollister, canada goose, ugg,uggs,uggs canada, bottes ugg, marc jacobs, doudoune canada goose, ugg boots uk, moncler, louis vuitton, moncler, pandora jewelry, thomas sabo, pandora charms, toms shoes, barbour, coach outlet, supra shoes, replica watches, links of london, barbour jackets, canada goose, juicy couture outlet, swarovski, pandora jewelry, canada goose outlet, louis vuitton, moncler, karen millen, wedding dresses, ugg pas cher