-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
[CI] Connection failures in repository-s3:integTestMinioRunner
credentials tests
#32208
Comments
Pinging @elastic/es-distributed |
I am guessing that Minio failed to start up properly for some reason, but we close its stdout after finding the port to which it is bound so all I see is this:
I wondered if perhaps it couldn't bind to that port since it's hard-wired:
However when I tried this the output from Minio looked like the following.
This suggests it's something else, although not with certainty. I am not confident that it logs anything useful to the console in this situation, but I think that's the first thing we should try. There's also a chance that it falls over because stdout is closed after it's printed the address to which it's bound but before it's finished printing other things. |
The error
I wonder whether this might be caused by a timing issue between the socket being closed by the code that determines a free port:
and Minio attempting to bind to that part soon after. I also wonder whether instead of opening a server socket we attempt to open a TCP client socket to that port. Iff the connection fails, the port is considered to be free. |
* Binding to `0` gives us free ports that are assigned sequentially by Linux making collisions much less likely compared to manually finding a free port in a range * Closes elastic#32208
* Binding to `0` gives us free ports that are assigned sequentially by Linux making collisions much less likely compared to manually finding a free port in a range * Closes #32208
* Binding to `0` gives us free ports that are assigned sequentially by Linux making collisions much less likely compared to manually finding a free port in a range * Closes #32208
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+multijob-unix-compatibility/os=ubuntu&&virtual/1190/consoleFull
I cannot reproduce this locally, so it might be temporary. Just filing an issue in case there are more occasions of this:
The text was updated successfully, but these errors were encountered: