Closed Bug 1172591 Opened 11 years ago Closed 3 years ago

Add create_virtualenv(force_creation=True) for help disposing of mozharness' special venv as needed

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: selenamarie, Assigned: gbrown)

Details

We have a local venv in build/venv for help with monitoring. I'm working on bug 1162230 which requires that directory to be blown away to properly test. Perhaps we should an an option to force recreating this virtualenv. May want to just make this happen as part of an ordinary clobber.
(In reply to Selena Deckelmann :selenamarie :selena from comment #0) > We have a local venv in build/venv for help with monitoring. > > I'm working on bug 1162230 which requires that directory to be blown away to > properly test. Perhaps we should an an option to force recreating this > virtualenv. May want to just make this happen as part of an ordinary clobber. I should note if we 'clobber' a job in a script and the venv dir is within {mozharness_repo}/build/ it will be removed already. however jobs that are like desktop builds[1] that avail of buildbase.py[2] try to create the venv before we do any actions like clobber because it is called from the scripts __init__ [1] http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/selenamarie@gmail.com-1a01777b1b98/try-linux-debug/try-linux-debug-bm78-try1-build365.txt.gz [2] https://dxr.mozilla.org/build:mozharness/source/mozharness/mozilla/building/buildbase.py#547
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.