happy-kitchen-89482
01/06/2019, 1:59 AMbuild-support/bin/ci.sh
with no arguments) in the docker container, but am hitting this error:
info: installing component 'rust-src'
info: downloading component 'clippy'
info: installing component 'clippy'
/travis/home/.cache/pants/rust/cargo/bin/cargo-ensure-installed: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /travis/home/.cache/pants/rust/cargo/bin/cargo-ensure-installed)
/travis/home/.cache/pants/rust/cargo/bin/cargo-ensure-installed: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /travis/home/.cache/pants/rust/cargo/bin/cargo-ensure-installed)
/travis/home/.cache/pants/rust/cargo/bin/cargo-ensure-installed: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /travis/home/.cache/pants/rust/cargo/bin/cargo-ensure-installed)
Failed to build native engine.
+ die 'Failed to bootstrap pants.'
+ (( 1 > 0 ))
+ log '\n\x1b[31mFailed to bootstrap pants.\x1b[0m'
+ echo -e '\n\x1b[31mFailed to bootstrap pants.\x1b[0m'
Failed to bootstrap pants.
aloof-angle-91616
01/06/2019, 2:07 AMhappy-kitchen-89482
01/06/2019, 9:00 AMci.sh
but not when running release.sh -n
average-vr-56795
01/06/2019, 11:11 AMhappy-kitchen-89482
01/06/2019, 6:28 PMaloof-angle-91616
01/06/2019, 6:30 PMhappy-kitchen-89482
01/06/2019, 6:31 PMaloof-angle-91616
01/06/2019, 6:40 PMrelease.sh
, it looks like the native engine bootstrapping is implicitly occurring as a result of running ./pants -q setup-py ...
in build_and_print_packages()
in packages.py
when we build the pantsbuild.pants package via build_pants_packages()
in release.sh
? is it being bootstrapped somewhere else first?happy-kitchen-89482
01/06/2019, 7:24 PM./pants --version
call here: https://github.com/pantsbuild/pants/blob/master/.travis.yml#L196aloof-angle-91616
01/06/2019, 7:24 PMhappy-kitchen-89482
01/06/2019, 7:25 PM19:09:30 00:10 [pythonstyle]
/travis/workdir/build-support/pants_dev_deps.venv/bin/python2.7: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
aloof-angle-91616
01/06/2019, 7:27 PMLD_LIBRARY_PATH
happy-kitchen-89482
01/06/2019, 7:29 PMaloof-angle-91616
01/06/2019, 7:30 PMhappy-kitchen-89482
01/06/2019, 7:31 PMaloof-angle-91616
01/06/2019, 7:31 PMhappy-kitchen-89482
01/06/2019, 7:33 PMaloof-angle-91616
01/06/2019, 7:33 PMbootstrap_compile_args=(
lint.python-eval
--transitive
)
libpython.so.1.0
error also needs to be fixed -- looking at 5ad90920f5b282f28a3f66ee15b44599836b8cea
from 2015 which introduced linting for the bootstrapped binary in ci.sh
john notes that it adds ~2 minutes to each shard, which sounds like the thing we're trying to overcome here. not sure if i'm jumping to conclusionsThe python-eval checks add ~2 minutes to each ci shard, so ci is
restructured to be more fine grained in order to keep ci times ~6
minutes per shard.
a simpler timelibpython.so.1.0
error, especially if it shows up in non-bootstrap shards, or perhaps just fix it todaybootstrap_compile_args
entirely, either in a separate or the same PR (since we have a special lint shard now), and i will make an issue or PR about pythonstyle failing in the docker imagehappy-kitchen-89482
01/06/2019, 7:56 PMaloof-angle-91616
01/06/2019, 8:01 PM