-
Notifications
You must be signed in to change notification settings - Fork 25.7k
test_utils.py: Add another retry to test_download_url_to_file #66159
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
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slowFor more information, please take a look at the CI Flow Wiki. |
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 4c1ce36 (more details on the Dr. CI page):
2 failures not recognized by patterns:
🚧 1 fixed upstream failure:These were probably caused by upstream breakages that were already fixed.
Please rebase on the
|
| self.assertEqual(sum_of_state_dict(loaded_state), | ||
| SUM_OF_HUB_EXAMPLE) | ||
|
|
||
| @retry(URLError, tries=3) |
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.
There's a retry URLError on most of the tests in this file. I just added another layer of retrying to the current test case, but there could be a better subtractive solution
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.
maybe we could collect all the possible urllib exceptions into a common_utils decorator retry_http or something so we can concentrate it all in one place
|
@janeyx99 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Fixes one of the flakiness concerns mentioned #65439 (comment)