Closed Bug 773876 Opened 12 years ago Closed 8 years ago

partner repack's download_pkg-dmg step does not retry failed wget

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhopkins, Unassigned)

Details

We need to wrap this wget with a retry loop.

Example session:

bash -c 'wget http://hg.mozilla.org/releases/mozilla-release/raw-file/FIREFOX_14_0_1_RELEASE/build/package/mac_osx/pkg-dmg'

Resolving hg.mozilla.org... 63.245.215.25
Connecting to hg.mozilla.org|63.245.215.25|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
16:23:37 ERROR 500: Internal Server Error.
Not a priority to fix because it's rare that we hit it, and easy to recover from.
Priority: -- → P3
hit on ff23.0 build2
One thing to watch for: wget will not overwrite an existing file without -O <filename> so you could end up with pkg-dmg.1, pkg-dmg.2, etc.. as it retries and be left with a partial pkg-dmg file when the wget finally succeeds.
Product: mozilla.org → Release Engineering
We don't fetch it anymore \o/
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.