-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
Sometimes the job fails because the ${NODE_NAME} macro isn't correctly resolved.
When the job was last run on slave x and gets dispatched to slave y it fails
since ${NODE_NAME} is resolved to x.
Job stacktrace:
started
Building remotely on Seldw2803
[USP-PDE-QA] $ "c:\Program Files\Rational\ClearCase\bin\cleartool" mkview
-snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210
cleartool: Error: A registry entry already exists for "USP-PDE-QA_seldw2210".
FATAL: Base ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="mkview
-snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command
line="mkview -snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210", actual
exit code=1
at
hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:72)
at hudson.plugins.clearcase.ClearToolSnapshot.mkview(ClearToolSnapshot.java:53)
at
hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout(SnapshotCheckoutAction.java:43)
at
hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:199)
at hudson.model.AbstractProject.checkout(AbstractProject.java:664)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:261)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:235)
at hudson.model.Run.run(Run.java:817)
at hudson.model.Build.run(Build.java:88)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:88)