[
https://issues.apache.org/jira/browse/AURORA-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031505#comment-14031505
]
Joe Smith commented on AURORA-529:
----------------------------------
Well this gets us further along:
{noformat}
$ git diff
diff --git a/BUILD b/BUILD
index c31cb67..24be125 100644
--- a/BUILD
+++ b/BUILD
@@ -12,11 +12,11 @@
# limitations under the License.
#
-source_root('src/main/python', Page, PythonBinary, PythonLibrary)
-source_root('src/main/thrift', Page, PythonLibrary, PythonThriftLibrary)
+source_root('src/main/python', page, python_binary, python_library)
+source_root('src/main/thrift', python_library, python_thrift_library)
# TODO(wickman) get rid of PythonLibrary from src/test/python:
# src/test/python/apache/aurora/client/BUILD:python_library(
# src/test/python/apache/aurora/client/cli/BUILD:python_library(
# src/test/python/apache/aurora/client/commands/BUILD:python_library(
-source_root('src/test/python', Page, PythonTests, PythonTestSuite,
PythonLibrary)
+source_root('src/test/python', python_tests, python_test_suite, python_library)
{noformat}
Next issue to triage is:
{noformat}
Problem parsing BUILD target
BuildFileAddress(src/test/python/apache/aurora/admin/BUILD, host_maintenance):
Traceback (most recent call last):
File
"/Users/joe/Development/incubator-aurora/build-support/pants.pex/pants/backend/python/commands/build.py",
line 86, in __init__
self.build_file_parser.inject_address_closure_into_build_graph(address,
self.build_graph)
File
"/Users/joe/Development/incubator-aurora/build-support/pants.pex/pants/base/build_file_parser.py",
line 265, in inject_address_closure_into_build_graph
self._populate_target_proxy_transitive_closure_for_address(address)
File
"/Users/joe/Development/incubator-aurora/build-support/pants.pex/pants/base/build_file_parser.py",
line 356, in _populate_target_proxy_transitive_closure_for_address
addresses_already_closed)
File
"/Users/joe/Development/incubator-aurora/build-support/pants.pex/pants/base/build_file_parser.py",
line 348, in _populate_target_proxy_transitive_closure_for_address
build_file=address.build_file))
ValueError: BuildFileAddress(3rdparty/python/BUILD, mock) from spec
3rdparty/python:mock was not found in BUILD file 3rdparty/python/BUILD.
{noformat}
> pants is broken
> ---------------
>
> Key: AURORA-529
> URL: https://issues.apache.org/jira/browse/AURORA-529
> Project: Aurora
> Issue Type: Bug
> Reporter: Joe Smith
> Assignee: Joe Smith
> Priority: Blocker
>
> {noformat}
> [tw-mbp13-jsmith aurora (master)]$ ./pants
> ./src/test/python/apache/aurora/admin:all
> Build operating on targets:
> OrderedSet([PythonTestSuite(src/test/python/apache/aurora/admin/BUILD:all)])
> Failed to run test!
> Traceback (most recent call last):
> File
> "/Users/jsmith/.pex/install/twitter.pants-0.0.23-py2-none-any.whl.acd44f4c0cf3576608ff18b2adafeff6f0b8f65f/twitter.pants-0.0.23-py2-none-any.whl/twitter/pants/python/test_builder.py",
> line 204, in _run_python_test
> builder = chroot.dump()
> File
> "/Users/jsmith/.pex/install/twitter.pants-0.0.23-py2-none-any.whl.acd44f4c0cf3576608ff18b2adafeff6f0b8f65f/twitter.pants-0.0.23-py2-none-any.whl/twitter/pants/python/python_chroot.py",
> line 201, in dump
> platforms=platforms)
> File
> "/Users/jsmith/.pex/install/twitter.pants-0.0.23-py2-none-any.whl.acd44f4c0cf3576608ff18b2adafeff6f0b8f65f/twitter.pants-0.0.23-py2-none-any.whl/twitter/pants/python/resolver.py",
> line 109, in resolve_multi
> platform=platform)
> File
> "/Users/jsmith/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.966710ef4887d077b27ee1d9cc3725372604d0ef/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/resolver.py",
> line 98, in resolve
> raise Unsatisfiable('Cannot satisfy requirements: %s' %
> requirement_set[requirement.key])
> Unsatisfiable: Cannot satisfy requirements:
> [PythonRequirement(coverage==3.6b1), Requirement.parse('coverage>=3.6')]
> src.test.python.apache.aurora.admin.host_maintenance
> ..... EXCEPTION
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)