← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1676656] Re: Extensions unit tests failing after neutron change

 

Fixed in neutron

** Changed in: networking-sfc
       Status: In Progress => 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/1676656

Title:
  Extensions unit tests failing after neutron change

Status in networking-bgpvpn:
  In Progress
Status in networking-sfc:
  Fix Released
Status in neutron:
  Fix Released

Bug description:
  Recent gate runs fail on unit tests, example:
  http://logs.openstack.org/54/449754/3/check/gate-networking-sfc-python35/86e22ce/console.html#_2017-03-27_17_35_01_740640

  networking_sfc.tests.unit.extensions.test_sfc.SfcExtensionTestCase.test_create_port_chain_none_chain_parameters
  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      b'Traceback (most recent call last):'
      b'  File "/tmp/openstack/neutron/neutron/tests/base.py", line 116, in func'
      b'    return f(self, *args, **kwargs)'
      b'  File "/home/jenkins/workspace/gate-networking-sfc-python35/networking_sfc/tests/unit/extensions/test_sfc.py", line 130, in test_create_port_chain_none_chain_parameters'
      b'    self._test_create_port_chain(chain_parameters=None)'
      b'  File "/home/jenkins/workspace/gate-networking-sfc-python35/networking_sfc/tests/unit/extensions/test_sfc.py", line 103, in _test_create_port_chain'
      b"    content_type='application/%s' % self.fmt)"
      b'  File "/home/jenkins/workspace/gate-networking-sfc-python35/.tox/py35/lib/python3.5/site-packages/webtest/app.py", line 378, in post'
      b'    content_type=content_type)'
      b'  File "/home/jenkins/workspace/gate-networking-sfc-python35/.tox/py35/lib/python3.5/site-packages/webtest/app.py", line 747, in _gen_request'
      b'    expect_errors=expect_errors)'
      b'  File "/home/jenkins/workspace/gate-networking-sfc-python35/.tox/py35/lib/python3.5/site-packages/webtest/app.py", line 643, in do_request'
      b'    self._check_status(status, res)'
      b'  File "/home/jenkins/workspace/gate-networking-sfc-python35/.tox/py35/lib/python3.5/site-packages/webtest/app.py", line 675, in _check_status'
      b'    res)'
      b'webtest.app.AppError: Bad response: 500 Internal Server Error (not 200 OK or 3xx redirect for http://localhost/sfc/port_chains.json)'
      b'b\'{"NeutronError": {"message": "Request Failed: internal server error while processing your request.", "type": "HTTPInternalServerError", "detail": ""}}\''
      b''

  After some research and bisect, these are broken since 93d8376c44cdba58b1db88137b3dcb3a1ad1b2e6 (OVO for Quotas and Reservation ) landed in Neutron:
  https://github.com/openstack/neutron/commit/93d8376c44cdba58b1db88137b3dcb3a1ad1b2e6

  Fast way to reproduce on single failing test:
  tox -e py27 networking_sfc.tests.unit.extensions.test_flowclassifier.FlowClassifierExtensionTestCase.test_create_flow_classifier_all_fields

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