Closed
Bug 1206877
Opened 9 years ago
Closed 9 years ago
Add git to buildbot windows path
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: impossibus, Unassigned)
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
Reporter | ||
Comment 1•9 years ago
|
||
I may have found an easy workaround; feel free to hold off on this for now. I'll report back once I have results.
Reporter | ||
Comment 2•9 years ago
|
||
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: 9 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•