-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second execution failed if two projects use the plugin #574
Comments
Some questions:
|
Hello, |
I'm getting the same error message in a slightly different context:
It works with docker-maven-plugin 0.15.16 and 0.16.1, but not with 0.16.2, 0.16.3, 0.16.4 and 0.16.5. I tried to provide the |
@gsoing there are some sever concurrency issues with unix socket library we are using. This is tracked in #344. I don't know whether it applies here, and as @albers indicates, it might be a problem with TCP socket, too. @albers would it be possible to have access to the project so that I could reproduce it (and e.g. bisect between the versions) ? @gsoing does it work for you with an older version like 0.15.16 or 0.16.1 ? In the meantime I'll try too look at the difference between 0.16.1 and 0.16.2 |
I will try to create a trimmed-down version that I can share tomorrow. Thanks for looking into it. |
Good news: I was able to create a minimal project that only uses public images. And: I could capture the debug output (once). To reproduce: create an empty project with just this POM (renamed): pom.xml.txt Running mvn verify -DdockerHost=https://my.internal.docker-server:2376 -Ddocker.showLogs | tee maven.txt produced this output: maven.txt Running mvn verify -DdockerHost=https://my.internal.docker-server:2376 -Ddocker.showLogs -X | tee maven-debug.txt produced this debug output: maven-debug.txt I tested against two remote Docker hosts. I always get the error. In most cases it occurs after successful startup of the first container, sometimes after successful start of the second container. |
thanks ! will try to reproduce it now myself, too. |
Hello, |
Thanks a lot for the test case, I could nail it down with a Now going to fix it ... |
Added some locks which should prevent this error. Please feel free to test it or reopen the issue in case. I will do a new d-m-p this evening probably or tomorrow. thanks for all your help ;-) |
Thanks for the quick fix, @rhuss. |
Thanks a lot as soon as you released i will test. Regards |
0.16.6 is out |
I just test the new release and it works fine. Thanks for the quick fix. |
0.16.6 resolves my issues, too. Thanks! |
Hello,
I have a maven project with two sub-modules which use the docker plugin and the second start failed with the following error : io.fabric8:docker-maven-plugin:0.16.5:start failed: Connection not obtained from this manager
If I understand well it's because it try to clean up an http connection which was used by the precedent plugin executions.
The complete stacktrace is here :
I'm trying to find where this stale connection come from, but it's not a big success for the moment.
Regards
Guillaume
The text was updated successfully, but these errors were encountered: