[Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 541
  • Last Modified:

Issue while creating view in unix machine.

Hi All,

My question is related to hudson (https://hudson.dev.java.net/)

  I am getting the below exception message while creating a view in my Unix machine. Could some unix users help me in figuring out the problem ?

Building remotely on qa-release303.qa
[ws] $ cleartool catcs -tag crp2
element * CHECKEDOUT
element * /main/LATEST
[ws] $ cleartool rmview -force crp2
[ws] $ cleartool mkview -snapshot -tag crp2 -vws /home/automan/hudson/ViewStore/crp2.vws -tmode insert_cr crp2
Created view.
Host-local path: qa-release303:/home/automan/hudson/ViewStore/crp2.vws
Global path:     /home/automan/hudson/ViewStore/crp2.vws
It has the following rights:
User : automan  : rwx
Group: automan  : rwx
Other:          : r-x
Created snapshot view directory "crp2".
[crp2] $ cleartool setcs ..\configspec19173.txt
cleartool: Error: Unable to open file "..\configspec19173.txt": No such file or directory.
cleartool: Error: Unable to change configuration specification: error detected by ClearCase subsystem.
FATAL: Base ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1
      at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:72)
      at hudson.plugins.clearcase.ClearToolSnapshot.setcs(ClearToolSnapshot.java:34)
      at hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout(SnapshotCheckoutAction.java:48)
      at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:217)
      at hudson.model.AbstractProject..checkout(AbstractProject.java:693)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:266)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:239)
      at hudson.model.Run.run(Run.java:842)
      at hudson.model.Build.run(Build.java:88)
      at hudson..model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:90)
  • 2
1 Solution
Unixpath names are usually with a '/' and not a '\'.
skrishnapradeepAuthor Commented:
Thats fine. But this is something clearcase plugin from hudson is trying to execute the command using '/'.  Is there any other workaround for this ?

skrishnapradeepAuthor Commented:
Partially it helped me

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now