yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62905
[Bug 1678726] [NEW] vpnaas endpoint related UT failure
Public bug reported:
eg.
http://logs.openstack.org/14/445114/10/check/gate-neutron-vpnaas-python27-ubuntu-xenial/c87f6d6/testr_results.html.gz
ft2.11: neutron_vpnaas.tests.unit.db.vpn.test_vpn_db.TestVpnaas.test_create_ipsec_site_connection_StringException: Empty attachments:
stdout
pythonlogging:'': {{{ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!}}}
stderr: {{{
/home/jenkins/workspace/gate-neutron-vpnaas-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
}}}
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-neutron-vpnaas-python27-ubuntu-xenial/.tmp/tmp.Q1k56Jlxhb/openstack/neutron/neutron/tests/base.py", line 116, in func
return f(self, *args, **kwargs)
File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 1214, in test_create_ipsec_site_connection
self._test_create_ipsec_site_connection(key_overrides=extras)
File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 1207, in _test_create_ipsec_site_connection
dpd)
File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 410, in _check_ipsec_site_connection
in ipsec_site_connection.items()
File "/home/jenkins/workspace/gate-neutron-vpnaas-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/jenkins/workspace/gate-neutron-vpnaas-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = {'admin_state_up': True,
'description': 'my-ipsec-connection',
'ikepolicy_id': u'c63f4e69-420b-4cba-9bc6-77dde7e22fd7',
'initiator': 'bi-directional',
'ipsecpolicy_id': u'57074a7b-a9b3-4735-969c-e1ed0a0e3b92',
'mtu': 1500,
'name': 'connection1',
'peer_address': '192.168.1.10',
'peer_cidrs': ['192.168.2.0/24', '192.168.3.0/24'],
'peer_id': '192.168.1.10',
'psk': 'abcd',
'status': 'PENDING_CREATE',
'tenant_id': '46f70361-ba71-4bd0-9769-3573fd227c4b',
'vpnservice_id': u'ac1c2e78-96a0-4f3b-a640-b92820675754'}
actual = {u'admin_state_up': True,
u'description': u'my-ipsec-connection',
u'ikepolicy_id': u'c63f4e69-420b-4cba-9bc6-77dde7e22fd7',
u'initiator': u'bi-directional',
u'ipsecpolicy_id': u'57074a7b-a9b3-4735-969c-e1ed0a0e3b92',
u'mtu': 1500,
u'name': u'connection1',
u'peer_address': u'192.168.1.10',
u'peer_cidrs': [],
u'peer_id': u'192.168.1.10',
u'psk': u'abcd',
u'status': u'PENDING_CREATE',
u'tenant_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b',
u'vpnservice_id': u'ac1c2e78-96a0-4f3b-a640-b92820675754'}
** 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/1678726
Title:
vpnaas endpoint related UT failure
Status in neutron:
New
Bug description:
eg.
http://logs.openstack.org/14/445114/10/check/gate-neutron-vpnaas-python27-ubuntu-xenial/c87f6d6/testr_results.html.gz
ft2.11: neutron_vpnaas.tests.unit.db.vpn.test_vpn_db.TestVpnaas.test_create_ipsec_site_connection_StringException: Empty attachments:
stdout
pythonlogging:'': {{{ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!}}}
stderr: {{{
/home/jenkins/workspace/gate-neutron-vpnaas-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
}}}
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-neutron-vpnaas-python27-ubuntu-xenial/.tmp/tmp.Q1k56Jlxhb/openstack/neutron/neutron/tests/base.py", line 116, in func
return f(self, *args, **kwargs)
File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 1214, in test_create_ipsec_site_connection
self._test_create_ipsec_site_connection(key_overrides=extras)
File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 1207, in _test_create_ipsec_site_connection
dpd)
File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 410, in _check_ipsec_site_connection
in ipsec_site_connection.items()
File "/home/jenkins/workspace/gate-neutron-vpnaas-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/jenkins/workspace/gate-neutron-vpnaas-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = {'admin_state_up': True,
'description': 'my-ipsec-connection',
'ikepolicy_id': u'c63f4e69-420b-4cba-9bc6-77dde7e22fd7',
'initiator': 'bi-directional',
'ipsecpolicy_id': u'57074a7b-a9b3-4735-969c-e1ed0a0e3b92',
'mtu': 1500,
'name': 'connection1',
'peer_address': '192.168.1.10',
'peer_cidrs': ['192.168.2.0/24', '192.168.3.0/24'],
'peer_id': '192.168.1.10',
'psk': 'abcd',
'status': 'PENDING_CREATE',
'tenant_id': '46f70361-ba71-4bd0-9769-3573fd227c4b',
'vpnservice_id': u'ac1c2e78-96a0-4f3b-a640-b92820675754'}
actual = {u'admin_state_up': True,
u'description': u'my-ipsec-connection',
u'ikepolicy_id': u'c63f4e69-420b-4cba-9bc6-77dde7e22fd7',
u'initiator': u'bi-directional',
u'ipsecpolicy_id': u'57074a7b-a9b3-4735-969c-e1ed0a0e3b92',
u'mtu': 1500,
u'name': u'connection1',
u'peer_address': u'192.168.1.10',
u'peer_cidrs': [],
u'peer_id': u'192.168.1.10',
u'psk': u'abcd',
u'status': u'PENDING_CREATE',
u'tenant_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b',
u'vpnservice_id': u'ac1c2e78-96a0-4f3b-a640-b92820675754'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1678726/+subscriptions
Follow ups