enough-analyst-54434
02/05/2016, 8:13 PMenough-analyst-54434
02/05/2016, 8:13 PMbored-art-40741
02/05/2016, 8:13 PMenough-analyst-54434
02/05/2016, 8:14 PMenough-analyst-54434
02/05/2016, 8:14 PMbored-art-40741
02/05/2016, 8:14 PMbored-art-40741
02/05/2016, 8:14 PMset -xe
export CXX=g++
export PANTS_BOOTSTRAPDIR="${WORKSPACE}/.cache/pants"
export PANTS_IVY_CACHE_DIR="${WORKSPACE}/.cache/.ivy2/pants"
uname -a
java -version
git clean -fdx
mkdir -p ${PANTS_BOOTSTRAPDIR}/stats
mkdir -p ${PANTS_IVY_CACHE_DIR}
mkdir dist
./build-support/bin/ci.sh -xfkmsrjlpn -i ${SHARD}/6 'Python integration tests for pants - shard ${SHARD}'
bored-art-40741
02/05/2016, 8:14 PMPANTS_BOOTSTRAPDIR
or PANTS_IVY_CACHE_DIR
enough-analyst-54434
02/05/2016, 8:15 PMwitty-crayon-22786
02/05/2016, 8:15 PMenough-analyst-54434
02/05/2016, 8:15 PMFile "/jenkins/workspace/debug.pants_ci.integration_tests/SHARD/3/build-support/pants_dev_deps.venv/local/lib/python2.7/site-packages/pex/compiler.py", line 86, in compile
stderr=subprocess.PIPE)
File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
Exception message: [Errno 2] No such file or directory
enough-analyst-54434
02/05/2016, 8:15 PMbored-art-40741
02/05/2016, 8:15 PMbored-art-40741
02/05/2016, 8:16 PMdef __init__(self, python_setup, python_repos, logger=None):
self._python_setup = python_setup
self._python_repos = python_repos
self._cache_dir = python_setup.interpreter_cache_dir
bored-art-40741
02/05/2016, 8:16 PM@property
def interpreter_cache_dir(self):
return (self.get_options().interpreter_cache_dir or
os.path.join(self.scratch_dir, 'interpreters'))
witty-crayon-22786
02/05/2016, 8:16 PMbored-art-40741
02/05/2016, 8:16 PM[python-setup]
# We only support pants running under 2.7 for now with 3.3+ support to be added later.
# Any example or test targets that are meant to test interpreters outside pants own
# acceptable set should specify an explicit compatibility constraint.
interpreter_requirement: CPython>=2.7,<3
interpreter_cache_dir: %(pants_bootstrapdir)s/python_cache/interpreters
bored-art-40741
02/05/2016, 8:16 PMbored-art-40741
02/05/2016, 8:16 PMwitty-crayon-22786
02/05/2016, 8:16 PM./pants help
or ./pants options
should show you.bored-art-40741
02/05/2016, 8:18 PMdef get_pants_cachedir():
"""Return the pants global cache directory."""
# Follow the unix XDB base spec: <http://standards.freedesktop.org/basedir-spec/latest/index.html>.
cache_home = os.environ.get('XDG_CACHE_HOME')
if not cache_home:
cache_home = '~/.cache'
return os.path.expanduser(os.path.join(cache_home, 'pants'))
bored-art-40741
02/05/2016, 8:18 PMbored-art-40741
02/05/2016, 8:18 PMbored-art-40741
02/05/2016, 8:19 PMbored-art-40741
02/05/2016, 8:19 PMbored-art-40741
02/05/2016, 8:21 PMtests/python/pants_test/backend/codegen/tasks/test_protobuf_gen.py:25: self.set_options(pants_bootstrapdir='~/.cache/pants',
tests/python/pants_test/backend/jvm/tasks/test_jar_create.py:44: self.set_options(compressed=False, pants_bootstrapdir='~/.cache/pants', max_subprocess_args=100)
bored-art-40741
02/05/2016, 8:21 PMbored-art-40741
02/05/2016, 8:22 PMred-cpu-25099
02/05/2016, 8:26 PMbored-art-40741
02/05/2016, 8:26 PM