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

Docker build agent provisioning fails

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Since two days it is not possible to provision docker build agents. See log:

      SEVERE hudson.triggers.SafeTimerTask#run: Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@24dafe95 failed
      java.lang.IllegalArgumentException: The specified method is not declared by the specified base class (hudson.slaves.CloudProvisioningListener), or it is private, static or final.
       at hudson.Util.isOverridden(Util.java:1456)
       at hudson.Util.ifOverridden(Util.java:1480)
       at hudson.slaves.CloudProvisioningListener.canProvision(CloudProvisioningListener.java:45)
       at hudson.slaves.CloudProvisioningListener.canProvision(CloudProvisioningListener.java:65)
       at hudson.slaves.NodeProvisioner$StandardStrategyImpl.apply(NodeProvisioner.java:723)
       at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:334)
       at hudson.slaves.NodeProvisioner.access$900(NodeProvisioner.java:64)
       at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:823)
       at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:91)
       at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)
      

       

      I use Jenkins 2.259. Reinstallation of the plugin doesn't help. Also reinstallation of jenkins doesn't help. I don't know, why it is not working any more. 

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            https://github.com/jenkinsci/jenkins/pull/4922 in 2.259 looks to be a root cause of that. CC Vincent Latombe

            Show
            oleg_nenashev Oleg Nenashev added a comment - https://github.com/jenkinsci/jenkins/pull/4922  in 2.259 looks to be a root cause of that. CC Vincent Latombe
            Hide
            vlatombe Vincent Latombe added a comment -

            checking...

            Show
            vlatombe Vincent Latombe added a comment - checking...
            Hide
            pistahh Istvan Szekeres added a comment -

            We see this too and downgrading to 2.258 "fixed" it.

            Show
            pistahh Istvan Szekeres added a comment - We see this too and downgrading to 2.258 "fixed" it.
            Hide
            pascal_gehring Pascal Gehring added a comment -

            I have tested the new Release 2.260 and now I get following Error

             

            2020-10-07 10:08:28.280+0000 [id=46] SEVERE hudson.triggers.SafeTimerTask#run: Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@2b243530 failed
            java.lang.AbstractMethodError: You must override at least one of the CloudProvisioningListener.canProvision methods
            at hudson.Util.ifOverridden(Util.java:1484)
            at hudson.slaves.CloudProvisioningListener.canProvision(CloudProvisioningListener.java:45)
            at hudson.slaves.CloudProvisioningListener.canProvision(CloudProvisioningListener.java:67)
            at hudson.slaves.NodeProvisioner$StandardStrategyImpl.apply(NodeProvisioner.java:723)
            at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:334)
            at hudson.slaves.NodeProvisioner.access$900(NodeProvisioner.java:64)
            at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:823)
            at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:91)
            at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
            at java.lang.Thread.run(Thread.java:748)

             

            So it is still not fixed

            Show
            pascal_gehring Pascal Gehring added a comment - I have tested the new Release 2.260 and now I get following Error   2020-10-07 10:08:28.280+0000 [id=46] SEVERE hudson.triggers.SafeTimerTask#run: Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@2b243530 failed java.lang.AbstractMethodError: You must override at least one of the CloudProvisioningListener.canProvision methods at hudson.Util.ifOverridden(Util.java:1484) at hudson.slaves.CloudProvisioningListener.canProvision(CloudProvisioningListener.java:45) at hudson.slaves.CloudProvisioningListener.canProvision(CloudProvisioningListener.java:67) at hudson.slaves.NodeProvisioner$StandardStrategyImpl.apply(NodeProvisioner.java:723) at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:334) at hudson.slaves.NodeProvisioner.access$900(NodeProvisioner.java:64) at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:823) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:91) at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)   So it is still not fixed
            Hide
            dmpanch Dmitriy Panchenko added a comment -

            Same here in the 2.260 and 2.258 as well.

            Rollout to the 2.250 did the job done.

            Show
            dmpanch Dmitriy Panchenko added a comment - Same here in the 2.260 and 2.258 as well. Rollout to the 2.250 did the job done.
            Hide
            dvdouden Daniel van den Ouden added a comment -

            This also affects the JClouds plugin.

            2.260 gives us the error `You must override at least one of the CloudProvisioningListener.canProvision methods`

            Downgrading to 2.258 fixed it for us.

            Show
            dvdouden Daniel van den Ouden added a comment - This also affects the JClouds plugin. 2.260 gives us the error `You must override at least one of the CloudProvisioningListener.canProvision methods` Downgrading to 2.258 fixed it for us.
            Hide
            pitargue Marciano Pitargue added a comment -

            Same.  Rolling back to 2.258 also resolved the "You must override at least one of the CloudProvisioningListener.canProvision methods" issue for us.  Did not have to go back to 2.250 like the comment above.

            Show
            pitargue Marciano Pitargue added a comment - Same.  Rolling back to 2.258 also resolved the "You must override at least one of the CloudProvisioningListener.canProvision methods" issue for us.  Did not have to go back to 2.250 like the comment above.
            Hide
            vlatombe Vincent Latombe added a comment -

            If any of you can try the incremental build for the new fix: https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/main/cli/2.261-rc30424.4ff3f04436e4/ see if the problem is fixed this time.

            Show
            vlatombe Vincent Latombe added a comment - If any of you can try the incremental build for the new fix: https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/main/cli/2.261-rc30424.4ff3f04436e4/ see if the problem is fixed this time.

              People

              Assignee:
              vlatombe Vincent Latombe
              Reporter:
              pascal_gehring Pascal Gehring
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: