demery-pivotal commented on pull request #7011:
URL: https://github.com/apache/geode/pull/7011#issuecomment-945937418


   Here's the cause:
   1. Start a member using port 0, which binds any available port from the 
ephemeral port range.
   2. Stop the member, which releases the port.
   3. Some other process on the machine binds to port 0, and the system 
randomly selects the port that the member just released.
   3. Start the member on its original port, which fails because another 
process has bound to it.
   
   It is risky to assume that a port allocated from the ephemeral port range 
remains free after it is released, as this test was doing. It is even more 
risky to make that assumption in CI, where dozens of other processes may be 
using the same port namespace.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to