This is odd indeed. pbr is not meant to have a dep on testrepository, and you can see in https://git.openstack.org/cgit/openstack-dev/pbr/tree/pbr/testr_command.py#n150 that we only access it if it is installed.... and we use latest pbr everywhere because otherwise we can't deal with ecosystem changes to e.g. setuptools or pip.
http://logs.openstack.org/96/262296/2/check/gate-tempest-dsvm-full/e47e5c6/logs/devstacklog.txt.gz#_2015-12-30_09_53_14_200 shows that the latest pbr (1.8.1 which would work) is being downgraded. Thats when the problem is introduced. However, kilo has that special thing where pbr is capped because a lot of dependencies error due to version disagreements (not API breaks - pbr is compatible!), so this is expected :(. I'm not sure what has caused testrepository to not be installed in this scenario, but thats what I'd be looking at. -Rob On 5 January 2016 at 03:41, Ihar Hrachyshka <ihrac...@redhat.com> wrote: > UPD: Turns out it breaks Liberty gate too, f.e. for Neutron. It’s > interesting that it did not break the thing for e.g. Neutron master. > > > Matthias Runge <mru...@redhat.com> 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 >> -- >> Matthias Runge <mru...@redhat.com> >> >> __________________________________________________________________________ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Robert Collins <rbtcoll...@hpe.com> Distinguished Technologist HP Converged Cloud __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev