Thursday, November 25, 2010

Re: clearcase no response

This question is not answered.

Posts: 28
Registered: Dec 01, 2006 04:24:44 AM Re: clearcase no response
Posted: Nov 22, 2010 01:02:15 AM   in response to: cm@heart in response to: cm@heart's post "setting up sniffers and also check MTU settings." Could you give me more detail description about this?
Posts: 28
Registered: Dec 01, 2006 04:24:44 AM Re: clearcase no response
Posted: Nov 22, 2010 01:10:27 AM   in response to: marcdb in response to: marcdb's post Many thanks!
telnet 371
I see an empty screen.
Could you give me more detail further description about "Ping uses ICMP port 8 called "echo" ?
Posts: 202
Registered: Jan 15, 2005 05:15:03 PM Re: clearcase no response
Posted: Nov 22, 2010 03:02:24 AM   in response to: shingirl in response to: shingirl's post Shingirl,

There is a RFCs collection where all those protocols and their usage is explained.

In short when you ping a remore machine, your PC does send a "hello" message to the address you wish to enquire.

In human terms:

hello AAA I am ZZZ do you read me?

hello ZZZ this is AAA and I read you

When you use:

ping address -a

you ask the remote machine to supply you its human readable name known as DNS

Also the ICMP set is used to build a matrix of machines in a LAN

The full RFC list can be found in here: www.rfc-editor.org


Posts: 412
Registered: Mar 15, 2005 04:40:07 AM Re: clearcase no response
Posted: Nov 22, 2010 09:17:10 AM   in response to: shingirl in response to: shingirl's post shingirl wrote:
> I first use albd_list command.
Then you can ignore telnet, ping etc. for now: this is useful knowledge in general, but it won't help you in this case.
Marc
Posts: 422
Registered: Sep 28, 2005 02:20:11 PM Re: clearcase no response
Posted: Nov 23, 2010 09:36:01 AM   in response to: shingirl in response to: shingirl's post This seems to be going around in circles...

Some important tests:
1) Verify that a "loaded" ping (packet size of at least 4096 bytes) works. "ping -l 5120 {registry server name}" is a useful command to test this...
2) Verify whether you can do an lsvob of a known VOB tag. "cleartool lsvob \myvob" If this works, while a full lsvob fails, you most likely have a firewall configuration that is blocking the full communication.

If the single-VOB lsvob fails, then verify that you can actually communicate with the albd port on the server host. The best command for that is the old windows "telnet" program. The syntax is "telnet {registry server name} 371", and if this is successful, you will see NOTHING. If it fails, you will get an error like this:
Connecting To ...Could not open connection to the host, on port 371: Connect failed

If the telnet fails that way, you need to determine why you cannot perform this basic communication and resolve the issue. The possible causes are:
1) Name resolution. The server's host name may resolve to an incorrect address in DNS
2) Client-side firewall issue. The ClearCase commands from this host may be getting blocked by a firewall on the client. You would be able to see this in a network trace started on the client, because you will see no communication going out to port 371.
3) intermediate firewall issue.

Note: If the registry server is also this client's ATRIA license server (check clearcase control panel or cleartool hostinfo -long), then the fact that you are NOT getting a license error indicates that basic communication with the albd works.

=================================================================
Brian Cowan
Advisory Software Engineer
ClearCase SoftWare Advisory Team (SWAT)
Rational Software
IBM Software Group
550 King St
Littleton, MA 01460

Phone: 1.978.899.9471
Web: http://www.ibm.com/software/rational/support/


Posts: 412
Registered: Mar 15, 2005 04:40:07 AM Re: clearcase no response
Posted: Nov 23, 2010 11:08:38 AM   in response to: brcowan in response to: brcowan's post brcowan wrote:
> The best command for that is the old windows "telnet" program.

Why is this better than albd_list???

Marc


Posts: 422
Registered: Sep 28, 2005 02:20:11 PM Re: clearcase no response
Posted: Nov 23, 2010 11:22:38 AM   in response to: shingirl in response to: shingirl's post Well, albd_list is great if you're on the server and looking to see what the child processes of the albd are. If you need to verify ability to get to the port, telnet has the advantage of completely eliminating clearcase from the client-side picture.

