errors...with Clear Tool

150 views
Skip to first unread message

Chanda Norton

unread,
Apr 22, 2014, 9:19:07 AM4/22/14
to jenkins...@googlegroups.com
I receive this error.

Started by user anonymous
Building remotely on Slave in workspace c:\jenkins\workspace\test2
[_lexdev2_ClearCase_Stg_VIEW_TSGDEV_cnorton_niyah_view.vws] $ cleartool lsview -cview -s
[INFO] computeChangeLogBeforeCheckout = false
[INFO] computeChangeLogAfterCheckout  = true
[test2] $ cleartool lsview Niyah.vws
cleartool: Error: No matching entries found for view tag "Niyah.vws".

FATAL: Base ClearCase failed. exit code=1
[test2] $ cleartool mkview -snapshot -tag Niyah.vws -vws null\Niyah.vws.vws _lexdev2_ClearCase_Stg_VIEW_TSGDEV_cnorton_niyah_view.vws
cleartool: Error: storage directory must be in UNC style (e.g. \\host\share\...)
FATAL: Base ClearCase failed. exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag Niyah.vws -vws null\Niyah.vws.vws _lexdev2_ClearCase_Stg_VIEW_TSGDEV_cnorton_niyah_view.vws", actual exit code=1

I have been trying to get this work for months...using Base Clear Case plugin..

Scott Evans

unread,
Apr 22, 2014, 9:25:14 AM4/22/14
to jenkins...@googlegroups.com
Chanda,

I don't use the CC plugin, but it looks like the call it's doing to try and create your local view is failing on the view storage directory path format.  In your log, it looks like there's  "null" that's getting put in, where a UNC-style path likely should be.  I assume you're already familiar with CC and view storage directory requirements.

Scott


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chanda Norton

unread,
Apr 22, 2014, 10:52:05 AM4/22/14
to jenkins...@googlegroups.com
I am, and this confuses me.  I dont understand why?  I"m clearly typing the correct path.  Maybe I should create the storage path local to the workspace?


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/8f4MHoraQGk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.

Scott Evans

unread,
Apr 22, 2014, 11:01:51 AM4/22/14
to jenkins...@googlegroups.com
I don't have the plugin installed, but check to see if there's an "Advanced" button which has additional configuration options that may be hiding additional configuration options that may have this view storage value set.  We've been bitten before by the "advanced" section for other things in Jenkins that's hidden by default, causing mis-configurations.

There also may be some help at the plugin's page at:  https://wiki.jenkins-ci.org/display/JENKINS/ClearCase+Plugin

Scott

Chanda Norton

unread,
Apr 22, 2014, 12:57:09 PM4/22/14
to jenkins...@googlegroups.com
appreciate the help Scott, but no advanced button, I simply dont get this at all.

Slide

unread,
Apr 22, 2014, 1:03:48 PM4/22/14
to Jenkins User Mailing List
Can you post your configuration for the project and the global config for Clearcase plugin? Remember to change out any username/passwords that may be there, or any other "secret" information.

Chanda Norton

unread,
Apr 22, 2014, 2:09:16 PM4/22/14
to jenkins...@googlegroups.com
Good news, I think...

Started by user anonymous
Building remotely on Slave in workspace c:\jenkins\workspace\hudson test
[_lexdev2_ClearCase_Stg_VIEW_TSGDEV_Cnorton] $ cleartool lsview -cview -s
trconnor_test_view.vws

[hudson test] $ cleartool lsview trconnor_test_view.vws
  trconnor_test_view.vws \\host\ClearCase_Stg\VIEW\TSGDEV\CNorton\_host_ClearCase_Stg_VIEW_TSGDEV_Cnorton.vws

[INFO] computeChangeLogBeforeCheckout = true
[INFO] computeChangeLogAfterCheckout  = false
[host_ClearCase_Stg_VIEW_TSGDEV_Cnorton] $ cleartool pwv -root
c:\jenkins\workspace\hudson test\_host_ClearCase_Stg_VIEW_TSGDEV_Cnorton

