Closed
Bug 1204910
Opened 9 years ago
Closed 7 years ago
fix buildbot bridge corner case of deadline exceeded while build is running
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Unassigned)
References
Details
(Whiteboard: [bbb])
Caught this today while testing bug 1196407. If a Task exceeds its deadline while the Buildbot Build is running, the TCListener kills the Buildbot Build, but doesn't delete the Task from the BBB DB. This is because it wants to give the BBListener to process the build finished message. The BBListener fails to attach artifacts (task is already completed - that's expected), but then also attempts to cancel the task, which is very surprising, because that code is protected behind: if status.get("state") == "running": self.tc_queue.cancelTask(taskid) This ends up failing and raising an exception, which means it never gets to the code that deletes the task from the bbb db. It seems like Taskcluster was returning bad state information for this Task if state == running, but canceling failed. This might be related to bug 1204898.
Reporter | ||
Updated•9 years ago
|
Assignee: bhearsum → nobody
Comment 1•8 years ago
|
||
Ben: are we waiting/blocked on investigations in bug 1204898? We should mark it as a dependency if so.
Flags: needinfo?(bhearsum)
Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Chris Cooper [:coop] from comment #1) > Ben: are we waiting/blocked on investigations in bug 1204898? We should mark > it as a dependency if so. I'm not sure. We should probably handle this case better anyways though.
Flags: needinfo?(bhearsum)
Updated•8 years ago
|
Blocks: bbb-improvements
Updated•8 years ago
|
Whiteboard: [bbb]
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•