Closed mskeefe closed 6 years ago
I'm seeing the same issue with similar configuration. The issue is not persistent. It works most of the time, but once in a while it occurs. Usually the next build works.
I'm running on docker 1.13 and with mvn verify -T1.5
Same here. I confirm this. Both the registry(obviously) and maven are running inside docker containers.
Same exception:
docker version: Docker version 1.11.2, build b9f10c9 docker-maven-plugin version: 0.4.10 maven version: 3.3.9
mvn -T 1.5C deploy
same here
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.9:build (default) on project fuseki: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: java.lang.IllegalStateException: Connection pool shut down -> [Help 1]
Should be fixed by https://github.com/spotify/docker-maven-plugin/pull/383. Please let me know if you still have issues.
Description
The plugin will often fail with an IllegalStateException when run with multiple threads.
How to reproduce
mvn -T 2C clean package -e
What do you expect
A successful build.
What happened instead
This fails for a multi-module project that produces around 20 different images. In my case, running with 2C results in 16 concurrent threads.
Software:
Full backtrace