Closed
Bug 1177208
Opened 9 years ago
Closed 7 years ago
Cannot cancel all jobs with error "Failed to cancel all jobs:undefined"
Categories
(Tree Management :: Treeherder, defect, P2)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: ehsan.akhgari, Unassigned)
Details
I got this when trying to cancel https://treeherder.mozilla.org/#/jobs?repo=try&revision=429d0094d340. I had retriggered a bunch of tests, so that may be related.
Comment 1•9 years ago
|
||
This message is being generated here:
https://github.com/mozilla/treeherder/blob/e8ebf10689e33519cb6a8980dc4ffd4ce30651b8/ui/js/models/error.js#L38
Which is being called from here, presumably after the http post to the build api fails:
https://github.com/mozilla/treeherder/blob/e8ebf10689e33519cb6a8980dc4ffd4ce30651b8/ui/js/controllers/jobs.js#L202
https://github.com/mozilla/treeherder/blob/e8ebf10689e33519cb6a8980dc4ffd4ce30651b8/ui/js/models/resultset.js#L193
It's difficult to know exactly what's happening here, aside from the fact that we don't have enough data to generate a good error message. Reading the angular docs, it looks like we should be calling the special $http promise .error callback, which gives us a bit of extra information:
https://docs.angularjs.org/api/ng/service/$http
If I were going to work on this bug, that'd be where I'd start.
Updated•9 years ago
|
Priority: -- → P2
Updated•7 years ago
|
Component: Treeherder → Treeherder: Job Triggering & Cancellation
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Comment 2•7 years ago
|
||
This area of the code has been changed a few times since, including improving the error messages. If this happens again, please reopen :-)
Assignee | ||
Updated•3 years ago
|
Component: Treeherder: Job Triggering & Cancellation → TreeHerder
You need to log in
before you can comment on or make changes to this bug.
Description
•