Closed Bug 1203533 Opened 9 years ago Closed 9 years ago

Linux l10n failing with /bin/sh: virtualenv: command not found

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
Tracking Status
firefox43 --- fixed

People

(Reporter: mshal, Assigned: mshal)

Details

Attachments

(1 file)

Linux l10n jobs are failing with:

05:27:38     INFO - Copy/paste: mock_mozilla -r mozilla-centos6-x86_64 -q --cwd /builds/slave/m-cen-lx-l10n-ntly-1-000000000/build --unpriv --shell "virtualenv --no-site-packages --distribute /builds/slave/m-cen-lx-l10n-ntly-1-000000000/build/venv"
05:27:38    ERROR -  /bin/sh: virtualenv: command not found
05:27:38    ERROR - Return code: 127
05:27:38    ERROR - 127 not in success codes: [0]
05:27:38    ERROR - failures found while parsing output
05:27:38  WARNING - setting return code to 2
05:27:38    FATAL - Halting on failure while running ['mock_mozilla', '-r', 'mozilla-centos6-x86_64', '-q', '--cwd', '/builds/slave/m-cen-lx-l10n-ntly-1-000000000/build', '--unpriv', '--shell', 'virtualenv --no-site-packages --distribute /builds/slave/m-cen-lx-l10n-ntly-1-000000000/build/venv']
05:27:38    FATAL - Running post_fatal callback...
05:27:38    FATAL - Exiting 2
program finished with exit code 2

I'm investigating now - it's possibly related to changes I made for android l10n in bug 1195865, though I'm not sure yet.
So it turns out we can't have create-virtualenv as an action in Linux. I don't know why I thought it worked when I tested it before - I was probably confused by the fact that desktop_l10n.py does an 'hg update' to the m-c revision of the en-US nightly, overwriting my changes. I commented that code out while testing this in staging to make sure I was verifying the patch.
Attachment #8659302 - Flags: review?(jlund)
Comment on attachment 8659302 [details] [diff] [review]
0001-Bug-1203533-Run-create_virtualenv-inside-mock.patch

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

++ for the mock hack :)
Attachment #8659302 - Flags: review?(jlund) → review+
https://hg.mozilla.org/mozilla-central/rev/37251ea8e901
Status: NEW → RESOLVED
Closed: 9 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: