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

All builds that were using GNU Make + GCC now fail

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • warnings-plugin
    • None

      Upgrading to 4.37 and all my job configs have had the warning parser removed, resulting in every job failing with this exception.

      ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception
      java.io.IOException: Error: No warning parsers defined in the job configuration.
      at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:316)
      at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
      at hudson.model.Run.execute(Run.java:1704)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:230)

          [JENKINS-20658] All builds that were using GNU Make + GCC now fail

          Ulli Hafner added a comment - - edited

          Did you also upgrade from 4.36? Or did you upgrade from 4.35?

          Can you please attach one of your Job config.xml files? Did you save or touch the job configurations after the upgrade?

          Is there a parser selected if you configure your job?

          Ulli Hafner added a comment - - edited Did you also upgrade from 4.36? Or did you upgrade from 4.35? Can you please attach one of your Job config.xml files? Did you save or touch the job configurations after the upgrade? Is there a parser selected if you configure your job?

          James Howe added a comment -

          Started on 4.35.
          Upgraded to 4.36. Restarted.
          All jobs failing. Config shows the parsing step is there, but no parser listed.
          Upgraded to 4.37 as it looked like there was a fix. Restarted.
          No change in problem.
          Downgraded to 4.28 (latest available at http://updates.jenkins-ci.org/download/plugins/warnings/).
          Everything fine again.

          config.xml has the following section.
          <consoleParsers>
          <hudson.plugins.warnings.ConsoleParser>
          <parserName>GNU Make + GNU Compiler (gcc)</parserName>
          </hudson.plugins.warnings.ConsoleParser>
          </consoleParsers>

          James Howe added a comment - Started on 4.35. Upgraded to 4.36. Restarted. All jobs failing. Config shows the parsing step is there, but no parser listed. Upgraded to 4.37 as it looked like there was a fix. Restarted. No change in problem. Downgraded to 4.28 (latest available at http://updates.jenkins-ci.org/download/plugins/warnings/ ). Everything fine again. config.xml has the following section. <consoleParsers> <hudson.plugins.warnings.ConsoleParser> <parserName>GNU Make + GNU Compiler (gcc)</parserName> </hudson.plugins.warnings.ConsoleParser> </consoleParsers>

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/warnings/parser/GnuMakeGccParser.java
          src/test/java/hudson/plugins/warnings/parser/ParserRegistryIntegrationTest.java
          http://jenkins-ci.org/commit/warnings-plugin/c96cad82d6fb69d3c7b5f01e8f1dacf8b1c41b02
          Log:
          [FIXED JENKINS-20658] Added old parser name as ID for make+gcc parser.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/parser/GnuMakeGccParser.java src/test/java/hudson/plugins/warnings/parser/ParserRegistryIntegrationTest.java http://jenkins-ci.org/commit/warnings-plugin/c96cad82d6fb69d3c7b5f01e8f1dacf8b1c41b02 Log: [FIXED JENKINS-20658] Added old parser name as ID for make+gcc parser.

          Ulli Hafner added a comment -

          Sorry, I missed this parser in the last fix. Release 4.38 is in progress and will appear in some minutes...

          Ulli Hafner added a comment - Sorry, I missed this parser in the last fix. Release 4.38 is in progress and will appear in some minutes...

            drulli Ulli Hafner
            jameshowe James Howe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: