Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13026

No such file or directory when trying to run cleartool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • simpleclearcase-plugin
    • None
    • RHEL5
      simpleclearcase 1.1
      Jenkins 1.454

      See error message below.
      cleartool is in /usr/atria/bin

      I have tried to set the PATH variable using EnvInject.

      Please help. Thanks.

      [EnvInject] - Preparing an environment for the job.
      [EnvInject] - Keep Jenkins system variables.
      [EnvInject] - Keep Jenkins build variables.
      [EnvInject] - Injecting as environment variables the properties content
      PATH=/usr/atria/bin:$PATH

      [EnvInject] - Variables injected successfully.
      checkout: Starting to 'checkout'

      checkout: There is no Previous build or there isn't any RevisionState added, we invoke lshistory with null date

      [testbuild] $ cleartool setview -exec 'cleartool lshistory -last 10 -fmt "%Nd| |%u| |%En| |%Vn| |%e| |%o| |%Nc\n" -nco /vobs/a93k/prod_com' bf_r7.1_fix-enhance_mspiller_cr74112
      java.io.IOException: Cannot run program "cleartool" (in directory "/data/workspace/testbuild"): java.io.IOException: error=2, No such file or directory
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
      at hudson.Proc$LocalProc.<init>(Proc.java:244)
      at hudson.Proc$LocalProc.<init>(Proc.java:216)
      at hudson.Launcher$LocalLauncher.launch(Launcher.java:707)
      at hudson.Launcher$ProcStarter.start(Launcher.java:338)
      at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:932)
      at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:899)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:287)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:636)
      Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
      at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
      at java.lang.ProcessImpl.start(ProcessImpl.java:81)
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
      ... 15 more
      Notifying upstream projects of job completion
      Finished: FAILURE

            sata_ sam tavakoli
            matspi Matthias Spiller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: