-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29770/#review67718
-----------------------------------------------------------
Master (5ce076b) 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 88, in run
rv = self._run_tests([target], stdout, stderr)
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 295, in _test_runner
builder = chroot.dump()
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pants/backend/python/python_chroot.py",
line 191, in dump
conn_timeout=self._conn_timeout)
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pants/backend/python/resolver.py",
line 100, in resolve_multi
platform=platform)
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pex/resolver.py",
line 110, in resolve
new_requirements.update(requires(highest_package, requirement))
File
"/home/jenkins/jenkins-slave/workspace/AuroraBot/build-support/pants.venv/lib/python2.7/site-packages/pex/resolver.py",
line 84, in requires
raise Untranslateable('Package %s is not translateable.' % package)
Untranslateable: Package
SourcePackage(u'https://pypi.python.org/packages/source/t/twitter.common.zookeeper/twitter.common.zookeeper-0.3.2.tar.gz#md5=51ea3bdec7018b96a54d3ca846549371')
is not translateable.
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. 12, 2015, 6:56 p.m., Joshua Cohen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29770/
> -----------------------------------------------------------
>
> (Updated Jan. 12, 2015, 6:56 p.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
> -----
>
> .auroraversion e8ff9d45c6326c28dae836a1409ec0c9b00fd75a
> .auroraversion PRE-CREATION
> BUILD 992f6750a97a4f0224dbfb8d4ecc5abeb976af69
> examples/vagrant/provision-dev-cluster.sh
> 490a8194424d4adddc2d9b3a7a7f0e579bea6c06
> src/main/python/apache/aurora/client/cli/BUILD
> c7ca61dc5ffc18c95820d38d55228ffad58412ea
> src/main/python/apache/aurora/client/cli/__init__.py
> 29998833b50cca2c10eb5c248de9ee1cb60c7a5c
> src/main/resources/apache/aurora/client/cli/.auroraversion PRE-CREATION
> src/main/resources/apache/aurora/client/cli/BUILD PRE-CREATION
> 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
> -------
>
> Ran on my (mac) laptop and within the vagrant image:
> ./pants build src/test/python:all
> ./gradlew clean build
>
> Also ran e2e tests:
>
> bash src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
>
>
> Thanks,
>
> Joshua Cohen
>
>