mach bootstrap is failing because chain-of-trust.json 404s
Categories
(Firefox Build System :: Bootstrap Configuration, defect, P5)
Tracking
(Not tracked)
People
(Reporter: evilpies, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Running mach bootstrap fails with
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Jrck4zWnTGO67Fig1fja1A/artifacts/public/chain-of-trust.json
File "/home/tom/projects/mozilla/python/mozbuild/mozbuild/artifact_commands.py", line 476, in artifact_toolchain
record = ArtifactRecord(task_id, artifact_name)
File "/home/tom/projects/mozilla/python/mozbuild/mozbuild/artifact_commands.py", line 337, in __init__
cot.raise_for_status()
File "/home/tom/projects/mozilla/third_party/python/requests/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
after doing some other work before.
Aryx: the task has still to run: https://firefox-ci-tc.services.mozilla.com/tasks/Jrck4zWnTGO67Fig1fja1A
Comment 1•4 years ago
|
||
This is a direct consequence of bug 1653050, and there's not much we can do, short of taskcluster providing a way to get older tasks for a given index.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Thanks for the report!
Unsure what the ideal solution is here - the new revision depends on artifacts built from that new revision, so there's going to be a window of unavailable artifacts either way.
However, the error message here can be improved to include the workarounds:
- Wait a bit (an hour, tops, IIRC) then try to bootstrap.
- Check out an older revision and bootstrap.
Comment 4•4 years ago
|
||
The problem is "an older revision" might be really old, because this will happen when a toolchain is rebuilt (with the same index) for some reason (like docker images being rebuilt), and that's when it's really a problem (because in the more normal case, it would only happen for people who check out autoland).
Updated•2 years ago
|
Updated•7 months ago
|
Description
•