Closed Bug 1741745 Opened 4 years ago Closed 4 years ago

Make '1proc' a test variant rather than a special cased e10s attribute

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: ahal, Assigned: ahal, Mentored)

References

Details

Attachments

(4 files)

We currently run a bunch of '1proc' test tasks. These are currently handled by a special case e10s flag, but they should just be a standard variant.

Summary: Make 'headless' a test variant rather than a separate suite → Make '1proc' a test variant rather than a special cased e10s attribute
Assignee: nobody → ahal
Status: NEW → ASSIGNED

Previously we we're validating the entire 'test_description_schema' again, even
though the vast majority of those keys were in fact no longer needed. This was
preventing us from ever removing keys from the 'task' object. Which I believe
is a good practice to keep things simple.

This replaces the 'e10s' key with a standard variant in task configuration.

Depends on D133222

Tasks that set this key to false will not run under the standard no variant
configuration.

This is needed to replace the 'e10s=false' case (i.e tasks that only run with
1proc like mochitest-chrome or mochitest-a11y.

Depends on D133224

This attribute isn't necessary as e10s is the default. Instead consumers can
check if the string '1proc' appears in the unittest_variant attribute.

Depends on D133225

Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/425cbdb97ae9 [taskgraph] Only validate parts of test schema that are actually needed in job/mozharness_test.py, r=jmaher https://hg.mozilla.org/integration/autoland/rev/bdf342184019 [taskgraph] Create a '1proc' variant, r=jmaher https://hg.mozilla.org/integration/autoland/rev/943d1b55ee62 [taskgraph] Introduce a 'run-without-variant' key, r=jmaher
Keywords: leave-open
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/16cdc671aa78 Port bug 1741745 - Make '1proc' a test variant rather than a special cased e10s attribute. rs=bustage-fix
Keywords: leave-open
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/851602939e83 [taskgraph] Stop setting 'e10s' attribute in test tasks, r=jmaher
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
Regressions: 1750690
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: