Remove Android run-on-projects entries from mochitest suites that never run on Android
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(Not tracked)
People
(Reporter: owlish, Unassigned)
References
Details
Five mochitest suites in taskcluster/kinds/mochitest/kind.yml have run-on-projects entries that schedule them on Android, but none of them generates an Android task. A task is only generated when its suite appears in a test-set that an Android test platform subscribes to, and none of these does, so the Android scheduling is evaluated against tasks that never exist.
The misleading entries, each with the variant it sits under:
mochitest-a11y webrender-sw+1proc android-em.*/debug: built-projects
mochitest-chrome webrender-sw+1proc android-em.*/debug: built-projects
mochitest-chrome-gpu webrender-sw+1proc android-em.*/debug: built-projects
mochitest-webgl2-ext no-fission android.*: built-projects
mochitest-webgpu webrender-sw+no-fission android-em.*/debug: ["trunk"]
Verified against taskcluster/test_configs/test-sets.yml and test-platforms.yml: none of mochitest-a11y, mochitest-chrome, mochitest-chrome-gpu, mochitest-webgl2-ext or mochitest-webgpu appears in any test-set used by an Android platform. For contrast, mochitest-plain, mochitest-media and mochitest-webgl1-core do, and those generate Android tasks as expected.
Reading this config, it looks as though Android runs mochitest-chrome on emulator debug builds. It does not, and will not until the suite is added to an Android test-set.
Out of scope on purpose: several other mochitest suites carry android.*: [] entries, for example mochitest-browser-chrome, mochitest-devtools-chrome, mochitest-speech-recognition and mochitest-remote. Those are redundant rather than misleading, since they disable something that would not run anyway, and they arguably document the intent. They can stay.
Found while auditing Android mochitest variants for bug 2078916.
Verification for whoever picks this up: generate the task graph before and after, for example with ./mach taskgraph target --json -p project=mozilla-central, and confirm the set of task labels is unchanged. If any label appears or disappears, the premise above is wrong for that suite.
Description
•