Closed
Bug 1861635
Opened 2 years ago
Closed 2 years ago
`./mach wpt-serve` is broken: 'TestRoot' object is not subscriptable
Categories
(Testing :: web-platform-tests, defect)
Testing
web-platform-tests
Tracking
(firefox-esr115 unaffected, firefox119 unaffected, firefox120 unaffected, firefox121 fixed)
RESOLVED
FIXED
121 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox119 | --- | unaffected |
| firefox120 | --- | unaffected |
| firefox121 | --- | fixed |
People
(Reporter: saschanaz, Assigned: Sasha)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Reverting bug 1857918 fixes it.
> ./mach wpt-serve
Config is up to date, not regenerating
Error running mach:
mach wpt-serve
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke ``./mach busted`` to check if this issue is already on file. If it
isn't, please use ``./mach busted file wpt-serve`` to report it. If ``./mach busted`` is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
TypeError: 'TestRoot' object is not subscriptable
File "C:\Users\sasch\Documents\GitHub\gecko-dev\testing\web-platform\mach_commands.py", line 618, in wpt_serve
return wpt_serve.run(**params)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sasch\Documents\GitHub\gecko-dev\testing\web-platform\mach_commands.py", line 284, in run
return 0 if serve.run(route_builder=get_route_builder, **kwargs) else 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sasch\Documents\GitHub\gecko-dev\testing\web-platform\tests\tools\serve\serve.py", line 1196, in run
routes = route_builder(logger, config.aliases, config).get_routes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sasch\Documents\GitHub\gecko-dev\testing\web-platform\mach_commands.py", line 280, in get_route_builder
route_builder.add_mount_point(url_base, paths["tests_path"])
~~~~~^^^^^^^^^^^^^^
Sentry event ID: 729049abf3e749f3825ad36137e68c20
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1857918
status-firefox119:
--- → unaffected
status-firefox120:
--- → unaffected
status-firefox121:
--- → affected
status-firefox-esr115:
--- → unaffected
Pushed by aborovova@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eecc536c719e
Fix `TestRoot object is not subscriptable` error in `./mach wpt-serve`, r=jgraham
Comment 4•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•