• analysis-model-api 4.0.0

      Hello:

      I've found a false positive using the Msbuild Warning parser when the output of the Jenkins job display the following string:

      3: Known information: 
      

      Note that there must be a final space at the end: '3: Known information: ' (without single quotes). If you remove the final space the warning is gone. A minimal test case was implemented here:
      http://build.osrfoundation.org/job/_test_bug_msbuild_ignition_transport/29

      It generates the following backtrace:

      01 Copying the source file '3' from the workspace to the build folder '33.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 '3' contained more than once in your workspace?
      04 Is the file '3' a valid filename?
      05 If you are building on a slave: please check if the file is accessible under '$JENKINS_HOME/[job-name]/3'
      06 If you are building on the master: please check if the file is accessible under '$JENKINS_HOME/[job-name]/workspace/3'
      07 java.io.IOException: Failed to copy 3 to /var/lib/jenkins/jobs/_test_bug_msbuild_ignition_transport/builds/29/workspace-files/33.tmp
      08   at hudson.FilePath.copyTo(FilePath.java:1984)
      09   at hudson.plugins.analysis.util.Files.copyFilesWithAnnotationsToBuildFolder(Files.java:80)
      10   at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:348)
      11   at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:89)
      12   at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:295)
      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:1753)
      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:404)
      23 Caused by: java.io.IOException: remote file operation failed: 3 at hudson.remoting.Channel@7a5c4d93:Channel to /70.35.50.58: java.io.FileNotFoundException: 3 (No such file or directory)
      24   at hudson.FilePath.act(FilePath.java:992)
      25   at hudson.FilePath.act(FilePath.java:974)
      26   at hudson.FilePath.copyTo(FilePath.java:2005)
      27   at hudson.FilePath.copyTo(FilePath.java:1981)
      28   ... 14 more
      29 Caused by: java.io.FileNotFoundException: 3 (No such file or directory)
      30   at java.io.FileInputStream.open(Native Method)
      

      Thanks.

          [JENKINS-42823] False positive with msbuild parser

          Jose Luis Rivero created issue -
          Jose Luis Rivero made changes -
          Description Original: Hello:

          I've found a false positive using the Msbuild Warning parser when the output of the Jenkins job display the following string:

          {code:none}
          3: Known information:
          {code}

          Note that there must a final space at the end: '3: Known information: ' . If you remove the final space the warning is gone. A minimal test case was implemented here:
          http://build.osrfoundation.org/job/_test_bug_msbuild_ignition_transport/29

          It generates the following backtrace:

          {code:java}
          01 Copying the source file '3' from the workspace to the build folder '33.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 '3' contained more than once in your workspace?
          04 Is the file '3' a valid filename?
          05 If you are building on a slave: please check if the file is accessible under '$JENKINS_HOME/[job-name]/3'
          06 If you are building on the master: please check if the file is accessible under '$JENKINS_HOME/[job-name]/workspace/3'
          07 java.io.IOException: Failed to copy 3 to /var/lib/jenkins/jobs/_test_bug_msbuild_ignition_transport/builds/29/workspace-files/33.tmp
          08 at hudson.FilePath.copyTo(FilePath.java:1984)
          09 at hudson.plugins.analysis.util.Files.copyFilesWithAnnotationsToBuildFolder(Files.java:80)
          10 at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:348)
          11 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:89)
          12 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:295)
          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:1753)
          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:404)
          23 Caused by: java.io.IOException: remote file operation failed: 3 at hudson.remoting.Channel@7a5c4d93:Channel to /70.35.50.58: java.io.FileNotFoundException: 3 (No such file or directory)
          24 at hudson.FilePath.act(FilePath.java:992)
          25 at hudson.FilePath.act(FilePath.java:974)
          26 at hudson.FilePath.copyTo(FilePath.java:2005)
          27 at hudson.FilePath.copyTo(FilePath.java:1981)
          28 ... 14 more
          29 Caused by: java.io.FileNotFoundException: 3 (No such file or directory)
          30 at java.io.FileInputStream.open(Native Method)
          {code}

          Thanks.
          New: Hello:

          I've found a false positive using the Msbuild Warning parser when the output of the Jenkins job display the following string:

          {code:none}
          3: Known information:
          {code}

          Note that there must be a final space at the end: '3: Known information: ' (without single quotes). If you remove the final space the warning is gone. A minimal test case was implemented here:
          http://build.osrfoundation.org/job/_test_bug_msbuild_ignition_transport/29

          It generates the following backtrace:

          {code:java}
          01 Copying the source file '3' from the workspace to the build folder '33.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 '3' contained more than once in your workspace?
          04 Is the file '3' a valid filename?
          05 If you are building on a slave: please check if the file is accessible under '$JENKINS_HOME/[job-name]/3'
          06 If you are building on the master: please check if the file is accessible under '$JENKINS_HOME/[job-name]/workspace/3'
          07 java.io.IOException: Failed to copy 3 to /var/lib/jenkins/jobs/_test_bug_msbuild_ignition_transport/builds/29/workspace-files/33.tmp
          08 at hudson.FilePath.copyTo(FilePath.java:1984)
          09 at hudson.plugins.analysis.util.Files.copyFilesWithAnnotationsToBuildFolder(Files.java:80)
          10 at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:348)
          11 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:89)
          12 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:295)
          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:1753)
          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:404)
          23 Caused by: java.io.IOException: remote file operation failed: 3 at hudson.remoting.Channel@7a5c4d93:Channel to /70.35.50.58: java.io.FileNotFoundException: 3 (No such file or directory)
          24 at hudson.FilePath.act(FilePath.java:992)
          25 at hudson.FilePath.act(FilePath.java:974)
          26 at hudson.FilePath.copyTo(FilePath.java:2005)
          27 at hudson.FilePath.copyTo(FilePath.java:1981)
          28 ... 14 more
          29 Caused by: java.io.FileNotFoundException: 3 (No such file or directory)
          30 at java.io.FileInputStream.open(Native Method)
          {code}

          Thanks.
          Ulli Hafner made changes -
          Labels New: simple-test
          Ulli Hafner made changes -
          Component/s New: analysis-model [ 23523 ]
          Component/s Original: warnings-plugin [ 15513 ]
          Ulli Hafner made changes -
          Labels Original: simple-test New: newbie-friendly
          Ulli Hafner made changes -
          Labels Original: newbie-friendly New: help-wanted newbie-friendly
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ]
          Lorenz Aebi made changes -
          Assignee New: Lorenz Aebi [ laebi ]
          Lorenz Aebi made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Lorenz Aebi made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Ulli Hafner made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            laebi Lorenz Aebi
            jrivero Jose Luis Rivero
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: