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

Hudson Warning Plugin not finding files on remote machines

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: warnings-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Issue found testing with Warnings Plugin version 2.6. Hudson installed on one
      Linux platform and building on a remote Linux node. Using scons to build a
      project that is a mixture of C/C++ using the GNU compiler. The Warnings plugin
      does an excellent job of scanning the console output and identifying and
      reporting warnings and errors.

      Problem appears whil accessing Hudson and the Warnings Plugin, clicking on a
      link that is supposed to pull open the source and jump to the line that
      generated the warning/error. When link is clicked Hudson displays the
      following content:

      01 hudson.util.IOException2: remote file operation failed
      02 at hudson.FilePath.act(FilePath.java:548)
      03 at hudson.FilePath.copyTo(FilePath.java:987)
      04 at
      hudson.plugins.warnings.util.HealthAwarePublisher.copyFilesFromSlaveToMaster
      (HealthAwarePublisher.java:194)
      05 at hudson.plugins.warnings.util.HealthAwarePublisher.perform
      (HealthAwarePublisher.java:150)
      06 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep
      (AbstractBuild.java:372)
      07 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep
      (AbstractBuild.java:360)
      08 at hudson.model.Build$RunnerImpl.post2(Build.java:183)
      09 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345)
      10 at hudson.model.Run.run(Run.java:943)
      11 at hudson.model.Build.run(Build.java:112)
      12 at hudson.model.ResourceController.execute(ResourceController.java:93)
      13 at hudson.model.Executor.run(Executor.java:119)
      14 Caused by: java.io.FileNotFoundException: rtre/utility/iicore/tst.c (No such
      file or directory)
      15 at java.io.FileInputStream.open(Native Method)
      16 at java.io.FileInputStream.<init>(FileInputStream.java:106)
      17 at hudson.FilePath$25.invoke(FilePath.java:991)
      18 at hudson.FilePath$25.invoke(FilePath.java:987)
      19 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1517)
      20 at hudson.remoting.UserRequest.perform(UserRequest.java:69)
      21 at hudson.remoting.UserRequest.perform(UserRequest.java:23)
      22 at hudson.remoting.Request$2.run(Request.java:213)
      23 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      24 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      25 at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      26 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
      (ThreadPoolExecutor.java:650)
      27 at java.util.concurrent.ThreadPoolExecutor$Worker.run
      (ThreadPoolExecutor.java:675)
      28 at java.lang.Thread.run(Thread.java:595)
      29 Can't copy file from slave to master: slave=rtre/utility/iicore/tst.c,
      master=/var/hudson/jobs/BriansTestInvigBuild/builds/2009-04-14_11-03-
      33/workspace-files/d31670b0.tmp

      The file /rtre/utility/iicore/tst.c is directly under the Hudson $WORKSPACE
      path. In my situation $WORKSPACE is '/var/hudson/workspace/TestBuild. and the
      absolute path to the billtst.c source
      is '/var/hudson/workspace/TestBuild/rtre/utility/iicore/tst.c'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                brianii brianii
              • Votes:
                8 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: