You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to odavid/my-bloody-jenkins:2.263.1-235, which includes the upgrade of Jackson 2 API plugin to 2.12.0, I am encountering the following error when trying to build on docker-cloud based nodes:
SEVERE c.n.j.p.docker.DockerCloud$1#run: Error in provisioning; template='DockerTemplate{configVersion=2, labelString='simple-docker-node', connector=DockerComputerJNLPConnector{jnlpLauncher=hudson.slaves.JNLPLauncher@3af392cd, jenkinsUrl='http://jenkins:8080'}, instanceCap=5, mode=EXCLUSIVE, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@29, dockerTemplateBase=DockerTemplateBase{image='jenkins-jnlp-slave:latest', network'='some-network-bridge', volumes=[/var/run/docker.sock:/var/run/docker.sock], environment=[TZ=Asia/Jerusalem, http_proxy=http://proxy.company.com:8080, https_proxy=http://proxy.company.com:8080, no_proxy=.company.com,localhost,127.0.0.1], bindAllPorts=false, memoryLimit=0, memorySwap=0, cpuShares=0, privileged=true, tty=false}, removeVolumes=true, stopTimeout=10, pullStrategy=PULL_NEVER, pullTimeout=0, nodeProperties=[hudson.slaves.EnvironmentVariablesNodeProperty@325aea7b], disabled=BySystem,0 ms,4 min 59 sec,Template provisioning failed.}' for cloud='docker-cloud'
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.github.dockerjava.api.model.Volume` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('/var/run/docker.sock')
at [Source: (byte[])"{"Id":"fec4090ebbb912011c86176a02cac305a9ba0fd3ff66ed70f04398e3a8202569","Created":"2020-12-07T17:32:46.906204069Z","Path":"tiny","Args":["--","/entrypoint.sh","-url","http://jenkins:8080","9bad855083c45465f9a3504fa6c18d6895dea9b9fa402ba304679b72286b5d48","docker-002bqoq26d70a"],"State":{"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":21229,"ExitCode":0,"Error":"","StartedAt":"2020-12-07T17:32:47.405912845Z","FinishedAt":"0001-01-"[truncated 7816 bytes]; line: 1, column: 4859] (through reference chain: com.github.dockerjava.api.command.InspectContainerResponse["Mounts"]->java.util.ArrayList[0]->com.github.dockerjava.api.command.InspectContainerResponse$Mount["Destination"])
Apparently, the issue has been reported in several places:
After upgrading to odavid/my-bloody-jenkins:2.263.1-235, which includes the upgrade of Jackson 2 API plugin to 2.12.0, I am encountering the following error when trying to build on docker-cloud based nodes:
Apparently, the issue has been reported in several places:
Can the plugin be downgraded back to 2.11.3?
The text was updated successfully, but these errors were encountered: