Closed Bug 2021044 Opened 9 months ago Closed 8 months ago

Backfills task for wpt and reftests are not keeping the correct chunk

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(firefox-esr140 unaffected, firefox148 unaffected, firefox149 unaffected, firefox150 fixed)

RESOLVED FIXED
150 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox148 --- unaffected
firefox149 --- unaffected
firefox150 --- fixed

People

(Reporter: CosminS, Assigned: florian)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

For these wpt9s we've backfiled, taskcluster job here https://firefox-ci-tc.services.mozilla.com/tasks/S5OhUp2fTd6koiRP_uiang, we've got this task generated by the backfill task, the wpts here.

For reftests the backfilled task is this, the generated backfill job is this one.

https://firefox-ci-tc.services.mozilla.com/tasks/T9MWH1p6RrOqQCP4-omCiA e.g. doesn't have a MOZHARNESS_TEST_PATHS

Florian, could you please investigate this? Thank you.

Flags: needinfo?(florian)

Set release status flags based on info from the regressing bug 2019790

backfills not working for these dt failures as well

When backfilling a chunked test task (WPT, reftests, mochitest-devtools-chrome), if the target push has fewer chunks than the original push, new_label() finds an alternative chunk (e.g., chunk 1 instead of chunk 9). However, input["label"] was never updated to match, so backfill_modifier() compared the task's new label against the stale original label, found a mismatch, and returned early without setting MOZHARNESS_TEST_PATHS. The backfilled task then ran whatever manifests belonged to its own chunk instead of the original task's manifests.

This was a latent bug that became more visible with dynamic chunking that chunk counts more likely to differ across pushes.

When backfilling a chunked test task onto a push with fewer chunks,
new_label() finds an alternative (e.g. chunk 1 instead of chunk 9) but
input["label"] kept the original value. backfill_modifier() then saw a
label mismatch and returned early without setting MOZHARNESS_TEST_PATHS,
so the backfilled task ran its own manifests instead of the originals.

Assignee: nobody → florian
Status: NEW → ASSIGNED
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5e8c2254d845 https://hg.mozilla.org/integration/autoland/rev/1070babcad1e Update input label when new_label changes the backfill target, r=ahal,taskgraph-reviewers,releng-reviewers.
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch

Florian, could we have a improvement to this dynamic chunking where we keep the same number of the chunk? It's important to code sheriffs that we follow the same chunk, especially when dealing with several failures at once for eg: this mochitest plain task was a 5 then 1 then back to 5 and ended up as 1 on the backfiled tasks. I understand that those pushes with the 1 didn't have the full coverage of chunks when they land but the backfiled tasks used to keep exactly the same name original job.

Blocks: 2022472

(In reply to Cosmin Sabou [:CosminS] from comment #7)

I filed bug 2022472 to cover this.

Flags: needinfo?(florian)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: