Closed Bug 1640047 Opened 5 years ago Closed 5 years ago

Don't schedule everything when the known tasks returned by bugbug are bogus

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: marco, Assigned: marco)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

There were 15 pushes between Monday and Tuesday where we scheduled all tasks despite what bugbug selected, because for some reason the known_tasks returned by bugbug was an empty list.
We should protect against bogus values of known_tasks, and just assume that, whenever it is an empty list or a too small list, there was some problem.

N.B.: Bugbug retrieves the known tasks from https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.autoland.latest.taskgraph.decision/artifacts/public/target-tasks.json whenever its HTTP service is started (either on deploy or after daily restarts). The most likely explanation seems to be that at some point a broken patch, making target-tasks.json empty, made it to autoland.

Attachment #9150928 - Attachment description: Bug 1640047 - Don't take into account bugbug's known tasks if they are likely wrong. r=ahal → Bug 1640047 - Don't take into account bugbug's known tasks if they are likely wrong. r=ahal DONTBUILD
Pushed by mcastelluccio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5502947dfcfc Don't take into account bugbug's known tasks if they are likely wrong. r=ahal DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: