← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1979031] Re: [master] fullstack functional jobs broken with pyrouet2-0.6.12

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/846286
Committed: https://opendev.org/openstack/neutron/commit/4dbcd76517fead73f91adaab9cdaf0e92a4aff4e
Submitter: "Zuul (22348)"
Branch:    master

commit 4dbcd76517fead73f91adaab9cdaf0e92a4aff4e
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Fri Jun 17 08:34:04 2022 +0000

    Fix "ip route" commands to work with pyroute2 APIv2
    
    Fixed "ip route" commands to work with pyroute2 >= 0.6.10, that
    introduces APIv2 for link, neighbour and route [1].
    
    [1]https://github.com/svinota/pyroute2/commit/bc0f5e2209a937fdec6e9931ca7b3c45c0278f31
    
    Closes-Bug: #1979031
    Change-Id: Id2239b6827485a4d466b0916947428ceabef9139


** Changed in: neutron
       Status: In Progress => 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/1979031

Title:
  [master] fullstack functional jobs broken with pyrouet2-0.6.12

Status in neutron:
  Fix Released

Bug description:
  After pyroute2-0.6.12 update[1], multiple tests in
  fullstack/functional jobs failing[2][3].

  Noting some failures here:-
  functional:-
  AssertionError: CIDR 2001:db8::/64 not found in the list of routes
  AssertionError: Route not found: {'table': 'main', 'cidr': '192.168.0.0/24', 'source_prefix': None, 'scope': 'global', 'device': 'test_device', 'via': None, 'metric': 0, 'proto': 'static'}
  testtools.matchers._impl.MismatchError: 'via' not in None
  external_device.route.get_gateway().get('via'))
  AttributeError: 'NoneType' object has no attribute 'get'
  testtools.matchers._impl.MismatchError: !=:
  reference = [{'cidr': '0.0.0.0/0',
    'device': 'rfp-403146e1-f',
    'table': 16,
    'via': '169.254.88.135'},
   {'cidr': '::/0',
    'device': 'rfp-403146e1-f',
    'table': 'main',
    'via': 'fe80::9005:f3ff:fe70:40b9'}]
  actual    = []

  fullstack
  neutron.tests.common.machine_fixtures.FakeMachineException: Address 10.0.0.87/24 or gateway 10.0.0.1 not configured properly on port port3f2663

  Route related calls looks broken with new version.
  Example:-
  functional:- https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_736/797120/19/check/neutron-functional-with-uwsgi/7366408/testr_results.html
  fullstack:- https://983763dc8d641eb0d8f2-98d26e4bc9646b70fe4861772f4678c8.ssl.cf2.rackcdn.com/845363/4/gate/neutron-fullstack-with-uwsgi/1cc6a9d/testr_results.html

  
  [1] https://review.opendev.org/c/openstack/requirements/+/845871
  [2] https://zuul.opendev.org/t/openstack/builds?job_name=neutron-functional-with-uwsgi&project=openstack%2Fneutron&branch=master&skip=0
  [3] https://zuul.opendev.org/t/openstack/builds?job_name=neutron-fullstack-with-uwsgi&project=openstack%2Fneutron&branch=master&skip=0

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1979031/+subscriptions



References