Interesting, this seems to break running some, but not all commands from the checkout branch:
plars@plars-t500:/tmp/lava/out-of-tree-tests/bin$ ./lava-test register-test file:///tmp/lava/out-of-tree-tests/examples/stream.json
plars@plars-t500:/tmp/lava/out-of-tree-tests/bin$ ./lava-test list-tests
Traceback (most recent call last):
File "./lava-test", line 30, in <module>
exit_code = abrek.main.main(sys.argv)
File "/tmp/lava/out-of-tree-tests/abrek/main.py", line 28, in main
return cmd_func.main(argv)
File "/tmp/lava/out-of-tree-tests/abrek/command.py", line 66, in main
return self.run()
File "/tmp/lava/out-of-tree-tests/abrek/builtins.py", line 151, in run
for provider in TestLoader().get_providers():
File "/tmp/lava/out-of-tree-tests/abrek/testdef.py", line 411, in get_providers
entry_point = pkg_resources.EntryPoint(entry_point_name, module_name, attrs, dist=pkg_resources.get_distribution("lava-test"))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 298, in get_distribution
if isinstance(dist,Requirement): dist = get_provider(dist)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 177, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 654, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 552, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: lava-test
You may not have noticed, but we removed the install_requires on linaro-dashboard-bundle. It's an optional piece anyway. Still seems to fail for me even after removing the dependency, but haven't looked into why yet.
Interesting, this seems to break running some, but not all commands from the checkout branch:
plars@plars- t500:/tmp/ lava/out- of-tree- tests/bin$ ./lava-test register-test file:// /tmp/lava/ out-of- tree-tests/ examples/ stream. json t500:/tmp/ lava/out- of-tree- tests/bin$ ./lava-test list-tests main(sys. argv) out-of- tree-tests/ abrek/main. py", line 28, in main out-of- tree-tests/ abrek/command. py", line 66, in main out-of- tree-tests/ abrek/builtins. py", line 151, in run ).get_providers (): out-of- tree-tests/ abrek/testdef. py", line 411, in get_providers EntryPoint( entry_point_ name, module_name, attrs, dist=pkg_ resources. get_distributio n("lava- test")) python2. 7/dist- packages/ pkg_resources. py", line 298, in get_distribution dist,Requiremen t): dist = get_provider(dist) python2. 7/dist- packages/ pkg_resources. py", line 177, in get_provider set.find( moduleOrReq) or require( str(moduleOrReq ))[0] python2. 7/dist- packages/ pkg_resources. py", line 654, in require parse_requireme nts(requirement s)) python2. 7/dist- packages/ pkg_resources. py", line 552, in resolve Found(req) DistributionNot Found: lava-test
plars@plars-
Traceback (most recent call last):
File "./lava-test", line 30, in <module>
exit_code = abrek.main.
File "/tmp/lava/
return cmd_func.main(argv)
File "/tmp/lava/
return self.run()
File "/tmp/lava/
for provider in TestLoader(
File "/tmp/lava/
entry_point = pkg_resources.
File "/usr/lib/
if isinstance(
File "/usr/lib/
return working_
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
You may not have noticed, but we removed the install_requires on linaro- dashboard- bundle. It's an optional piece anyway. Still seems to fail for me even after removing the dependency, but haven't looked into why yet.