Reviewed: https://review.openstack.org/450923 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=bae6555816d7b5784a09bf261958025c52df433f Submitter: Jenkins Branch: master
commit bae6555816d7b5784a09bf261958025c52df433f Author: Ihar Hrachyshka <ihrac...@redhat.com> Date: Tue Mar 28 01:57:51 2017 +0000 ExtensionTestCase: register correct core plugin We should register the passed plugin as core only if service_type is False. Otherwise, the passed plugin is a service plugin, in which case we should register some other core plugin for the test. The easiest thing is to use the base db plugin for that matter. This fixes subproject unit tests because now the core plugin will always have _get_collection function that is needed by some underlying db api functions. Change-Id: Ica421831763eb2f5d25fc068287305b402227b53 Closes-Bug: #1676656 ** Changed in: neutron 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: In Progress 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp