Remove use of the b2g-related worker types
Categories
(Firefox Build System :: Task Configuration, task, P5)
Tracking
(Not tracked)
People
(Reporter: dustin, Assigned: coop)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 file)
Comment hidden (mozreview-request) |
Comment 2•9 years ago
|
||
mozreview-review |
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
bugherder |
Reporter | ||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
Reporter | ||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Assignee | ||
Comment 11•8 years ago
|
||
Updated•8 years ago
|
Reporter | ||
Comment 12•7 years ago
|
||
Reporter | ||
Comment 13•7 years ago
|
||
Reporter | ||
Comment 14•7 years ago
|
||
Assignee | ||
Comment 15•7 years ago
|
||
We end up with a trivial amount of b2g-related spend in the AWS reporting every month due to this nomenclature. I could easily just assign this spend to another category, but we really shouldn't still be using something named "b2gtest" in 2019.
In the examples above, it just seems to be Ted performing various symbols tests, e.g. https://hg.mozilla.org/users/tmielczarek_mozilla.com/fetch-win32-symbols/file/tip/fetch-task.json#l3
However, we still seem to reference the worker type ourselves, even in the monorepo:
https://github.com/taskcluster/taskcluster/search?q=b2gtest&type=Code
https://github.com/taskcluster/taskcluster/blob/master/services/auth/test/clients.json
I've not too worried about breaking Ted. He seems to have fixed up his github repos that reference b2gtest already, and his hg-based tests haven't run since August. We should absolutely fix up our part.
Reporter | ||
Comment 16•7 years ago
|
||
There's nothing to worry about in our part -- it's just a snapshot of all extant clients at some point, used as input to the client tests. Go ahead and delete it :)
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 17•7 years ago
|
||
The full list of workerTypes I'd like to remove is:
b2gbuild
b2gtest
flame-kk
gaia
gaia-cache
gaia-decision
Source: https://taskcluster-web.netlify.com/provisioners/aws-provisioner-v1
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 18•6 years ago
|
||
(In reply to Chris Cooper [:coop] pronoun: he from comment #17)
The full list of workerTypes I'd like to remove is:
b2gbuild
b2gtest
flame-kk
gaia
gaia-cache
gaia-decision
I've removed these worker types from the aws-provisioner. I have backups of the worker type definitions if we need them.
I'm working on a patch to the taskcluster monorepo to remove those worker types from our references and tests.
Assignee | ||
Comment 19•6 years ago
|
||
(In reply to Chris Cooper [:coop] pronoun: he from comment #18)
I'm working on a patch to the taskcluster monorepo to remove those worker types from our references and tests.
Assignee | ||
Comment 20•6 years ago
|
||
I removed the b2g-related worker types from the docker-worker deployment lists: https://github.com/taskcluster/docker-worker/commit/eb77f9ec64c7d77ffc4e7738290db92eb8c881c0
As a final cleanup step, I've removed the following EBS volumes from AWS:
b2gtest
gaia-cache
I think the only place where this might bite us is the build-minidump-stackwalk and fetch-windows-symbols tasks referenced in our auth tests (https://github.com/taskcluster/taskcluster/blob/master/services/auth/test/clients.json), and only if they still run occasionally.
I can't find a repo for build-minidump-stackwalk that references tasks, but the repo for fetch-windows-symbols is here: https://hg.mozilla.org/users/tmielczarek_mozilla.com/fetch-win32-symbols/
Adding a NI to Kim in case she knows about continuity here before I close out this bug.
Reporter | ||
Comment 21•6 years ago
|
||
I think the only place where this might bite us is the build-minidump-stackwalk and fetch-windows-symbols tasks referenced in our auth tests (https://github.com/taskcluster/taskcluster/blob/master/services/auth/test/clients.json), and only if they still run occasionally.
This was just a snapshot of the clients/roles that existed at that time, to check that auth's role expansion could operate with "real-world" data. The scopes aren't actually used for anything.
Comment 22•6 years ago
|
||
I don't have any context on this. Gsvelto might have some insight?
Comment 23•6 years ago
|
||
AFAIK the fetch-win32-symbols task is still in use but I doubt the worker type is important. It's possible that Ted just copy-pasted it from some other task. :willkg might know more so I'm CC'ing him.
Assignee | ||
Comment 24•6 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #23)
AFAIK the fetch-win32-symbols task is still in use but I doubt the worker type is important. It's possible that Ted just copy-pasted it from some other task. :willkg might know more so I'm CC'ing him.
That was my guess, too. Because I do see a very small amount of usage for the b2gtest worker type, I went ahead and patched ted's repo to use a current worker type: https://hg.mozilla.org/users/tmielczarek_mozilla.com/fetch-win32-symbols/rev/989bf36a2d57
Comment 25•6 years ago
|
||
I don't know anything about the fetch-win32-symbols task, but I really should. Guessing based on other tasks I've seen Ted do, I agree that it's likely the worker type was unimportant and that Ted copy-and-pasted from another task or that's how he happened to throw the task together that day.
Updated•6 years ago
|
Description
•