|./mach try fuzzy| tries to schedule wpt jobs for directories without web-platform-tests in it
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Tracking
(Not tracked)
People
(Reporter: RyanVM, Unassigned)
Details
Attachments
(3 obsolete files)
Pretty sure this is a regression as this series of steps has successfully scheduled jobs in the past for me.
STR:
1.) Run ./mach configure
2.) Run ./mach try fuzzy browser/components/places/tests storage/test toolkit/components/places/tests testing/web-platform/tests/IndexedDB testing/web-platform/tests/storage testing/web-platform/tests/webstorage dom/indexedDB
3.) Filter on !qr !fis !gpu !verify and select all remaining jobs
Expected results:
Jobs from the listed directories will be scheduled for whatever test suite they happen to fall under.
Actual results:
WPT jobs all fail due to attempting to run jobs from dom/indexedDB as shown below:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=313863264&repo=try&lineNumber=1296
| Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Pretty sure this is caused by a bug in the web_platform_tests.py mozharness script:
https://searchfox.org/mozilla-central/rev/19c23d725f27d0989e4a60f36d64004cebb39736/testing/mozharness/scripts/web_platform_tests.py#309
It looks like we don't filter out non-WPT keys from MOZHARNESS_TEST_PATHS. I'm somewhat surprised that this is the first time I've seen this issue come up. I guess it isn't so common to pass both WPT and non-WPT paths at the same time..
Updated•6 years ago
|
| Reporter | ||
Comment 3•5 years ago
|
||
(In reply to Aki Sasaki [:aki] (he/him) (UTC-6) from comment #2)
Still an issue?
Yes. Here's an updated log:
https://treeherder.mozilla.org/logviewer?job_id=350059364&repo=try&lineNumber=1424
Comment 4•5 years ago
|
||
(In reply to Andrew Halberstadt [:ahal] from comment #1)
Pretty sure this is caused by a bug in the
web_platform_tests.pymozharness script:
https://searchfox.org/mozilla-central/rev/19c23d725f27d0989e4a60f36d64004cebb39736/testing/mozharness/scripts/web_platform_tests.py#309It looks like we don't filter out non-WPT keys from MOZHARNESS_TEST_PATHS. I'm somewhat surprised that this is the first time I've seen this issue come up. I guess it isn't so common to pass both WPT and non-WPT paths at the same time..
Hm, https://searchfox.org/mozilla-central/source/testing/mozharness/scripts/web_platform_tests.py#395 errors out if we have a non-wpt path. should we just continue ?
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
That would fix this bug, but it would be a bit better to filter out non-WPT suites in the first place. For context MOZHARNESS_TEST_PATHS should look something like:
{
"web-platform-tests": [<paths>],
"web-platform-tests-reftests": [<paths>],
"mochitest-plain": [<paths>],
}
Ideally we'd still use fatal if there's a non-wpt path in the first two suites, but not in that third one. So we should instead ignore keys in MOZHARNESS_TEST_PATHS that don't correspond to a known WPT suite.
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Comment 10•5 years ago
|
||
Backed out changeset 2000fe6ec3bc (bug 1660870) for causing multiple wpt failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/5d7a4d3e208088e0c771b7409bb20dbe92bb0f93
Push with failures, failure log.
Comment 11•5 years ago
|
||
Oops, I should have manually edited rather than a search/replace.
Comment 12•5 years ago
|
||
Repushed with the s,test_suites,test_types, fix, non-DONTBUILD. It should land after trees reopen.
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Backed out changeset 69bd8bc9c511 (Bug 1660870) for causing wpt failures in block-page-break-inside-avoid-1-print.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/6c6500b08fad53f895b6aa4650ad21106e3dbc14
Push with failures, failure log.
Comment 15•5 years ago
|
||
Ahal: any ideas? I'm ready to punt on this.
Comment 16•5 years ago
•
|
||
I suspect this may have been caused by this change:
- os.environ.get("MOZHARNESS_TEST_PATHS", '""')
+ os.environ.get("MOZHARNESS_TEST_PATHS", '"{}"')
Since if you json.loads the former you get '' (which evaluates to False), whereas the latter returns '{}' (which evaluates to True). So I think this patch was causing us to go into the following if statement even when MOZHARNESS_TEST_PATHS was unset. I'm pretty sure all the other WPT suites always pass in MOZHARNESS_TEST_PATHS, so that's why they didn't break as well.
Updated•5 years ago
|
Comment 17•5 years ago
|
||
Comment 18•5 years ago
|
||
Backed out changeset c1aa00bd2722 (Bug 1660870) for causing wpt timeouts.
Backout link: https://hg.mozilla.org/integration/autoland/rev/a528550321d901ba1d494dd94f8cc51e2bd94d78
Push with failures, failure log.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Updated•1 year ago
|
Description
•