Make decision-task-generated tasks depend on a breakpoint task
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(Not tracked)
People
(Reporter: dustin, Unassigned)
References
(Blocks 1 open bug)
Details
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 5•6 years ago
|
||
From https://bugzilla.mozilla.org/show_bug.cgi?id=1624887:
The problem: a decision task can auto-retry due to worker-shutdown or claim-expired. When it reruns, it will resolve completed. Any tasks that were scheduled in the previous, failed decision task runId, will then run, and Chain of Trust checks will fail.
It appears we'll never get atomic taskgroup submission, for Reasons. In bug 1624887 we set retries to 0 for hg-push, but we could still hit this issue for actions or cron, or if someone manually reruns the failed decision task.
Let's create the breakpoint task in this manner:
decision task runId n <- breakpoint task <- all other tasks
The breakpoint task's task.payload.command could be set to something like python verify_latest_runid.py --taskId DECISION_TASKID --runId DECISION_RUNID. That script should fail if the latest runId of the decision task is either a) non-success, or b) a different runId than the runId the breakpoint task was created with. Otherwise it will go green, and the taskgroup will proceed.
Comment 8•6 years ago
|
||
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 13•2 years ago
•
|
||
This has happened again, 2 times on the same merge:
- failure log 1
- failure log 2
LATER EDIT: later, this occurred several times as it can be seen here: - linux shippable
- windows 2012 shippable
- os x cross compiled shippable
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 16•2 years ago
|
||
(In reply to Iulian Moraru from comment #13)
This has happened again, 2 times on the same merge:
The safe thing to do when the nightly cron task fails is to trigger a new one (via https://firefox-ci-tc.services.mozilla.com/hooks/project-releng/cron-task-mozilla-central%2Fnightly-desktop), rather than rerun the failed task.
Updated•2 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Description
•