registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #08812
[Bug 608505] [NEW] Error in unit test NetworkTestCase test_subnet_edge
Public bug reported:
I think there's a bug in this unit test (I turned on exit code checking
of the spawned bin/nova-dhcpbridge)
The test looks like this:
def test_subnet_edge(self):
secondaddress = network.allocate_ip("netuser", "project0",
utils.generate_mac())
hostname = "toomany-hosts"
for project in range(1,5):
<snip>
net = network.get_project_network("project0", "default")
rv = network.deallocate_ip(secondaddress)
self.dnsmasq.release_ip(mac, address, hostname, net.bridge_name)
and I think that last line should read:
self.dnsmasq.release_ip(mac, secondaddress, hostname, net.bridge_name)
Address is declared inside the loop, but it is also freed inside the
loop
** Affects: nova
Importance: Undecided
Status: New
** Branch linked: lp:~justin-fathomdb/nova/bug608505
--
Error in unit test NetworkTestCase test_subnet_edge
https://bugs.launchpad.net/bugs/608505
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.
Follow ups
References