-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
os/exec: s390x flake #19243
Comments
Running locally I occasionally hit the maximum 3 tries in this test (though I haven't seen it fail). Putting it up to 5 might make this a bit more robust. I tried experimenting with removing the |
I played around with strace and I think what is happening is:
This looks like a race condition, there is nothing preventing step 3 being delayed until after step 5 has started. So lsof can see the fds the parent process created for its process. Some possible solutions: a. Accept a difference of up to 4 (maybe 5) fds. Probably accompanied with an increase in the number of failed exec calls (the cleanup of which this test is trying to check) from 4 to 6 or more so that a leak of 1 pipe is definitely detected. I suspect that either of these fixes will remove the need for retries. Does this sound reasonable? |
CL https://golang.org/cl/37343 mentions this issue. |
https://build.golang.org/log/085751bd5790fd794a1a711f0f15bdefa146443a
/cc @mundaym @ianlancetaylor
The text was updated successfully, but these errors were encountered: