web-platform-tests have missing manifest information in errorsummary.log
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox77 fixed)
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: marco, Assigned: ahal)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
This fixes a bug which miscomputes the depth. Say depth=1 and test_path="/Foo/bar.html"
for example.
We then run this line of code:
os.path.sep.join(os.path.dirname(test_path).split(os.path.sep, depth)[:depth])
Breaking it doen a bit:
$ dirname = os.path.dirname("/Foo/bar.html").split(os.path.sep, 1)
$ dirname
["", "Foo"]
$ os.path.sep.join(dirname[:1])
""
According to the specs, --run-by-dir=1 should split tests by the top-level
directory, but it will assign an empty string to everything. Similarly larger
depths will be off by one directory level.
This fixes the issue by stipping the leading separator (and adding it back again
at the end).
Assignee | ||
Comment 2•5 years ago
|
||
This adds "group" information to the 'suite_start' log message. Since WPT don't have
manifests in the same sense that we understand them for other harnesses, we use
directories as stand-ins.
The same algorithm that the 'DirectoryHashChunker' uses to find a directory is used
to determine which level of depth consitutes a "group". This depth is set via
--run-by-dir=<int> in both cases, but will default to leaf directories if not
specified.
Depends on D67625
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Backed out changeset 370e52ff13b2 (Bug 1614643) for wpt failures at open-features-tokenization-top-left.html.
https://hg.mozilla.org/integration/autoland/rev/d82faacc40bc4aa370afbc65278bf71d8b6732fa
Failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=297383519&repo=autoland&lineNumber=3083
Comment 9•5 years ago
•
|
||
Please disregard the above message, your patch was backed-out due to an error I've made. I've relanded this one.
Comment 10•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Description
•