Closed
Bug 1764475
Opened 2 years ago
Closed 2 years ago
"./mach wpt <path to test> --product chrome" fails with "AttributeError: module 'tools.wpt.run' has no attribute 'virtualenv'"
Categories
(Testing :: web-platform-tests, defect)
Tracking
(firefox101 fixed)
VERIFIED
FIXED
101 Branch
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: masayuki, Assigned: jgraham)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Similar to bug 1764473, might be duplicated of it, but the error is different on Linux. I got the following error when I run ./mach wpt testing/web-platform/tests/editing/run/inserttext.html --product chrome
on Ubuntu.
AttributeError: module 'tools.wpt.run' has no attribute 'virtualenv'
File "/home/toybox/mozilla/src/testing/web-platform/mach_commands.py", line 531, in run_wpt
return run_web_platform_tests(command_context, **params)
File "/home/toybox/mozilla/src/testing/web-platform/mach_commands.py", line 520, in run_web_platform_tests
return wpt_runner.run(logger, **params)
File "/home/toybox/mozilla/src/testing/web-platform/mach_commands_base.py", line 57, in run
kwargs = self.setup.kwargs_wptrun(kwargs)
File "/home/toybox/mozilla/src/testing/web-platform/mach_commands.py", line 192, in kwargs_wptrun
venv = run.virtualenv.Virtualenv(
Reporter | ||
Comment 1•2 years ago
|
||
And it's no problem if I don't specify --product
.
Assignee | ||
Comment 2•2 years ago
|
||
We were importing a module that was previously imported into wpt.run, but isn't
any longer. Directly import the relevant module instead.
Updated•2 years ago
|
Assignee: nobody → james
Status: NEW → ASSIGNED
Comment 3•2 years ago
|
||
That's not only an issue on Linux. I can see the same on MacOS.
OS: Linux → All
Hardware: x86_64 → All
Summary: Cannot run `./mach wpt <path to test> --product chrome` on Ubuntu → "./mach wpt <path to test> --product chrome" fails with "AttributeError: module 'tools.wpt.run' has no attribute 'virtualenv'"
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/097cd3dc94a7 Fix mach wpt --product, r=whimboo
Comment 5•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox101:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•