Closed Bug 1885839 Opened 8 months ago Closed 8 months ago

DONTBUILD is ignored on release branches

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(firefox-esr115 unaffected, firefox124 unaffected, firefox125 fixed, firefox126 fixed)

RESOLVED FIXED
126 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox124 --- unaffected
firefox125 --- fixed
firefox126 --- fixed

People

(Reporter: jcristau, Assigned: ahal)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Bug 1657920 made it so DONTBUILD is ignored on backstop pushes, but is_backstop always returns true outside try and autoland (https://searchfox.org/mozilla-central/rev/529f04f4cd2ae68a0f729ba91cf8985edb23e9d3/taskcluster/gecko_taskgraph/util/backstop.py#45-46)

Assignee: nobody → aryx.bugmail
Status: NEW → ASSIGNED

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

The severity field is not set for this bug.
:ahal, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(ahal)

We can likely solve both this and the original problem in bug 1657920 by adjusting our backstop detection logic.

Namely:

  1. Backout bug 1657920
  2. Make is_backstop return False when DONTBUILD is present.
  3. Instead of running a backstop on pushlog_id % 20 == 0, compute it based on whether the difference in pushlog_id from the last backstop in the index and this one is greater than 20.

This way, a DONTBUILD push will never be considered a backstop. If this would have been the 20th push since the last backstop, it won't be be considered a backstop, won't populate the index and the next non-DONTBUILD push will be the backstop instead.

Assignee: aryx.bugmail → ahal
Severity: -- → S2
Type: task → defect
Flags: needinfo?(ahal)

This computes backstop interval based on the pushlog_id of the last backstop,
rather than naively making every 20th pushid a backstop. This solves the
problem of when the 20th pushid ends up being a DONTBUILD push. Previously,
this would have meant we miss an entire backstop and need to wait another 20
pushes. Now, it means the next non-DONTBUILD push will become the backstop.

Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f28beaf40f7e Backed out changeset 46ef17236856 for regressing DONTBUILD on release branches, r=jcristau,taskgraph-reviewers https://hg.mozilla.org/integration/autoland/rev/a182e0c9f40c Compute backstop interval based on pushlog_id of the last backstop, r=jcristau,taskgraph-reviewers
Pushed by ctuns@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/22703e3dc98b Fix Gecko decission failures. CLOSED TREE

This more accurately represents the actual parameter and would have caught a
regression had it existed before I landed.

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d538b1c04e8e Update test_util_backstop.py to use string pushlog_ids, r=taskgraph-reviewers,jcristau
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: