com.github.dockerjava.api.NotFoundException: no such id: acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869

Jenkins JIRA | Oleg Nenashev | 1 year ago
  1. 0

    Seems to be a regression, because everything works well in docker-plugin-0.8 (which does not have DockerOnceRetentionStrategy). Appears on the latest Jenkins LTS. Installation from scratch 1) Build completes successfully 2) Termination request comes from the default DockerOnceRetentionStrategy 3) Docker image terminates with a WARNING message (should be info, I think) 4) After some time, Jenkins starts its own cloud retention strategy 5) Docker tries to terminate the image again and gets a SEVERE exception due to the missing container {noformat} Jun 12, 2015 6:54:03 PM com.nirima.jenkins.plugins.docker.DockerCloud provision INFO: Asked to provision 1 slave(s) for: docker Jun 12, 2015 6:54:03 PM com.nirima.jenkins.plugins.docker.DockerCloud provision INFO: Will provision "evarga/jenkins-slave" for: docker Jun 12, 2015 6:54:03 PM com.nirima.jenkins.plugins.docker.DockerCloud addProvisionedSlave INFO: Provisioning "evarga/jenkins-slave" number 0 on "shared-docker-cloud"; Total containers: 0 Launching evarga/jenkins-slave Jun 12, 2015 6:54:03 PM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply INFO: Started provisioning Image of evarga/jenkins-slave from shared-docker-cloud with 1 executors. Remaining excess workload: 0 Jun 12, 2015 6:54:03 PM com.nirima.jenkins.plugins.docker.DockerComputerLauncher getSSHLauncher INFO: Creating slave SSH launcher for 192.168.59.103:32771 [06/12/15 18:54:11] SSH Launch of acd142e301a0@shared-docker-cloud on 192.168.59.103 completed in 7,253 ms Jun 12, 2015 6:54:11 PM hudson.model.Run execute INFO: test-docker #2 main build action completed: SUCCESS Jun 12, 2015 6:54:11 PM hudson.model.Executor finish2 WARNING: Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2 termination trace hudson.model.Computer$TerminationRequest: Termination requested at Fri Jun 12 18:54:11 MSK 2015 by Thread[Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2,5,main] [id=289] at hudson.model.Computer.recordTermination(Computer.java:214) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:63) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.done(DockerOnceRetentionStrategy.java:77) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.taskCompleted(DockerOnceRetentionStrategy.java:59) at hudson.slaves.SlaveComputer.taskCompleted(SlaveComputer.java:301) at com.nirima.jenkins.plugins.docker.DockerComputer.taskCompleted(DockerComputer.java:63) at hudson.model.queue.WorkUnitContext.synchronizeEnd(WorkUnitContext.java:145) at hudson.model.Executor.finish1(Executor.java:424) at hudson.model.Executor.run(Executor.java:394) Jun 12, 2015 6:54:11 PM hudson.model.Executor finish2 WARNING: Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2 termination trace hudson.model.Computer$TerminationRequest: Termination requested at Fri Jun 12 18:54:11 MSK 2015 by Thread[Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2,5,main] [id=289] at hudson.model.Computer.recordTermination(Computer.java:214) at hudson.model.Computer.disconnect(Computer.java:465) at hudson.slaves.SlaveComputer.disconnect(SlaveComputer.java:601) at com.nirima.jenkins.plugins.docker.DockerSlave._terminate(DockerSlave.java:101) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:67) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.done(DockerOnceRetentionStrategy.java:77) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.taskCompleted(DockerOnceRetentionStrategy.java:59) at hudson.slaves.SlaveComputer.taskCompleted(SlaveComputer.java:301) at com.nirima.jenkins.plugins.docker.DockerComputer.taskCompleted(DockerComputer.java:63) at hudson.model.queue.WorkUnitContext.synchronizeEnd(WorkUnitContext.java:145) at hudson.model.Executor.finish1(Executor.java:424) at hudson.model.Executor.run(Executor.java:394) Jun 12, 2015 6:54:11 PM hudson.model.Executor finish2 WARNING: Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2 termination trace hudson.model.Computer$TerminationRequest: Termination requested at Fri Jun 12 18:54:11 MSK 2015 by Thread[Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2,5,main] [id=289] at hudson.model.Computer.recordTermination(Computer.java:214) at jenkins.model.Nodes$3.run(Nodes.java:165) at hudson.model.Queue._withLock(Queue.java:1207) at hudson.model.Queue.withLock(Queue.java:1143) at jenkins.model.Nodes.removeNode(Nodes.java:160) at jenkins.model.Jenkins.removeNode(Jenkins.java:1700) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:70) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.done(DockerOnceRetentionStrategy.java:77) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.taskCompleted(DockerOnceRetentionStrategy.java:59) at hudson.slaves.SlaveComputer.taskCompleted(SlaveComputer.java:301) at com.nirima.jenkins.plugins.docker.DockerComputer.taskCompleted(DockerComputer.java:63) at hudson.model.queue.WorkUnitContext.synchronizeEnd(WorkUnitContext.java:145) at hudson.model.Executor.finish1(Executor.java:424) at hudson.model.Executor.run(Executor.java:394) Jun 12, 2015 6:54:11 PM hudson.model.Executor finish2 WARNING: Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2 termination trace hudson.model.Computer$TerminationRequest: Termination requested at Fri Jun 12 18:54:11 MSK 2015 by Thread[Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2,5,main] [id=289] at hudson.model.Computer.recordTermination(Computer.java:214) at hudson.model.Computer.disconnect(Computer.java:465) at hudson.slaves.SlaveComputer.disconnect(SlaveComputer.java:601) at jenkins.model.Nodes$3.run(Nodes.java:166) at hudson.model.Queue._withLock(Queue.java:1207) at hudson.model.Queue.withLock(Queue.java:1143) at jenkins.model.Nodes.removeNode(Nodes.java:160) at jenkins.model.Jenkins.removeNode(Jenkins.java:1700) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:70) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.done(DockerOnceRetentionStrategy.java:77) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.taskCompleted(DockerOnceRetentionStrategy.java:59) at hudson.slaves.SlaveComputer.taskCompleted(SlaveComputer.java:301) at com.nirima.jenkins.plugins.docker.DockerComputer.taskCompleted(DockerComputer.java:63) at hudson.model.queue.WorkUnitContext.synchronizeEnd(WorkUnitContext.java:145) at hudson.model.Executor.finish1(Executor.java:424) at hudson.model.Executor.run(Executor.java:394) Jun 12, 2015 6:54:13 PM com.nirima.jenkins.plugins.docker.utils.RetryingComputerLauncher launch INFO: Launch failed, pausing before retry. Jun 12, 2015 6:54:13 PM hudson.slaves.NodeProvisioner$2 run INFO: Image of evarga/jenkins-slave provisioning successfully completed. We have now 2 computer(s) [06/12/15 18:54:18] SSH Launch of acd142e301a0@shared-docker-cloud on 192.168.59.103 failed in 5 ms Jun 12, 2015 6:54:37 PM hudson.slaves.CloudRetentionStrategy check INFO: Disconnecting acd142e301a0@shared-docker-cloud Jun 12, 2015 6:54:37 PM com.nirima.jenkins.plugins.docker.DockerSlave _terminate SEVERE: Failed to stop instance acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869 for slave acd142e301a0@shared-docker-cloud due to exception com.github.dockerjava.api.NotFoundException: no such id: acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869 at com.github.dockerjava.core.util.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:48) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:134) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123) at org.glassfish.jersey.process.internal.Stages.process(Stages.java:171) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664) 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:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:424) at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:333) at com.github.dockerjava.jaxrs.StopContainerCmdExec.execute(StopContainerCmdExec.java:29) at com.github.dockerjava.jaxrs.StopContainerCmdExec.execute(StopContainerCmdExec.java:11) at com.github.dockerjava.jaxrs.AbstrDockerCmdExec.exec(AbstrDockerCmdExec.java:57) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:29) at com.github.dockerjava.core.command.StopContainerCmdImpl.exec(StopContainerCmdImpl.java:66) at com.nirima.jenkins.plugins.docker.DockerSlave._terminate(DockerSlave.java:105) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:67) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:62) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:46) at hudson.slaves.ComputerRetentionWork$1.run(ComputerRetentionWork.java:70) at hudson.model.Queue._withLock(Queue.java:1207) at hudson.model.Queue.withLock(Queue.java:1143) at hudson.slaves.ComputerRetentionWork.doRun(ComputerRetentionWork.java:61) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Jun 12, 2015 6:54:37 PM com.nirima.jenkins.plugins.docker.DockerSlave _terminate SEVERE: Failed to remove instance acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869 for slave acd142e301a0@shared-docker-cloud due to exception com.github.dockerjava.api.NotFoundException: no such id: acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869 at com.github.dockerjava.core.util.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:48) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:134) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123) at org.glassfish.jersey.process.internal.Stages.process(Stages.java:171) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664) 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:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:399) at org.glassfish.jersey.client.JerseyInvocation$Builder.delete(JerseyInvocation.java:348) at com.github.dockerjava.jaxrs.RemoveContainerCmdExec.execute(RemoveContainerCmdExec.java:26) at com.github.dockerjava.jaxrs.RemoveContainerCmdExec.execute(RemoveContainerCmdExec.java:11) at com.github.dockerjava.jaxrs.AbstrDockerCmdExec.exec(AbstrDockerCmdExec.java:57) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:29) at com.github.dockerjava.core.command.RemoveContainerCmdImpl.exec(RemoveContainerCmdImpl.java:77) at com.nirima.jenkins.plugins.docker.DockerSlave._terminate(DockerSlave.java:121) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:67) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:62) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:46) at hudson.slaves.ComputerRetentionWork$1.run(ComputerRetentionWork.java:70) at hudson.model.Queue._withLock(Queue.java:1207) at hudson.model.Queue.withLock(Queue.java:1143) at hudson.slaves.ComputerRetentionWork.doRun(ComputerRetentionWork.java:61) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat}

    Jenkins JIRA | 1 year ago | Oleg Nenashev
    com.github.dockerjava.api.NotFoundException: no such id: acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869
  2. 0

    Seems to be a regression, because everything works well in docker-plugin-0.8 (which does not have DockerOnceRetentionStrategy). Appears on the latest Jenkins LTS. Installation from scratch 1) Build completes successfully 2) Termination request comes from the default DockerOnceRetentionStrategy 3) Docker image terminates with a WARNING message (should be info, I think) 4) After some time, Jenkins starts its own cloud retention strategy 5) Docker tries to terminate the image again and gets a SEVERE exception due to the missing container {noformat} Jun 12, 2015 6:54:03 PM com.nirima.jenkins.plugins.docker.DockerCloud provision INFO: Asked to provision 1 slave(s) for: docker Jun 12, 2015 6:54:03 PM com.nirima.jenkins.plugins.docker.DockerCloud provision INFO: Will provision "evarga/jenkins-slave" for: docker Jun 12, 2015 6:54:03 PM com.nirima.jenkins.plugins.docker.DockerCloud addProvisionedSlave INFO: Provisioning "evarga/jenkins-slave" number 0 on "shared-docker-cloud"; Total containers: 0 Launching evarga/jenkins-slave Jun 12, 2015 6:54:03 PM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply INFO: Started provisioning Image of evarga/jenkins-slave from shared-docker-cloud with 1 executors. Remaining excess workload: 0 Jun 12, 2015 6:54:03 PM com.nirima.jenkins.plugins.docker.DockerComputerLauncher getSSHLauncher INFO: Creating slave SSH launcher for 192.168.59.103:32771 [06/12/15 18:54:11] SSH Launch of acd142e301a0@shared-docker-cloud on 192.168.59.103 completed in 7,253 ms Jun 12, 2015 6:54:11 PM hudson.model.Run execute INFO: test-docker #2 main build action completed: SUCCESS Jun 12, 2015 6:54:11 PM hudson.model.Executor finish2 WARNING: Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2 termination trace hudson.model.Computer$TerminationRequest: Termination requested at Fri Jun 12 18:54:11 MSK 2015 by Thread[Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2,5,main] [id=289] at hudson.model.Computer.recordTermination(Computer.java:214) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:63) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.done(DockerOnceRetentionStrategy.java:77) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.taskCompleted(DockerOnceRetentionStrategy.java:59) at hudson.slaves.SlaveComputer.taskCompleted(SlaveComputer.java:301) at com.nirima.jenkins.plugins.docker.DockerComputer.taskCompleted(DockerComputer.java:63) at hudson.model.queue.WorkUnitContext.synchronizeEnd(WorkUnitContext.java:145) at hudson.model.Executor.finish1(Executor.java:424) at hudson.model.Executor.run(Executor.java:394) Jun 12, 2015 6:54:11 PM hudson.model.Executor finish2 WARNING: Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2 termination trace hudson.model.Computer$TerminationRequest: Termination requested at Fri Jun 12 18:54:11 MSK 2015 by Thread[Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2,5,main] [id=289] at hudson.model.Computer.recordTermination(Computer.java:214) at hudson.model.Computer.disconnect(Computer.java:465) at hudson.slaves.SlaveComputer.disconnect(SlaveComputer.java:601) at com.nirima.jenkins.plugins.docker.DockerSlave._terminate(DockerSlave.java:101) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:67) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.done(DockerOnceRetentionStrategy.java:77) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.taskCompleted(DockerOnceRetentionStrategy.java:59) at hudson.slaves.SlaveComputer.taskCompleted(SlaveComputer.java:301) at com.nirima.jenkins.plugins.docker.DockerComputer.taskCompleted(DockerComputer.java:63) at hudson.model.queue.WorkUnitContext.synchronizeEnd(WorkUnitContext.java:145) at hudson.model.Executor.finish1(Executor.java:424) at hudson.model.Executor.run(Executor.java:394) Jun 12, 2015 6:54:11 PM hudson.model.Executor finish2 WARNING: Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2 termination trace hudson.model.Computer$TerminationRequest: Termination requested at Fri Jun 12 18:54:11 MSK 2015 by Thread[Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2,5,main] [id=289] at hudson.model.Computer.recordTermination(Computer.java:214) at jenkins.model.Nodes$3.run(Nodes.java:165) at hudson.model.Queue._withLock(Queue.java:1207) at hudson.model.Queue.withLock(Queue.java:1143) at jenkins.model.Nodes.removeNode(Nodes.java:160) at jenkins.model.Jenkins.removeNode(Jenkins.java:1700) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:70) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.done(DockerOnceRetentionStrategy.java:77) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.taskCompleted(DockerOnceRetentionStrategy.java:59) at hudson.slaves.SlaveComputer.taskCompleted(SlaveComputer.java:301) at com.nirima.jenkins.plugins.docker.DockerComputer.taskCompleted(DockerComputer.java:63) at hudson.model.queue.WorkUnitContext.synchronizeEnd(WorkUnitContext.java:145) at hudson.model.Executor.finish1(Executor.java:424) at hudson.model.Executor.run(Executor.java:394) Jun 12, 2015 6:54:11 PM hudson.model.Executor finish2 WARNING: Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2 termination trace hudson.model.Computer$TerminationRequest: Termination requested at Fri Jun 12 18:54:11 MSK 2015 by Thread[Executor #0 for acd142e301a0@shared-docker-cloud : executing test-docker #2,5,main] [id=289] at hudson.model.Computer.recordTermination(Computer.java:214) at hudson.model.Computer.disconnect(Computer.java:465) at hudson.slaves.SlaveComputer.disconnect(SlaveComputer.java:601) at jenkins.model.Nodes$3.run(Nodes.java:166) at hudson.model.Queue._withLock(Queue.java:1207) at hudson.model.Queue.withLock(Queue.java:1143) at jenkins.model.Nodes.removeNode(Nodes.java:160) at jenkins.model.Jenkins.removeNode(Jenkins.java:1700) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:70) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.done(DockerOnceRetentionStrategy.java:77) at com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy.taskCompleted(DockerOnceRetentionStrategy.java:59) at hudson.slaves.SlaveComputer.taskCompleted(SlaveComputer.java:301) at com.nirima.jenkins.plugins.docker.DockerComputer.taskCompleted(DockerComputer.java:63) at hudson.model.queue.WorkUnitContext.synchronizeEnd(WorkUnitContext.java:145) at hudson.model.Executor.finish1(Executor.java:424) at hudson.model.Executor.run(Executor.java:394) Jun 12, 2015 6:54:13 PM com.nirima.jenkins.plugins.docker.utils.RetryingComputerLauncher launch INFO: Launch failed, pausing before retry. Jun 12, 2015 6:54:13 PM hudson.slaves.NodeProvisioner$2 run INFO: Image of evarga/jenkins-slave provisioning successfully completed. We have now 2 computer(s) [06/12/15 18:54:18] SSH Launch of acd142e301a0@shared-docker-cloud on 192.168.59.103 failed in 5 ms Jun 12, 2015 6:54:37 PM hudson.slaves.CloudRetentionStrategy check INFO: Disconnecting acd142e301a0@shared-docker-cloud Jun 12, 2015 6:54:37 PM com.nirima.jenkins.plugins.docker.DockerSlave _terminate SEVERE: Failed to stop instance acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869 for slave acd142e301a0@shared-docker-cloud due to exception com.github.dockerjava.api.NotFoundException: no such id: acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869 at com.github.dockerjava.core.util.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:48) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:134) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123) at org.glassfish.jersey.process.internal.Stages.process(Stages.java:171) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664) 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:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:424) at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:333) at com.github.dockerjava.jaxrs.StopContainerCmdExec.execute(StopContainerCmdExec.java:29) at com.github.dockerjava.jaxrs.StopContainerCmdExec.execute(StopContainerCmdExec.java:11) at com.github.dockerjava.jaxrs.AbstrDockerCmdExec.exec(AbstrDockerCmdExec.java:57) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:29) at com.github.dockerjava.core.command.StopContainerCmdImpl.exec(StopContainerCmdImpl.java:66) at com.nirima.jenkins.plugins.docker.DockerSlave._terminate(DockerSlave.java:105) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:67) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:62) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:46) at hudson.slaves.ComputerRetentionWork$1.run(ComputerRetentionWork.java:70) at hudson.model.Queue._withLock(Queue.java:1207) at hudson.model.Queue.withLock(Queue.java:1143) at hudson.slaves.ComputerRetentionWork.doRun(ComputerRetentionWork.java:61) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Jun 12, 2015 6:54:37 PM com.nirima.jenkins.plugins.docker.DockerSlave _terminate SEVERE: Failed to remove instance acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869 for slave acd142e301a0@shared-docker-cloud due to exception com.github.dockerjava.api.NotFoundException: no such id: acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869 at com.github.dockerjava.core.util.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:48) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:134) at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123) at org.glassfish.jersey.process.internal.Stages.process(Stages.java:171) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664) 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:424) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:399) at org.glassfish.jersey.client.JerseyInvocation$Builder.delete(JerseyInvocation.java:348) at com.github.dockerjava.jaxrs.RemoveContainerCmdExec.execute(RemoveContainerCmdExec.java:26) at com.github.dockerjava.jaxrs.RemoveContainerCmdExec.execute(RemoveContainerCmdExec.java:11) at com.github.dockerjava.jaxrs.AbstrDockerCmdExec.exec(AbstrDockerCmdExec.java:57) at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:29) at com.github.dockerjava.core.command.RemoveContainerCmdImpl.exec(RemoveContainerCmdImpl.java:77) at com.nirima.jenkins.plugins.docker.DockerSlave._terminate(DockerSlave.java:121) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:67) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:62) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:46) at hudson.slaves.ComputerRetentionWork$1.run(ComputerRetentionWork.java:70) at hudson.model.Queue._withLock(Queue.java:1207) at hudson.model.Queue.withLock(Queue.java:1143) at hudson.slaves.ComputerRetentionWork.doRun(ComputerRetentionWork.java:61) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat}

    Jenkins JIRA | 1 year ago | Oleg Nenashev
    com.github.dockerjava.api.NotFoundException: no such id: acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869
  3. 0

    Support short lived containers

    GitHub | 1 year ago | mwl
    com.github.dockerjava.api.NotFoundException: no such id: f6c22b85d073813466a34050c4df2913eaeecbaa2dcac2110a32537dbfe04c28
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I can not pull images from private registry

    GitHub | 11 months ago | smiklosovic
    com.github.dockerjava.api.NotFoundException: Error parsing HTTP response: invalid character 'p' after top-level value: "404 page not found\n"
  6. 0

    Continue listening to Docker events in face of failure

    GitHub | 2 years ago | yaronr
    com.github.dockerjava.api.NotFoundException: no such id: 169a73abaea40908efb169f96f37bd365c02a09c5389c97f424ff0ff5b869963

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.github.dockerjava.api.NotFoundException

      no such id: acd142e301a09f5ce72bb1af3b76ec9753337af81bcafcaa1b13d264cd43a869

      at com.github.dockerjava.core.util.ResponseStatusExceptionFilter.filter()
    2. com.github.dockerjava
      ResponseStatusExceptionFilter.filter
      1. com.github.dockerjava.core.util.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:48)
      1 frame
    3. jersey-core-client
      ClientFilteringStages$ResponseFilterStage.apply
      1. org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:134)
      2. org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123)
      2 frames
    4. Jersey Core
      Stages.process
      1. org.glassfish.jersey.process.internal.Stages.process(Stages.java:171)
      1 frame
    5. jersey-core-client
      JerseyInvocation$1.call
      1. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251)
      2. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667)
      3. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664)
      3 frames
    6. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
      4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)
      4 frames
    7. jersey-core-client
      JerseyInvocation$Builder.delete
      1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664)
      2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:399)
      3. org.glassfish.jersey.client.JerseyInvocation$Builder.delete(JerseyInvocation.java:348)
      3 frames
    8. docker-java
      RemoveContainerCmdImpl.exec
      1. com.github.dockerjava.jaxrs.RemoveContainerCmdExec.execute(RemoveContainerCmdExec.java:26)
      2. com.github.dockerjava.jaxrs.RemoveContainerCmdExec.execute(RemoveContainerCmdExec.java:11)
      3. com.github.dockerjava.jaxrs.AbstrDockerCmdExec.exec(AbstrDockerCmdExec.java:57)
      4. com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:29)
      5. com.github.dockerjava.core.command.RemoveContainerCmdImpl.exec(RemoveContainerCmdImpl.java:77)
      5 frames
    9. com.nirima.jenkins
      DockerSlave._terminate
      1. com.nirima.jenkins.plugins.docker.DockerSlave._terminate(DockerSlave.java:121)
      1 frame
    10. Hudson
      SafeTimerTask.run
      1. hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:67)
      2. hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:62)
      3. hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:46)
      4. hudson.slaves.ComputerRetentionWork$1.run(ComputerRetentionWork.java:70)
      5. hudson.model.Queue._withLock(Queue.java:1207)
      6. hudson.model.Queue.withLock(Queue.java:1143)
      7. hudson.slaves.ComputerRetentionWork.doRun(ComputerRetentionWork.java:61)
      8. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
      8 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames