Closed Bug 885331 Opened 12 years ago Closed 11 years ago

partner repacks need to retry fetching from hg

Categories

(Release Engineering :: Release Automation, defect, P3)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: massimo)

References

Details

(Whiteboard: [simple])

Attachments

(2 files, 1 obsolete file)

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.
Priority: -- → P3
Product: mozilla.org → Release Engineering
Adds a retries for retrieveFile()
Attachment #8498185 - Flags: review?(nthomas)
Assignee: nobody → mgervasini
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 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)
Adding retries using lib/python/util/retry.py (and pep8 fixes)
Attachment #8498185 - Attachment is obsolete: true
Attachment #8502406 - Flags: review?(nthomas)
Adding PYTHONPATH to doPartnerRepacks() environment
Attachment #8502408 - Flags: review?(nthomas)
Attachment #8502406 - Flags: review?(nthomas) → review+
Attachment #8502408 - Flags: review?(nthomas) → review+
Attachment #8502408 - Flags: checked-in+
Checked in code landed in production
Attachment #8502406 - Flags: checked-in+
Traceback (most recent call last): File "./partner-repacks.py", line 10, in <module> from util.retry import retry ImportError: No module named util.retry
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: