Skip to content
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

Add retry logic to update_package_provides.py for broken Fedora update mirrors #667

Open
mbacchi opened this issue Jul 31, 2018 · 0 comments
Open

Comments

@mbacchi
Copy link
Member

@mbacchi mbacchi commented Jul 31, 2018

In the Linux build process we experience frequent errors when running the update_package_provides.py script during the build. This is because many Fedora mirrors have out of date repomd.xml files that are older than the other repository metadata files(i.e. primary.xml.gz).

19:53:24 + python update_package_provides.py
...
19:54:40   File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
19:54:40     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
19:54:40 urllib2.HTTPError: HTTP Error 404: Not Found
19:54:42 Build step 'Execute shell' marked build as failure
19:54:42 Finished: FAILURE

Originally I was going to whitelist the repos that were up to date(brave/brave-core#252) but I closed that in favor of adding retry logic to the script at @bridiver's recommendation.

@mbacchi mbacchi mentioned this issue Jul 31, 2018
1 of 9 tasks complete
@bbondy bbondy modified the milestones: Releasable builds 0.55.x, Backlog Aug 16, 2018
@rebron rebron modified the milestone: 1.x Backlog Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.