Closed Bug 2022472 Opened 8 months ago Closed 8 months ago

Backfilled tasks should preserve the original chunk number in treeherder

Categories

(Firefox Build System :: Task Configuration, enhancement)

enhancement

Tracking

(firefox150 fixed)

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 external file)

When backfilling a chunked test onto a push that doesn't have that chunk, new_label() hijacks a different chunk (typically chunk 1) as a template. The backfilled task then shows up with the wrong chunk number in treeherder (e.g. chunk 1 instead of chunk 5), even though it runs the correct tests via MOZHARNESS_TEST_PATHS.

Per bug 2021044 comment 7, this is confusing for sheriffs tracking multiple failures, as the chunk number keeps changing across backfilled pushes.

We should use input["symbol"] (the originating task's treeherder symbol) and the original label for metadata["name"] in backfill_modifier(), so the backfilled task displays with the correct chunk identity.

When new_label() hijacks a different chunk, use the originating task's
treeherder symbol and original label for metadata name so sheriffs see
the correct chunk number in treeherder.

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2b872fce897a https://hg.mozilla.org/integration/autoland/rev/40c9936b2d8a Preserve original chunk identity in backfilled tasks, r=ahal,taskgraph-reviewers,releng-reviewers.
Regressions: 2022701
No longer regressions: 2022701
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: