← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1229243] Re: test_nvp_sync fails when ran on its own

 

** Changed in: neutron
       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/1229243

Title:
  test_nvp_sync fails when ran on its own

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

Bug description:
  ======================================================================
  FAIL: neutron.tests.unit.nicira.test_nvp_sync.NvpSyncTestCase.test_sync_chunk_larger_maxpagesize_no_multiple_requests
  tags: worker-1
  ----------------------------------------------------------------------
  Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2013-09-23 08:23:08,303  WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
  2013-09-23 08:23:08,304  WARNING [neutron.db.agentschedulers_db] Fail scheduling network {'status': 'ACTIVE', 'subnets': [], 'name': 'net-0', 'admin_state_up': True, 'tenant_id': 'foo', 'port_security_enabled': True, 'shared': False, 'id': u'df10eca8-fec1-4dd7-acb4-48aa5648abf0'}
  2013-09-23 08:23:08,309    ERROR [neutron.db.db_base_plugin_v2] Validation for CIDR: 10.10.0.0/24 failed - overlaps with subnet 2ef4c94a-8925-4bab-b733-b1841a4c7229 (CIDR: 10.10.0.0/24)
  }}}

  Traceback (most recent call last):
    File "/opt/stack/neutron/neutron/tests/unit/nicira/test_nvp_sync.py", line 475, in test_sync_chunk_larger_maxpagesize_no_multiple_requests
      chunk_size=20, exp_calls=3)
    File "/opt/stack/neutron/neutron/tests/unit/nicira/test_nvp_sync.py", line 454, in _test_sync_with_chunk_larger_maxpagesize
      router_size=router_size):
    File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
      return self.gen.next()
    File "/opt/stack/neutron/neutron/tests/unit/nicira/test_nvp_sync.py", line 350, in _populate_data
      self._plugin.create_subnet(ctx, subnet(i, net['id']))
    File "/opt/stack/neutron/neutron/db/db_base_plugin_v2.py", line 1127, in create_subnet
      self._validate_subnet_cidr(context, network, s['cidr'])
    File "/opt/stack/neutron/neutron/db/db_base_plugin_v2.py", line 740, in _validate_subnet_cidr
      raise q_exc.InvalidInput(error_message=err_msg)
  InvalidInput: Invalid input for operation: Requested subnet with cidr: 10.10.0.0/24 for network: df10eca8-fec1-4dd7-acb4-48aa5648abf0 overlaps with another subnet.
  INFO:neutron.plugins.nicira.nvp_cluster:The following cluster attributes were not specified: ['default_l3_gw_service_uuid']'
  ======================================================================
  FAIL: process-returncode
  tags: worker-1
  ----------------------------------------------------------------------
  Binary content:
    traceback (test/plain; charset="utf8")
  ======================================================================
  FAIL: neutron.tests.unit.nicira.test_nvp_sync.NvpSyncTestCase.test_synchronize_port
  tags: worker-1
  ----------------------------------------------------------------------
  Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2013-09-23 08:23:08,359  WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
  2013-09-23 08:23:08,359  WARNING [neutron.db.agentschedulers_db] Fail scheduling network {'status': 'ACTIVE', 'subnets': [], 'name': 'net-0', 'admin_state_up': True, 'tenant_id': 'foo', 'port_security_enabled': True, 'shared': False, 'id': u'd48cd9b6-2da4-4dbf-803a-f591e9f311e8'}
  2013-09-23 08:23:08,365    ERROR [neutron.db.db_base_plugin_v2] Validation for CIDR: 10.10.0.0/24 failed - overlaps with subnet 2ef4c94a-8925-4bab-b733-b1841a4c7229 (CIDR: 10.10.0.0/24)
  }}}

  Traceback (most recent call last):
    File "/opt/stack/neutron/neutron/tests/unit/nicira/test_nvp_sync.py", line 552, in test_synchronize_port
      with self._populate_data(ctx):
    File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
      return self.gen.next()
    File "/opt/stack/neutron/neutron/tests/unit/nicira/test_nvp_sync.py", line 350, in _populate_data
      self._plugin.create_subnet(ctx, subnet(i, net['id']))
    File "/opt/stack/neutron/neutron/db/db_base_plugin_v2.py", line 1127, in create_subnet
      self._validate_subnet_cidr(context, network, s['cidr'])
    File "/opt/stack/neutron/neutron/db/db_base_plugin_v2.py", line 740, in _validate_subnet_cidr
      raise q_exc.InvalidInput(error_message=err_msg)
  InvalidInput: Invalid input for operation: Requested subnet with cidr: 10.10.0.0/24 for network: d48cd9b6-2da4-4dbf-803a-f591e9f311e8 overlaps with another subnet.
  ======================================================================
  FAIL: process-returncode
  tags: worker-1
  ----------------------------------------------------------------------
  Binary content:
    traceback (test/plain; charset="utf8")
  Ran 66 (+32) tests in 0.972s (-1.843s)
  FAILED (id=825, failures=13)
  error: testr failed (1)

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