[hudson test] $ cleartool lsview trconnor_test_view.vws
  trconnor_test_view.vws \\
[_host_ClearCase_Stg_VIEW_TSGDEV_Cnorton] $ cleartool lshistory -all -since 22-apr-14.18:01:21utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -nco FQT2/program/CommonFramework
cleartool: Error: Unable to access "FQT2/program/CommonFramework": No such file or directory.

FATAL: Base ClearCase failed. exit code=1
[hudson test] $ cleartool lsview trconnor_test_view.vws
  trconnor_test_view.vws \\host2\ClearCase_Stg\VIEW\TSGDEV\CNorton\_host_ClearCase_Stg_VIEW_TSGDEV_Cnorton.vws

[_lexdev2_ClearCase_Stg_VIEW_TSGDEV_Cnorton] $ cleartool lsview -cview -s
trconnor_test_view.vws

[hudson test] $ cleartool catcs -tag trconnor_test_view.vws
element * CHECKEDOUT
element * /main/LATEST

Added load rule : \FQT2\program\CommonFramework
[hudson test] $ cleartool endview -server trconnor_test_view.vws

[hudson test] $ cleartool -version
ClearCase version 7.1.2.0 (Tue Sep 21 12:01:15 EDT 2010) (7.1.2.D100920)
@(#) MVFS version 7.1.2.0 (Tue Aug 10 00:41:16 2010)

cleartool                         7.1.2.0 (Wed Sep 8 12:56:06 2010)
db_server                         7.1.2.0 (Sat Sep 4 01:27:12 2010)

VOB database schema version: 54


Running cleartool setcs, this operation may take a while
[_host_ClearCase_Stg_VIEW_TSGDEV_Cnorton] $ cleartool setcs -overwrite "c:\jenkins\workspace\hudson test\configspec7534068634271825357.txt"
# ClearCase snapshot view update log
# Update session parameters:
# 
FormatVersion:           4
SnapshotView:            "c:\jenkins\workspace\hudson test\_host_ClearCase_Stg_VIEW_TSGDEV_Cnorton"
StartTime:               2014-04-22T14:03:18-04:00
UserID:                  CNorton@host2
ProcessID:               2268
ConfigSpecSet:           TRUE
PreviewOnly:             FALSE
PreserveVOBTimes:        FALSE
UpdateHijackedFiles:     TRUE
RenameHijackedFiles:     FALSE
# 
# Actions taken to update the view:
# 
NonfileError:            "cleartool: Error: Unable to lookup "program" in "\FQT2@@\main\0": No such file or directory."
NonfileError:            "cleartool: Error: Unable to access "\FQT2\program\CommonFramework": No such file or directory."
NonfileError:            "cleartool: Error: 1 config spec load rule problems encountered."
# 
# Update session status:
# 
EndTime:                 2014-04-22T14:03:18-04:00
BytesCopied:             0
CancelledByUser:         FALSE
[INFO] updt file name: 'c:\jenkins\workspace\hudson test\_host_ClearCase_Stg_VIEW_TSGDEV_Cnorton\update.2014-04-22T140317-0400.updt'
[hudson test] $ cleartool catcs -tag trconnor_test_view.vws
element * CHECKEDOUT
element * \main\LATEST 
element * \MET_REL5M1-20131212
load \FQT2\program\CommonFramework

Finished: SUCCESS


so if this build was a sucess, where is the build stored.  Because the next part, is the deployment.

Chanda Norton

unread,
May 21, 2014, 11:06:46 AM5/21/14
to jenkins...@googlegroups.com
I am now realizing the issue is with my load rule..I do not have global configurations set, because the view path constantly changes.  Something I'm trying to get the devs to straighten out...but..I need some help with the load rules.

Please help.
Reply all
Reply to author
Forward
0 new messages