Closed
Bug 984935
Opened 12 years ago
Closed 12 years ago
Add task timeout after period of inactivity
Categories
(Taskcluster :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jlal, Unassigned)
Details
Usually this is defined as "no output in stdout or stderr in N seconds"
| Reporter | ||
Comment 1•12 years ago
|
||
This is a worker level option not to be confused with how timeouts work at the queue level (which exists for entirely different reasons).
Comment 2•12 years ago
|
||
Sounds good. This should be added to the task payload, at least for now.
We should also consider adding `maxRunTime` in the same go. As maximum number of seconds the worker is allowed to work on a task.
When either of these conditions is violated, we should abort the run and ask the queue to reset `takenUntil`.
Comment 3•12 years ago
|
||
`maxRunTime` have been introduced with 4a0fea8400c75fab823442569e528abe392c390e.
Inactivility is a little harder to define, specifically I suspect that node won't flush every single byte individually. For example python is known to only print full lines.
Anyways, `maxRunTime` should always be specified and makes this less critical.
| Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: TaskCluster → General
Product: Testing → Taskcluster
Target Milestone: --- → mozilla41
Version: unspecified → Trunk
Comment 4•11 years ago
|
||
Resetting Version and Target Milestone that accidentally got changed...
Target Milestone: mozilla41 → ---
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•