Open Bug 1563371 Opened 6 years ago Updated 1 year ago

NSS and NSS-Try on Treeherder can't cancel or retrigger jobs

Categories

(Tree Management :: Treeherder, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: jcj, Unassigned)

References

(Blocks 2 open bugs)

Details

The NSS team has found that we can't cancel, retrigger, or do fancy add-a-job magic via Treeherder. We don't remember whether we ever could, but sometimes it'd be helpful, particularly to retrigger.

Relevant repos:

Trying any of these actions emits:
Error getting Gecko Decision Task Ids: 404: No decision tasks found for pushes: ['505903']
(where the ID changes, of course)

Even rolling back to the parent of bug 1496858 doesn't fix it (uncaught exception: No decision task).

decisiontask assumes the decision task is always called Gecko Decision Task https://github.com/mozilla/treeherder/blob/3d1524118d95b469c13fa5c712462e30d97755d8/treeherder/webapp/api/push.py#L272

For nss, it's NSS Decision Task.

Cam, can you change it to filer(name__contains='Decision Task'). But there could be more than one decision task - or at least I am not aware of a limitation to have only one match.

Flags: needinfo?(cdawson)

Sure, I can take this on sometime soon. Please let me know if there is an urgency here, though.

Assignee: nobody → cdawson
Type: defect → enhancement
Flags: needinfo?(cdawson)
Priority: -- → P2
See Also: → 1564856

I have a PR that will enable the Treeherder side of this. But the NSS decision task needs a few artifacts to work.

For add new jobs, you'll need:

public/runnable-jobs.json for adding new jobs
public/actions.json for retriggering, etc

Please see one of the Gecko Decision Tasks for examples of these files

Marking to come back to this next week

Flags: needinfo?(jjones)

This change has been merged to treeherder/master now.

Unassigning myself. Please need-info me if you need anything else from me on this. :)

Assignee: cdawson → nobody

Thanks, Cameron!

Component: Treeherder: Job Triggering & Cancellation → TreeHerder
Flags: needinfo?(jc)
You need to log in before you can comment on or make changes to this bug.