test fail in neutron.tests.unit.test_security_groups_rpc

Bug #1204700 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Aaron Rosen

Bug Description

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

Tags: sg-fw
Aaron Rosen (arosen)
description: updated
Changed in neutron:
assignee: nobody → Aaron Rosen (arosen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/38566

Changed in neutron:
status: New → In Progress
Revision history for this message
yong sheng gong (gongysh) wrote :

why doesn't jenkin gate it?

tags: added: sg-fw
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/38566
Committed: http://github.com/openstack/neutron/commit/cce692dc528290dda19ef70b9bb6e2dab5018abd
Submitter: Jenkins
Branch: master

commit cce692dc528290dda19ef70b9bb6e2dab5018abd
Author: Aaron Rosen <email address hidden>
Date: Wed Jul 24 16:35:24 2013 -0700

    Fix test fail in neutron.tests.unit.test_security_groups_rpc

    If running:

    tox -epy27 neutron.tests.unit.test_security_groups_rpc

    Tests fail with: DuplicateOptError: duplicate option: root_helper
    as this is already registered and can be removed.

    Fixes bug: 1204700

    Change-Id: I8b591357988c5546ae55b6531cf1786b7eb84e20

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → havana-3
Changed in neutron:
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.