Open Bug 1517438 Opened 7 years ago Updated 6 years ago

Use one type of failure message for task timeouts: "Task aborted - max run time exceeded" vs. "Task timeout after X seconds. Force killing container."

Categories

(Taskcluster :: Workers, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: aryx, Unassigned)

Details

There are 2 kinds of error messages for task timeouts: [taskcluster:error] Task aborted - max run time exceeded e.g. bug 1420394 [taskcluster:error] Task timeout after 3600 seconds. Force killing container. e.g. bug 1411358 Is there a reason why we use two different error messages? Should the occurrences be classified against different bugs? If not, please use only one error message to allow easier classification against the 1 bug. (The message without the seconds count makes it even easier.)
I think they're from two different worker implementations..
Component: General → Worker
QA Contact: pmoore
Component: Worker → Workers

From my perspective it would be helpful if all task timeouts were reported to one bug. I try to monitor bug 1411358, but generally miss variants like bug 1447633.

When investigating particular instances, it is nice to see the max-run-time, so ideally, I'd like to see something like:

Task timeout after 3600 seconds. Force killing container. <<< useful diagnostic info, not reported as an error
[taskcluster:error] Task aborted - max run time exceeded <<< fixed error message for failure classification

Geoff's suggestion seems good. That would be a change to docker-worker only.

You need to log in before you can comment on or make changes to this bug.