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

SSH service hadn't started after 0 seconds #760

Closed
eliasbalasis opened this issue Nov 11, 2019 · 4 comments
Closed

SSH service hadn't started after 0 seconds #760

eliasbalasis opened this issue Nov 11, 2019 · 4 comments

Comments

@eliasbalasis
Copy link

eliasbalasis commented Nov 11, 2019

We use SSH connect method and build job images containing an SSH server which run successfully with other Cloud Providers for Docker.
Strangely this didn't work with jenkins/ssh-slave image either.

Docker Plugin Version = 1.1.8
Jenkins Versioun = 2.190.2
Docker Engine Version = 17.09.0-ce

All attempts are producing the following error:

java.io.IOException: SSH service hadn't started after 0 seconds. at io.jenkins.docker.connector.DockerComputerSSHConnector.createLauncher(DockerComputerSSHConnector.java:261) at io.jenkins.docker.connector.DockerComputerConnector.createLauncher(DockerComputerConnector.java:91) at com.nirima.jenkins.plugins.docker.DockerTemplate.doProvisionNode(DockerTemplate.java:564) at com.nirima.jenkins.plugins.docker.DockerTemplate.provisionNode(DockerTemplate.java:526) at com.nirima.jenkins.plugins.docker.DockerCloud$1.run(DockerCloud.java:364) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

@grostarin
Copy link

Same problem here.
Workaround : I downgrade to 1.1.7

@pjdarton
Copy link
Member

This is a duplicate of bug report #751 which was fixed in #752 which will be FITNR and also includes links to a pre-release build of the bugfixed code.

@eliasbalasis
Copy link
Author

Many thanks,
when are you planning to release the fix in #752 ?

@pjdarton
Copy link
Member

Code changes went into released of docker-plugin version 1.1.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants