← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1332724] [NEW] neutron.tests.unit.vmware.vshield.test_lbaas_plugin.TestLoadbalancerPlugin.test_create_vip_with_invalid_router often fails in gate

 

Public bug reported:

Since yesterday, this unit test often fails in gate. For example, see:
http://logs.openstack.org/60/99760/2/gate/gate-neutron-
python26/203b22d/testr_results.html.gz

It may be somehow related to recent migration to oslo.messaging that was
merged near the same time.

Trace below:

2014-06-19 00:34:05,228     INFO [neutron.manager] Loading core plugin: neutron.plugins.vmware.plugins.service.NsxAdvancedPlugin
2014-06-19 00:34:05,410     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
2014-06-19 00:34:05,411     INFO [neutron.manager] Service FIREWALL is supported by the core plugin
2014-06-19 00:34:05,411     INFO [neutron.manager] Service LOADBALANCER is supported by the core plugin
2014-06-19 00:34:05,411     INFO [neutron.manager] Service VPN is supported by the core plugin
2014-06-19 00:34:05,432     INFO [neutron.common.config] Config paste file: /home/jenkins/workspace/gate-neutron-python26/neutron/tests/etc/api-paste.ini.test
2014-06-19 00:34:05,475  WARNING [neutron.quota] router is already registered.
2014-06-19 00:34:05,476  WARNING [neutron.quota] floatingip is already registered.
2014-06-19 00:34:05,476  WARNING [neutron.quota] pool is already registered.
2014-06-19 00:34:05,477  WARNING [neutron.quota] vip is already registered.
2014-06-19 00:34:05,477  WARNING [neutron.quota] member is already registered.
2014-06-19 00:34:05,477  WARNING [neutron.quota] health_monitor is already registered.
2014-06-19 00:34:05,900     INFO [neutron.api.v2.resource] create failed (client error): Bad router request: router_id is not provided!
2014-06-19 00:34:06,226    ERROR [neutron.api.v2.resource] create failed
Traceback (most recent call last):
  File "neutron/api/v2/resource.py", line 87, in resource
    result = method(request=request, **args)
  File "neutron/api/v2/base.py", line 382, in create
    allow_bulk=self._allow_bulk)
  File "neutron/api/v2/base.py", line 651, in prepare_request_body
    raise webob.exc.HTTPBadRequest(msg)
HTTPBadRequest: Invalid input for router_id. Reason: 'invalid_router_id' is not a valid UUID.
2014-06-19 00:34:07,921     INFO [neutron.api.v2.resource] create failed (client error): Bad router request: router_id:3a4d22b7-e08a-4d52-a872-ef73fc2ff4ce is not an advanced router!
2014-06-19 00:34:08,624     INFO [NeutronPlugin] NSX plugin does not support regular VIF ports on external networks. Port 206323a1-20a1-480f-8f91-b9a6a90f8206 will be down.
2014-06-19 00:34:09,109     INFO [NeutronPlugin] NSX plugin does not support regular VIF ports on external networks. Port 206323a1-20a1-480f-8f91-b9a6a90f8206 will be down.
2014-06-19 00:34:10,612     INFO [neutron.plugins.vmware.vshield.tasks.tasks] TaskManager terminated
}}}

Traceback (most recent call last):
  File "neutron/tests/unit/vmware/vshield/test_lbaas_plugin.py", line 208, in test_create_vip_with_invalid_router
    self.test_create_vip, router_id=router_id)
  File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 393, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: <bound method TestLoadbalancerPlugin.test_create_vip of <neutron.tests.unit.vmware.vshield.test_lbaas_plugin.TestLoadbalancerPlugin.test_create_vip_with_invalid_router id=0x60668d0>> returned None

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  neutron.tests.unit.vmware.vshield.test_lbaas_plugin.TestLoadbalancerPlugin.test_create_vip_with_invalid_router
  often fails  in gate

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Since yesterday, this unit test often fails in gate. For example, see:
  http://logs.openstack.org/60/99760/2/gate/gate-neutron-
  python26/203b22d/testr_results.html.gz

  It may be somehow related to recent migration to oslo.messaging that
  was merged near the same time.

  Trace below:

  2014-06-19 00:34:05,228     INFO [neutron.manager] Loading core plugin: neutron.plugins.vmware.plugins.service.NsxAdvancedPlugin
  2014-06-19 00:34:05,410     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-06-19 00:34:05,411     INFO [neutron.manager] Service FIREWALL is supported by the core plugin
  2014-06-19 00:34:05,411     INFO [neutron.manager] Service LOADBALANCER is supported by the core plugin
  2014-06-19 00:34:05,411     INFO [neutron.manager] Service VPN is supported by the core plugin
  2014-06-19 00:34:05,432     INFO [neutron.common.config] Config paste file: /home/jenkins/workspace/gate-neutron-python26/neutron/tests/etc/api-paste.ini.test
  2014-06-19 00:34:05,475  WARNING [neutron.quota] router is already registered.
  2014-06-19 00:34:05,476  WARNING [neutron.quota] floatingip is already registered.
  2014-06-19 00:34:05,476  WARNING [neutron.quota] pool is already registered.
  2014-06-19 00:34:05,477  WARNING [neutron.quota] vip is already registered.
  2014-06-19 00:34:05,477  WARNING [neutron.quota] member is already registered.
  2014-06-19 00:34:05,477  WARNING [neutron.quota] health_monitor is already registered.
  2014-06-19 00:34:05,900     INFO [neutron.api.v2.resource] create failed (client error): Bad router request: router_id is not provided!
  2014-06-19 00:34:06,226    ERROR [neutron.api.v2.resource] create failed
  Traceback (most recent call last):
    File "neutron/api/v2/resource.py", line 87, in resource
      result = method(request=request, **args)
    File "neutron/api/v2/base.py", line 382, in create
      allow_bulk=self._allow_bulk)
    File "neutron/api/v2/base.py", line 651, in prepare_request_body
      raise webob.exc.HTTPBadRequest(msg)
  HTTPBadRequest: Invalid input for router_id. Reason: 'invalid_router_id' is not a valid UUID.
  2014-06-19 00:34:07,921     INFO [neutron.api.v2.resource] create failed (client error): Bad router request: router_id:3a4d22b7-e08a-4d52-a872-ef73fc2ff4ce is not an advanced router!
  2014-06-19 00:34:08,624     INFO [NeutronPlugin] NSX plugin does not support regular VIF ports on external networks. Port 206323a1-20a1-480f-8f91-b9a6a90f8206 will be down.
  2014-06-19 00:34:09,109     INFO [NeutronPlugin] NSX plugin does not support regular VIF ports on external networks. Port 206323a1-20a1-480f-8f91-b9a6a90f8206 will be down.
  2014-06-19 00:34:10,612     INFO [neutron.plugins.vmware.vshield.tasks.tasks] TaskManager terminated
  }}}

  Traceback (most recent call last):
    File "neutron/tests/unit/vmware/vshield/test_lbaas_plugin.py", line 208, in test_create_vip_with_invalid_router
      self.test_create_vip, router_id=router_id)
    File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 393, in assertRaises
      self.assertThat(our_callable, matcher)
    File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 406, in assertThat
      raise mismatch_error
  MismatchError: <bound method TestLoadbalancerPlugin.test_create_vip of <neutron.tests.unit.vmware.vshield.test_lbaas_plugin.TestLoadbalancerPlugin.test_create_vip_with_invalid_router id=0x60668d0>> returned None

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


Follow ups

References