-
Notifications
You must be signed in to change notification settings - Fork 26.3k
rebuild_storage_fd retry on EINTR #21723
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
Conversation
|
@pytorchbot merge this please |
|
closes #4220 |
|
@pytorchbot merge this please |
facebook-github-bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
This is a very nice catch :> |
|
@ezyang did something go wrong during landing? :) |
|
@ssnl looks like a spurious failure, I'm retrying. |
|
@pytorchbot rebase this please |
|
For future reference: if the land fails, "rebase this please" on GitHub side is usually not the right resolution (since that means you're going to have to rerun all your tests fbcode side). The first thing you should try is selecting a different land style if the errors are spurious (as the land failure message suggests) and the second thing you should try is "Rebase & Test" on the internal diff. |
facebook-github-bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Some data loader tests are flaky on py 2 with the following error
Apparently, Python 2.7's
recvfdcallsrecvmsgwithout EINTR retry: https://github.com/python/cpython/blob/2.7/Modules/_multiprocessing/multiprocessing.c#L174So we should call it with an outer try-catch loop.