UT failing: test_router_update_gateway_upon_subnet_create_max_ips_ipv6

Bug #1863587 reported by Sahid Orentino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
New
Undecided
Unassigned

Bug Description

networking_ovn.tests.unit.l3.test_l3_ovn.OVNL3ExtrarouteTests.test_router_update_gateway_upon_subnet_create_max_ips_ipv6
------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/home/sahid/merge/networking-ovn/.tox/py37/lib/python3.7/site-packages/neutron/tests/base.py", line 180, in func
        return f(self, *args, **kwargs)
      File "/home/sahid/merge/networking-ovn/networking_ovn/tests/unit/l3/test_l3_ovn.py", line 1418, in test_router_update_gateway_upon_subnet_create_max_ips_ipv6
        add_static_route_calls, any_order=True)
      File "/home/sahid/merge/networking-ovn/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 994, in assert_has_calls
        ), cause)
      File "<string>", line 3, in raise_from
    AssertionError: 'mock' does not contain all of (call(<ANY>, ip_prefix='::/0', nexthop='2001:db8::'),) in its call list, found [call('neutron-51bcb5a1-3e6d-44b0-b8cc-0952ccb21fcc', ip_prefix='::/0', nexthop='2001:db8::1')] instead

Revision history for this message
Sahid Orentino (sahid-ferdjaoui) wrote :

The unit test is failing with py37 and py38.

summary: - unit test failing
+ UT failing: test_router_update_gateway_upon_subnet_create_max_ips_ipv6
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.