Jesse Glick commented on Bug JENKINS-23401

I tried using evarga/jenkins-slave using a username/password credentials which works for a regular dumb slave. When I schedule a build tied to a Docker cloud label I just see

Sep 16, 2014 4:04:29 PM hudson.slaves.NodeProvisioner update
WARNING: Provisioned slave Image of evarga/jenkins-slave failed to launch
java.lang.RuntimeException: No mapped port 22 in host for SSL. Config=ContainerInspectResponse{id=d4cc0250370d05860bdae540bf430203eab606d90aa24ceec3e774a484311b68, created=2014-09-16T20:04:19.609327986Z, path=/usr/sbin/sshd, args=[Ljava.lang.String;@35525190, config=ContainerConfig{hostName=d4cc0250370d, portSpecs=null, user=, tty=false, stdinOpen=false, stdInOnce=false, memoryLimit=0, memorySwap=0, cpuShares=0, attachStdin=false, attachStdout=false, attachStderr=false, env=[Ljava.lang.String;@2f68e049, cmd=[Ljava.lang.String;@e5cf0f0, dns=null, image=evarga/jenkins-slave, volumes=null, volumesFrom=, entrypoint=null, networkDisabled=false, privileged=false, workingDir=, domainName=, exposedPorts={22/tcp={}}, _onBuild_=null}, state=ContainerState{running=true, pid=32413, exitCode=0, startedAt=2014-09-16T20:04:19.868619026Z, ghost=false, finishedAt=0001-01-01T00:00:00Z}, image=f3ac335af281c1ece22f2b76f79b62c0eb9dc75e27fb4bc6fba063135b20fbfc, networkSettings=NetworkSettings{ipAddress=172.17.0.9, ipPrefixLen=16, gateway=172.17.42.1, bridge=docker0, portMapping=null, ports=Ports{ports={}, mapping=null}}, sysInitPath=null, resolvConfPath=/var/lib/docker/containers/d4cc0250370d05860bdae540bf430203eab606d90aa24ceec3e774a484311b68/resolv.conf, volumes={}, volumesRW={}, hostnamePath=/var/lib/docker/containers/d4cc0250370d05860bdae540bf430203eab606d90aa24ceec3e774a484311b68/hostname, hostsPath=/var/lib/docker/containers/d4cc0250370d05860bdae540bf430203eab606d90aa24ceec3e774a484311b68/hosts, name=/sick_bohr, driver=aufs}
	at com.nirima.jenkins.plugins.docker.DockerComputerLauncher.getSSHLauncher(DockerComputerLauncher.java:62)
	at com.nirima.jenkins.plugins.docker.DockerComputerLauncher.makeLauncher(DockerComputerLauncher.java:41)
	at com.nirima.jenkins.plugins.docker.DockerComputerLauncher.<init>(DockerComputerLauncher.java:37)
	at com.nirima.jenkins.plugins.docker.DockerTemplate.provision(DockerTemplate.java:206)
	at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:164)
	at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:159)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

which is not very informative. What does it mean for exposedPorts={22/tcp={}} yet ports=Ports{ports={}, mapping=null}}?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to