deprecate tokens service and use taskcluster credentials
Categories
(Release Engineering :: General, enhancement)
Tracking
(firefox68 fixed)
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: garbas, Assigned: garbas)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
With this change tooltool.py also supports taskcluster credentials to be passed
(in json format) to --authentication-file option. RelengAPI tokens are still
working with this patch, just additional authentication is added.
Comment 3•6 years ago
|
||
Failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=242257361&repo=autoland&lineNumber=876
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=242257344&repo=autoland&lineNumber=1072
Backout link: https://hg.mozilla.org/integration/autoland/rev/0c8058d19e04d79cc7b78a8a8f616f10b66c33b3
[task 2019-04-24T10:09:55.663Z] 10:09:55 INFO - 8:14.19 Downloading... 100.0 %
[task 2019-04-24T10:09:55.665Z] 10:09:55 INFO - 8:14.19 Downloaded artifact to /builds/worker/.mozbuild/toolchains/16ce7bdceeeac39a-binutils.tar.xz
[task 2019-04-24T10:09:55.670Z] 10:09:55 INFO - 8:14.19 Failed to download binutils.tar.xz
[task 2019-04-24T10:09:55.687Z] 10:09:55 ERROR - Return code: 1
[task 2019-04-24T10:09:55.687Z] 10:09:55 ERROR - 1 not in success codes: [0]
[task 2019-04-24T10:09:55.687Z] 10:09:55 WARNING - setting return code to 2
[task 2019-04-24T10:09:55.687Z] 10:09:55 FATAL - Halting on failure while running ['/builds/worker/workspace/build/src/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python', '-u', '/builds/worker/workspace/build/src/mach', 'artifact', 'toolchain', '-v', '--retry', '4', '--artifact-manifest', '/builds/worker/workspace/build/src/toolchains.json', 'public/build/binutils.tar.xz@K5NcyYbZRF25fJF8XzJLoA', 'public/build/clang.tar.xz@eStm6oExQQeX8r3oKfPb-g', 'public/build/cbindgen.tar.xz@bPEue9VVQ_eRjPuRyJhmOA', 'public/build/sccache2.tar.xz@UsjdGlSnTpuzCwJUZuyeuA', 'public/build/rustc.tar.xz@B_aqp8pbTHaRKrXELzeK9w', 'public/build/rust-size.tar.xz@IlyF0MjpRDOhehriA_ZOnQ', 'public/build/nasm.tar.bz2@N94LYZSCRO-GGhFunBYWAw', 'public/build/node.tar.xz@EXixwTpEQ9CLAA2Auou8wg']
[task 2019-04-24T10:09:55.687Z] 10:09:55 FATAL - Running post_fatal callback...
[task 2019-04-24T10:09:55.687Z] 10:09:55 FATAL - Exiting 2
[task 2019-04-24T10:09:55.687Z] 10:09:55 INFO - [mozharness: 2019-04-24 10:09:55.687625Z] Finished build step (failed)
[task 2019-04-24T10:09:55.687Z] 10:09:55 INFO - Running post-run listener: _parse_build_tests_ccov
[task 2019-04-24T10:09:55.687Z] 10:09:55 INFO - Running post-run listener: _shutdown_sccache
[task 2019-04-24T10:09:55.687Z] 10:09:55 INFO - Running command: ['/builds/worker/workspace/build/src/sccache2/sccache', '--stop-server'] in /builds/worker/workspace/build/src
[task 2019-04-24T10:09:55.687Z] 10:09:55 INFO - Copy/paste: /builds/worker/workspace/build/src/sccache2/sccache --stop-server
[task 2019-04-24T10:09:55.690Z] 10:09:55 ERROR - caught OS error 2: No such file or directory while running ['/builds/worker/workspace/build/src/sccache2/sccache', '--stop-server']
[task 2019-04-24T10:09:55.690Z] 10:09:55 INFO - Running post-run listener: _summarize
[task 2019-04-24T10:09:55.690Z] 10:09:55 ERROR - # TBPL FAILURE #
[task 2019-04-24T10:09:55.690Z] 10:09:55 INFO - [mozharness: 2019-04-24 10:09:55.690701Z] FxDesktopBuild summary:
[task 2019-04-24T10:09:55.690Z] 10:09:55 ERROR - # TBPL FAILURE #
Assignee | ||
Comment 4•6 years ago
|
||
:CosminS thank you for reverting. I'm already looking into what went wrong. This was working on monday on try. Maybe a rebase I had to do messed up something.
Assignee | ||
Comment 6•6 years ago
|
||
:dhouse I was told to ping you regarding VCSSync[1], since we hope to deprecate relengapi tokens (in favor of taskcluster authentication) as soon as possible. Are you the right person to talk to about adding taskcluster authentication support to VCSSync scripts?
I already did this for tooltool.py and if you point me to the source code of VCSSync I can come up with a PR to add tasckluster authentication.
[1] https://wiki.mozilla.org/ReleaseEngineering/How_To/VCSSync#What.27s_running_where
Comment 7•6 years ago
|
||
bugherder |
Assignee | ||
Comment 8•6 years ago
|
||
reopening since we need to land more things, but i do it in multiple steps. I see now that I need to create a separate issue for each landing (will do this in the future)
(In reply to Rok Garbas [:garbas] from comment #6)
:dhouse I was told to ping you regarding VCSSync[1], since we hope to deprecate relengapi tokens (in favor of taskcluster authentication) as soon as possible. Are you the right person to talk to about adding taskcluster authentication support to VCSSync scripts?
I already did this for tooltool.py and if you point me to the source code of VCSSync I can come up with a PR to add tasckluster authentication.
[1] https://wiki.mozilla.org/ReleaseEngineering/How_To/VCSSync#What.27s_running_where
Thanks Rok! Here is what we're running right now: https://hg.mozilla.org/build/mozharness/file/tip/scripts/vcs-sync/vcs_sync.py#l985
Comment 10•5 years ago
|
||
Rok -- is there work to do here before the November 9 TCW?
Assignee | ||
Comment 11•5 years ago
|
||
This is now done and tooltool is running without "old" tokens for around 3 weeks.
Description
•