spurious UT failure 'L3_ROUTER_NAT' keyerror
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Kevin Benton |
Bug Description
Getting random failures.[1]
2015-03-19 16:30:14.549 | neutron.
2015-03-19 16:30:14.549 | -------
2015-03-19 16:30:14.550 |
2015-03-19 16:30:14.550 | Captured traceback:
2015-03-19 16:30:14.550 | ~~~~~~~~~~~~~~~~~~~
2015-03-19 16:30:14.550 | Traceback (most recent call last):
2015-03-19 16:30:14.550 | File "neutron/
2015-03-19 16:30:14.550 | service_
2015-03-19 16:30:14.550 | File "neutron/
2015-03-19 16:30:14.550 | self.ext_api = test_extensions
2015-03-19 16:30:14.550 | File "neutron/
2015-03-19 16:30:14.550 | return extensions.
2015-03-19 16:30:14.551 | File "neutron/
2015-03-19 16:30:14.551 | for resource in self.ext_
2015-03-19 16:30:14.551 | File "neutron/
2015-03-19 16:30:14.551 | return l3.L3.get_
2015-03-19 16:30:14.551 | File "neutron/
2015-03-19 16:30:14.551 | register_
2015-03-19 16:30:14.551 | File "neutron/
2015-03-19 16:30:14.551 | plugin = manager.
2015-03-19 16:30:14.551 | KeyError: 'L3_ROUTER_NAT'
2015-03-19 16:30:14.551 |
1. http://
Changed in neutron: | |
assignee: | nobody → Kevin Benton (kevinbenton) |
status: | New → In Progress |
Changed in neutron: | |
milestone: | none → kilo-rc1 |
importance: | Undecided → High |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-rc1 → 2015.1.0 |
Reviewed: https:/ /review. openstack. org/166014 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=387f396db83 179ce109162022a b23e0c8b59c9bf
Committed: https:/
Submitter: Jenkins
Branch: master
commit 387f396db83179c e109162022ab23e 0c8b59c9bf
Author: Kevin Benton <email address hidden>
Date: Wed Mar 18 08:14:09 2015 -0700
Make DHCP tests cleanup neutron manager reference
The DHCP scheduler unit tests occasionally call methods
on the core plugin via the neutron manager (e.g. in report_state).
However, they weren't calling the normal unit test cleanup routines
for tests that call the core plugin so they were leaving stale
references in the manager.
This patch uses the setup_coreplugin helper that sets up the
configuration for the core plugin and adds the cleanup call
to ensure that the neutron manager is cleaned up at the end
of each test.
Closes-Bug: #1434278 1c739574c1ed393 64d6977c3ea
Change-Id: Ic3562965957412