| I'm commenting to report that we begun facing similar errors last week, after we changed several pipeline scripts, which increased the frequency with which we launch Docker containers. We're using Jenkins 2.107.2 and docker-workflow-plugin 1.17. I increased the plugin timeout to 250s and decreased the number of executors in our slaves to no avail. In despair, I patched the plugin to make it ignore docker-rm errors. Using the patched plugin we were able to finish all of our weekend builds successfully. I know this is not a decent solution. I feared that our builds could be delayed waiting for the stuck containers, but I didn't notice this or any other side effect. So, for now, we'll use this patched plugin. I don't understand yet what makes the docker-rm command delay. Do you have some hints to share? |