Jenkins in kubernetes - trouble with agent

I installed jenkins (jenkins:2.319.1-lts-jdk11) and its agent (inbound-agent:4.11-1-jdk11) on a kubernetes cluster.
If I don’t use the agent, everything is OK.
But I can’t use the agent, everytime I run a job I have :

INFO: Failed to send back a reply to the request UserRequest:hudson.FilePath$Exists@3d7a2c37: hudson.remoting.ChannelClosedException: Channel “hudson.remoting.Channel@3926ed86:JNLP4-connect connection to jenkins-service/”: channel is already closed


WARNING: LinkageError while performing UserRequest:hudson.FilePath$Exists@450d159e
java.lang.NoClassDefFoundError: org/apache/commons/io/input/CountingInputStream
at java.base/java.lang.Class.getDeclaredFields0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredFields(Unknown Source)

and at least, the pod agent stopped.

Is anyone can help me ?


oh wow, if you google this, this post shows up first :slight_smile:

Is this a fresh install? or an upgrade?

are you using any of these plugins? Apache Commons Digester library removal (breaking changes!)

It’s a new install
I don’t use Apache commons…