Closed Bug 1850914 Opened 2 years ago Closed 1 year ago

update taskgraph test parameters

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: jcristau, Assigned: jcristau)

References

Details

Attachments

(4 files)

Most of the files in taskcluster/test/params/ date back multiple years and don't quite reflect the current state.

If called with no arguments it'll update all files (except try.yml and
mr-onpush-geckoview.yml). It can also be called with a set of filenames
as arguments and will update just those files.

For on-push and cron tasks, we look up the taskcluster index for the
latest corresponding decision task. For release promotion actions, we
query the public shipit API to find the latest matching task.

Assignee: nobody → jcristau
Status: NEW → ASSIGNED
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f98c7051fd98 add script to update test parameters.yml. r=releng-reviewers,ahal,gabriel https://hg.mozilla.org/integration/autoland/rev/fb5aa25d1c68 exclude taskgraph test params from yamllint. r=ahal,releng-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/193078fd7666 update test taskgraph parameters. r=releng-reviewers,ahal
Attachment #9350989 - Attachment description: Bug 1850914 - add script to update test parameters.yml. r?#releng → Bug 1850914 - add script to update test parameters.yml. r=releng-reviewers,ahal,gabriel
Attachment #9358360 - Attachment description: Bug 1850914 - exclude taskgraph test params from yamllint. r?ahal → Bug 1850914 - exclude taskgraph test params from yamllint. r=ahal,releng-reviewers,bhearsum
Attachment #9350990 - Attachment description: Bug 1850914 - update test taskgraph parameters. r?#releng → Bug 1850914 - update test taskgraph parameters. r=releng-reviewers,ahal

It turns out exclude in tools/lint/yaml.yml doesn't work, and the way to go seems to be to add an ignore pattern in taskcluster/.yamllint instead.

Flags: needinfo?(jcristau)
Pushed by jcristau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5416d6faa8a4 add script to update test parameters.yml. r=releng-reviewers,ahal,gabriel https://hg.mozilla.org/integration/autoland/rev/63b45ce2441e exclude taskgraph test params from yamllint. r=ahal,releng-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/1bddb80abb57 update test taskgraph parameters. r=releng-reviewers,ahal

Backed out for causing python failure on test_generate_params.py

Backout link

Push with failures

Failure log

Flags: needinfo?(jcristau)

There's some unfortunate interaction with bug 1844592 here :/
The current test parameters don't set enable_always_target, so we use the defaults (true). The update means we pick up enable_always_target: false from e.g. esr115 graphs, and docker-image-index-task disappears from the target graph.

Flags: needinfo?(jcristau)

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:jcristau, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(jcristau)
Flags: needinfo?(bhearsum)
Flags: needinfo?(bhearsum)
Depends on: 1866258

The target_tasks methods for ship_geckoview and nightly_desktop return
an empty graph when running on automation if they detect a taskcluster
index from a previous run on the same revision. This wasn't a problem
with old parameters since the corresponding indexed tasks are expired,
but with updated parameters it starts triggering. We don't want that
logic here, since we're asserting we get a nonempty graph.

Flags: needinfo?(jcristau)
Pushed by jcristau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/02bdacaadcbb add script to update test parameters.yml. r=releng-reviewers,ahal,gabriel https://hg.mozilla.org/integration/autoland/rev/c8442739bed9 avoid checking for existing tc indexes when running test_generate_params on CI. r=releng-reviewers,gbrown https://hg.mozilla.org/integration/autoland/rev/dc342bf25278 exclude taskgraph test params from yamllint. r=ahal,releng-reviewers,bhearsum https://hg.mozilla.org/integration/autoland/rev/7c5262c74b5c update test taskgraph parameters. r=releng-reviewers,ahal
See Also: → 1877194
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: