Closed Bug 1866382 Opened 2 years ago Closed 2 years ago

CRITICAL Failed to start WebTransport over HTTP/3 server: No module named 'aioquic' on ./mach wpt

Categories

(Firefox Build System :: Mach Core, defect, P3)

defect

Tracking

(firefox-esr115 unaffected, firefox120 unaffected, firefox121 unaffected, firefox122 fixed)

RESOLVED FIXED
122 Branch
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.

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.

./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.

Flags: needinfo?(ahochheiden)
Flags: needinfo?(hikezoe.birchill)

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.

Flags: needinfo?(hikezoe.birchill)
Assignee: nobody → ahochheiden
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P3
Pushed by ahochheiden@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d93a82e982d Properly get the aliased command name for dictionary lookup r=firefox-build-system-reviewers,sergesanspaille
See Also: → 1857279
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch

Now it works! Thank you Alex!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: