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
I am seeing behavior where the plugin is launching the wrong image and then everything is deadlocked because nothing is pending to be built on that image.
Jun 24, 2014 11:54:34 AM com.nirima.jenkins.plugins.docker.DockerRetentionStrategy check
INFO: Idle timeout: ca6d257006e1@Docker1
Jun 24, 2014 11:54:34 AM com.nirima.jenkins.plugins.docker.DockerRetentionStrategy check
INFO: Terminating DockerComputer{name=ca6d257006e1@Docker1, slave=DockerSlave{name=ca6d257006e1@Docker1, containerId=ca6d257006e1b12c5d6ad1c04fbdea2d4acba5000bfca100c1583925ad288c23, template=DockerTemplate{image=fedora_jenkins_clang, parent=DockerCloud{name=Docker1, serverUrl=REDACTED}}}
Jun 24, 2014 11:54:34 AM com.nirima.jenkins.plugins.docker.DockerCloud connect
INFO: Building connection to docker host Docker1 URL REDACTED
Jun 24, 2014 11:54:34 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run
SEVERE: I/O error in channel ca6d257006e1@Docker1
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2303)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2772)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:778)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:278)
at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:40)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
Jun 24, 2014 11:54:38 AM com.nirima.jenkins.plugins.docker.DockerCloud connect
INFO: Building connection to docker host Docker1 URL REDACTED
Jun 24, 2014 11:54:43 AM com.nirima.jenkins.plugins.docker.DockerCloud provision
INFO: Excess workload after pending Spot instances: 1
Jun 24, 2014 11:54:43 AM com.nirima.jenkins.plugins.docker.DockerCloud connect
INFO: Building connection to docker host Docker1 URL REDACTED
Jun 24, 2014 11:54:43 AM com.nirima.jenkins.plugins.docker.DockerCloud connect
INFO: Building connection to docker host Docker1 URL REDACTED
Jun 24, 2014 11:54:43 AM com.nirima.jenkins.plugins.docker.DockerCloud addProvisionedSlave
INFO: Provisioning for AMI rhel6_jenkins:6.5; Estimated number of total slaves: 0; Estimated number of slaves for ami rhel6_jenkins:6.5: 0
Launching rhel6_jenkins:6.5
Jun 24, 2014 11:54:43 AM hudson.slaves.NodeProvisioner update
INFO: Started provisioning Image of rhel6_jenkins:6.5 from Docker1 with 1 executors. Remaining excess workload:7.1525574E-7
Except nothing wants that image, so there is no reason to have launched it.
Further down in the log is also the following which may mean this is related to #41
SEVERE: Failed to remove instance ca6d257006e1b12c5d6ad1c04fbdea2d4acba5000bfca100c1583925ad288c23 for slave ca6d257006e1@Docker1 due to exception
javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: Read timed out
at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:184)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:227)
at org.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:693)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:422)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:689)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:405)
at org.glassfish.jersey.client.proxy.WebResourceFactory.invoke(WebResourceFactory.java:318)
at com.sun.proxy.$Proxy73.removeContainer(Unknown Source)
at com.nirima.docker.client.DockerClient$Container.remove(DockerClient.java:333)
at com.nirima.jenkins.plugins.docker.DockerSlave._terminate(DockerSlave.java:103)
at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:62)
at com.nirima.jenkins.plugins.docker.DockerSlave.retentionTerminate(DockerSlave.java:213)
at com.nirima.jenkins.plugins.docker.DockerRetentionStrategy.check(DockerRetentionStrategy.java:55)
at com.nirima.jenkins.plugins.docker.DockerRetentionStrategy.check(DockerRetentionStrategy.java:14)
at hudson.slaves.ComputerRetentionWork.doRun(ComputerRetentionWork.java:66)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:698)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:641)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1218)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
at org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:276)
at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:182)
... 27 more
The text was updated successfully, but these errors were encountered:
thomassuckow
pushed a commit
to thomassuckow/docker-plugin
that referenced
this issue
Jul 16, 2014
I am seeing behavior where the plugin is launching the wrong image and then everything is deadlocked because nothing is pending to be built on that image.
Except nothing wants that image, so there is no reason to have launched it.
Further down in the log is also the following which may mean this is related to #41
The text was updated successfully, but these errors were encountered: