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

Cpptest Plugin fails to link to job source code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cpptest-plugin
    • None

      When following the link to the source code I get an error equal to this (taken from https://groups.google.com/forum/#!topic/jenkinsci-users/ml_3pMHdYAg):

      01 Copying the source file '/ac_realinfo_srvd/ac_realinfo_srvd/ac_realinfo_data_proc.c' from the workspace to the build folder 'C:\.jenkins\jobs\wacap1.8_inspection\builds\2014-05-05_20-44-43\workspace-files\ef148ebb.tmp' on the Jenkins master failed.
      02 Is the file '/ac_realinfo_srvd/ac_realinfo_srvd/ac_realinfo_data_proc.c' a valid filename?
      03 If you are building on a slave: please check if the file is accessible under '$JENKINS_HOME/[job-name]//ac_realinfo_srvd/ac_realinfo_srvd/ac_realinfo_data_proc.c'
      04 If you are building on the master: please check if the file is accessible under '$JENKINS_HOME/[job-name]/workspace//ac_realinfo_srvd/ac_realinfo_srvd/ac_realinfo_data_proc.c'
      05 java.io.IOException: remote file operation failed: /ac_realinfo_srvd/ac_realinfo_srvd/ac_realinfo_data_proc.c at hudson.remoting.Channel@f9f7bc:compiler_1.75
      06   at hudson.FilePath.act(FilePath.java:916)
      07   at hudson.FilePath.act(FilePath.java:893)
      08   at hudson.FilePath.copyTo(FilePath.java:1821)
      09   at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:398)
      10   at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:165)
      11   at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333)
      12   at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      13   at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745)
      14   at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:709)
      15   at hudson.model.Build$BuildExecution.post2(Build.java:182)
      16   at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:658)
      17   at hudson.model.Run.execute(Run.java:1734)
      18   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      19   at hudson.model.ResourceController.execute(ResourceController.java:88)
      20   at hudson.model.Executor.run(Executor.java:231)
      21 Caused by: java.io.FileNotFoundException: /ac_realinfo_srvd/ac_realinfo_srvd/ac_realinfo_data_proc.c (没有那个文件或目录)
      22   at java.io.FileInputStream.open(Native Method)
      23   at java.io.FileInputStream.<init>(FileInputStream.java:138)
      24   at hudson.FilePath$37.invoke(FilePath.java:1826)
      25   at hudson.FilePath$37.invoke(FilePath.java:1821)
      26   at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2474)
      27   at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      28   at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      29   at hudson.remoting.Request$2.run(Request.java:328)
      30   at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      31   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      32   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      33   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      34   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      35   at java.lang.Thread.run(Thread.java:722)
      

      What seems to be the problem is the two forward slashes in the file path.

            gbois Gregory Boissinot
            kamrup Rasmus Pedersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: