Closed Bug 1469687 Opened 7 years ago Closed 7 years ago

Handle EXIT_PURGE_CACHES in mozharness tasks

Categories

(Firefox Build System :: Task Configuration, task)

3 Branch
task
Not set
normal

Tracking

(firefox62 fixed)

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: gps, Assigned: gps)

References

Details

Attachments

(1 file)

No description provided.
Any run-task task could exit with EXIT_PURGE_CACHES and expect the task to be retried. Before this commit, we only registered this exit code for tasks "using: run-task." That excluded mozharness and a handful of other "using" flavors. With this commit, we register the exit codes for all run-task tasks by sniffing for the presence of run-task in the low-level code that emits the task definition. This should prevent run-tasks tasks from falling through the cracks and not having their exit codes result in meaningful behavior.
Comment on attachment 8986283 [details] Bug 1469687 - Handle EXIT_PURGE_CACHES in all run-task tasks; r=tomprince Tom Prince [:tomprince] has approved the revision. https://phabricator.services.mozilla.com/D1715
Attachment #8986283 - Flags: review+
Attachment #8986283 - Attachment description: Bug 1469687 - Handle EXIT_PURGE_CACHES in all run-task tasks; r?dustin → Bug 1469687 - Handle EXIT_PURGE_CACHES in all run-task tasks; r?tomprince
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9fbd5150cf69 Handle EXIT_PURGE_CACHES in all run-task tasks; r=tomprince
Comment on attachment 8986283 [details] Bug 1469687 - Handle EXIT_PURGE_CACHES in all run-task tasks; r=tomprince Dustin J. Mitchell [:dustin] pronoun: he has approved the revision. https://phabricator.services.mozilla.com/D1715
Attachment #8986283 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Version: Version 3 → 3 Branch
Attachment #8986283 - Attachment description: Bug 1469687 - Handle EXIT_PURGE_CACHES in all run-task tasks; r?tomprince → phabdev commit - Add code-review support to taskgraph;
Attachment #8986283 - Attachment description: phabdev commit - Add code-review support to taskgraph; → Bug 1469687 - Handle EXIT_PURGE_CACHES in all run-task tasks; r=tomprince
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: