-
Bug
-
Resolution: Unresolved
-
Blocker
-
Jenkins version (docker image)-- jenkins/jenkins:2.303.2-jdk11
kubernetes plugin version -- kubernetes:1.30.5
jackson2 api plugin -- jackson2-api:2.13.0-230.v59243c64b0a5
after recent plugin updates of kubernetes and jackson2 api, jnlp process is not able to launch - logs —
hudson.slaves.NodeProvisioner#update: devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn provisioning successfully completed. We have now 5 computer(s) 37 2021-10-27 00:09:14.235+0000 [id=1266] INFO o.c.j.p.k.KubernetesLauncher#launch: Created Pod: kubernetes dev-cd/devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn 36 2021-10-27 00:09:16.378+0000 [id=1266] INFO o.c.j.p.k.KubernetesLauncher#launch: Pod is running: kubernetes dev-cd/devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn 35 2021-10-27 00:09:18.407+0000 [id=1338] SEVERE hudson.model.Executor#finish1: Executor threw an exception 34 java.lang.NoSuchMethodError: 'com.fasterxml.jackson.core.io.ContentReference com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createContentReference(java.lang.Object)' 33 at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createGenerator(YAMLFactory.java:441) 32 at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createGenerator(YAMLFactory.java:15) 31 at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:3220) 30 at io.fabric8.kubernetes.client.utils.Serialization.asYaml(Serialization.java:74) 29 at org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave.podAsYaml(KubernetesSlave.java:427) 28 at org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave.printAgentDescription(KubernetesSlave.java:422) 27 at org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave.createLauncher(KubernetesSlave.java:408) 26 at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask$PlaceholderExecutable.run(ExecutorStepExecution.java:798) 25 at hudson.model.ResourceController.execute(ResourceController.java:99) 24 at hudson.model.Executor.run(Executor.java:431) 23 2021-10-27 00:09:18.410+0000 [id=1346] INFO o.c.j.p.k.KubernetesSlave#_terminate: Terminating Kubernetes instance for agent devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn 22 2021-10-27 00:09:18.468+0000 [id=1346] INFO o.c.j.p.k.KubernetesSlave#deleteSlavePod: Terminated Kubernetes instance for agent dev-cd/devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn 21 Terminated Kubernetes instance for agent dev-cd/devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn 20 2021-10-27 00:09:18.469+0000 [id=1346] INFO o.c.j.p.k.KubernetesSlave#_terminate: Disconnected computer devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn 19 Disconnected computer devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn 18 2021-10-27 00:09:18.474+0000 [id=1030] INFO j.s.DefaultJnlpSlaveReceiver#channelClosed: Jetty (winstone)-1030 for devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn terminated: java.nio.channels.ClosedChannelException 17 2021-10-27 00:09:18.490+0000 [id=1264] INFO hudson.remoting.Request$2#run: Failed to send back a reply to the request UserRequest:UserRPCRequest:hudson.remoting.JarLoader.writeJarTo[long,long,java.io.OutputStream](3): hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@28a25816:devops-jenkins-playground-maven-app-1-17jzt-8rx0t-hstkn": channel is already closed 16 21/10/27 00:09:23 INFO jmx2graphite.MetricsPipeline: Found 301 metric beans. Time = 3ms, for 2021-10-27T00:09:20.000+0000
tried with kubernetes plugin version 1.30.5 and jackson2api plugin version 2.12.4 it is working fine. but with updated version of jackson2 api 2.13.0-230.v59243c64b0a5 it is failing.