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

Build fails with "java.lang.IllegalArgumentException: Method perform not found in hudson.plugins.analysis.core.HealthAwareRecorder"

    XMLWordPrintable

Details

    • Jenkins 2.248

    Description

      Hello,

      after updating jenkins from 2.239 to 2.241 our jobs started to fail:

      BUILD SUCCESSFUL
      Total time: 10minutes 49seconds
      New run name is '20.3.0.1-#40123'
      ERROR: Build step failed with exception
      java.lang.IllegalArgumentException: Method perform not found in hudson.plugins.analysis.core.HealthAwareRecorder (or it is private, finalor static)
      	at hudson.Util.getMethod(Util.java:1462)
      	at hudson.Util.getMethod(Util.java:1455)
      	at hudson.Util.getMethod(Util.java:1455)
      	at hudson.Util.isOverridden(Util.java:1439)
      	at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:110)
      	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      	at hudson.model.Build$BuildExecution.post2(Build.java:186)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      	at hudson.model.Run.execute(Run.java:1905)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:428)
      Build step '[Deprecated] Scan workspace for open tasks'marked build as failure
      Archiving artifacts
      Recording fingerprints
      [Java] Skipping execution of recorder since overall result is 'FAILURE'
      

       
      In the german version of the GUI this particular post build step is not marked as deprecated, only in  the build log it is possible to see that this build step seems to be deprecated and therefor maybe problematic.

      Is there any alternative step available, that i am not aware of? I guess the exception happend above should not occur as well,right?
       
      Greetings from Berlin,
      Heiko

      Attachments

        Issue Links

          Activity

            webwart H. Feldker created issue -
            drulli Ulli Hafner made changes -
            Field Original Value New Value
            Component/s core [ 15593 ]
            drulli Ulli Hafner made changes -
            Resolution Won't Fix [ 2 ]
            Status Open [ 1 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Assignee Ulli Hafner [ drulli ] Tim Van Holder [ zastai ]
            Resolution Won't Fix [ 2 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            jglick Jesse Glick made changes -
            Component/s core [ 15593 ]
            Component/s analysis-core-plugin [ 15709 ]
            jglick Jesse Glick made changes -
            Labels regression
            jglick Jesse Glick made changes -
            Link This issue is caused by JENKINS-29144 [ JENKINS-29144 ]
            jglick Jesse Glick made changes -
            Priority Major [ 3 ] Blocker [ 1 ]
            jglick Jesse Glick made changes -
            Link This issue is caused by JENKINS-30002 [ JENKINS-30002 ]
            jglick Jesse Glick made changes -
            Assignee Tim Van Holder [ zastai ] Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "jenkins PR 4832 (Web Link)" [ 25316 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ] Tim Van Holder [ zastai ]
            jglick Jesse Glick made changes -
            Description Hello,

            after updating jenkins from 2.239 to 2.241 our jobs started to fail:

             
            {{11}}{{:}}{{12}}{{:}}{{13}}{{BUILD SUCCESSFUL}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{Total time: }}{{10}}{{minutes }}{{49}}{{seconds}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{New run name is }}{{'20.3.0.1-#40123'}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{ERROR: Build step failed with exception}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{java.lang.IllegalArgumentException: Method perform not found in hudson.plugins.analysis.core.HealthAwareRecorder (or it is }}{{private}}{{, }}{{final}}{{or }}{{static}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.Util.getMethod(Util.java:}}{{1462}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.Util.getMethod(Util.java:}}{{1455}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.Util.getMethod(Util.java:}}{{1455}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.Util.isOverridden(Util.java:}}{{1439}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:}}{{110}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:}}{{78}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.tasks.BuildStepMonitor$}}{{1}}{{.perform(BuildStepMonitor.java:}}{{20}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:}}{{741}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:}}{{690}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.model.Build$BuildExecution.post2(Build.java:}}{{186}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:}}{{635}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.model.Run.execute(Run.java:}}{{1905}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:}}{{43}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.model.ResourceController.execute(ResourceController.java:}}{{97}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{at hudson.model.Executor.run(Executor.java:}}{{428}}{{)}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{Build step }}{{'[Deprecated] Scan workspace for open tasks'}}{{marked build as failure}}
            {{11}}{{:}}{{12}}{{:}}{{13}}{{Archiving artifacts}}
            {{11}}{{:}}{{12}}{{:}}{{14}}{{Recording fingerprints}}
            {{11}}{{:}}{{12}}{{:}}{{14}}{{[Java] Skipping execution of recorder since overall result is }}{{'FAILURE'}}
            {{}}
            In the german version of the GUI this particular post build step is not marked as deprecated, only in  the build log it is possible to see that this build step seems to be deprecated and therefor maybe problematic.
            {{}}
            Is there any alternative step available, that i am not aware of? I guess the exception happend above should not occur as well,right?
             
            Greetings from Berlin,
            Heiko
            Hello,

            after updating jenkins from 2.239 to 2.241 our jobs started to fail:

            {code:none}
            BUILD SUCCESSFUL
            Total time: 10minutes 49seconds
            New run name is '20.3.0.1-#40123'
            ERROR: Build step failed with exception
            java.lang.IllegalArgumentException: Method perform not found in hudson.plugins.analysis.core.HealthAwareRecorder (or it is private, finalor static)
            at hudson.Util.getMethod(Util.java:1462)
            at hudson.Util.getMethod(Util.java:1455)
            at hudson.Util.getMethod(Util.java:1455)
            at hudson.Util.isOverridden(Util.java:1439)
            at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:110)
            at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
            at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
            at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
            at hudson.model.Build$BuildExecution.post2(Build.java:186)
            at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
            at hudson.model.Run.execute(Run.java:1905)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:97)
            at hudson.model.Executor.run(Executor.java:428)
            Build step '[Deprecated] Scan workspace for open tasks'marked build as failure
            Archiving artifacts
            Recording fingerprints
            [Java] Skipping execution of recorder since overall result is 'FAILURE'
            {code}
             
            In the german version of the GUI this particular post build step is not marked as deprecated, only in  the build log it is possible to see that this build step seems to be deprecated and therefor maybe problematic.

            Is there any alternative step available, that i am not aware of? I guess the exception happend above should not occur as well,right?
             
            Greetings from Berlin,
            Heiko
            zastai Tim Van Holder made changes -
            Remote Link This issue links to "PR 4833 (Web Link)" [ 25317 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Released As 2.246
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            oleg_nenashev Oleg Nenashev made changes -
            Released As 2.246 Jenkins 2.248
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels regression 2.235.3-rejected lts-candidate regression
            olivergondza Oliver Gondža made changes -
            Labels 2.235.3-rejected lts-candidate regression 2.235.3-rejected 2.235.4-fixed regression

            People

              zastai Tim Van Holder
              webwart H. Feldker
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: