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

False warnings: Failed to copy 2016-07-20 02 to .../builds/.../workspace-files/4581fd88.tmp



    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Jenkins ver. 2.10
      Warnings plugin 4.56


      There are multiple false warnings appear/disappear in every build, hiding real warnings and test issues of every job.

      Job configured to scan a single log file in workspace with Clang (LLVM based) parser. There are no records like this in the file. There are no folders like this in the workspace. Built at master.

      Warning example.

      The warning itself is shown at line 15 with text '11 database corruption at line 51393 of':

      Content of file

      01 Copying the source file '2016-07-20 02' from the workspace to the build folder '4581fd88.tmp' on the Jenkins master failed.
      02 Seems that the path is relative, however an absolute path is required when copying the sources.
      03 Is the file '2016-07-20 02' contained more than once in your workspace?
      04 Is the file '2016-07-20 02' a valid filename?
      05 If you are building on a slave: please check if the file is accessible under '$JENKINS_HOME/[job-name]/2016-07-20 02'
      06 If you are building on the master: please check if the file is accessible under '$JENKINS_HOME/[job-name]/workspace/2016-07-20 02'
      07 java.io.IOException: Failed to copy 2016-07-20 02 to /jenkins/builds/App1UnitTests/2377/workspace-files/4581fd88.tmp
      08   at hudson.FilePath.copyTo(FilePath.java:2018)
      09   at hudson.plugins.analysis.util.Files.copyFilesWithAnnotationsToBuildFolder(Files.java:80)
      10   at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:333)
      11   at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:89)
      12   at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:280)
      13   at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
      14   at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      15   at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      16   at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      17   at hudson.model.Build$BuildExecution.post2(Build.java:185)
      18   at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      19   at hudson.model.Run.execute(Run.java:1745)
      20   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      21   at hudson.model.ResourceController.execute(ResourceController.java:98)
      22   at hudson.model.Executor.run(Executor.java:410)
      23 Caused by: java.io.FileNotFoundException: 2016-07-20 02 (No such file or directory)
      24   at java.io.FileInputStream.open0(Native Method)
      25   at java.io.FileInputStream.open(FileInputStream.java:195)
      26   at java.io.FileInputStream.<init>(FileInputStream.java:138)
      27   at hudson.FilePath$41.invoke(FilePath.java:2044)
      28   at hudson.FilePath$41.invoke(FilePath.java:2039)
      29   at hudson.FilePath.act(FilePath.java:1018)
      30   at hudson.FilePath.act(FilePath.java:996)
      31   at hudson.FilePath.copyTo(FilePath.java:2039)
      32   at hudson.FilePath.copyTo(FilePath.java:2013)
      33   ... 14 more




            drulli Ulli Hafner
            vorobievalex Alexander Vorobiev
            0 Vote for this issue
            3 Start watching this issue