← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2092567] [NEW] with pyroute2 master dvr functional tests failing with route mismatch as returned routes are not from specific table

 

Public bug reported:

Fails as:-
test_dvr_router_gateway_update_to_none
testtools.matchers._impl.MismatchError: is not:
reference = None
actual    = {'cidr': '0.0.0.0/0',
 'device': 'fg-ec9c64ab-7d',
 'metric': 0,
 'proto': 'static',
 'scope': 'global',
 'source_prefix': None,
 'table': 2852018311,
 'via': '19.4.4.1'}

test_dvr_update_gateway_port_no_fip_fg_port_recovers_itself_with_fpr
testtools.matchers._impl.MismatchError: !=:
reference = [{'cidr': '0.0.0.0/0',
  'device': 'fg-e3de046b-8f',
  'table': 2852018311,
  'via': '19.4.4.2'}]
actual    = [{'cidr': '0.0.0.0/0',
  'device': 'fg-e3de046b-8f',
  'table': 2852018311,
  'via': '19.4.4.2'},
 {'cidr': '9.4.5.0/24',
  'device': 'fg-e3de046b-8f',
  'table': 'main',
  'via': None},
 {'cidr': '19.4.4.0/24',
  'device': 'fg-e3de046b-8f',
  'table': 'main',
  'via': None},
 {'cidr': '19.4.4.2/32',
  'device': 'fpr-9bd4bf73-0',
  'table': 'main',
  'via': '169.254.88.134'},
 {'cidr': '169.254.88.134/31',
  'device': 'fpr-9bd4bf73-0',
  'table': 'main',
  'via': None},
 {'cidr': '19.4.4.9/32',
  'device': 'fg-e3de046b-8f',
  'table': 'local',
  'via': None},
 {'cidr': '19.4.4.255/32',
  'device': 'fg-e3de046b-8f',
  'table': 'local',
  'via': None},
 {'cidr': '127.0.0.0/8', 'device': 'lo', 'table': 'local', 'via': None},
 {'cidr': '127.0.0.1/32', 'device': 'lo', 'table': 'local', 'via': None},
 {'cidr': '127.255.255.255/32', 'device': 'lo', 'table': 'local', 'via': None},
 {'cidr': '169.254.88.135/32',
  'device': 'fpr-9bd4bf73-0',
  'table': 'local',
  'via': None}]

Example failure:-
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_466/periodic/opendev.org/openstack/neutron/master/neutron-
functional-with-pyroute2-master/4662eac/testr_results.html

Builds:- https://zuul.openstack.org/builds?job_name=neutron-functional-
with-pyroute2-master&project=openstack/neutron

With upper-constraint version 0.7.12 and latest release 0.8.1 it works
fine, with pyroute2 master these tests fails.

** 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/2092567

Title:
  with pyroute2 master dvr functional tests failing  with route mismatch
  as returned routes are not from specific table

Status in neutron:
  New

Bug description:
  Fails as:-
  test_dvr_router_gateway_update_to_none
  testtools.matchers._impl.MismatchError: is not:
  reference = None
  actual    = {'cidr': '0.0.0.0/0',
   'device': 'fg-ec9c64ab-7d',
   'metric': 0,
   'proto': 'static',
   'scope': 'global',
   'source_prefix': None,
   'table': 2852018311,
   'via': '19.4.4.1'}

  test_dvr_update_gateway_port_no_fip_fg_port_recovers_itself_with_fpr
  testtools.matchers._impl.MismatchError: !=:
  reference = [{'cidr': '0.0.0.0/0',
    'device': 'fg-e3de046b-8f',
    'table': 2852018311,
    'via': '19.4.4.2'}]
  actual    = [{'cidr': '0.0.0.0/0',
    'device': 'fg-e3de046b-8f',
    'table': 2852018311,
    'via': '19.4.4.2'},
   {'cidr': '9.4.5.0/24',
    'device': 'fg-e3de046b-8f',
    'table': 'main',
    'via': None},
   {'cidr': '19.4.4.0/24',
    'device': 'fg-e3de046b-8f',
    'table': 'main',
    'via': None},
   {'cidr': '19.4.4.2/32',
    'device': 'fpr-9bd4bf73-0',
    'table': 'main',
    'via': '169.254.88.134'},
   {'cidr': '169.254.88.134/31',
    'device': 'fpr-9bd4bf73-0',
    'table': 'main',
    'via': None},
   {'cidr': '19.4.4.9/32',
    'device': 'fg-e3de046b-8f',
    'table': 'local',
    'via': None},
   {'cidr': '19.4.4.255/32',
    'device': 'fg-e3de046b-8f',
    'table': 'local',
    'via': None},
   {'cidr': '127.0.0.0/8', 'device': 'lo', 'table': 'local', 'via': None},
   {'cidr': '127.0.0.1/32', 'device': 'lo', 'table': 'local', 'via': None},
   {'cidr': '127.255.255.255/32', 'device': 'lo', 'table': 'local', 'via': None},
   {'cidr': '169.254.88.135/32',
    'device': 'fpr-9bd4bf73-0',
    'table': 'local',
    'via': None}]

  Example failure:-
  https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_466/periodic/opendev.org/openstack/neutron/master/neutron-
  functional-with-pyroute2-master/4662eac/testr_results.html

  Builds:- https://zuul.openstack.org/builds?job_name=neutron-
  functional-with-pyroute2-master&project=openstack/neutron

  With upper-constraint version 0.7.12 and latest release 0.8.1 it works
  fine, with pyroute2 master these tests fails.

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