java.io.IOException: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1

Jenkins JIRA | skrishnapradeep | 8 years ago
  1. 0

    I am getting the below exception message when creating a view in my Unix machine. I was told that the command contains "$ cleartool setcs ..\configspec19173.txt" backslash which was not supported by unix and was asked to modify the command to "$ cleartool setcs ../configspec19173.txt". I believe this is something that clearcase plugin excecutes this command and I have no idea how to change this command during runtime. If clearcase plugin takes control, it should handle this case irrespective of the platform it is being run. By the by, I am using clearcase plugin version 0.6 and hudson ver 1.279. started 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) started 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)

    Jenkins JIRA | 8 years ago | skrishnapradeep
    java.io.IOException: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1
  2. 0

    I am getting the below exception message when creating a view in my Unix machine. I was told that the command contains "$ cleartool setcs ..\configspec19173.txt" backslash which was not supported by unix and was asked to modify the command to "$ cleartool setcs ../configspec19173.txt". I believe this is something that clearcase plugin excecutes this command and I have no idea how to change this command during runtime. If clearcase plugin takes control, it should handle this case irrespective of the platform it is being run. By the by, I am using clearcase plugin version 0.6 and hudson ver 1.279. started 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) started 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)

    Jenkins JIRA | 8 years ago | skrishnapradeep
    java.io.IOException: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1
  3. 0

    Integrating Hudson with UCM Clearcase on windows machine

    Stack Overflow | 6 years ago | Umang
    java.io.IOException: cleartool did not return the expected exit code. Command line="setcs -tag advcm3_LAC_FN38_Test -stream", actual exit code=1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Base Clearcase issues

    Google Groups | 6 years ago | BEvans
    java.io.IOException: cleartool did not return the expected exit code. Command line="startview GURt2645", actual exit code=1
  6. 0

    Regarding problem with base clear case plugin (1.3.6)

    Google Groups | 4 years ago | Deepika Garg
    java.io.IOException: cleartool did not return the expected exit code. Command line="startview GURt2645", actual exit code=1

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    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()
    2. hudson.plugins.clearcase
      AbstractClearCaseScm.checkout
      1. hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher..java:72)
      2. hudson.plugins.clearcase.ClearToolSnapshot.setcs(ClearToolSnapshot.java:34)
      3. hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout(SnapshotCheckoutAction.java:48)
      4. hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:217)
      4 frames
    3. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:693)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:266)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:239)
      4. hudson.model.Run.run(Run.java:842)
      5. hudson.model.Build.run(Build.java:88)
      6. hudson.model.ResourceController.execute(ResourceController.java:70)
      7. hudson.model.Executor.run(Executor.java:90)
      7 frames