Test marked `run-if = ["release_or_beta"]` runs when `release_or_beta: False`
Categories
(Testing :: Mochitest, defect, P1)
Tracking
(Not tracked)
People
(Reporter: jimb, Unassigned)
References
Details
The mochitest dom/webgpu/mochitest/test_disabled.html
runs on ordinary try pushes from central, even though the only manifest that lists it is dom/webgpu/mochitest/mochitest-no-pref.toml
, which says run-if = ["release_or_beta"]
.
For example, see this failure. Note that the log shows:
[task 2024-08-18T18:38:17.448Z] 18:38:17 INFO - release_or_beta: False
Reporter | ||
Comment 1•6 months ago
|
||
I can reproduce this locally, if, instead of:
$ mach mochitest dom/webgpu
I run the command:
$ mach mochitest dom/webgpu/mochitest/mochitest-no-pref.toml
I think the latter is closer to what TaskCluster is running.
Comment 2•6 months ago
|
||
The severity field is not set for this bug.
:jmaher, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•6 months ago
|
||
I am looking into this today, I was more on PTO the last 2 weeks. Thanks for filing this!
Comment 4•6 months ago
|
||
this appears to be a problem when we run a single manifest, now to find the code that avoids run-if/skip-if on a single manifest (or maybe a single test)
Comment 5•6 months ago
|
||
most like it is because of this clause:
if len(tests) == 1 and "disabled" in test:
del test["disabled"]
this is in "by design" so one could run a test locally and ignore the fact that it is disabled/skipped.
Some solutions might be:
- find a way to ignore this rule while on try
- determine why this entire task only has a single test, that doesn't seem effective
- figure out how to filter the manifest out at task selection time and not schedule the task if there are no tests.
Comment 6•6 months ago
|
||
I have a fix for bug 1914635, this solves the problem- we ended up in the decision task having the wrong value for release_or_beta
, so the decision task was picking webgpu manifests that matched release_or_beta
and ignoring the rest.
so the solutions above, #3 is happening properly- I think solving for #1 would be a good path forward.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 9•5 months ago
|
||
still waiting on review in bug 1914635
Updated•5 months ago
|
Description
•