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

ClearCase plugin should start SCM Poll view on the server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Linux, Glassfish V3, Hudson 1.338

      The ClearCase plugin for the SCM polling is not starting the ClearCase view (dynamic) on the slave node. This should happen by default prior to doing the SCM polling. I believe Hudson tries to do the SCM polling on the server of the last build (or successful build), in this case it was a slave node vs the master node. A quick fix was to start the ClearCase dynamic view manually on the slave node to get the SCM polling moving again. Below is the stack:

      Started on Dec 22, 2009 12:41:48 PM
      Cannot run program "/opt/rational/clearcase/bin/cleartool" (in directory "/view/test_hudson"): java.io.IOException: error=2, No such file or directory
      java.io.IOException: Cannot run program "/opt/rational/clearcase/bin/cleartool" (in directory "/view/test_hudson"): java.io.IOException: error=2, No such file or directory
      	at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
      	at hudson.Proc$LocalProc.(Proc.java:148)
      	at hudson.Proc$LocalProc.(Proc.java:120)
      	at hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
      	at hudson.Launcher$ProcStarter.start(Launcher.java:268)
      	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:775)
      	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:753)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:104)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:270)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:619)
      Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
      	at java.lang.UNIXProcess.(UNIXProcess.java:148)
      	at java.lang.ProcessImpl.start(ProcessImpl.java:65)
      	at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
      	... 15 more
      Done. Took 0.14 sec
      No changes
      

            abayer Andrew Bayer
            mezlight mezlight
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: