Reviewed: https://review.openstack.org/310682 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ee9f86c3f8bde27abb82bd474ad1d746c94e3f96 Submitter: Jenkins Branch: master
commit ee9f86c3f8bde27abb82bd474ad1d746c94e3f96 Author: Rui Zang <[email protected]> Date: Thu Apr 28 14:14:00 2016 +0800 Mock mechanism manager instead of the test driver test_create_router_port_and_fail_create_postcommit mocks the test driver's create_port_postcommit mechod. But the mechanism drivers are not always ['logger', 'test'] in all circumstances. For networking-odl, the mechanism driver is opendaylight. So the mocking does not take effect in networking-odl and fails this test case. Other stadium ML2 drivers may have the same issue. Change-Id: Iaeaa1ea177f6fdcc81f47d505855c5f699971a6b Closes-Bug: #1576046 ** Changed in: neutron Status: New => 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/1576046 Title: test_create_router_port_and_fail_create_postcommit makes networking- odl py27 and py34 fail Status in neutron: Fix Released Bug description: New test case introduced to neutron lately by https://github.com/openstack/neutron/commit/cc3ba38641e5a414ec4408b13ecb7bd80ea343ff Caused networking-odl py27/py34 gate checking failure, as shown in https://review.openstack.org/#/c/309847/ The first hunch is the mock for create_port_postcommit of the test driver does not take effect since networking-odl over-writes self._mechanism_drivers to ['opendaylight'] To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1576046/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

