Closed Bug 1006298 Opened 7 years ago Closed 7 years ago

TPS fails to download virtualenv due to the redirect

Categories

(Testing Graveyard :: TPS, defect)

defect
Not set
normal

Tracking

(firefox30 fixed, firefox31 fixed, firefox32 fixed, b2g-v1.4 fixed)

RESOLVED FIXED
Tracking Status
firefox30 --- fixed
firefox31 --- fixed
firefox32 --- fixed
b2g-v1.4 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

Details

Attachments

(1 file)

Something has been changed recently on github so grabbing the virtualenv script from https://raw.github.com/pypa/virtualenv/1.9.1/virtualenv.py redirects to another URL. Given that we use curl without the -L option, we actually don't download the script, and fail in setting up tps.

We have to get this fixed so the CI will work again.
Very simple fix for this bustage, and Glob is that kind to give a sanity review. Just in case.
Attachment #8417825 - Flags: review?(glob)
Comment on attachment 8417825 [details] [diff] [review]
Add '-L' option to curl command v1

Review of attachment 8417825 [details] [diff] [review]:
-----------------------------------------------------------------

| curl -L https://raw.github.com/pypa/virtualenv/1.9.1/virtualenv.py | on my fedora system results in a HTTP/400 error, however it works fine from my mac.

however given the same fix worked on bug 1002039, r=glob
Attachment #8417825 - Flags: review?(glob) → review+
https://hg.mozilla.org/mozilla-central/rev/87c8f870e2b9
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.