You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/06/19 06:43:14 UTC
[GitHub] [camel-quarkus] jamesnetherton commented on issue #1370: Investigate intermittent build failures due to port conflicts
jamesnetherton commented on issue #1370:
URL: https://github.com/apache/camel-quarkus/issues/1370#issuecomment-646466137
Fortunately this just reoccurred on the quarkus-master nightly job [here](https://github.com/apache/camel-quarkus/runs/786736342?check_suite_focus=true). Looking at the logs, all of the random ports allocated by the `build-helper-maven-plugin` look unique:
32769
32983
34241
37135
41365
41481
43313
44435
44505
45503
45859
46267
I wonder if the [plugin](https://github.com/mojohaus/build-helper-maven-plugin/blob/master/src/main/java/org/codehaus/mojo/buildhelper/ReserveListenerPortMojo.java#L133) should do `setReuseAddress(true)` on the `ServerSocket` it creates? IIRC, `close()` potentially does not immediately free the socket. It may be in left in `TIME_WAIT` for some period. Perhaps when the tests run and attempt to use the port, it has still not been freed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org