Bug 1721514 - Add a few more debugging logs about configure bootstrap. r=firefox-build-system-reviewers,andi

Differential Revision: https://phabricator.services.mozilla.com/D120416
This commit is contained in:
Mike Hommey 2021-07-21 21:00:13 +00:00
parent 28025bf825
commit dda1875bdd

View file

@ -310,6 +310,7 @@ def bootstrap_path(path, **kwargs):
# `mach artifact toolchain` doesn't support authentication for
# private artifacts.
if not artifact.startswith("public/"):
log.debug("Cannot bootstrap %s: not a public artifact", label)
return False
index_file = os.path.join(toolchains_base_dir, "indices", path_parts[0])
try:
@ -318,6 +319,7 @@ def bootstrap_path(path, **kwargs):
except Exception:
index = None
if index == task_index and exists:
log.debug("%s is up-to-date", label)
return True
log.info(
"%s bootstrapped toolchain in %s",