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

Parser fails if a line contains text before "Entering directory" message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins 2.303.2
      Java Eclipse Temurin JRE with Hotspot 11.0.12+7 (x64)
      Running on Windows 10
      Analysis Model API 10.5.2 or 10.5.3
      Warning Next Generation 9.5.1
      (All plugins currently up to date)

      Similar to JENKINS-66923: But seems to be related to Console log file size that is being parsed as the many other jobs do not have this problem.
      Reverted back to 10.5.1 and building and MSBUILD parsing again OK
      For Analysis 10.5.2 or 10.5.3 Looking at the console log file that is being parsed size
      Sucessly parsed with a maximum size of 118KB (including analysis output)
      Failed when the log size was between 145KB and 229KB

      [MSBuild] Sleeping for 5 seconds due to JENKINS-32191...
      [MSBuild] Parsing console log (workspace: 'C:\Users\Jenkins\AppData\Local\Jenkins\.jenkins\workspace\V4SW')
      ERROR: Build step failed with exception
      edu.hm.hafner.analysis.ParsingException: Unable to change directory using: – Build files have been written to: (?<dir>.*) to match 22>-- Build files have been written to: /mnt/Jenkins_Workspace/V4SW/V4_Software_F/CUDALibs/CUDAYolo/Release-TX2
      at edu.hm.hafner.analysis.LookaheadParser.extractDirectory(LookaheadParser.java:155)
      at edu.hm.hafner.analysis.LookaheadParser.handleDirectoryChanges(LookaheadParser.java:127)
      at edu.hm.hafner.analysis.LookaheadParser.parse(LookaheadParser.java:68)
      at edu.hm.hafner.analysis.LookaheadParser.parse(LookaheadParser.java:57)
      at io.jenkins.plugins.analysis.core.model.ReportScanningTool.scanInConsoleLog(ReportScanningTool.java:190)
      at io.jenkins.plugins.analysis.core.model.ReportScanningTool.scan(ReportScanningTool.java:137)
      at io.jenkins.plugins.analysis.core.model.ReportScanningTool.scan(ReportScanningTool.java:129)
      at io.jenkins.plugins.analysis.core.steps.IssuesScanner.scan(IssuesScanner.java:95)
      at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.scanWithTool(IssuesRecorder.java:765)
      at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.record(IssuesRecorder.java:728)
      at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:697)
      at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:673)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:806)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:755)
      at hudson.model.Build$BuildExecution.post2(Build.java:178)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:699)
      at hudson.model.Run.execute(Run.java:1913)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:99)
      at hudson.model.Executor.run(Executor.java:431)
      Build step 'Record compiler warnings and static analysis results' marked build as failure

            wgates Walter Gates
            philippark Philip Park
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: