Skip to content
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

Investigate test with address already in use #268

Closed
antho1404 opened this issue Jun 29, 2018 · 2 comments
Closed

Investigate test with address already in use #268

antho1404 opened this issue Jun 29, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@antho1404
Copy link
Member

Sometime when running the tests we have the error

Address already in use, failed to allocate gateway (10.0.1.1): Address already in use

This shouldn't happen and need to be investigated and fixed to always have reliable builds

@antho1404 antho1404 added the bug Something isn't working label Jun 29, 2018
@ilgooz
Copy link
Contributor

ilgooz commented Jul 16, 2018

This can be related with a bug in docker or docker client:

I investigated this issue for an hour yesterday but I didn't come up with a solid fix yet. Putting a 3 second sleep above the line of here or here solves this problem somehow. Maybe there is something async process going on when creating a network on docker's side or there is some name conflicts in network-service relationship.

But converting to unit tests should definitely solve this if we don't have a business logic mistake in our side.

@NicolasMahe
Copy link
Member

This issue didn't occured for a long time. It should have been fixed with the fix on listening docker's event for network deletion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants