Closed
Bug 1511048
Opened 6 years ago
Closed 6 years ago
./mach bootstrap fails
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: lth, Unassigned)
References
Details
Trying to run bootstrap for a non-artifact desktop build in a (non-unified) clone of mozilla-inbound, the main deviation from a default configuration is probably that I do not have the evolve extension.
Fedora 28 on x86_64.
After some spew about phabricator, I see this:
Error running mach:
['static-analysis', 'install', '--force', '--minimal-install']
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 should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows (the file it's complaining about does exist however):
Exception: Couldn't find taskgraph configuration: taskcluster/ci/config.yml
File "/home/lhansen/m-i/python/mozbuild/mozbuild/mach_commands.py", line 2285, in install
source=source, verbose=verbose)
File "/home/lhansen/m-i/python/mozbuild/mozbuild/mach_commands.py", line 2619, in _get_clang_tools
download_if_needed=download_if_needed)
File "/home/lhansen/m-i/python/mozbuild/mozbuild/mach_commands.py", line 2648, in _get_clang_tools
retry=0)
File "/home/lhansen/m-i/python/mozbuild/mozbuild/mach_commands.py", line 1436, in artifact_toolchain
toolchains = load_tasks_for_kind(params, 'toolchain')
File "/home/lhansen/m-i/taskcluster/taskgraph/generator.py", line 394, in load_tasks_for_kind
for task in tgg.full_task_set
File "/home/lhansen/m-i/taskcluster/taskgraph/generator.py", line 141, in full_task_set
return self._run_until('full_task_set')
File "/home/lhansen/m-i/taskcluster/taskgraph/generator.py", line 342, in _run_until
k, v = self._run.next()
File "/home/lhansen/m-i/taskcluster/taskgraph/generator.py", line 221, in _run
graph_config = load_graph_config(self.root_dir)
File "/home/lhansen/m-i/taskcluster/taskgraph/config.py", line 98, in load_graph_config
raise Exception("Couldn't find taskgraph configuration: {}".format(config_yml))
None
Error running mach:
['artifact', 'toolchain', '--from-build', 'linux64-clang']
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 should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
Exception: Couldn't find taskgraph configuration: taskcluster/ci/config.yml
File "/home/lhansen/m-i/python/mozbuild/mozbuild/mach_commands.py", line 1436, in artifact_toolchain
toolchains = load_tasks_for_kind(params, 'toolchain')
File "/home/lhansen/m-i/taskcluster/taskgraph/generator.py", line 394, in load_tasks_for_kind
for task in tgg.full_task_set
File "/home/lhansen/m-i/taskcluster/taskgraph/generator.py", line 141, in full_task_set
return self._run_until('full_task_set')
File "/home/lhansen/m-i/taskcluster/taskgraph/generator.py", line 342, in _run_until
k, v = self._run.next()
File "/home/lhansen/m-i/taskcluster/taskgraph/generator.py", line 221, in _run
graph_config = load_graph_config(self.root_dir)
File "/home/lhansen/m-i/taskcluster/taskgraph/config.py", line 98, in load_graph_config
raise Exception("Couldn't find taskgraph configuration: {}".format(config_yml))
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 should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
CalledProcessError: Command '['/usr/bin/python2.7', u'/home/lhansen/m-i/mach', u'artifact', u'toolchain', u'--from-build', u'linux64-clang']' returned non-zero exit status 1
File "/home/lhansen/m-i/python/mozboot/mozboot/mach_commands.py", line 43, in bootstrap
bootstrapper.bootstrap()
File "/home/lhansen/m-i/python/mozboot/mozboot/bootstrap.py", line 507, in bootstrap
checkout_root)
File "/home/lhansen/m-i/python/mozboot/mozboot/bootstrap.py", line 384, in maybe_install_private_packages_or_exit
self.instance.ensure_stylo_packages(state_dir, checkout_root)
File "/home/lhansen/m-i/python/mozboot/mozboot/linux_common.py", line 18, in ensure_stylo_packages
self.install_toolchain_artifact(state_dir, checkout_root, stylo.LINUX_CLANG)
File "/home/lhansen/m-i/python/mozboot/mozboot/base.py", line 312, in install_toolchain_artifact
subprocess.check_call(cmd, cwd=state_dir)
File "/usr/lib64/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
Updated•6 years ago
|
Flags: needinfo?(bpostelnicu)
Comment 4•6 years ago
|
||
This issue is a regression introduced by: https://hg.mozilla.org/mozilla-central/rev/393f02fb1ad7
The fix can be found here: https://bugzilla.mozilla.org/show_bug.cgi?id=1397847
Comment 5•6 years ago
|
||
Is this a dupe of bug 1397847?
Reporter | ||
Comment 6•6 years ago
|
||
(In reply to :Ehsan Akhgari from comment #5)
> Is this a dupe of bug 1397847?
Could be - mach bootstrap works for me this morning after an update. Thanks!
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•