Open Bug 1570261 Opened 7 years ago Updated 3 years ago

./mach bootstrap broken with error: Could not find artifacts for a toolchain build named `linux64-clang-tidy`

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect

Tracking

(Not tracked)

People

(Reporter: ato, Unassigned)

Details

Running bootstrap this morning:

% git rev-parse HEAD
032bb32d56bee694fb347c8d0b3198fcf07c7363
% 
% git rev-parse HEAD | git cinnabar git2hg -
0000000000000000000000000000000000000000
% git cinnabar git2hg 032bb32d56bee694fb347c8d0b3198fcf07c7363
0cfffbaad82ed31e5e61885cf9811bf149a0408c
% ./mach bootstrap

Note on Artifact Mode:

Artifact builds download prebuilt C++ components rather than building
them locally. Artifact builds are faster!

Artifact builds are recommended for people working on Firefox or
Firefox for Android frontends, or the GeckoView Java API. They are unsuitable
for those working on C++ code. For more information see:
https://developer.mozilla.org/en-US/docs/Artifact_builds.

Please choose the version of Firefox you want to build:
  1. Firefox for Desktop Artifact Mode
  2. Firefox for Desktop
  3. GeckoView/Firefox for Android Artifact Mode
  4. GeckoView/Firefox for Android
