clearcase plugin, registry problem

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

clearcase plugin, registry problem

mory kone
 
   hi,
 
   i tried to use clearcase plugin 0.8.4 but sometimes, my build fail and I get this message.
 
 
    cleartool: Error: A registry entry already exists for "SRC_MID_build0003".
FATAL: Base ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag SRC_MID_build0003 SRC_MID_build0003", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag SRC_MID_build0003 SRC_MID_build0003", 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.SnapshotCheckoutAction.checkout(SnapshotCheckoutAction.java:69)
at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:291)
at hudson.model.AbstractProject.checkout(AbstractProject.java:809)
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:923)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
 
it seems to be a registry problem, but I don't understand why I can't use a view severeals times.
 
Thank you.

    


Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !
Reply | Threaded
Open this post in threaded view
|

Re: clearcase plugin, registry problem

Andrew Bayer
Hi -

You can't use the same snapshot view in multiple jobs - if you try to use an existing snapshot view tag, you'll get the error below, since it's trying to create a view with an existing tag. If you want to use the same view in multiple jobs, you'll need to use an existing dynamic view instead.

A.

On Mon, Jul 6, 2009 at 9:09 AM, mory kone <[hidden email]> wrote:
 
   hi,
 
   i tried to use clearcase plugin 0.8.4 but sometimes, my build fail and I get this message.
 
 
    cleartool: Error: A registry entry already exists for "SRC_MID_build0003".
FATAL: Base ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag SRC_MID_build0003 SRC_MID_build0003", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag SRC_MID_build0003 SRC_MID_build0003", 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.SnapshotCheckoutAction.checkout(SnapshotCheckoutAction.java:69)
at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:291)
at hudson.model.AbstractProject.checkout(AbstractProject.java:809)
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:923)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
 
it seems to be a registry problem, but I don't understand why I can't use a view severeals times.
 
Thank you.

    


Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !

Reply | Threaded
Open this post in threaded view
|

RE: clearcase plugin, registry problem

mory kone
Thank you andrew for your answer.
 
I use one snapshot view for one job.
Sometimes hudson deletes his workspace after a build, when I try to launch my build one more time , i get this error.
Do you think that there is a relationship between deleting workspace and registry problem?
 
M. KONE
 

From: [hidden email]
Date: Mon, 6 Jul 2009 09:17:20 -0700
To: [hidden email]
Subject: Re: clearcase plugin, registry problem

Hi -

You can't use the same snapshot view in multiple jobs - if you try to use an existing snapshot view tag, you'll get the error below, since it's trying to create a view with an existing tag. If you want to use the same view in multiple jobs, you'll need to use an existing dynamic view instead.

A.

On Mon, Jul 6, 2009 at 9:09 AM, mory kone <[hidden email]> wrote:
 
   hi,
 
   i tried to use clearcase plugin 0.8.4 but sometimes, my build fail and I get this message.
 
 
    cleartool: Error: A registry entry already exists for "SRC_MID_build0003".
FATAL: Base ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag SRC_MID_build0003 SRC_MID_build0003", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag SRC_MID_build0003 SRC_MID_build0003", 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.SnapshotCheckoutAction.checkout(SnapshotCheckoutAction.java:69)
at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:291)
at hudson.model.AbstractProject.checkout(AbstractProject.java:809)
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:923)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
 
it seems to be a registry problem, but I don't understand why I can't use a view severeals times.
 
Thank you.

    


Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !



Souhaitez vous  « être au bureau sans y être » ? Oui je le veux !
Reply | Threaded
Open this post in threaded view
|

Re: clearcase plugin, registry problem

Andrew Bayer
Until version 0.9 of the ClearCase plugin, the view tags weren't getting deleted from the ClearCase registry when the workspace was cleaned, causing the error you're seeing. That's fixed in 0.9.

A.

On Mon, Jul 6, 2009 at 9:29 AM, mory kone <[hidden email]> wrote:
Thank you andrew for your answer.
 
I use one snapshot view for one job.
Sometimes hudson deletes his workspace after a build, when I try to launch my build one more time , i get this error.
Do you think that there is a relationship between deleting workspace and registry problem?
 
M. KONE
 

From: [hidden email]
Date: Mon, 6 Jul 2009 09:17:20 -0700
To: [hidden email]
Subject: Re: clearcase plugin, registry problem


Hi -

You can't use the same snapshot view in multiple jobs - if you try to use an existing snapshot view tag, you'll get the error below, since it's trying to create a view with an existing tag. If you want to use the same view in multiple jobs, you'll need to use an existing dynamic view instead.

A.

On Mon, Jul 6, 2009 at 9:09 AM, mory kone <[hidden email]> wrote:
 
   hi,
 
   i tried to use clearcase plugin 0.8.4 but sometimes, my build fail and I get this message.
 
 
    cleartool: Error: A registry entry already exists for "SRC_MID_build0003".
FATAL: Base ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag SRC_MID_build0003 SRC_MID_build0003", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag SRC_MID_build0003 SRC_MID_build0003", 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.SnapshotCheckoutAction.checkout(SnapshotCheckoutAction.java:69)
at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:291)
at hudson.model.AbstractProject.checkout(AbstractProject.java:809)
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:923)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
 
it seems to be a registry problem, but I don't understand why I can't use a view severeals times.
 
Thank you.

    


Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !



Souhaitez vous  « être au bureau sans y être » ? Oui je le veux !