=================================================================
Brian Cowan
Advisory Software Engineer
ClearCase SoftWare Advisory Team (SWAT)
Rational Software
IBM Software Group
550 King St
Littleton, MA 01460

Phone: 1.978.899.9471
Web: http://www.ibm.com/software/rational/support/


Posts: 412
Registered: Mar 15, 2005 04:40:07 AM Re: clearcase no response
Posted: Nov 23, 2010 12:34:15 PM   in response to: brcowan in response to: brcowan's post brcowan wrote:
> telnet has the advantage of completely eliminating clearcase from the client-side picture.

This may be an advantage if the test fails, but not, as here, if it succeeds.

Marc

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Re: Hi guys, I have run into a deliver problem which says files are invisible


Permlink Replies: 6 - Pages: 1 - Last Post: Nov 23, 2010 7:37 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 14
Registered: May 06, 2008 03:16:51 AM Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 07, 2009 04:58:51 AM Hi guys,

I have run into a deliver problem which says files are invisible from the integration view.
I tried to cancel the deliver but it failed saying,

cleartool: Error: Cannot cancel because the integration activity "internal deliver activity name" has checkins.
You must remove the checked in versions then redo the cancel OR resume the operation.

I wanted to remove the activity, but it had changeset versions.

I did a describe of the activity and found that there are thousand's of files in the changset.
Removed all those except a directory. Removal of that particular directory by using the below command fails,

cleartool rmver -xbranch -xlabel -xattr -xhlink element
cleartool: Error: Cannot remove versions which are recorded in UCM baseline.
cleartool: Error: No versions of "element" to remove.

i described the particular element and a found a label type attached to that element from hyperlink phase.

Described the label type to find the baseline attached to it.

Then again describing the baseline revealed,

there were three child streams using that particular baseline . The baseline is INITIAL and has a label type attached to it.

Can i go ahead and remove this baseline? or is there a specific procedure to be followed.

How would i know how many files are using this baseline and whether it would create a serious impact on this project?

I am stuck with this issue for a long time. Can someone please help out?

Thanks


Posts: 561
Registered: Nov 19, 2007 06:06:36 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 07, 2009 12:49:43 PM   in response to: UCMRookie in response to: UCMRookie's post Firstly, I would try to remove checkins by "cleartool rmver -xhlink element".

Tamir Gefen, GoMidjets
http://www.gomidjets.com


Posts: 14
Registered: May 06, 2008 03:16:51 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 08, 2009 01:05:51 AM   in response to: Tgefen in response to: Tgefen's post unfortunately that did not work out,

maa-view2:18> cleartool rmver -xhlink element
cleartool: Error: Removal of "interesting" versions must be explicitly enabled.
Not removing these "interesting" versions of "element":
/main/integration branch/1 (has: labels, hyperlinks)
cleartool: Error: No versions of "element" to remove.

I tried with -xlabel option but it gave the error as mentioned in the original post.

Any clues?


Posts: 561
Registered: Nov 19, 2007 06:06:36 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 08, 2009 12:33:41 PM   in response to: UCMRookie in response to: UCMRookie's post You should replace "element" with (filename).
Posts: 71
Registered: Nov 17, 2006 05:38:41 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Dec 10, 2009 04:18:06 AM   in response to: Tgefen in response to: Tgefen's post The warning about invisible elements during a delivery is generally not a problem. It means that you have changed these elements for that activity, but later removed the element from the parent directory. So these elements are no longer in the picture of your integration view and don't have to merged.

So the best solution in my opinion, would be to resume your delivery and try to complete it.

If that doesn't work I would create a neqw activity on the integration stream and try to move all your checked-in and baselined versions to that new activity. Until you have no longer any version linked to your delivery-activity.
When that is done, you should be able to cancel the delivery and delete the delivery-activity.

To remove the baseline: you will not be able to remove a baseline that is used as foundation in another stream. So you should first change the foundation of the other stream (maybe revert back to a previous foundation baseline ?

Regards,
Marc


Posts: 2
Registered: Sep 03, 2010 08:45:50 AM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Nov 23, 2010 09:31:10 AM   in response to: marcdb in response to: marcdb's post Hi,

How to move change set versions from one(Deliver) activity to another(New) activity?


Posts: 689
Registered: Jun 25, 2007 04:53:38 PM Re: Hi guys, I have run into a deliver problem which says files are invisible
Posted: Nov 23, 2010 07:37:28 PM   in response to: MallikarjunaMKandala in response to: MallikarjunaMKandala's post You wrote:How to move change set versions from one(Deliver) activity to another(New) activity?

In CC Project Explorer, right-click the desired deliver activity and select "Properties". On the Change Set tab, right-click the desired version and select "Move to Activity". In the "Select Activity" window, you can either select an existing activity or create a new one.

HOWEVER, in the case of files included in a delivery that are invisible on the target stream, moving the affected versions from a deliver activity to a new activity should NOT be your first course of action. I would suggest:

1. Go fix the problem then restart the delivery. This may involve removing versions and/or branches for the elements that are no longer visible. You need to evaluate each case separately and take the appropriate action.

2. If you don't have time to do #1 that instant, then cancel the delivery, go to the child stream and move the versions to a new activity there instead of on the parent stream. Then you can re-deliver without the new activity and fix the elements later.

3. If you are already in the middle of a big delivery that you don't want to restart and don't have time to do #1, then you can consider moving versions from the deliver activity to a new activity (which you should resolve asap).

-Jeff Ng

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

software architect

bestmatch has returned the most relevant jobs to the vacancy below

Sorry, I could not read the content fromt this page.

View the original article here

Re: Edit Baseline Dependencies bug in 7.1.1.2 solaris-sparc

Permlink Replies: 1 - Pages: 1 - Last Post: Nov 23, 2010 5:20 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 689
Registered: Jun 25, 2007 04:53:38 PM Edit Baseline Dependencies bug in 7.1.1.2 solaris-sparc
Posted: Aug 25, 2010 01:54:56 PM I'm testing a ClearCase upgrade from 2003.06 to 7.1.1.2 and I've found what appears to be a bug in the Solaris-sparc 7.1.1.2 version (the problem also exists in 7.1.1.0). I'd like to know if anyone else is experiencing this behavior.

When editing baseline dependencies (to setup a composite baseline) using the CC Project Explorer GUI (UCM), I am only able to drag-and-drop one component into my rootless component. The first one goes fine but after that, I am not able to "grab" any more components using the middle mouse buttons. I have verified that this works fine on Linux-x86 CC-7.1.1.2. I am going to test this on a 7.1.1.2 Windows client later this afternoon.

If you are using CC UCM 7.1.1.x on Solaris-sparc, can you please try this and let me know if you encounter the problem? You can try it without actually affecting your project. Just edit baseline dependencies, try to setup the relationships and CANCEL.

Thanks,

-Jeff Ng


Posts: 689
Registered: Jun 25, 2007 04:53:38 PM Re: Edit Baseline Dependencies bug in 7.1.1.2 solaris-sparc
Posted: Nov 23, 2010 05:20:13 PM   in response to: jeff98air in response to: jeff98air's post Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

ClearCase Build Engineer

Java Developer
MATRIX Resources  -  Charlotte, NC

Our client, a leading financial institution, is looking for a senior level Java Developer for investment banking applications. Following established written procedures, guidelines and techniques, develops, enhances, tests, supports, maintains, and debugs...


View the original article here

Wednesday, November 24, 2010

Re: Direct Queries to CC Database

Permlink Replies: 10 - Pages: 1 - Last Post: Nov 20, 2010 11:52 AM Last Post By: 314 Threads: [ Previous | Next ]
Posts: 8
Registered: Oct 13, 2006 04:15:41 PM Direct Queries to CC Database
Posted: Nov 16, 2010 03:08:02 PM It may be easiest to just give an example. Suppose I want a list of all files (elements) whose basename is foo.c. "basename" is the last part of a path. So with a element on path /a/b/c/d/foo.c, the basename is foo.c.

I know about the "find" command (cleartool find . -name foo.c -print) but that is doing a linear search. There should be a way that I can do something like "select path where path like '%/foo.c'" in SQL terms.

I have many other questions after this one but this will get me started.

Thank you for your help
Perry


Posts: 686
Registered: Jun 25, 2007 04:53:38 PM Re: Direct Queries to CC Database
Posted: Nov 16, 2010 05:20:23 PM   in response to: pedz in response to: pedz's post You can use an asterisk as a wildcard in the name:cleartool find -all -name "*foo.c" -print

You can also use the asterisk on both ends of the name to find substrings:cleartool find -all -name "*foo*" -print

-Jeff Ng


Posts: 886
Registered: Jun 09, 2005 09:06:53 PM Re: Direct Queries to CC Database
Posted: Nov 16, 2010 05:40:20 PM   in response to: pedz in response to: pedz's post if you use -all, it will search independently of the config spec and also use internal indexes if available. That works up to a certain number of hits and ccan actually be somewhat fast. It depends on exactly what you are searching for.
You can use any sql because the CC DB isn't sql. It is called RAIMA and there is no user accessible interface except cleartool commands. They tried to use a relational DB and the performance was really bad. So RAIMA its is and will be.

Martina
Don't Postpone Joy - Have Fun

ReleaseTEAM Inc
http://www.releaseteam.com
IBM Rational Certified Consultants
IBM Business Partner


Posts: 8
Registered: Oct 13, 2006 04:15:41 PM Re: Direct Queries to CC Database
Posted: Nov 17, 2010 05:06:19 PM   in response to: martina in response to: martina's post time cleartool find -all -name foo.c -print

took 32 minutes to complete. :-(

Plus, I'm pretty sure it is searching only a small fraction of all the files. If I go up a directory, the find does not work. And in that directory, there are probably 20 sub directories. I think the find above is searching just one of the 20+ sub directories because that is where I started the find. Doing things like find * or find ./* did not work. But, its rather moot. CMVC could do the query over the same files in a few seconds and give me tons of more information in one query like tying changes to defects, etc.

It is fine if I can't do SQL but there must be some way to dig out the information that I'm looking for. So far, all the cleartool commands produce verbose texty stuff which has the data but with a lot of verbose text around it. I'm needing just the data.


Posts: 686
Registered: Jun 25, 2007 04:53:38 PM Re: Direct Queries to CC Database
Posted: Nov 17, 2010 05:36:55 PM   in response to: pedz in response to: pedz's post You wrote: cleartool find -all -name foo.c -print

The "-all" option expands the search to the entire VOB that you are currently in. By default, ALL visible and invisible elements are searched, but there are options (-visible | -nvisible) to constrain the search. If you want to search all VOBs, use the "-avobs" option which will search all VOBs mounted on the host you execute the command on.

If the find command doesn't work one directory up, then you probably are not in a VOB anymore (multi-part VOB tag names).

-Jeff Ng


Posts: 8
Registered: Oct 13, 2006 04:15:41 PM Re: Direct Queries to CC Database
Posted: Nov 17, 2010 06:02:53 PM   in response to: jeff98air in response to: jeff98air's post My point about find is it isn't going to work for me. It is way too slow.

There has to be another way to do this. Nothing could be this broken.

As a more practical question: how do I find the list of files that belong to a component? Does CC even have the concept of components? Some way to group files into sets that are managed by one team?


Posts: 474
Registered: Apr 08, 2008 11:40:52 PM Re: Direct Queries to CC Database
Posted: Nov 17, 2010 06:21:08 PM   in response to: pedz in response to: pedz's post Lets step back a bit here - you need to tell us what your requirement is in context. What is the problem you are trying to solve?

It seems unlikely to me that you are going to frequently have to scour your entire source tree looking for foo.c (or whatever). More than likely there is a different way to solve whatever the underlying requirement is.


Posts: 201
Registered: Jan 15, 2005 05:15:03 PM Re: Direct Queries to CC Database
Posted: Nov 18, 2010 02:37:08 AM   in response to: pedz in response to: pedz's post This question seems to me asked from a Subversion user that by default enquiries the database directly ---> "select path where path like '%/foo.c'"
scary way to work in Sofware Configuration Management

1- there is no need to use cleartool find unless extract data from all branches
2- when the view is mapped, default windows M: driver and Linux/Unix the stgloc set by the admin

Just use dir foo. /s* in Windows and ll -R | grep foo in Linux/Unix . . . . job done

But as someone has already asked, what is the purpose of you question, more important what is your aim?


Posts: 8
Registered: Oct 13, 2006 04:15:41 PM Re: Direct Queries to CC Database
Posted: Nov 18, 2010 12:33:01 PM   in response to: Anthony Coluzzi in response to: Anthony Coluzzi's post My initial objective is to "port" two CMVC scripts. I believe if I can do that, then I'll be on my way.

One of them queries CMVC and reports back, for all files like foo.c all the changes and all the defects that are associated with the changes for all releases for that file. I'd be somewhat content if it was only one particular file. So: All the changes, for all releases (what CC calls areas), tied back to Defect numbers. The report gives me the from and to sccs id strings. There is also a similar report that gives me all the changes for all the files for a particular component (for all releases). These reports take only seconds to run. We (support) do them rather often. I call those scripts Prs and Prs-comp.

The opposite direction is a script called Changes. It is similar to a CC script we have called ChangeRecord but the difference is that Changes goes across releases as well where as ChangeRecord requires a specific "area". So, Changes takes a Defect and reports back all the files for all releases changed by that defect. It too gives me the from (previous) sccs id string and the new sccs id string.

I get that the sccs id strings are different in CC/CQ but the purpose is the same. If we are talking to a customer and them to do a "what blahblah" to get the list of source files used to create that version of blahblah, we need to be able to quickly map that back to a defect and understand where that defect fits in in the stream of changes made for blahblah or for that component.

A typical support person in our team is supporting over a million lines of code. That is just the networking code, its drivers, and various other bits and pieces. There are probably a couple dozen such other teams supporting almost the same amount of code. Even knowing just the paths to the files is a challenge.


Posts: 474
Registered: Apr 08, 2008 11:40:52 PM Re: Direct Queries to CC Database
Posted: Nov 18, 2010 05:14:36 PM   in response to: pedz in response to: pedz's post As I guessed you might need to try a different approach...

For a start - if you were using ClearCase's UCM instead of vanilla ClearCase I think at least some of those features would be available straight out of the box. However I gather you are not doing that.

It isn't quite clear if you are using ClearQuest as well as ClearCase but you must be using something to track change requests and linking that information to ClearCase. Its hard answer without knowing this.

For some more generic approaches... In ClearCase you typically label the versions of everything that are part of a release.
So for example one of the ones you mentioned - "get the list of source files used to create that version..." (I assume "version" in this context is a release of the deployed product). You would do a find by the label. There are several ways to do this (find command of course is one). In this scenario (searching by label) I think you would find "find" is much faster.

It also means you can just get a view of the code as at any release quickly... if you labelled everything as REL3.1 just create a view and set the config spec to:element * REL3.1
If it is a dynamic view you will then be looking at the entire source tree as at that release immediately.

Find can be used to identify all the versions of files that changed between two labelled releases. This is a bit more complex because it needs three find queries to cover the changes, adds, and deletes.

For your defect related identifier questions we'd need to know how you are connecting code to defects.


Posts: 408
Registered: Mar 15, 2005 04:40:07 AM Mark_at_SoftwareTraction wrote:

> For a start - if you were using ClearCase's UCM instead of vanilla ClearCase
> I think at least some of those features would be available straight out of the box.

Argh!
I'd say that if you are using base ClearCase, you still have some hope; none if you used UCM.

In ClearCase, you could use clearmake decently. Your deliverable should be a derived object, and thus have a config record. This would list the exact versions it depends upon. This is what you'd want to put into the 'what' string.
To do this, you'd need to create a new derived object from the one produced and tested, and which you decide to deliver. You could 'patch' (under clearmake) a copy of the former, with meta-information taken from its config record.

UCM threw ClearCase away in many ways. For clearmake, it did it by selecting an adverse delivery strategy, based on (mostly trivial) merging, thus creating spurious duplicates of the versions and invalidating derived objects based on the original ones, instead of promoting them.

Anyway, in a context such as the one I described (which I used 15 years ago), a label would be applied using the config record. Using it to produce a one line config spec, one could recreate the full software configuration, and get back to any single file in it in a matter of seconds.

Marc

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

ClearCase Architect at Robert Half Technology (San Jose, CA)


View the original article here