Clearcase plugin issue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Clearcase plugin issue

 
 Load  rules 
\PV_WEB_Internet
 
 
My issue is when hudson tries to lauch a build I get the following exception:
 
[workspace] $ cleartool mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test
Selected Server Storage Location "Views_cours".
cleartool: Error: Unable to create directory "\\Z500wxpg14596\ccstg_c\Views\LE500\MORISSL\BUILD_lotoBPDL_test": No such file or directory.
FATAL: UCM ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test", actual exit code=1
	at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
	at hudson.plugins.clearcase.ClearToolSnapshot.mkview(ClearToolSnapshot.java:88)
	at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout(UcmSnapshotCheckoutAction.java:86)
	at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:289)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:803)
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
	at hudson.model.Run.run(Run.java:928)
	at hudson.model.Build.run(Build.java:112)
	at hudson.model.ResourceController.execute(ResourceController.java:93)
	at hudson.model.Executor.run(Executor.java:118
   My guess is that, instead of try to create the viw on registry server (not on my machine), it tries to create on my machine (logicaly)
 
Is ther a way that I could either : tell him not to create a view OR specify remote clearcase server location ?
 
According to  this pot:
I think it might not be possible
 
Any ideas on how to resolve this issue?
 
I really like hudson but it clearcase integration is (like everything related to IBM product).. a pain in the ass
 
Thank you in advance
Laurent Morissette
 
Service internet
S.S LQ 6ième
+1514-499-7111 (4246)  
 

Mise en garde concernant la confidentialité : Le présent message, comprenant tout fichier qui y est joint, est envoyé à l'intention exclusive de son destinataire; il est de nature confidentielle et peut constituer une information protégée par le secret professionnel. Si vous n'êtes pas le destinataire, nous vous avisons que toute impression, copie, distribution ou autre utilisation de ce message est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer le courriel. Merci!

Confidentiality Warning: This message, including any attachment, is sent only for the use of the intended recipient; it is confidential and may constitute privileged information. If you are not the intended recipient, you are hereby notified that any printing, copying, distribution or other use of this message is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email, and delete it. Thank you!

Morissette Laurent
Hi everybody,
 
I'm having an issue regarding clearcase plugin usage.
 
For starter here is my hudson job configuration:
 
View name Stream selector
Reply | Threaded
Open this post in threaded view
|

Re: Clearcase plugin issue

Andrew Bayer
Try the additional mkview arguments - you can specify storage location, view server, etc.

A.

On Fri, Jul 3, 2009 at 10:29 AM, Morissette Laurent <[hidden email]> wrote:
Hi everybody,
 
I'm having an issue regarding clearcase plugin usage.
 
For starter here is my hudson job configuration:
 
View name 
Stream selector
 Load  rules 
\PV_WEB_Internet
 
 
My issue is when hudson tries to lauch a build I get the following exception:
 
[workspace] $ cleartool mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test
Selected Server Storage Location "Views_cours".
cleartool: Error: Unable to create directory "\\Z500wxpg14596\ccstg_c\Views\LE500\MORISSL\BUILD_lotoBPDL_test": No such file or directory.
FATAL: UCM ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test", actual exit code=1
	at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
	at hudson.plugins.clearcase.ClearToolSnapshot.mkview(ClearToolSnapshot.java:88)
	at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout(UcmSnapshotCheckoutAction.java:86)
	at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:289)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:803)
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
	at hudson.model.Run.run(Run.java:928)
	at hudson.model.Build.run(Build.java:112)
	at hudson.model.ResourceController.execute(ResourceController.java:93)
	at hudson.model.Executor.run(Executor.java:118
   My guess is that, instead of try to create the viw on registry server (not on my machine), it tries to create on my machine (logicaly)
 
Is ther a way that I could either : tell him not to create a view OR specify remote clearcase server location ?
 
According to  this pot:
I think it might not be possible
 
Any ideas on how to resolve this issue?
 
I really like hudson but it clearcase integration is (like everything related to IBM product).. a pain in the ass
 
Thank you in advance
Laurent Morissette
 
Service internet
S.S LQ 6ième
+1514-499-7111 (4246)  
 

Mise en garde concernant la confidentialité : Le présent message, comprenant tout fichier qui y est joint, est envoyé à l'intention exclusive de son destinataire; il est de nature confidentielle et peut constituer une information protégée par le secret professionnel. Si vous n'êtes pas le destinataire, nous vous avisons que toute impression, copie, distribution ou autre utilisation de ce message est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer le courriel. Merci!

Confidentiality Warning: This message, including any attachment, is sent only for the use of the intended recipient; it is confidential and may constitute privileged information. If you are not the intended recipient, you are hereby notified that any printing, copying, distribution or other use of this message is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email, and delete it. Thank you!


Reply | Threaded
Open this post in threaded view
|

RE: Re: Clearcase plugin issue

Morissette Laurent
And where do I specify such option knowing that I'm using "UCM clearcase " as  SCM profile ?
Do I need to use "base clearcase" instead?
thanks again :)


De : Andrew Bayer [mailto:[hidden email]]
Envoyé : 3 juillet 2009 13:46
À : [hidden email]
Objet : Re: Clearcase plugin issue

Try the additional mkview arguments - you can specify storage location, view server, etc.

A.

On Fri, Jul 3, 2009 at 10:29 AM, Morissette Laurent <[hidden email]> wrote:
Hi everybody,
 
I'm having an issue regarding clearcase plugin usage.
 
For starter here is my hudson job configuration:
 
View name  
Stream selector
 Load  rules 
\PV_WEB_Internet
 
 
My issue is when hudson tries to lauch a build I get the following exception:
 
[workspace] $ cleartool mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test
Selected Server Storage Location "Views_cours".
cleartool: Error: Unable to create directory "\\Z500wxpg14596\ccstg_c\Views\LE500\MORISSL\BUILD_lotoBPDL_test": No such file or directory.
FATAL: UCM ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test", actual exit code=1
	at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
	at hudson.plugins.clearcase.ClearToolSnapshot.mkview(ClearToolSnapshot.java:88)
	at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout(UcmSnapshotCheckoutAction.java:86)
	at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:289)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:803)
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
	at hudson.model.Run.run(Run.java:928)
	at hudson.model.Build.run(Build.java:112)
	at hudson.model.ResourceController.execute(ResourceController.java:93)
	at hudson.model.Executor.run(Executor.java:118
   My guess is that, instead of try to create the viw on registry server (not on my machine), it tries to create on my machine (logicaly)
 
Is ther a way that I could either : tell him not to create a view OR specify remote clearcase server location ?
 
According to  this pot:
I think it might not be possible
 
Any ideas on how to resolve this issue?
 
I really like hudson but it clearcase integration is (like everything related to IBM product).. a pain in the ass
 
Thank you in advance
Laurent Morissette
 
Service internet
S.S LQ 6ième
+1514-499-7111 (4246)  
 

Mise en garde concernant la confidentialité : Le présent message, comprenant tout fichier qui y est joint, est envoyé à l'intention exclusive de son destinataire; il est de nature confidentielle et peut constituer une information protégée par le secret professionnel. Si vous n'êtes pas le destinataire, nous vous avisons que toute impression, copie, distribution ou autre utilisation de ce message est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer le courriel. Merci!

Confidentiality Warning: This message, including any attachment, is sent only for the use of the intended recipient; it is confidential and may constitute privileged information. If you are not the intended recipient, you are hereby notified that any printing, copying, distribution or other use of this message is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email, and delete it. Thank you!


Mise en garde concernant la confidentialité : Le présent message, comprenant tout fichier qui y est joint, est envoyé à l'intention exclusive de son destinataire; il est de nature confidentielle et peut constituer une information protégée par le secret professionnel. Si vous n'êtes pas le destinataire, nous vous avisons que toute impression, copie, distribution ou autre utilisation de ce message est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer le courriel. Merci!

Confidentiality Warning: This message, including any attachment, is sent only for the use of the intended recipient; it is confidential and may constitute privileged information. If you are not the intended recipient, you are hereby notified that any printing, copying, distribution or other use of this message is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email, and delete it. Thank you!

Reply | Threaded
Open this post in threaded view
|

Re: Re: Clearcase plugin issue

Andrew Bayer
Click the Advanced button below the stream selector, etc.

A.

On Fri, Jul 3, 2009 at 11:25 AM, Morissette Laurent <[hidden email]> wrote:
And where do I specify such option knowing that I'm using "UCM clearcase " as  SCM profile ?
Do I need to use "base clearcase" instead?
thanks again :)


De : Andrew Bayer [mailto:[hidden email]]
Envoyé : 3 juillet 2009 13:46
À : [hidden email]
Objet : Re: Clearcase plugin issue

Try the additional mkview arguments - you can specify storage location, view server, etc.

A.

On Fri, Jul 3, 2009 at 10:29 AM, Morissette Laurent <[hidden email]> wrote:
Hi everybody,
 
I'm having an issue regarding clearcase plugin usage.
 
For starter here is my hudson job configuration:
 
View name  
Stream selector
 Load  rules 
\PV_WEB_Internet
 
 
My issue is when hudson tries to lauch a build I get the following exception:
 
[workspace] $ cleartool mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test
Selected Server Storage Location "Views_cours".
cleartool: Error: Unable to create directory "\\Z500wxpg14596\ccstg_c\Views\LE500\MORISSL\BUILD_lotoBPDL_test": No such file or directory.
FATAL: UCM ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -stream P_WEB_lotoBPDL_Integration@\PV_WEB -tag BUILD_lotoBPDL_test BUILD_lotoBPDL_test", actual exit code=1
	at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
	at hudson.plugins.clearcase.ClearToolSnapshot.mkview(ClearToolSnapshot.java:88)
	at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout(UcmSnapshotCheckoutAction.java:86)
	at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:289)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:803)
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
	at hudson.model.Run.run(Run.java:928)
	at hudson.model.Build.run(Build.java:112)
	at hudson.model.ResourceController.execute(ResourceController.java:93)
	at hudson.model.Executor.run(Executor.java:118
   My guess is that, instead of try to create the viw on registry server (not on my machine), it tries to create on my machine (logicaly)
 
Is ther a way that I could either : tell him not to create a view OR specify remote clearcase server location ?
 
According to  this pot:
I think it might not be possible
 
Any ideas on how to resolve this issue?
 
I really like hudson but it clearcase integration is (like everything related to IBM product).. a pain in the ass
 
Thank you in advance
Laurent Morissette
 
Service internet
S.S LQ 6ième
+1514-499-7111 (4246)  
 

Mise en garde concernant la confidentialité : Le présent message, comprenant tout fichier qui y est joint, est envoyé à l'intention exclusive de son destinataire; il est de nature confidentielle et peut constituer une information protégée par le secret professionnel. Si vous n'êtes pas le destinataire, nous vous avisons que toute impression, copie, distribution ou autre utilisation de ce message est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer le courriel. Merci!

Confidentiality Warning: This message, including any attachment, is sent only for the use of the intended recipient; it is confidential and may constitute privileged information. If you are not the intended recipient, you are hereby notified that any printing, copying, distribution or other use of this message is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email, and delete it. Thank you!


Mise en garde concernant la confidentialité : Le présent message, comprenant tout fichier qui y est joint, est envoyé à l'intention exclusive de son destinataire; il est de nature confidentielle et peut constituer une information protégée par le secret professionnel. Si vous n'êtes pas le destinataire, nous vous avisons que toute impression, copie, distribution ou autre utilisation de ce message est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer le courriel. Merci!

Confidentiality Warning: This message, including any attachment, is sent only for the use of the intended recipient; it is confidential and may constitute privileged information. If you are not the intended recipient, you are hereby notified that any printing, copying, distribution or other use of this message is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email, and delete it. Thank you!