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

Warnings parser throws on output from msbuild with timestamps

      Issue with Warnings parsing of msbuild log files. Started after upgrade of warnings/static analysis to 4.62/1.86 from 3-4 versions prior (late january timeframe for previous versions)

      15:37:41 [WARNINGS] Computing warning deltas based on reference build
       java.nio.file.InvalidPathException: Illegal char <:> at index ##: C:\jenkins\workspace\src\15:23:56.649 2>File1.c

       15:37:41 at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
       15:37:41 at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
       15:37:41 at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
       15:37:42 at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
       15:37:42 at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)

      The actual log data is:

       15:23:56.649 2>File1.c(435): warning C4311: 'type cast': pointer truncation from 'void *' to 'unsigned int' [C:\jenkins\workspace\src\project.vcxproj]

       

          [JENKINS-43595] Warnings parser throws on output from msbuild with timestamps

          CyberTech created issue -
          CyberTech made changes -
          Link New: This issue is related to JENKINS-43531 [ JENKINS-43531 ]
          CyberTech made changes -
          Description Original: Not sure if there is a way to disable this awesome feature but it looks like it does not like output from cppunit. This is only on version v1.86 of the Static Analysis Utilities v1.82 plugin. Does not happen on v1.82

          *17:45:08* [WARNINGS] Computing warning deltas based on reference build #1120*17:45:08* ERROR: Build step failed with exception*17:45:08*
           [java.nio.file.InvalidPathException|http://stacktrace.jenkins-ci.org/search?query=java.nio.file.InvalidPathException]
           : Illegal char <:> at index 3: NCS::QA::API::GeotiffKeyTagTest:*17:45:08* at
           [sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)|http://stacktrace.jenkins-ci.org/search/?query=sun.nio.fs.WindowsPathParser.normalize&entity=method]
           *17:45:08* at
           [sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)|http://stacktrace.jenkins-ci.org/search/?query=sun.nio.fs.WindowsPathParser.parse&entity=method]
           *17:45:08* at
           [sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)|http://stacktrace.jenkins-ci.org/search/?query=sun.nio.fs.WindowsPathParser.parse&entity=method]
           *17:45:08* at
           [sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)|http://stacktrace.jenkins-ci.org/search/?query=sun.nio.fs.WindowsPath.parse&entity=method]
           *17:45:08* at
           [sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)|http://stacktrace.jenkins-ci.org/search/?query=sun.nio.fs.WindowsFileSystem.getPath&entity=method]
           *17:45:08* at
           [java.io.File.toPath(File.java:2234)|http://stacktrace.jenkins-ci.org/search/?query=java.io.File.toPath&entity=method]
           *17:45:08* at
           [hudson.FilePath$41.invoke(FilePath.java:1994)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$41.invoke&entity=method]
           *17:45:08* at
           [hudson.FilePath$41.invoke(FilePath.java:1991)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$41.invoke&entity=method]
           *17:45:08* at
           [hudson.FilePath$FileCallableWrapper.call(FilePath.java:2714)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$FileCallableWrapper.call&entity=method]
           *17:45:08* at
           [hudson.remoting.UserRequest.perform(UserRequest.java:153)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method]
           *17:45:08* at
           [hudson.remoting.UserRequest.perform(UserRequest.java:50)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method]
           *17:45:08* at
           [hudson.remoting.Request$2.run(Request.java:336)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.run&entity=method]
           *17:45:08* at
           [hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)|http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.InterceptingExecutorService$1.call&entity=method]
           *17:45:08* at
           [java.util.concurrent.FutureTask.run(FutureTask.java:266)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method]
           *17:45:08* at
           [java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor.runWorker&entity=method]
           *17:45:08* at
           [java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)|http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method]
           *17:45:08* at
           [java.lang.Thread.run(Thread.java:745)|http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method]
           *17:45:08* at ......remote call to ChargedBunny(Native Method)*17:45:08* at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)*17:45:08* at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)*17:45:08* at hudson.remoting.Channel.call(Channel.java:830)*17:45:08* at hudson.FilePath.act(FilePath.java:985)*17:45:08* at hudson.FilePath.act(FilePath.java:974)*17:45:08* at hudson.FilePath.copyTo(FilePath.java:1991)*17:45:08* at hudson.FilePath.copyTo(FilePath.java:1967)*17:45:08* at hudson.plugins.analysis.util.Files.copyFilesWithAnnotationsToBuildFolder(Files.java:80)*17:45:08* at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:348)*17:45:08* at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:89)*17:45:08* at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:295)*17:45:08* at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)*17:45:08* at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*17:45:08* at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)*17:45:08* at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)*17:45:08* at hudson.model.Build$BuildExecution.post2(Build.java:186)*17:45:08* at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)*17:45:08* at hudson.model.Run.execute(Run.java:1755)*17:45:08* at hudson.plugins.project_inheritance.projects.InheritanceBuild.run(InheritanceBuild.java:169)*17:45:08* at hudson.model.ResourceController.execute(ResourceController.java:97)*17:45:08* at hudson.model.Executor.run(Executor.java:405)*17:45:08* Build step 'Scan for compiler warnings' marked build as failure
          New: Issue with Warnings parsing of msbuild log files. Started after upgrade of warnings/static analysis to 4.62/1.86 from 3-4 versions prior (late january timeframe for previous versions)

          {{15:37:41 [WARNINGS] Computing warning deltas based on reference build}}
          {{ java.nio.file.InvalidPathException: Illegal char <:> at index ##: C:\jenkins\workspace\src\15:23:56.649 2>File1.c}}

          {{ 15:37:41 at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)}}
           {{ 15:37:41 at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)}}
           {{ 15:37:41 at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)}}
           {{ 15:37:42 at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)}}
           {{ 15:37:42 at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)}}

          The actual log data is:

          {{ 15:23:56.649 2>File1.c(435): warning C4311: 'type cast': pointer truncation from 'void *' to 'unsigned int' [C:\jenkins\workspace\src\project.vcxproj]}}

           
          CyberTech made changes -
          Link New: This issue is related to JENKINS-43566 [ JENKINS-43566 ]
          CyberTech made changes -
          Description Original: Issue with Warnings parsing of msbuild log files. Started after upgrade of warnings/static analysis to 4.62/1.86 from 3-4 versions prior (late january timeframe for previous versions)

          {{15:37:41 [WARNINGS] Computing warning deltas based on reference build}}
          {{ java.nio.file.InvalidPathException: Illegal char <:> at index ##: C:\jenkins\workspace\src\15:23:56.649 2>File1.c}}

          {{ 15:37:41 at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)}}
           {{ 15:37:41 at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)}}
           {{ 15:37:41 at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)}}
           {{ 15:37:42 at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)}}
           {{ 15:37:42 at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)}}

          The actual log data is:

          {{ 15:23:56.649 2>File1.c(435): warning C4311: 'type cast': pointer truncation from 'void *' to 'unsigned int' [C:\jenkins\workspace\src\project.vcxproj]}}

           
          New: Issue with Warnings parsing of msbuild log files. Started after upgrade of warnings/static analysis to 4.62/1.86 from 3-4 versions prior (late january timeframe for previous versions)

          {{15:37:41 [WARNINGS] Computing warning deltas based on reference build}}
           {{ java.nio.file.InvalidPathException: Illegal char <:> at index ##: C:\jenkins\workspace\src\15:23:56.649 2>File1.c}}

          {{ 15:37:41 at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)}}
           {{ 15:37:41 at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)}}
           {{ 15:37:41 at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)}}
           {{ 15:37:42 at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)}}
           {{ 15:37:42 at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)}}

          The actual log data is:

          {{ 15:23:56.649 2>File1.c(435): warning C4311: 'type cast': pointer truncation from 'void *' to 'unsigned int' [C:\jenkins\workspace\src\project.vcxproj]}}

           
          Ulli Hafner made changes -
          Link New: This issue duplicates JENKINS-43531 [ JENKINS-43531 ]
          Ulli Hafner made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Ulli Hafner made changes -
          Link Original: This issue is related to JENKINS-43566 [ JENKINS-43566 ]
          Ulli Hafner made changes -
          Link Original: This issue is related to JENKINS-43531 [ JENKINS-43531 ]

            drulli Ulli Hafner
            cybertech CyberTech
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: