CRITICAL Failed to start WebTransport over HTTP/3 server: No module named 'aioquic' on ./mach wpt
Categories
(Firefox Build System :: Mach Core, defect, P3)
Tracking
(firefox-esr115 unaffected, firefox120 unaffected, firefox121 unaffected, firefox122 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox120 | --- | unaffected |
| firefox121 | --- | unaffected |
| firefox122 | --- | fixed |
People
(Reporter: hiro, Assigned: ahochheiden)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
I don't know the reason but since https://hg.mozilla.org/integration/autoland/rev/a2089603188c on my Linux box ./mach wpt doesn't run properly due to the error.
Comment 1•2 years ago
|
||
Set release status flags based on info from the regressing bug 1857279
:ahochheiden, since you are the author of the regressor, bug 1857279, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 2•2 years ago
|
||
./mach wpt works fine for me on current central. Can you share more of the call stack? Do you have any aliases specified in your .mozbuild/machrc file? I'm guessing this is a configuration issue.
| Assignee | ||
Updated•2 years ago
|
| Reporter | ||
Comment 3•2 years ago
|
||
The call stack is;
ModuleNotFoundError: No module named 'aioquic'
File "/home/hiro/opt/testing/web-platform/mach_commands.py", line 559, in run_wpt
return run_web_platform_tests(command_context, **params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hiro/opt/testing/web-platform/mach_commands.py", line 547, in run_web_platform_tests
return wpt_runner.run(logger, **params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hiro/opt/testing/web-platform/mach_commands_base.py", line 59, in run
result = wptrunner.start(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hiro/opt/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py", line 556, in start
rv = not run_tests(**kwargs)[0] or logged_critical.has_log
^^^^^^^^^^^^^^^^^^^
File "/home/hiro/opt/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py", line 453, in run_tests
test_environment.ensure_started()
File "/home/hiro/opt/testing/web-platform/tests/tools/wptrunner/wptrunner/environment.py", line 271, in ensure_started
failed, pending = self.test_servers()
^^^^^^^^^^^^^^^^^^^
File "/home/hiro/opt/testing/web-platform/tests/tools/wptrunner/wptrunner/environment.py", line 298, in test_servers
if not webtranport_h3_server_is_running(host, port, timeout=5.0):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hiro/opt/testing/web-platform/tests/tools/wptrunner/wptrunner/environment.py", line 54, in webtranport_h3_server_is_running
from webtransport.h3.webtransport_h3_server import server_is_running # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hiro/opt/testing/web-platform/tests/tools/webtransport/h3/webtransport_h3_server.py", line 15, in <module>
from aioquic.buffer import Buffer # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
And the culprit was this alias ```wpt = wpt --log-tbpl my-reftest.log`` in my machrc. If I dropped the alias, ./mach wpt works.
| Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 7•2 years ago
|
||
Now it works! Thank you Alex!
Description
•