You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2014/06/24 23:18:24 UTC
[jira] [Created] (AURORA-550) Python code coverage fails with new
pants
Maxim Khutornenko created AURORA-550:
----------------------------------------
Summary: Python code coverage fails with new pants
Key: AURORA-550
URL: https://issues.apache.org/jira/browse/AURORA-550
Project: Aurora
Issue Type: Bug
Components: Client
Reporter: Maxim Khutornenko
{noformat}
$ PANTS_PY_COVERAGE=1 ./pants src/test/python/apache/aurora/client/api:all
Failed to run test!
Traceback (most recent call last):
File "/Users/mkhutornenko/workspace3/aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.7.egg/pants/backend/python/test_builder.py", line 186, in _run_python_tests
coverage_rc, args = self.cov_setup(targets)
File "/Users/mkhutornenko/workspace3/aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.7.egg/pants/backend/python/test_builder.py", line 140, in cov_setup
cp = generate_coverage_config(targets)
File "/Users/mkhutornenko/workspace3/aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.7.egg/pants/backend/python/test_builder.py", line 70, in generate_coverage_config
relpath = os.path.join(os.path.dirname(target.address.buildfile.relpath), target.name)
AttributeError: 'BuildFileAddress' object has no attribute 'buildfile'
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)