Your choice: 2
Executing as root: sudo apt-get install autoconf2.13 build-essential nodejs python-dev python-pip python-setuptools unzip uuid zip
[sudo] password for ato: 

Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 80%
Building dependency tree       
Reading state information... Done
autoconf2.13 is already the newest version (2.13-68).
build-essential is already the newest version (12.6).
nodejs is already the newest version (10.15.2~dfsg-2).
uuid is already the newest version (1.6.2-1.5+b7).
python-dev is already the newest version (2.7.16-1).
python-pip is already the newest version (18.1-5).
python-setuptools is already the newest version (40.8.0-1).
unzip is already the newest version (6.0-23).
zip is already the newest version (3.0-11+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Executing as root: sudo apt-get install libasound2-dev libcurl4-openssl-dev libdbus-1-dev libdbus-glib-1-dev libgtk-3-dev libgtk2.0-dev libpulse-dev libx11-xcb-dev libxt-dev python-dbus xvfb yasm

Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree       
Reading state information... Done
libasound2-dev is already the newest version (1.1.8-1).
libcurl4-openssl-dev is already the newest version (7.64.0-4).
libdbus-1-dev is already the newest version (1.12.16-1).
libdbus-glib-1-dev is already the newest version (0.110-4).
python-dbus is already the newest version (1.2.8-3).
libgtk2.0-dev is already the newest version (2.24.32-3).
libgtk-3-dev is already the newest version (3.24.5-1).
libx11-xcb-dev is already the newest version (2:1.6.7-1).
libxt-dev is already the newest version (1:1.1.5-1+b3).
libpulse-dev is already the newest version (12.2-4).
xvfb is already the newest version (2:1.20.4-1).
yasm is already the newest version (1.3.0-2+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Your version of Mercurial (4.8.2) is sufficiently modern.
Your version of Python (2.7.16) is new enough.
Your version of Rust (1.36.0) is new enough.
Rust supports x86_64-unknown-linux-gnu targets.

Mozilla recommends using git-cinnabar to work with mozilla-central.

Would you like to run a few configuration steps to ensure Git is
optimally configured? (Yn): n
 0:04.25 Downloading node.tar.xz
 0:04.26 Downloading to temporary location /home/ato/.mozbuild/toolchains/ccdea10ca6833a25-node.tar.xz
 0:05.18 Downloading... 0.0 %
 0:05.88 Downloading... 5.1 %
 0:06.02 Downloading... 10.1 %
 0:06.02 Downloading... 15.0 %
 0:06.16 Downloading... 20.1 %
 0:06.16 Downloading... 25.0 %
 0:06.17 Downloading... 30.1 %
 0:06.18 Downloading... 35.0 %
 0:06.29 Downloading... 40.1 %
 0:06.30 Downloading... 45.1 %
 0:06.31 Downloading... 50.1 %
 0:06.32 Downloading... 55.1 %
 0:06.33 Downloading... 60.0 %
 0:06.33 Downloading... 65.1 %
 0:06.34 Downloading... 70.0 %
 0:06.35 Downloading... 75.1 %
 0:06.43 Downloading... 80.0 %
 0:06.45 Downloading... 85.1 %
 0:06.45 Downloading... 90.1 %
 0:06.46 Downloading... 95.0 %
 0:06.47 Downloading... 100.0 %
 0:06.47 Downloaded artifact to /home/ato/.mozbuild/toolchains/ccdea10ca6833a25-node.tar.xz
 0:06.52 rm tree: /home/ato/.mozbuild/node
 0:07.08 untarring "/home/ato/.mozbuild/node.tar.xz"
 0:03.74 Downloading clang.tar.xz
 0:03.75 Downloading to temporary location /home/ato/.mozbuild/toolchains/768098d0c46a1e01-clang.tar.xz
 0:04.61 Downloading... 0.0 %
 0:05.77 Downloading... 5.0 %
 0:06.04 Downloading... 10.0 %
 0:06.28 Downloading... 15.0 %
 0:06.50 Downloading... 20.0 %
 0:06.72 Downloading... 25.0 %
 0:06.96 Downloading... 30.0 %
 0:07.25 Downloading... 35.0 %
 0:07.52 Downloading... 40.0 %
 0:07.85 Downloading... 45.0 %
 0:08.15 Downloading... 50.0 %
 0:08.42 Downloading... 55.0 %
 0:08.73 Downloading... 60.0 %
 0:09.01 Downloading... 65.0 %
 0:09.29 Downloading... 70.0 %
 0:09.57 Downloading... 75.0 %
 0:09.84 Downloading... 80.0 %
 0:10.11 Downloading... 85.0 %
 0:10.41 Downloading... 90.0 %
 0:10.70 Downloading... 95.0 %
 0:10.96 Downloading... 100.0 %
 0:10.96 Downloaded artifact to /home/ato/.mozbuild/toolchains/768098d0c46a1e01-clang.tar.xz
 0:11.39 rm tree: /home/ato/.mozbuild/clang
 0:11.52 untarring "/home/ato/.mozbuild/clang.tar.xz"
 0:03.82 Downloading cbindgen.tar.xz
 0:03.83 Downloading to temporary location /home/ato/.mozbuild/toolchains/28956e078ee9bba8-cbindgen.tar.xz
 0:04.69 Downloading... 0.0 %
 0:04.95 Downloading... 5.3 %
 0:05.09 Downloading... 10.6 %
 0:05.22 Downloading... 15.1 %
 0:05.23 Downloading... 20.4 %
 0:05.23 Downloading... 25.7 %
 0:05.26 Downloading... 30.1 %
 0:05.36 Downloading... 35.4 %
 0:05.36 Downloading... 40.8 %
 0:05.36 Downloading... 45.2 %
 0:05.37 Downloading... 50.5 %
 0:05.37 Downloading... 55.8 %
 0:05.40 Downloading... 60.3 %
 0:05.49 Downloading... 65.6 %
 0:05.50 Downloading... 70.9 %
 0:05.50 Downloading... 75.3 %
 0:05.50 Downloading... 80.6 %
 0:05.50 Downloading... 85.1 %
 0:05.50 Downloading... 90.4 %
 0:05.50 Downloading... 95.7 %
 0:05.50 Downloading... 100.0 %
 0:05.51 Downloaded artifact to /home/ato/.mozbuild/toolchains/28956e078ee9bba8-cbindgen.tar.xz
 0:05.52 rm tree: /home/ato/.mozbuild/cbindgen
 0:05.52 untarring "/home/ato/.mozbuild/cbindgen.tar.xz"
 0:02.48 Could not find artifacts for a toolchain build named `linux64-clang-tidy`. 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:

CalledProcessError: Command '['/usr/bin/python2.7', u'/home/ato/src/gecko/mach', u'artifact', u'toolchain', u'--from-build', u'linux64-clang-tidy']' returned non-zero exit status 1

  File "/home/ato/src/gecko/python/mozboot/mozboot/mach_commands.py", line 44, in bootstrap
    bootstrapper.bootstrap()
  File "/home/ato/src/gecko/python/mozboot/mozboot/bootstrap.py", line gi497, in bootstrap
    checkout_root)
  File "/home/ato/src/gecko/python/mozboot/mozboot/bootstrap.py", line 374, in maybe_install_private_packages_or_exit
    self.instance.ensure_clang_static_analysis_package(state_dir, checkout_root)
  File "/home/ato/src/gecko/python/mozboot/mozboot/linux_common.py", line 84, in ensure_clang_static_analysis_package
    state_dir, checkout_root, static_analysis.LINUX_CLANG_TIDY)
  File "/home/ato/src/gecko/python/mozboot/mozboot/base.py", line 298, in install_toolchain_static_analysis
    self.install_toolchain_artifact(clang_tools_path, checkout_root, toolchain_job)
  File "/home/ato/src/gecko/python/mozboot/mozboot/base.py", line 319, in install_toolchain_artifact
    subprocess.check_call(cmd, cwd=state_dir)
  File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
% git st
On branch central
Your branch is up to date with 'mozilla/central'.

nothing to commit, working tree clean
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.