Running: tox -epy27 neutron.tests.unit.test_security_groups_rpc yeilds several failed tests with:
Traceback (most recent call last):
File "/opt/stack/neutron/neutron/tests/unit/test_security_groups_rpc.py", line 1117, in setUp
cfg.CONF.register_opts(agent_opts, "AGENT")
File "/opt/stack/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1540, in __inner
result = f(self, *args, **kwargs)
File "/opt/stack/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1673, in register_opts
self.register_opt(opt, group, clear_cache=False)
File "/opt/stack/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1544, in __inner
return f(self, *args, **kwargs)
File "/opt/stack/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1660, in register_opt
return group._register_opt(opt, cli)
File "/opt/stack/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1116, in _register_opt
if _is_opt_registered(self._opts, opt):
File "/opt/stack/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 486, in _is_opt_registered
raise DuplicateOptError(opt.name)
DuplicateOptError: duplicate option: root_helper
as root_helper is alerady registered
Fix proposed to branch: master /review. openstack. org/38566
Review: https:/