History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-813
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Leon Thielen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

set the Config Spec form variable doesn't work

Created: 26/Jan/11 01:01 PM   Updated: 26/Jan/11 02:49 PM
Component/s: None
Affects Version/s: 3.1.12
Fix Version/s: 3.1.18

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
Linux 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
and
Microsoft Windows [Version 5.2.3790]
QB - Server
Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Client release 5.2 (Tikanga)



 Description  « Hide
Hi I am using QB 3.1.2
My view server is linux host.
I get an Error while using a ClearCase Repository.
I set the Config Spec with a variable like ${vars.getValue("msConfigSpec")}.
And the checkout step faild with :

Failed to run command: cleartool setcs /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp
Command return code: 1
Command error output: cleartool: Error: The first element rule of a snapshot view's config spec must be "element * CHECKEDOUT".
cleartool: Error: Config spec semantic processing failed.
cleartool: Error: Unable to change configuration specification: error in configuration specification.

When I set do the command by hand I get this:

vobadm@vob1 [18] $ ct setcs -tag ltd_magma5 opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp
cleartool: Error: The first element rule of a snapshot view's config spec must be "element * CHECKEDOUT".
cleartool: Error: Config spec semantic processing failed.
cleartool: Error: Unable to change configuration specification: error in configuration specification.

A unix file command on this file shows me:

vobadm@vob1 [22] $ file /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp
/opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp: ASCII text, with CRLF, LF line terminators

I guess config file file_3836177965414951411.tmp is in the dos file format.

So I converted the file into the unix file format .

vobadm@vob1 [23] $ dos2unix /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp
dos2unix: converting file /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp to UNIX format ...
vobadm@vob1 [24] $ file /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp
/opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp: ASCII text

After that I try again to set the config spec by hand. And it works.

vobadm@vob1 [27] $ ct setcs -tag ltd_magma5 /opt/quickBuild/buildagent/temp/file_3836177965414951411.tmp
Making dir "vobs/lib".
Processing dir "vobs/lib".
Processing dir "vobs/lib/lost+found".
.
Processing dir ...


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.