question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker plugin Version 1.2.8 with Docker API Plugin Version 3.2.13-35.vb82bff5c8bd0

See original GitHub issue

Jenkins and plugins versions report

Environment
Jenkins: 2.332.1
OS: Linux - 4.15.0-173-generic
---
ace-editor:1.1
analysis-model-api:10.10.0
ansicolor:1.0.1
ant:1.13
antisamy-markup-formatter:2.7
apache-httpcomponents-client-4-api:4.5.13-1.0
artifactory:3.16.1
authentication-tokens:1.4
authorize-project:1.4.0
badge:1.9.1
bootstrap4-api:4.6.0-3
bootstrap5-api:5.1.3-6
bouncycastle-api:2.25
branch-api:2.1044.v2c007e51b_87f
build-keeper-plugin:1.3
build-user-vars-plugin:1.8
build-with-parameters:1.6
caffeine-api:2.9.2-29.v717aac953ff3
checks-api:1.7.2
cloudbees-disk-usage-simple:0.10
cloudbees-folder:6.714.v79e858ef76a_2
collapsing-console-sections:1.8.0
command-launcher:1.6
conditional-buildstep:1.4.2
config-file-provider:3.9.0
configuration-as-code:1414.v878271fc496f
copyartifact:1.46.3
credentials:1087.1089.v2f1b_9a_b_040e4
credentials-binding:1.27.1
cvs:2.19.1
dark-theme:156.v6cf16af6f9ef
data-tables-api:1.11.4-4
display-url-api:2.3.6
docker-commons:1.19
docker-java-api:3.2.13-35.vb82bff5c8bd0
docker-plugin:1.2.8
docker-workflow:1.28
durable-task:495.v29cd95ec10f2
echarts-api:5.3.2-1
email-ext:2.87
embeddable-build-status:2.0.3
envinject:2.854.vfa_1657078c97
envinject-api:1.199.v3ce31253ed13
extended-read-permission:3.2
external-monitor-job:191.v363d0d1efdf8
font-awesome-api:6.0.0-1
forensics-api:1.12.0
ghprb:1.42.2
git:4.11.0
git-client:3.11.0
git-parameter:0.9.16
git-server:1.10
github:1.34.3
github-api:1.301-378.v9807bd746da5
github-branch-source:1598.v91207e9f9b_4a_
google-oauth-plugin:1.0.6
gradle:1.38
groovy:2.4
groovy-postbuild:2.5
handlebars:3.0.8
http_request:1.14
ivy:2.1
jackson2-api:2.13.2.20220328-273.v11d70a_b_a_1a_52
jacoco:3.3.1
javadoc:217.v905b_86277a_2a_
javax-activation-api:1.2.0-2
javax-mail-api:1.6.2-5
jdk-tool:1.5
jjwt-api:0.11.2-9.c8b45b8bb173
jnr-posix-api:3.1.7-3
job-dsl:1.79
jobConfigHistory:1133.v0f5420f85053
jquery:1.12.4-1
jquery-detached:1.2.1
jquery3-api:3.6.0-2
jsch:0.1.55.2
junit:1.59
kubernetes:3580.v78271e5631dc
kubernetes-client-api:5.12.1-187.v577c3e368fb_6
kubernetes-credentials:0.9.0
label-linked-jobs:6.0.1
ldap:2.8
lockable-resources:2.14
login-theme:1.1
mailer:408.vd726a_1130320
mapdb-api:1.0.9.0
mask-passwords:3.1
material-theme:0.4.1
matrix-auth:3.1
matrix-project:758.v7a_ea_491852f3
maven-plugin:3.18
metrics:4.1.6.1
momentjs:1.1.1
multiple-scms:0.8
next-build-number:1.8
oauth-credentials:0.5
okhttp-api:4.9.3-105.vb96869f8ac3a
pam-auth:1.7
parameterized-trigger:2.44
pegdown-formatter:1.3
pipeline-build-step:2.17
pipeline-github-lib:36.v4c01db_ca_ed16
pipeline-graph-analysis:188.v3a01e7973f2c
pipeline-input-step:447.v95e5a_6e3502a_
pipeline-milestone-step:100.v60a_03cd446e1
pipeline-model-api:2.2075.vce74e77b_ce40
pipeline-model-definition:2.2075.vce74e77b_ce40
pipeline-model-extensions:2.2075.vce74e77b_ce40
pipeline-rest-api:2.23
pipeline-stage-step:291.vf0a8a7aeeb50
pipeline-stage-tags-metadata:2.2075.vce74e77b_ce40
pipeline-stage-view:2.23
pipeline-utility-steps:2.12.0
plain-credentials:1.8
plugin-usage-plugin:2.2
plugin-util-api:2.16.0
popper-api:1.16.1-2
popper2-api:2.11.5-1
postbuild-task:1.9
prism-api:1.26.0-2
purge-build-queue-plugin:33.v59111a_551b_38
rebuild:1.33.1
run-condition:1.5
saferestart:0.3
saml:2.296.v0016349946db_
scm-api:602.v6a_81757a_31d2
script-security:1145.vb_cf6cf6ed960
sidebar-link:2.1.0
simple-theme-plugin:103.va_161d09c38c7
slack:608.v19e3b_44b_b_9ff
snakeyaml-api:1.30.1
ssh:2.6.1
ssh-agent:1.24.1
ssh-credentials:1.19
ssh-slaves:1.806.v2253cedd3295
sshd:3.228.v4c9f9e652c86
structs:308.v852b473a2b8c
subversion:2.15.4
theme-manager:0.6
timestamper:1.17
token-macro:285.vff7645a_56ff0
translation:1.16
trilead-api:1.57.v6e90e07157e1
variant:1.4
view-job-filters:2.3
warnings-ng:9.12.0
windows-slaves:1.8
workflow-aggregator:2.7
workflow-api:1143.v2d42f1e9dea_5
workflow-basic-steps:941.vdfe1b_a_132c64
workflow-cps:2686.v7c37e0578401
workflow-cps-global-lib:570.v21311f4951f8
workflow-durable-task-step:1128.v8c259d125340
workflow-job:1174.vdcb_d054cf74a_
workflow-multibranch:711.vdfef37cda_816
workflow-scm-step:2.13
workflow-step-api:622.vb_8e7c15b_c95a_
workflow-support:818.v4eb_969241b_c7

What Operating System are you using (both controller, and any agents involved in the problem)?

Linux

Reproduction steps

  1. Apply all updates available today
  2. Restart Jenkins
  3. Attempt to schedule builds on a Docker Cloud configuration

Expected Results

Jobs schedule as normal.

Actual Results

@ericcitaire / @pjdarton I applied updates in Jenkins and am hitting this backtrace currently:

java.lang.NoSuchMethodError: com.github.dockerjava.netty.NettyDockerCmdExecFactory.withReadTimeout(Ljava/lang/Integer;)Lcom/github/dockerjava/netty/NettyDockerCmdExecFactory;
	at io.jenkins.docker.client.DockerAPI.makeClient(DockerAPI.java:250)
	at io.jenkins.docker.client.DockerAPI.getOrMakeClient(DockerAPI.java:200)
	at io.jenkins.docker.client.DockerAPI.getClient(DockerAPI.java:169)
	at io.jenkins.docker.client.DockerAPI.getClient(DockerAPI.java:152)
	at com.nirima.jenkins.plugins.docker.DockerCloud.countContainersInDocker(DockerCloud.java:630)
	at com.nirima.jenkins.plugins.docker.DockerCloud.canAddProvisionedAgent(DockerCloud.java:649)
	at com.nirima.jenkins.plugins.docker.DockerCloud.provision(DockerCloud.java:358)
	at hudson.slaves.Cloud.provision(Cloud.java:210)
	at hudson.slaves.NodeProvisioner$StandardStrategyImpl.apply(NodeProvisioner.java:727)
	at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:326)
	at hudson.slaves.NodeProvisioner.access$1000(NodeProvisioner.java:71)
	at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:824)
	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:92)
	at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

### Anything else?

_No response_

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:5
  • Comments:31 (15 by maintainers)

github_iconTop GitHub Comments

13reactions
pjdartoncommented, Apr 27, 2022

Urk, sorry folks - my “day job” suddenly got busy and I took my eye off the ball (and I think my email decided that a flood of messages about the docker plugin “must mean they’re all spam”, as nothing arrived in my email inbox either).

As a number of folks have (very kindly) confirmed that this change fixes the issue, I’ve done a release of 1.2.9 and have updated the changelog accordingly.

You can expect version 1.2.9 to be available in the Jenkins plugin update UI within a few hours (that doesn’t happen immediately and I can’t force it).

5reactions
dnwecommented, Apr 19, 2022

Rolling back to docker-java-api 3.1.5.3-33.ve54af4fabd95 allowed builds to schedule as normal again

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found