bgpvpn functional test fails.
the culprit is 7b36b8148e59f54663acc79bcfcf040f9352ee29.
due to copy-past-bug, UPDATE is wrongly used instead of DELETE.
the log can be found at.
http://logs.openstack.org/45/511345/1/check/gate-dsvm-networking-odl-functional-nitrogen-snapshot/2e09b63/logs/
test_associate_dissociate_router
test_associate_dissociate_net
test_assoc_multiple_networks_dissoc_one
ft1.1: networking_odl.tests.functional.test_bgpvpn.TestBGPVPNV2Driver.test_assoc_multiple_networks_dissoc_one_StringException: Traceback (most recent call last):
File "/opt/stack/new/neutron/neutron/tests/base.py", line 118, in func
return f(self, *args, **kwargs)
File "networking_odl/tests/functional/test_bgpvpn.py", line 113, in test_assoc_multiple_networks_dissoc_one
self._assert_networks_associated([net_id1], bgpvpn)
File "networking_odl/tests/functional/test_bgpvpn.py", line 61, in _assert_networks_associated
response[odl_const.ODL_BGPVPN]['networks'])
File "/opt/stack/new/networking-odl/.tox/dsvm-functional/local/lib/python2.7/site-packages/unittest2/case.py", line 1182, in assertItemsEqual
return self.assertSequenceEqual(expected, actual, msg=msg)
File "/opt/stack/new/networking-odl/.tox/dsvm-functional/local/lib/python2.7/site-packages/unittest2/case.py", line 1014, in assertSequenceEqual
self.fail(msg)
File "/opt/stack/new/networking-odl/.tox/dsvm-functional/local/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
raise self.failureException(msg)
AssertionError: Sequences differ: [u'65c90f20-b40e-4c06-a4f7-8f246cc1b4c8'] != [u'188ff8c4-8a82-4d78-bc24-8ef4e555c10f', u'[33 chars]4c8']
First differing element 0:
65c90f20-b40e-4c06-a4f7-8f246cc1b4c8
188ff8c4-8a82-4d78-bc24-8ef4e555c10f
Second sequence contains 1 additional elements.
First extra element 1:
65c90f20-b40e-4c06-a4f7-8f246cc1b4c8
+ [u'188ff8c4-8a82-4d78-bc24-8ef4e555c10f',
- [u'65c90f20-b40e-4c06-a4f7-8f246cc1b4c8']
? ^
+ u'65c90f20-b40e-4c06-a4f7-8f246cc1b4c8']
? ^
Reviewed: https:/ /review. openstack. org/512069 /git.openstack. org/cgit/ openstack/ networking- odl/commit/ ?id=2ef2ad6db0a ab84bd7bb9d17fc 966bb6a38280ff
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2ef2ad6db0aab84 bd7bb9d17fc966b b6a38280ff
Author: Isaku Yamahata <email address hidden>
Date: Fri Oct 13 17:05:50 2017 -0700
unblock fullstack/ functional tests
This patch is the one combined of following two patch
to make ci pass.
fakemachine: use privsep helper under virtualenv
privsep-helper command fails to find python module under virtualenv.
specify privsep-helper command with full path. With tox virtualenv, we
need to use the one under virtualenv, otherwise privsep-helper fails to
find python module under virtual env. Also Keep environmental variable
for virtualenv.
Also fakemachine _setUp method wraps exception and tries to reference
self.namespace. But it only hides the actual issue and makes debug
difficult. remove FakeMachine exception not to hide real issue.
the change id is I62a07646de6825 4db447728c583d4 42d4080c5eb
Closes-bug: #1723553
remove id when disassociation of network/router
ODL driver methods to delete association failed to delete association in
ODL.
Those precommit is called withhin db transaction that deletes
association so it doesn't see deletion of association. So id that is
being deleted need to be explicitly removed from dictionary which will
be sent to ODL.
the change id is Ie04fea85991814 5386bfae976de01 d27b89b4236
Closes-bug: #1723548
Change-Id: Ie5c938538ccc09 92498f210221726 c2c24442877