← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1282382] [NEW] Unit test sometimes failes in test_edge_router.

 

Public bug reported:

I got the following 2 test errors from jenkins.

<a name='_2014-02-19_01_29_38_595' class='date' href='#_2014-02-19_01_29_38_595'>2014-02-19 01:29:38,595</a>    ERROR [neutron.api.v2.resource] create failed
Traceback (most recent call last):
  File "neutron/api/v2/resource.py", line 84, in resource
    result = method(request=request, **args)
  File "neutron/api/v2/base.py", line 347, in create
    allow_bulk=self._allow_bulk)
  File "neutron/api/v2/base.py", line 600, in prepare_request_body
    raise webob.exc.HTTPBadRequest(msg)
HTTPBadRequest: Invalid input for port_id. Reason: 'iamnotanuuid' is not a valid UUID.
c!&lt;・+p@サS	繝゚・|neutron.tests.unit.nicira.test_edge_router.ServiceRouterTestCase.test_create_floatingip_invalid_floating_port_id_returns_400text/plain;charset="utf8"pythonlogging:'' イノKウ+`D4	繝゚・|neutron.tests.unit.nicira.test_edge_router.ServiceRouterTestCase.test_create_floatingip_invalid_floating_port_id_returns_4001text/x-traceback;charset="utf8",language="python"	tracebackCオTraceback (most recent call last):
  File "neutron/tests/unit/nicira/test_edge_router.py", line 146, in tearDown
    manager.stop()
  File "neutron/plugins/nicira/vshield/tasks/tasks.py", line 350, in stop
    self._thread.wait()
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 168, in wait
    return self._exit_event.wait()
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/event.py", line 120, in wait
    current.throw(*self._exc)
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 194, in main
    result = function(*args, **kwargs)
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 258, in just_raise
    raise greenlet.GreenletExit()
GreenletExit


<a name='_2014-02-19_01_29_46_227' class='date' href='#_2014-02-19_01_29_46_227'>2014-02-19 01:29:46,227</a>    ERROR [neutron.api.v2.resource] create failed
Traceback (most recent call last):
  File "neutron/api/v2/resource.py", line 84, in resource
    result = method(request=request, **args)
  File "neutron/api/v2/base.py", line 347, in create
    allow_bulk=self._allow_bulk)
  File "neutron/api/v2/base.py", line 600, in prepare_request_body
    raise webob.exc.HTTPBadRequest(msg)
HTTPBadRequest: Invalid input for floating_network_id. Reason: 'iamnotanuuid' is not a valid UUID.
愑F患+p@セS	
ヘノリ@neutron.tests.unit.nicira.test_edge_router.ServiceRouterTestCase.test_create_floatingip_invalid_floating_network_id_returns_400text/plain;charset="utf8"pythonlogging:'' ヲ・
シウ+`D・	
ヘノリ@neutron.tests.unit.nicira.test_edge_router.ServiceRouterTestCase.test_create_floatingip_invalid_floating_network_id_returns_4001text/x-traceback;charset="utf8",language="python"	tracebackCオTraceback (most recent call last):
  File "neutron/tests/unit/nicira/test_edge_router.py", line 146, in tearDown
    manager.stop()
  File "neutron/plugins/nicira/vshield/tasks/tasks.py", line 350, in stop
    self._thread.wait()
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 168, in wait
    return self._exit_event.wait()
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/event.py", line 120, in wait
    current.throw(*self._exc)
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 194, in main
    result = function(*args, **kwargs)
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 258, in just_raise
    raise greenlet.GreenletExit()
GreenletExit


you can get detailed logs from the following:
http://logs.openstack.org/91/71791/10/check/gate-neutron-python27/3d3d185/

I think that this may fail the same reason with the following fixed bug.
https://bugs.launchpad.net/neutron/+bug/1245698/

** 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/1282382

Title:
  Unit test sometimes failes in test_edge_router.

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  I got the following 2 test errors from jenkins.

  <a name='_2014-02-19_01_29_38_595' class='date' href='#_2014-02-19_01_29_38_595'>2014-02-19 01:29:38,595</a>    ERROR [neutron.api.v2.resource] create failed
  Traceback (most recent call last):
    File "neutron/api/v2/resource.py", line 84, in resource
      result = method(request=request, **args)
    File "neutron/api/v2/base.py", line 347, in create
      allow_bulk=self._allow_bulk)
    File "neutron/api/v2/base.py", line 600, in prepare_request_body
      raise webob.exc.HTTPBadRequest(msg)
  HTTPBadRequest: Invalid input for port_id. Reason: 'iamnotanuuid' is not a valid UUID.
  c!&lt;・+p@サS	繝゚・|neutron.tests.unit.nicira.test_edge_router.ServiceRouterTestCase.test_create_floatingip_invalid_floating_port_id_returns_400text/plain;charset="utf8"pythonlogging:'' イノKウ+`D4	繝゚・|neutron.tests.unit.nicira.test_edge_router.ServiceRouterTestCase.test_create_floatingip_invalid_floating_port_id_returns_4001text/x-traceback;charset="utf8",language="python"	tracebackCオTraceback (most recent call last):
    File "neutron/tests/unit/nicira/test_edge_router.py", line 146, in tearDown
      manager.stop()
    File "neutron/plugins/nicira/vshield/tasks/tasks.py", line 350, in stop
      self._thread.wait()
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 168, in wait
      return self._exit_event.wait()
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/event.py", line 120, in wait
      current.throw(*self._exc)
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 194, in main
      result = function(*args, **kwargs)
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 258, in just_raise
      raise greenlet.GreenletExit()
  GreenletExit

  
  <a name='_2014-02-19_01_29_46_227' class='date' href='#_2014-02-19_01_29_46_227'>2014-02-19 01:29:46,227</a>    ERROR [neutron.api.v2.resource] create failed
  Traceback (most recent call last):
    File "neutron/api/v2/resource.py", line 84, in resource
      result = method(request=request, **args)
    File "neutron/api/v2/base.py", line 347, in create
      allow_bulk=self._allow_bulk)
    File "neutron/api/v2/base.py", line 600, in prepare_request_body
      raise webob.exc.HTTPBadRequest(msg)
  HTTPBadRequest: Invalid input for floating_network_id. Reason: 'iamnotanuuid' is not a valid UUID.
  愑F患+p@セS	
  ヘノリ@neutron.tests.unit.nicira.test_edge_router.ServiceRouterTestCase.test_create_floatingip_invalid_floating_network_id_returns_400text/plain;charset="utf8"pythonlogging:'' ヲ・
  シウ+`D・	
  ヘノリ@neutron.tests.unit.nicira.test_edge_router.ServiceRouterTestCase.test_create_floatingip_invalid_floating_network_id_returns_4001text/x-traceback;charset="utf8",language="python"	tracebackCオTraceback (most recent call last):
    File "neutron/tests/unit/nicira/test_edge_router.py", line 146, in tearDown
      manager.stop()
    File "neutron/plugins/nicira/vshield/tasks/tasks.py", line 350, in stop
      self._thread.wait()
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 168, in wait
      return self._exit_event.wait()
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/event.py", line 120, in wait
      current.throw(*self._exc)
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 194, in main
      result = function(*args, **kwargs)
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 258, in just_raise
      raise greenlet.GreenletExit()
  GreenletExit

  
  you can get detailed logs from the following:
  http://logs.openstack.org/91/71791/10/check/gate-neutron-python27/3d3d185/

  I think that this may fail the same reason with the following fixed bug.
  https://bugs.launchpad.net/neutron/+bug/1245698/

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


Follow ups

References