Closed Bug 1605277 Opened 6 years ago Closed 6 years ago

Allow overriding worker-types to use on a try push.

Categories

(Developer Infrastructure :: Try, enhancement)

enhancement
Not set
normal

Tracking

(firefox74 fixed)

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: tomprince, Assigned: tomprince)

References

Details

Attachments

(3 files)

When testing updates to workers, it is useful to be able to do a try push that points at the new workers. Add options that make it easy to instruct taskgraph to do this.

Pushed by apavel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/af16e71c6922 [taskgraph] Don't memoize worker-type calculations twice; r=Callek CLOSED TREE

Backed out 2 changesets (bug 1605275, bug 1605277) for build sign bustage on a CLOSED TREE.

Backout link: https://hg.mozilla.org/integration/autoland/rev/27a1becd947bec022c2fb02411b4d9b57a58c2a9

**Push with failures:**https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&revision=af16e71c6922383e4ccd1bb214fc1e47e6a6e154&selectedJob=282449141

Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=282449141&repo=autoland&lineNumber=10

Log snippet:

2019-12-24 00:26:37,912 - scriptworker_client.client - ERROR - Failed to run async_main
Traceback (most recent call last):
File "/builds/scriptworker/scriptworker-scripts/iscript/src/iscript/util.py", line 62, in get_key_config
return config[base_key][_CERT_TYPE_TO_KEY_CONFIG[cert_type]]
KeyError: 'dep'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/builds/scriptworker/scriptworker-scripts/scriptworker_client/src/scriptworker_client/client.py", line 156, in _handle_asyncio_loop
await async_main(config, task)
File "/builds/scriptworker/scriptworker-scripts/iscript/src/iscript/script.py", line 31, in async_main
key_config = get_key_config(config, task, base_key=base_key)
File "/builds/scriptworker/scriptworker-scripts/iscript/src/iscript/util.py", line 64, in get_key_config
raise IScriptError("get_key_config error: {}".format(str(exc))) from exc
iscript.exceptions.IScriptError: get_key_config error: 'dep'
exit code: 1

Flags: needinfo?(mozilla)
Attachment #9117317 - Attachment description: Bug 1605277: [try] Add option to allow overriding worker types on try; r?ahal → Bug 1605277: [tryselect] Add option to allow overriding worker types on try; r?ahal
Attachment #9118141 - Attachment description: Bug 1605277: [tryselect] Handle v2 try_task_config in `mach try again`; r?ahal → Bug 1605277: [tryselect] Handle v2 try_task_config in `mach try again --list`; r?ahal
Pushed by mozilla@hocat.ca: https://hg.mozilla.org/integration/autoland/rev/8693c34d5575 [tryselect] Add option to allow overriding worker types on try; r=ahal https://hg.mozilla.org/integration/autoland/rev/3259004c8afe [tryselect] Handle v2 try_task_config in `mach try again --list`; r=ahal
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Flags: needinfo?(mozilla)
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: