Unit tests failing due to recent Neutron patch
Bug #1802369 reported by
Daniel Alvarez
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-ovn |
Won't Fix
|
Undecided
|
Unassigned | ||
neutron |
Fix Released
|
High
|
Slawek Kaplonski |
Bug Description
Since Nov 7th we have unit tests failing. I've doing git bisect on neutron and found that [0] is the culprit. Digging further I checked that it's not actually that MAX_RETRIES changed from 10 (neutron code) to 20 (neutron-lib) but the fact that "from neutron.db import api as db_api" is no longer imported.
[0] https:/
tags: | added: neutron-proactive-backport-potential |
tags: | added: networking-ovn-proactive-backport-potential |
Changed in networking-ovn: | |
status: | New → Won't Fix |
To post a comment you must log in.
Failures:
ft1.10: networking_ ovn.tests. unit.ml2. test_mech_ driver. TestOVNMechansi mDriverSubnetsV 2.test_ create_ subnet_ gw_values_ StringException : Traceback (most recent call last): zuul/src/ git.openstack. org/openstack/ networking- ovn/.tox/ py27/local/ lib/python2. 7/site- packages/ neutron/ tests/base. py", line 151, in func zuul/src/ git.openstack. org/openstack/ networking- ovn/.tox/ py27/local/ lib/python2. 7/site- packages/ neutron/ tests/base. py", line 151, in func zuul/src/ git.openstack. org/openstack/ networking- ovn/.tox/ py27/local/ lib/python2. 7/site- packages/ neutron/ tests/base. py", line 151, in func zuul/src/ git.openstack. org/openstack/ networking- ovn/.tox/ py27/local/ lib/python2. 7/site- packages/ neutron/ tests/unit/ db/test_ db_base_ plugin_ v2.py", line 3781, in test_create_ subnet_ gw_values _test_create_ subnet( expected= expected, gateway_ip=gateway) zuul/src/ git.openstack. org/openstack/ networking- ovn/.tox/ py27/local/ lib/python2. 7/site- packages/ neutron/ tests/unit/ db/test_ db_base_ plugin_ v2.py", line 3127, in _test_create_subnet _compare_ resource( subnet, expected, 'subnet') zuul/src/ git.openstack. org/openstack/ networking- ovn/.tox/ py27/local/ lib/python2. 7/site- packages/ neutron/ tests/unit/ db/test_ db_base_ plugin_ v2.py", line 787, in _compare_resource observed_ res[res_ name][k] )) zuul/src/ git.openstack. org/openstack/ networking- ovn/.tox/ py27/local/ lib/python2. 7/site- packages/ testtools/ testcase. py", line 411, in assertEqual assertThat( observed, matcher, message) zuul/src/ git.openstack. org/openstack/ networking- ovn/.tox/ py27/local/ lib/python2. 7/site- packages/ testtools/ testcase. py", line 498, in assertThat matchers. _impl.MismatchE rror: [{'end': '10.0.0.253', 'start': '10.0.0.1'}] != []
File "/home/
return f(self, *args, **kwargs)
File "/home/
return f(self, *args, **kwargs)
File "/home/
return f(self, *args, **kwargs)
File "/home/
self.
File "/home/
self.
File "/home/
sorted(
File "/home/
self.
File "/home/
raise mismatch_error
testtools.
Workaround: https:/ /review. openstack. org/#/c/ 616668/