← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1179370] Re: Testcase 'test_db_plugin.TestPortsV2.test_range_allocation' failed random

 

** Changed in: neutron/grizzly
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1179370

Title:
  Testcase 'test_db_plugin.TestPortsV2.test_range_allocation' failed
  random

Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in neutron grizzly series:
  Fix Released

Bug description:
  2013-05-13 12:04:53,577    ERROR [quantum.api.v2.resource] delete failed
  Traceback (most recent call last):
    File "/home/soulxu/work-code/openstack/quantum/quantum/api/v2/resource.py", line 82, in resource
      result = method(request=request, **args)
    File "/home/soulxu/work-code/openstack/quantum/quantum/api/v2/base.py", line 407, in delete
      obj_deleter(request.context, id, **kwargs)
    File "/home/soulxu/work-code/openstack/quantum/quantum/db/db_base_plugin_v2.py", line 1263, in delete_subnet
      raise q_exc.SubnetInUse(subnet_id=id)
  SubnetInUse: Unable to complete operation on subnet 3f0b8b59-1084-4e59-bf0c-56a0eefb24d6. One or more ports have an IP allocation from this subnet.
  2013-05-13 12:04:53,587    ERROR [quantum.api.v2.resource] delete failed
  Traceback (most recent call last):
    File "/home/soulxu/work-code/openstack/quantum/quantum/api/v2/resource.py", line 82, in resource
      result = method(request=request, **args)
    File "/home/soulxu/work-code/openstack/quantum/quantum/api/v2/base.py", line 407, in delete
      obj_deleter(request.context, id, **kwargs)
    File "/home/soulxu/work-code/openstack/quantum/quantum/db/db_base_plugin_v2.py", line 1021, in delete_network
      raise q_exc.NetworkInUse(net_id=id)
  NetworkInUse: Unable to complete operation on network 276b6fb1-158f-4b30-ac19-6e959e9147d1. There are one or more ports still in use on the network.
  }}}

  Traceback (most recent call last):
    File "/home/soulxu/work-code/openstack/quantum/quantum/tests/unit/test_db_plugin.py", line 1407, in test_range_allocation
      print res
    File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
    File "/home/soulxu/work-code/openstack/quantum/quantum/tests/unit/test_db_plugin.py", line 566, in subnet
      self._delete('subnets', subnet['subnet']['id'])
    File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
    File "/home/soulxu/work-code/openstack/quantum/quantum/tests/unit/test_db_plugin.py", line 537, in network
      self._delete('networks', network['network']['id'])
    File "/home/soulxu/work-code/openstack/quantum/quantum/tests/unit/test_db_plugin.py", line 455, in _delete
      self.assertEqual(res.status_int, expected_code)
  MismatchError: 409 != 204

  
  ----------------------------------------------------------------------
  Ran 1 test in 0.220s

  FAILED (failures=1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1179370/+subscriptions