-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29770/#review67565
-----------------------------------------------------------
Master (1f907da) is red with this patch.
./build-support/jenkins/build.sh
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pants/backend/python/test_builder.py",
line 316, in _run_tests
with self._test_runner(targets, stdout, stderr) as (pex, test_args):
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pants/backend/python/test_builder.py",
line 296, in _test_runner
builder.freeze()
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pex/pex_builder.py",
line 222, in freeze
self._prepare_code_hash()
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pex/pex_builder.py",
line 130, in _prepare_code_hash
self._pex_info.code_hash = CacheHelper.pex_hash(self._chroot.path())
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pex/util.py",
line 111, in pex_hash
return cls._compute_hash(names, stream_factory)
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pex/util.py",
line 84, in _compute_hash
with contextlib.closing(stream_factory(name)) as fp:
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pex/util.py",
line 110, in stream_factory
return open(os.path.join(d, name), 'rb')
IOError: [Errno 2] No such file or directory:
'/tmp/user/10021/tmpWv_hxT/apache/aurora/client/cli/.auroraversion'
Usage:
pants build (options) [spec] (build args)
pants build (options) [spec]... -- (build args)
Options:
--version show program's version number and exit
--no-pantsrc Specifies that pantsrc files should be ignored.
--log-exit Log an exit message on success or failure.
-t CONN_TIMEOUT, --timeout=CONN_TIMEOUT
Number of seconds to wait for http connections.
-i INTERPRETERS, --interpreter=INTERPRETERS
Constrain what Python interpreters to use. Uses
Requirement format from pkg_resources, e.g.
'CPython>=2.6,<3' or 'PyPy'. By default, no
constraints are used. Multiple constraints may be
added. They will be ORed together.
-v, --verbose Show verbose output.
-f, --fast Run tests in a single chroot.
Builds the specified Python target(s). Use ./pants goal for JVM and other
targets.
I will refresh this build result if you post a review containing "@ReviewBot
retry"
- Aurora ReviewBot
On Jan. 10, 2015, 12:44 a.m., Joshua Cohen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29770/
> -----------------------------------------------------------
>
> (Updated Jan. 10, 2015, 12:44 a.m.)
>
>
> Review request for Aurora, Kevin Sweeney and Bill Farner.
>
>
> Bugs: AURORA-970 and AURORA-989
> https://issues.apache.org/jira/browse/AURORA-970
> https://issues.apache.org/jira/browse/AURORA-989
>
>
> Repository: aurora
>
>
> Description
> -------
>
> Add support for --version flag to client.
>
> Right now it just prints out the version from .auroraversion. We no longer
> print out the build sha/date from PEX_INFO.
>
> The one wonky thing here is that in order to read .auroraversion from the
> client, I'm symlinking it under src/main/aurora/apache/client/cli. Open to
> better solutions if anyone can think of something.
>
>
> Diffs
> -----
>
> examples/vagrant/provision-dev-cluster.sh
> 490a8194424d4adddc2d9b3a7a7f0e579bea6c06
> src/main/python/apache/aurora/client/cli/.auroraversion PRE-CREATION
> src/main/python/apache/aurora/client/cli/BUILD
> c7ca61dc5ffc18c95820d38d55228ffad58412ea
> src/main/python/apache/aurora/client/cli/__init__.py
> 29998833b50cca2c10eb5c248de9ee1cb60c7a5c
> src/test/python/apache/aurora/client/cli/BUILD
> 407cda9a374c37ec3905e09c2a51f3737a335eec
> src/test/python/apache/aurora/client/cli/test_version.py PRE-CREATION
> src/test/sh/org/apache/aurora/e2e/test_common.sh
> 31646425233470b5f87ab50ef4504264f235f48a
> src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
> 578662ccd1735ebf500d066b3cc17b30f635c15f
>
> Diff: https://reviews.apache.org/r/29770/diff/
>
>
> Testing
> -------
>
> ./pants build src/test/python/apache/aurora/client::
>
>
> Thanks,
>
> Joshua Cohen
>
>