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

Upgrade to 2.2 breaks Docker Cloud connectivity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • Jenkins version 2.60.3, CentOS 7.3 x86_64, openjdk version "1.8.0_141"

      2.1 of the plugin does not exhibit this issue.

      When doing a test in Docker Cloud, getting an ERROR and the following stacktrace:

       

      Aug 22, 2017 10:00:51 PM com.nirima.jenkins.plugins.docker.DockerCloud provision
      INFO: Asked to provision 5 slave(s) for: dockerslave
      Aug 22, 2017 10:00:51 PM com.nirima.jenkins.plugins.docker.DockerCloud provision
      INFO: Will provision 'jenkins_slave', for label: 'dockerslave', in cloud: 'Auto-Generated Local Docker Host'
      Aug 22, 2017 10:00:51 PM hudson.triggers.SafeTimerTask run
      SEVERE: Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@55028df8 failed
      java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.ObjectReader.forType(Lcom/fasterxml/jackson/databind/JavaType;)Lcom/fasterxml/jackson/databind/ObjectReader;
          at com.fasterxml.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:799)
          at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256)
          at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235)
          at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)
          at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085)
          at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)
          at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:834)
          at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:368)
          at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:871)
          at org.glassfish.jersey.client.JerseyInvocation.access$800(JerseyInvocation.java:92)
          at org.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:724)
          at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
          at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
          at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
          at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
          at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:720)
          at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:430)
          at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:321)
          at com.github.dockerjava.jaxrs.ListContainersCmdExec.execute(ListContainersCmdExec.java:47)
          at com.github.dockerjava.jaxrs.ListContainersCmdExec.execute(ListContainersCmdExec.java:19)
          at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23)
          at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:35)
          at com.nirima.jenkins.plugins.docker.DockerCloud.countCurrentDockerSlaves(DockerCloud.java:551)
          at com.nirima.jenkins.plugins.docker.DockerCloud.addProvisionedSlave(DockerCloud.java:574)
          at com.nirima.jenkins.plugins.docker.DockerCloud.provision(DockerCloud.java:245)
          at hudson.slaves.NodeProvisioner$StandardStrategyImpl.apply(NodeProvisioner.java:715)
          at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:320)
          at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:61)
          at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:809)
          at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
          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)

            ndeloof Nicolas De Loof
            ccureau Christopher Cureau
            Votes:
            9 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: