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

Attempts to copy files across jobs.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • warnings-ng-plugin
    • None
    • Ubuntu 16.04LTS

      The warnings-plugin seems to access files and tries to make copies accross job boundries. Noticed this when new files pulled in one job are not yet available in the other, then I get a lot of false warnings added to the statistics. The current job name is "BorisB_BetaFlight" and from there the warnings-plugin tries to access files in a job named "AndWho_Betaflight_buildsystem"

      See it all here: http://andwho.sytes.net:8080/job/BorisB_BetaFlight/697/warnings27Result/source.-8247652556134220142/#16

       01 Copying the source file '/var/lib/jenkins/jobs/AndWho_Betaflight_buildsystem/workspace/src/test/./src/main/target/KAKUTEF4-V1/target.c' from the workspace to the build folder 'f16d8a0.tmp' on the Jenkins master failed.
      02 Is the file '/var/lib/jenkins/jobs/AndWho_Betaflight_buildsystem/workspace/src/test/./src/main/target/KAKUTEF4-V1/target.c' a valid filename?
      03 If you are building on a slave: please check if the file is accessible under '$JENKINS_HOME/[job-name]//var/lib/jenkins/jobs/AndWho_Betaflight_buildsystem/workspace/src/test/./src/main/target/KAKUTEF4-V1/target.c'
      04 If you are building on the master: please check if the file is accessible under '$JENKINS_HOME/[job-name]/workspace//var/lib/jenkins/jobs/AndWho_Betaflight_buildsystem/workspace/src/test/./src/main/target/KAKUTEF4-V1/target.c'
      05 java.io.IOException: Failed to copy /var/lib/jenkins/jobs/AndWho_Betaflight_buildsystem/workspace/src/test/src/main/target/KAKUTEF4-V1/target.c to /var/lib/jenkins/jobs/BorisB_BetaFlight/builds/697/workspace-files/f16d8a0.tmp
      06   at hudson.FilePath.copyTo(FilePath.java:2018)
      07   at hudson.plugins.analysis.util.Files.copyFilesWithAnnotationsToBuildFolder(Files.java:80)
      08   at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:333)
      09   at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:89)
      10   at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:280)
      11   at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
      12   at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      13   at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      14   at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      15   at hudson.model.Build$BuildExecution.post2(Build.java:185)
      16   at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      17   at hudson.model.Run.execute(Run.java:1745)
      18   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      19   at hudson.model.ResourceController.execute(ResourceController.java:98)
      20   at hudson.model.Executor.run(Executor.java:404)
      21 Caused by: java.io.FileNotFoundException: /var/lib/jenkins/jobs/AndWho_Betaflight_buildsystem/workspace/src/test/src/main/target/KAKUTEF4-V1/target.c (No such file or directory)
      22   at java.io.FileInputStream.open0(Native Method)
      23   at java.io.FileInputStream.open(FileInputStream.java:195)
      24   at java.io.FileInputStream.<init>(FileInputStream.java:138)
      25   at hudson.FilePath$41.invoke(FilePath.java:2044)
      26   at hudson.FilePath$41.invoke(FilePath.java:2039)
      27   at hudson.FilePath.act(FilePath.java:1018)
      28   at hudson.FilePath.act(FilePath.java:996)
      29   at hudson.FilePath.copyTo(FilePath.java:2039)
      30   at hudson.FilePath.copyTo(FilePath.java:2013)
      

            drulli Ulli Hafner
            andwho Anders Hoglund
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: