`./mach bootstap` failure requests.exceptions.HTTPError: 400 Client Error
Categories
(Firefox Build System :: Mach Core, defect, P3)
Tracking
(Not tracked)
People
(Reporter: chenweihua, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Steps to reproduce:
I wanna build mozilla central,but when I run mach bootstap,it show error:
Actual results:
Error running mach:
['--log-no-times', 'artifact', 'toolchain', '--from-task', 'False:public/build/node.tar.zst']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file artifact| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/False/artifacts/public/chain-of-trust.json
File "/home/david/work/WebXR/gecko-dev/python/mozbuild/mozbuild/artifact_commands.py", line 482, in artifact_toolchain
record = ArtifactRecord(task_id, name)
File "/home/david/work/WebXR/gecko-dev/python/mozbuild/mozbuild/artifact_commands.py", line 327, in init
cot.raise_for_status()
File "/home/david/work/WebXR/gecko-dev/third_party/python/requests/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
ERROR: Command '['/home/david/.mozbuild/srcdirs/gecko-dev-7ae90f98dd51/_virtualenvs/mach/bin/python', '/home/david/work/WebXR/gecko-dev/mach', '--log-no-times', 'artifact', 'toolchain', '--from-task', 'False:public/build/node.tar.zst']' returned non-zero exit status 1.
ERROR: If you can't fix the above, retry with --disable-bootstrap.
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:jonalmeida, could you have a look please?
For more information, please visit BugBot documentation.
Comment 2•2 years ago
|
||
This doesn't look like a Fenix (build) issue. Re-directing to the build systems team.
Comment 3•2 years ago
|
||
Sorry for the delay, this wasn't showing up in my queue. Are you still able to reproduce this? The bad request error makes sense based on mach', '--log-no-times', 'artifact', 'toolchain', '--from-task', 'False:public/build/node.tar.zs. The False: part shouldn't be there, but I can't get ./mach bootstrap to reproduce that.
If you can reproduce it, can you share more of the call stack, there's not enough information to see where it's coming from and how False: is being erroneously prepended to the taskid.
If you also can't reproduce it, then it was probably a short lived bug that's since been fixed, and we can probably close out this bug.
Comment 4•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Mach Core' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 5•2 years ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.
For more information, please visit BugBot documentation.
Description
•