-
Bug
-
Resolution: Duplicate
-
Minor
-
jenkins 2.47
kubernetes-plugin 0.11
durable-task-plugin 1.13
Within a container, generated with kubernetes (using kubernetes-plugin), a simple process invocation will generate multiple time this log:
... Cannot contact kubernetes-c4df03a7122e48a5a094643522eca149-2f29e02b2bb2: java.io.IOException: corrupted content in /home/jenkins/workspace/POPOPOPO@tmp/durable-a2a574cd/pid: java.lang.NumberFormatException: For input string: "" ...
Here is a simple pipeline to easily reproduce:
podTemplate(label: 'mypod', containers: []) { stage("Test"){ node("mypod"){ container("jnlp"){ sh ''' echo "#!/bin/sh sleep 10" > popo.sh chmod a+x popo.sh ./popo.sh ''' } } } }
This seem to be happening with the last update of the durable-task-plugin.
A rollback of the k8 plugin (to 0.10) didn't change anything.
We don't know if it is a harmless log or is it a signal that something might go wrong.
In both cases, the log is now less readable.
- duplicates
-
JENKINS-42048 Cannot Connect, PID NumberFormatException
- Closed