Closed
Bug 885331
Opened 11 years ago
Closed 10 years ago
partner repacks need to retry fetching from hg
Categories
(Release Engineering :: Release Automation: Other, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: massimo)
References
Details
(Whiteboard: [simple])
Attachments
(2 files, 1 obsolete file)
2.92 KB,
patch
|
nthomas
:
review+
massimo
:
checked-in+
|
Details | Diff | Splinter Review |
1.04 KB,
patch
|
nthomas
:
review+
massimo
:
checked-in+
|
Details | Diff | Splinter Review |
The win32 partner repack for Firefox 22 failed with this error: 2013-06-18 11:50:13,452 - Warning: use of --signed is deprecated. It is now the default. 2013-06-18 11:50:13,453 - ################################################## 2013-06-18 11:50:13,453 - Starting repack process for partner: 1und1 2013-06-18 11:50:13,454 - Downloading from http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/22.0-candidates/build1/win32/de/Firefox%20Setup%2022.0.exe 2013-06-18 11:50:13,454 - To: Firefox Setup 22.0.exe 2013-06-18 11:50:13,454 - CWD: /builds/slave/rel-m-rel-w32_partner_rpk-0000/partner-repacks/scripts/original_builds/22.0/build1/win32/de 2013-06-18 11:50:14,201 - Repacking signed builds in /builds/slave/rel-m-rel-w32_partner_rpk-0000/partner-repacks/scripts/original_builds/22.0/build1/win32/de 2013-06-18 11:50:14,201 - Downloading from http://hg.mozilla.org/releases/mozilla-release/raw-file/FIREFOX_22_0_RELEASE/browser/installer/windows/app.tag 2013-06-18 11:50:14,201 - To: app.tag 2013-06-18 11:50:14,201 - CWD: /builds/slave/rel-m-rel-w32_partner_rpk-0000/partner-repacks/scripts 2013-06-18 11:50:14,237 - Error downloading http://hg.mozilla.org/releases/mozilla-release/raw-file/FIREFOX_22_0_RELEASE/browser/installer/windows/app.tag Traceback (most recent call last): File "./partner-repacks.py", line 494, in retrieveFile StrictFancyURLopener().retrieve(url, file_path) File "/tools/python-2.7.3/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 239, in retrieve fp = self.open(url, data) File "/tools/python-2.7.3/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 207, in open return getattr(self, name)(url) File "/tools/python-2.7.3/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 358, in open_http return self.http_error(url, fp, errcode, errmsg, headers) File "/tools/python-2.7.3/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 375, in http_error return self.http_error_default(url, fp, errcode, errmsg, headers) File "./partner-repacks.py", line 48, in http_error_default headers) File "/tools/python-2.7.3/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 380, in http_error_default raise IOError, ('http error', errcode, errmsg, headers) IOError: ('http error', 500, 'Internal Server Error', <httplib.HTTPMessage instance at 0x10129ecf8>) 2013-06-18 11:50:14,313 - Cannot remove app.tag Traceback (most recent call last): File "./partner-repacks.py", line 499, in retrieveFile os.remove(file_path) OSError: [Errno 2] No such file or directory: 'app.tag' 2013-06-18 11:50:14,313 - Error: Unable to retrieve app.tag We should retry a few times before giving up.
Updated•11 years ago
|
Priority: -- → P3
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Assignee | ||
Comment 1•10 years ago
|
||
Adds a retries for retrieveFile()
Attachment #8498185 -
Flags: review?(nthomas)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mgervasini
Comment 2•10 years ago
|
||
partner repack jobs have the tools repo available, so they can use lib/python/util/retry.py. Did you avoid that for some reason ?
Comment 3•10 years ago
|
||
Comment on attachment 8498185 [details] [diff] [review] [partner-repacks] Bug 885331 - partner repacks need to retry fetching from hg.patch Clearing review pending response to comment #2.
Attachment #8498185 -
Flags: review?(nthomas)
Assignee | ||
Comment 4•10 years ago
|
||
Adding retries using lib/python/util/retry.py (and pep8 fixes)
Attachment #8498185 -
Attachment is obsolete: true
Attachment #8502406 -
Flags: review?(nthomas)
Assignee | ||
Comment 5•10 years ago
|
||
Adding PYTHONPATH to doPartnerRepacks() environment
Attachment #8502408 -
Flags: review?(nthomas)
Updated•10 years ago
|
Attachment #8502406 -
Flags: review?(nthomas) → review+
Updated•10 years ago
|
Attachment #8502408 -
Flags: review?(nthomas) → review+
Assignee | ||
Updated•10 years ago
|
Attachment #8502408 -
Flags: checked-in+
Comment 6•10 years ago
|
||
Checked in code landed in production
Assignee | ||
Updated•10 years ago
|
Attachment #8502406 -
Flags: checked-in+
Comment 7•10 years ago
|
||
This broke https://intranet.mozilla.org/Build:Partners:Repacks:Creation :/
Comment 8•10 years ago
|
||
Traceback (most recent call last): File "./partner-repacks.py", line 10, in <module> from util.retry import retry ImportError: No module named util.retry
Comment 9•10 years ago
|
||
Updated the docs to use PYTHONPATH https://intranet.mozilla.org/index.php?title=Build%2FPartners%2FRepacks%2FCreation&action=historysubmit&diff=177705&oldid=177163
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•