Closed Bug 1696984 Opened 5 years ago Closed 5 years ago

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)

RESOLVED FIXED

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).

Dustin suggested to call taskcluster's insertTask method but I lack the scopes to modify the central index.

  1. Install https://pypi.org/project/taskcluster/
  2. Get login credentials: ./taskcluster signin
  3. 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)

Please also expire the beta and release tasks:
beta: UajugKKwT5uP2EhFhsS7Hg new rank: 1613392631
release:eDDnY186TCuSfmG61Gxp9Q new ran: 1615478503

Blocks: 1429030

Ran the scripts against all three indexes. Should be good now.

Assignee: nobody → mtabara
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.