no module testrepository error
Bug #1530026 reported by
Rico Lin
This bug report is a duplicate of:
Bug #1375048: setup.py --help-commands fails in env without testrepository.
Edit
Remove
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Invalid
|
Undecided
|
Unassigned | ||
devstack |
New
|
Undecided
|
Marc Koderer | ||
tempest |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In [1] gate-tempest-
and I found this error [2].
appears that testrepository did not get installed.
[1] https:/
[2] http://
description: | updated |
Changed in tempest: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in tempest: | |
importance: | Critical → Undecided |
To post a comment you must log in.
This seems to be a missing PBR requirement.
Full stack trace: lib/python2. 7/dist- packages/ pbr/core. py", line 109, in pbr to_args( path) lib/python2. 7/dist- packages/ pbr/util. py", line 261, in cfg_to_args kwargs) lib/python2. 7/dist- packages/ pbr/util. py", line 482, in wrap_commands command_ list(): lib/python2. 7/dist- packages/ setuptools/ dist.py" , line 446, in get_command_list lib/python2. 7/dist- packages/ pkg_resources/ __init_ _.py", line 2386, in resolve _(self. module_ name, fromlist= ['__name_ _'], level=0) lib/python2. 7/dist- packages/ pbr/testr_ command. py", line 47, in <module> new/keystone/ setup.cfg: ImportError: No module named testrepository ------- ------- ------- ------- ----- new/keystone
2015-12-29 17:09:24.767 | ERROR:root:Error parsing
2015-12-29 17:09:24.767 | Traceback (most recent call last):
2015-12-29 17:09:24.767 | File "/usr/local/
2015-12-29 17:09:24.767 | attrs = util.cfg_
2015-12-29 17:09:24.767 | File "/usr/local/
2015-12-29 17:09:24.767 | wrap_commands(
2015-12-29 17:09:24.767 | File "/usr/local/
2015-12-29 17:09:24.767 | for cmd, _ in dist.get_
2015-12-29 17:09:24.767 | File "/usr/local/
2015-12-29 17:09:24.767 | cmdclass = ep.resolve()
2015-12-29 17:09:24.767 | File "/usr/local/
2015-12-29 17:09:24.767 | module = __import_
2015-12-29 17:09:24.767 | File "/usr/local/
2015-12-29 17:09:24.767 | from testrepository import commands
2015-12-29 17:09:24.767 | ImportError: No module named testrepository
2015-12-29 17:09:24.767 | error in setup command: Error parsing /opt/stack/
2015-12-29 17:09:24.767 |
2015-12-29 17:09:24.767 | -------
2015-12-29 17:09:24.767 | Command "python setup.py egg_info" failed with error code 1 in /opt/stack/