Skip to content

Instantly share code, notes, and snippets.

@nitay
Created May 18, 2016 18:48
Show Gist options
  • Save nitay/fd7aaf5fc9e25377a08186e6a651d318 to your computer and use it in GitHub Desktop.
Save nitay/fd7aaf5fc9e25377a08186e6a651d318 to your computer and use it in GitHub Desktop.
{ 'address': BuildFileAddress(BuildFile(sorm-common/src/test/scala/co/actioniq/sorm/common/BUILD, FileSystemProjectTree(/Users/nitay/code/aiq)), common),
'build_graph': <pants.build_graph.mutable_build_graph.MutableBuildGraph object at 0x10c776790>,
'dependencies': [ '3rdparty/com/h2database:h2',
'3rdparty/ch/qos/logback:logback-classic',
'3rdparty/org/slf4j:redirects',
'3rdparty/org/specs2',
'config/src/test/resources'],
'name': 'common',
'sources': <pants.source.wrapped_globs.FilesetWithSpec object at 0x10df6ccd0>,
u'type_alias': 'aiq_junit_tests'}
Traceback (most recent call last):
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/mutable_build_graph.py", line 206, in _target_addressable_to_target
target = addressable.instantiate(build_graph=self, address=address)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/target_addressable.py", line 83, in instantiate
**self._kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/addressable.py", line 99, in instantiate
return self.addressed_type(*args, **kwargs)
File "/Users/nitay/code/aiq/pants-plugins/src/python/aiq/register.py", line 19, in __init__
super(JavaTests, self).__init__(**kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/backend/jvm/targets/jvm_target.py", line 87, in __init__
**kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/target.py", line 368, in __init__
self.UnknownArguments.check(self, kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/target.py", line 165, in check
cls.global_instance().check_unknown(target, kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/target.py", line 183, in check_unknown
args=''.join('\n {} = {}'.format(key, value) for key, value in unknown_args.items())
Error: Invalid target sorm-common/src/test/scala/co/actioniq/sorm/common:common: AiqJavaTests received unknown arguments:
dependencies = ['3rdparty/com/h2database:h2', '3rdparty/ch/qos/logback:logback-classic', '3rdparty/org/slf4j:redirects', '3rdparty/org/specs2', 'config/src/test/resources']
ERROR] Failed to instantiate Target with type <class 'aiq.register.AiqJavaTests'> with name "common" at address BuildFileAddress(BuildFile(sorm-common/src/test/scala/co/actioniq/sorm/common/BUILD, FileSystemProjectTree(/Users/nitay/code/aiq)), common)
Traceback (most recent call last):
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/mutable_build_graph.py", line 206, in _target_addressable_to_target
target = addressable.instantiate(build_graph=self, address=address)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/target_addressable.py", line 83, in instantiate
**self._kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/addressable.py", line 99, in instantiate
return self.addressed_type(*args, **kwargs)
File "/Users/nitay/code/aiq/pants-plugins/src/python/aiq/register.py", line 19, in __init__
super(JavaTests, self).__init__(**kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/backend/jvm/targets/jvm_target.py", line 87, in __init__
**kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/target.py", line 368, in __init__
self.UnknownArguments.check(self, kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/target.py", line 165, in check
cls.global_instance().check_unknown(target, kwargs)
File "/Users/nitay/.cache/pants/setup/bootstrap/pants.Amb5Wx/install/lib/python2.7/site-packages/pants/build_graph/target.py", line 183, in check_unknown
args=''.join('\n {} = {}'.format(key, value) for key, value in unknown_args.items())
Error: Invalid target sorm-common/src/test/scala/co/actioniq/sorm/common:common: AiqJavaTests received unknown arguments:
dependencies = ['3rdparty/com/h2database:h2', '3rdparty/ch/qos/logback:logback-classic', '3rdparty/org/slf4j:redirects', '3rdparty/org/specs2', 'config/src/test/resources']
Exception caught: (<class 'pants.build_graph.target.Error'>)
Exception message: Invalid target sorm-common/src/test/scala/co/actioniq/sorm/common:common: AiqJavaTests received unknown arguments:
dependencies = ['3rdparty/com/h2database:h2', '3rdparty/ch/qos/logback:logback-classic', '3rdparty/org/slf4j:redirects', '3rdparty/org/specs2', 'config/src/test/resources']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment