Closed
Bug 1469402
Opened 7 years ago
Closed 6 years ago
Support for onExitStatus on generic-worker
Categories
(Taskcluster :: Workers, enhancement)
Taskcluster
Workers
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gps, Assigned: bstack)
References
Details
The task payload for docker-worker supports an onExitStatus field that allows you to register exit codes that result in specific actions taking place when they occur. For example, onExitStatus['retry'] allows you to define exit codes that will cause the task to be retried. And onExitStatus['purgeCaches'] allows you to define exit codes that result in caches used by the task being purged.
Firefox CI needs both these features (retry and cache nuking) to more robustly handle intermittent failures (such as VCS operations gone bad).
AFAICT equivalent functionality does not exist in generic-worker nor taskcluster-worker.
I'm filing this bug to track implementing this functionality so generic-worker and taskcluster-worker have feature parity with docker-worker.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → bstack
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•7 years ago
|
||
Comment 3•7 years ago
|
||
Commits pushed to master at https://github.com/taskcluster/generic-worker
https://github.com/taskcluster/generic-worker/commit/6a97ef0a4174bcad00a3ed93492715895afb80b7
Bug 1469402 - Add a onExitStatus section to the payload
https://github.com/taskcluster/generic-worker/commit/6620a4c363d406f17cc5aba405ffd036c5011641
Bug 1469402 - Add tests for onExitCode
https://github.com/taskcluster/generic-worker/commit/ba2b87d761880f47fa651a48fe28cfbf4205eab5
Bug 1469402 - Change to exitcode
https://github.com/taskcluster/generic-worker/commit/2080ccafe84b18e2c8e75ac82af0ab51c27524c5
Merge pull request #103 from taskcluster/bug-1469402
Bug 1469402 - Add a onExitStatus section to the payload
Updated•7 years ago
|
Summary: Support for onExitStatus on generic-worker / taskcluster-worker → Support for onExitStatus on generic-worker
Comment 4•7 years ago
|
||
Updated•6 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Generic-Worker → Workers
You need to log in
before you can comment on or make changes to this bug.
Description
•