Add git to buildbot windows path

RESOLVED INVALID

Status

defect
RESOLVED INVALID
4 years ago
Last year

People

(Reporter: maja_zf, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

My mozharness script hits a 'Cannot find command 'git'' error on Windows builders during its 'create-virtualenv' step [1]. The call to |pip freeze| in the VirtualenvMixin [2] inherits the current process' environment; it doesn't use the env configuration provided to the mozharness script. So, I'd like git to be added to each Windows builder's PATH, rather than making changes to VirtualenvMixin or overriding its behaviour.


Relevant builders:
+ Windows 7 32-bit cedar debug test media-tests
+ Windows 7 32-bit cedar opt test media-tests
+ Windows 8 64-bit cedar debug test media-tests
+ Windows 8 64-bit cedar opt test media-tests

[1] https://treeherder.mozilla.org/logviewer.html#?job_id=165306&repo=cedar
[2] https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/mozharness/base/python.py#143
I may have found an easy workaround; feel free to hold off on this for now. I'll report back once I have results.
Aha, the reason pip was looking for git is that my mozharness script installed some packages in editable mode. I've fixed that, so I don't need git to be added to the PATH anymore.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.