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

Warnings plugin - Error on clicking on filename

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • warnings-plugin
    • None
    • Linux slave, Linux master 1.431
      Warnings being scanned for: gcc

      01 Copying the source file 'Generati/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/Fixed.h' from the workspace to the build folder '/home/hudson/.hudson/jobs/Common/configurations/axis-label/Mandriva-2010.1-64/builds/2011-09-29_16-58-09/workspace-files/27da6022.tmp' on the Hudson master failed.
      02 Seems that the path is relative, however an absolute path is required when copying the sources.
      03 Is the file 'Fixed.h' contained more than once in your workspace?
      04 Is the file 'Generati/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/Fixed.h' a valid filename?
      05 If you are building on a slave: please check if the file is accessible under '$HUDSON_HOME/[job-name]/Generati/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/Fixed.h'
      06 If you are building on the master: please check if the file is accessible under '$HUDSON_HOME/[job-name]/workspace/Generati/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/Fixed.h'
      07 hudson.util.IOException2: remote file operation failed: Generati/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/Fixed.h at hudson.remoting.Channel@719875e2:S-MND-2010.2-64-1
      08   at hudson.FilePath.act(FilePath.java:754)
      09   at hudson.FilePath.act(FilePath.java:740)
      10   at hudson.FilePath.copyTo(FilePath.java:1411)
      11   at hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:362)
      12   at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:324)
      13   at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      14   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693)
      15   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668)
      16   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646)
      17   at hudson.model.Build$RunnerImpl.post2(Build.java:162)
      18   at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615)
      19   at hudson.model.Run.run(Run.java:1401)
      20   at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      21   at hudson.model.ResourceController.execute(ResourceController.java:88)
      22   at hudson.model.Executor.run(Executor.java:230)
      23 Caused by: java.io.FileNotFoundException: Generati/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/Fixed.h (No such file or directory)
      24   at java.io.FileInputStream.open(Native Method)
      25   at java.io.FileInputStream.<init>(FileInputStream.java:106)
      26   at hudson.FilePath$30.invoke(FilePath.java:1415)
      27   at hudson.FilePath$30.invoke(FilePath.java:1411)
      28   at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1995)
      29   at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      30   at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      31   at hudson.remoting.Request$2.run(Request.java:287)
      32   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      33   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      34   at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      35   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      36   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      37   at java.lang.Thread.run(Thread.java:662)
      

      In the exception above, it says it is trying to copy the source file 'Generati/ci/ .... '

      The path is /ci/dev/workspace/Common/label/ ....
      I'm not sure where the Generati is coming in from.
      Line 03 seems to be the issue, since there is no/there should not be a "Generati" in front of the path.

      On a second file, this changed:

      01 Copying the source file 'Se/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/log.cpp' from the workspace to the build folder '/home/hudson/.hudson/jobs/Common/configurations/axis-label/Mandriva-2010.1-64/builds/2011-09-29_16-58-09/workspace-files/20b0d866.tmp' on the Hudson master failed.
      02 Seems that the path is relative, however an absolute path is required when copying the sources.
      03 Is the file 'log.cpp' contained more than once in your workspace?
      04 Is the file 'Se/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/log.cpp' a valid filename?
      05 If you are building on a slave: please check if the file is accessible under '$HUDSON_HOME/[job-name]/Se/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/log.cpp'
      06 If you are building on the master: please check if the file is accessible under '$HUDSON_HOME/[job-name]/workspace/Se/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/log.cpp'
      07 hudson.util.IOException2: remote file operation failed: Se/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/log.cpp at hudson.remoting.Channel@719875e2:S-MND-2010.2-64-1
      08   at hudson.FilePath.act(FilePath.java:754)
      09   at hudson.FilePath.act(FilePath.java:740)
      10   at hudson.FilePath.copyTo(FilePath.java:1411)
      11   at hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:362)
      12   at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:324)
      13   at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      14   at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693)
      15   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668)
      16   at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646)
      17   at hudson.model.Build$RunnerImpl.post2(Build.java:162)
      18   at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615)
      19   at hudson.model.Run.run(Run.java:1401)
      20   at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      21   at hudson.model.ResourceController.execute(ResourceController.java:88)
      22   at hudson.model.Executor.run(Executor.java:230)
      23 Caused by: java.io.FileNotFoundException: Se/ci/dev/workspace/Common/label/Mandriva-2010.1-64/Common/Common/src/Common/log.cpp (No such file or directory)
      24   at java.io.FileInputStream.open(Native Method)
      25   at java.io.FileInputStream.<init>(FileInputStream.java:106)
      26   at hudson.FilePath$30.invoke(FilePath.java:1415)
      27   at hudson.FilePath$30.invoke(FilePath.java:1411)
      28   at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1995)
      29   at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      30   at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      31   at hudson.remoting.Request$2.run(Request.java:287)
      32   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      33   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      34   at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      35   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      36   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      37   at java.lang.Thread.run(Thread.java:662)
      

      Here it claims the path is 'Se/ci/dev/workspace/Common/ ... '

      Not sure where the 'Se' came from. The path should be the same as above.

            drulli Ulli Hafner
            khushsk Sagar Khushalani
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: