-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
Jenkins ver. 1.565.3
After updating "warnings-plugin" from 4.42 to 4.43 (and "analysis-core" from 1.61 to 1.64) then ALL my jobs fail no matter which parser is used (see logs below).
I tried to downgrade "warnings-plugin" to 4.42, still they fail.
I tried to uninstall "warnings-plugin" and install it again, still they fail.
I tried to disable "warnings-plugin" in the individual job (they pass, obviously) and enable it again, still they fail.
Then I tried to downgrade "analysis-core" to 1.61, and they pass again.
So, seems to be an issue with "analysis-core" 1.64.
Log example 1:
00:02:46.430 [WARNINGS] Parsing warnings in console log with parser IAR Compiler (C/C++)
00:02:46.491 ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception
00:02:46.494 java.lang.NoSuchMethodError: hudson.plugins.analysis.core.ParserResult.addAnnotations(Ljava/util/Collection;)V
00:02:46.495 at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:405)
00:02:46.495 at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:321)
00:02:46.495 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:319)
00:02:46.495 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
00:02:46.495 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
00:02:46.495 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
00:02:46.495 at hudson.model.Build$BuildExecution.post2(Build.java:182)
00:02:46.495 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:669)
00:02:46.495 at hudson.model.Run.execute(Run.java:1731)
00:02:46.495 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
00:02:46.495 at hudson.model.ResourceController.execute(ResourceController.java:88)
00:02:46.495 at hudson.model.Executor.run(Executor.java:232)
Log example 2:
00:03:34.271 [WARNINGS] Parsing warnings in console log with parser Texas Instruments Code Composer Studio (C/C++)
00:03:34.286 ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception
00:03:34.286 java.lang.NoSuchMethodError: hudson.plugins.analysis.core.ParserResult.addAnnotations(Ljava/util/Collection;)V
00:03:34.286 at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:405)
00:03:34.286 at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:321)
00:03:34.286 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:319)
00:03:34.286 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
00:03:34.286 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
00:03:34.286 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
00:03:34.287 at hudson.model.Build$BuildExecution.post2(Build.java:182)
00:03:34.287 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:669)
00:03:34.287 at hudson.model.Run.execute(Run.java:1731)
00:03:34.287 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
00:03:34.287 at hudson.model.ResourceController.execute(ResourceController.java:88)
00:03:34.287 at hudson.model.Executor.run(Executor.java:232)
Log example 3:
00:01:56.629 [WARNINGS] Parsing warnings in console log with parser MSBuild
00:01:56.644 ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception
00:01:56.645 java.lang.NoSuchMethodError: hudson.plugins.analysis.core.ParserResult.addAnnotations(Ljava/util/Collection;)V
00:01:56.645 at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:405)
00:01:56.645 at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:321)
00:01:56.645 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:319)
00:01:56.645 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
00:01:56.645 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
00:01:56.645 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
00:01:56.645 at hudson.model.Build$BuildExecution.post2(Build.java:182)
00:01:56.645 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:669)
00:01:56.646 at hudson.model.Run.execute(Run.java:1731)
00:01:56.646 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
00:01:56.646 at hudson.model.ResourceController.execute(ResourceController.java:88)
00:01:56.646 at hudson.model.Executor.run(Executor.java:232)
Just to make it perfectly clear:
It works now with "warnings-plugin" 4.43 and "analysis-core" 1.61 on Jenkins 1.565.3