Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker node offline every two times #915

Open
safeYYY opened this issue Sep 21, 2022 · 2 comments
Open

docker node offline every two times #915

safeYYY opened this issue Sep 21, 2022 · 2 comments
Labels
bug An issue reporting a bug or a PR fixing one.

Comments

@safeYYY
Copy link

safeYYY commented Sep 21, 2022

Jenkins and plugins versions report

Environment
Jenkins 2.319.3
docker-plugin 1.2.9

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

centos

Reproduction steps

  1. I created a docker node in "configure Clouds", "Version = 20.10.17, API Version = 1.41" returned after Test Connection every time
  2. I created a pipeline to use this node

Expected Results

everytime works ok

Actual Results

first time run the pipeline success ,but the second time I run it shows that All nodes of label '***‘are offline

log:

first time:
java.net.SocketException: Socket closed
hudson.remoting.ChannelClosedException: Channel "docker-001904zkzutn1": channel is already closed
Stopped container '9f6cd2f575bf3590d130d49b0adf99dad16ac04ae42aa7d588a1b329ce84ab5f' for node 'docker-001904zkzutn1'.
Sep 21, 2022 1:06:24 PM INFO io.jenkins.docker.DockerTransientNode$1 println
Removed container '9f6cd2f575bf3590d130d49b0adf99dad16ac04ae42aa7d588a1b329ce84ab5f' for node 'docker-001904zkzutn1'.

second time:
Status 404: {"message":"No such container: 9f6cd2f575bf3590d130d49b0adf99dad16ac04ae42aa7d588a1b329ce84ab5f"}

Anything else?

No response

@safeYYY safeYYY added the bug An issue reporting a bug or a PR fixing one. label Sep 21, 2022
@safeYYY
Copy link
Author

safeYYY commented Sep 21, 2022

I hope every time I run the task success,but the actual result is :
success, offline, success, offline, success, offline, success, offline, success, offline, ........

@safeYYY safeYYY changed the title docker node offline every second tasdk docker node offline every two times Sep 21, 2022
@song-liang
Copy link

I also encounter such problems. How can I solve them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue reporting a bug or a PR fixing one.
Projects
None yet
Development

No branches or pull requests

2 participants