Closed Bug 1637042 Opened 5 years ago Closed 5 years ago

bootstrap fails in subprocess.check_call(cmd, cwd=state_dir)

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: achronop, Unassigned)

References

(Blocks 1 open bug)

Details

0:02.36 Could not find artifacts for a toolchain build named linux64-minidump-stackwalk. Local commits and other changes in your checkout may cause this error. Try updating to a fresh checkout of mozilla-central to use artifact builds.
Error running mach:

['bootstrap']

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| 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:

subprocess.CalledProcessError: Command '['/usr/bin/python3', '/home/achronop/repos/mozilla/firefox/mach', 'artifact', 'toolchain', '--from-build', 'linux64-minidump-stackwalk']' returned non-zero exit status 1.

File "/home/achronop/repos/mozilla/firefox/python/mozboot/mozboot/mach_commands.py", line 44, in bootstrap
bootstrapper.bootstrap()
File "/home/achronop/repos/mozilla/firefox/python/mozboot/mozboot/bootstrap.py", line 540, in bootstrap
checkout_root)
File "/home/achronop/repos/mozilla/firefox/python/mozboot/mozboot/bootstrap.py", line 396, in maybe_install_private_packages_or_exit
self.instance.ensure_minidump_stackwalk_packages(state_dir, checkout_root)
File "/home/achronop/repos/mozilla/firefox/python/mozboot/mozboot/linux_common.py", line 128, in ensure_minidump_stackwalk_packages
minidump_stackwalk.LINUX_MINIDUMP_STACKWALK)
File "/home/achronop/repos/mozilla/firefox/python/mozboot/mozboot/base.py", line 358, in install_toolchain_artifact
subprocess.check_call(cmd, cwd=state_dir)
File "/usr/lib64/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)

Please try mach clobber python and re-bootstrap. (The main bug for this is bug 1636797, even though it doesn't seem to cover linux stuff.)

Flags: needinfo?(achronop)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Bootstrap Configuration

That works thank you! Should I close this one, since bug 1636797 is similar? Everything works now my end.

Flags: needinfo?(achronop)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
See Also: → 1636797
You need to log in before you can comment on or make changes to this bug.