[openstack-dev] [Horizon][stable] Horizon kilo gate fails due to testrepository dependency

Itxaka Serrano Garcia itxaka at redhat.com
Mon Jan 4 11:11:05 UTC 2016



Same issue on django_openstack_auth, kilo branch:

https://review.openstack.org/#/c/262778/


And same error too [0]:

2016-01-04 10:47:17.621 | Obtaining file:///opt/stack/new/keystone
2016-01-04 10:47:18.251 |     Complete output from command python
setup.py egg_info:
2016-01-04 10:47:18.251 |     ERROR:root:Error parsing
2016-01-04 10:47:18.251 |     Traceback (most recent call last):
2016-01-04 10:47:18.251 |       File
"/usr/local/lib/python2.7/dist-packages/pbr/core.py", line 109, in pbr
2016-01-04 10:47:18.251 |         attrs = util.cfg_to_args(path)
2016-01-04 10:47:18.251 |       File
"/usr/local/lib/python2.7/dist-packages/pbr/util.py", line 261, in
cfg_to_args
2016-01-04 10:47:18.251 |         wrap_commands(kwargs)
2016-01-04 10:47:18.251 |       File
"/usr/local/lib/python2.7/dist-packages/pbr/util.py", line 482, in
wrap_commands
2016-01-04 10:47:18.251 |         for cmd, _ in dist.get_command_list():
2016-01-04 10:47:18.251 |       File
"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 446,
in get_command_list
2016-01-04 10:47:18.251 |         cmdclass = ep.resolve()
2016-01-04 10:47:18.251 |       File
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
2386, in resolve
2016-01-04 10:47:18.251 |         module = __import__(self.module_name,
fromlist=['__name__'], level=0)
2016-01-04 10:47:18.251 |       File
"/usr/local/lib/python2.7/dist-packages/pbr/testr_command.py", line 47,
in <module>
2016-01-04 10:47:18.251 |         from testrepository import commands
2016-01-04 10:47:18.251 |     ImportError: No module named testrepository
2016-01-04 10:47:18.251 |     error in setup command: Error parsing
/opt/stack/new/keystone/setup.cfg: ImportError: No module named
testrepository




[0]
http://logs.openstack.org/78/262778/2/check/gate-tempest-dsvm-neutron-src-django_openstack_auth/01220e8/logs/devstacklog.txt.gz


On 01/04/2016 09:13 AM, Matthias Runge wrote:
> Hello,
>
> did we had a recent change in stable tests for Kilo?
>
> Horizon tests for kilo are now failing due to a missing dependency to
> testrepository. Horizon never used testrepository (until recently,
> where I added testr support, but only in mitaka branch).
>
> As a test, I added a test dependency for kilo branch, but that fails
> somewhere else due to missing testrepository:
>
> https://review.openstack.org/#/c/262296/
>
> The error is in [1] somewhere at the bottom:
>
> É5-12-30 09:53:27.883 | Obtaining file:///opt/stack/new/keystone
> 2015-12-30 09:53:28.504 |     Complete output from command python
> setup.py egg_info:
> 2015-12-30 09:53:28.504 |     ERROR:root:Error parsing
> 2015-12-30 09:53:28.504 |     Traceback (most recent call last):
> 2015-12-30 09:53:28.504 |       File
> "/usr/local/lib/python2.7/dist-packages/pbr/core.py", line 109, in pbr
> 2015-12-30 09:53:28.504 |         attrs = util.cfg_to_args(path)
> 2015-12-30 09:53:28.504 |       File
> "/usr/local/lib/python2.7/dist-packages/pbr/util.py", line 261, in
> cfg_to_args
> 2015-12-30 09:53:28.504 |         wrap_commands(kwargs)
> 2015-12-30 09:53:28.504 |       File
> "/usr/local/lib/python2.7/dist-packages/pbr/util.py", line 482, in
> wrap_commands
> 2015-12-30 09:53:28.504 |         for cmd, _ in dist.get_command_list():
> 2015-12-30 09:53:28.504 |       File
> "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 446,
> in get_command_list
> 2015-12-30 09:53:28.504 |         cmdclass = ep.resolve()
> 2015-12-30 09:53:28.505 |       File
> "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
> 2386, in resolve
> 2015-12-30 09:53:28.505 |         module = __import__(self.module_name,
> fromlist=['__name__'], level=0)
> 2015-12-30 09:53:28.505 |       File
> "/usr/local/lib/python2.7/dist-packages/pbr/testr_command.py", line 47,
> in <module>
> 2015-12-30 09:53:28.505 |         from testrepository import commands
> 2015-12-30 09:53:28.505 |     ImportError: No module named
> testrepository
> 2015-12-30 09:53:28.505 |     error in setup command: Error parsing
> /opt/stack/new/keystone/setup.cfg: ImportError: No module named
> testrepository
>
> Any suggestions here?
>
> [1]
> http://logs.openstack.org/96/262296/2/check/gate-tempest-dsvm-full/e47e5c6/logs/devstacklog.txt.gz
>





More information about the OpenStack-dev mailing list