update 'latest' Bugzilla task in taskcluster route with recent one, is stuck after downgrade of task from tier 1 to tier 2
Categories
(Release Engineering :: Firefox-CI Administration, task)
Tracking
(Not tracked)
People
(Reporter: aryx, Assigned: mtabara)
References
Details
A demotion of a task in its task definition (e.g. 'Bugzilla' task from tier 1 to tier 2 in bug 1691479) stops the 'latest' index from updating.
https://firefox-ci-tc.services.mozilla.com/tasks/index/gecko.v2.mozilla-central.latest.source/source-bugzilla-info points to https://firefox-ci-tc.services.mozilla.com/tasks/Fr-fdBouSq2u85sKOAswOg when it still ran as tier 1.
Expected
'Latest' task is from the latest push with a successful task of its kind (and uses the latest successful task from that push).
- source
- implemented in bug 1304019
- documentation for task rank
Dustin suggested to call taskcluster's insertTask method but I lack the scopes to modify the central index.
- Install https://pypi.org/project/taskcluster/
- Get login credentials:
./taskcluster signin - Launch Python.
namespace = "gecko.v2.mozilla-central.latest.source.source-bugzilla-info"
from datetime import datetime
expiry_date = datetime(2021, 3, 9)
input = { "data": {}, "expires": expiry_date, "taskId": "HFgsz9BOSWKXpN9FZibclA", "rank": 1612776529}
index = taskcluster.Index({'rootUrl': 'https://firefox-ci-tc.services.mozilla.com', 'credentials': {'clientId': '...', 'accessToken': '...''},})
taskcluster.Index.insertTask(index, namespace, input)
| Reporter | ||
Comment 1•5 years ago
|
||
Please also expire the beta and release tasks:
beta: UajugKKwT5uP2EhFhsS7Hg new rank: 1613392631
release:eDDnY186TCuSfmG61Gxp9Q new ran: 1615478503
| Assignee | ||
Comment 2•5 years ago
|
||
Ran the scripts against all three indexes. Should be good now.
Description
•