Closed Bug 1635873 Opened 2 months ago Closed 2 months ago

./mach mochitest fails on linux because of missing _virtualenvs/init/bin/activate_this.py

Categories

(Testing :: Mochitest, defect)

defect

Tracking

(firefox-esr68 unaffected, firefox76 unaffected, firefox77 unaffected, firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox-esr68 --- unaffected
firefox76 --- unaffected
firefox77 --- unaffected
firefox78 --- fixed

People

(Reporter: mjf, Assigned: rstewart)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

After Bug 1633039 landed, I can no longer run ./mach mochitest on my linux machine. It fails with the error:

IOError: No such file or directory: {path-to-obj}/_virtualenvs/init/bin/activate_this.py'
Regressed by: 1633039

mochitest very likely needs a patch similar to this one

Component: General → Mochitest
Product: Firefox Build System → Testing

Set release status flags based on info from the regressing bug 1633039

Hooking this up to ./mach busted via bug 1543241.

Also, workaround as long as ./mach python starts up python2: Run ./mach python. That creates the py2 virtualenv you need.

Blocks: mach-busted
Assignee: nobody → rstewart
Status: NEW → ASSIGNED

As Thanos said, "Fine. I'll do it myself."

:P

Same problem on OS X for me.

Edit: Running ./mach python seems to work around the problem for me.

Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7402823f7861
Create virtualenv in `mach mochitest` r=ahal
Attached file Try fuzzy failure
Ok, while running ./mach python helped, now mach try fuzzy fails with the following:

(In reply to Byron Campen [:bwc] from comment #8)

Ok, while running ./mach python helped, now mach try fuzzy fails with the
following:

That might be bug 1637305?

Nah, that's a different thing. Line 229 of testing/web-platform/tests/tools/manifest/vcs.py is clearly wrong (again, that should be a Text string rather than a bytestring for the ".gitignore" literal).

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.