Code review comment for lp:~le-chi-thu/lava-test/out-of-tree-tests

Revision history for this message
Paul Larson (pwlars) wrote :

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.

review: Needs Information

« Back to merge proposal