← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2072545] Re: [master] test_router_port_binding fails with AttributeError: 'list' object has no attribute 'external_ids'

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/923717
Committed: https://opendev.org/openstack/neutron/commit/6a2bb6ce3ecd4d9ed86351b2de8f42bb2c8e63c6
Submitter: "Zuul (22348)"
Branch:    master

commit 6a2bb6ce3ecd4d9ed86351b2de8f42bb2c8e63c6
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Mon Jul 8 17:46:54 2024 +0000

    [FT] Check if the OVN row item is stored as a list
    
    Since [1] (ovs==3.3.1), the row data result stored in
    the data dictionary will be a one single item list, instead of
    the item itself.
    
    [1] https://is.gd/yElVoV
    Closes-Bug: #2072545
    
    Change-Id: Ie5642b4073c6c54aeec3896ebcd451badc3d64a8


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

Title:
  [master] test_router_port_binding fails with AttributeError: 'list'
  object has no attribute 'external_ids'

Status in neutron:
  Fix Released

Bug description:
  Fails as:-
  ft1.1: neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.ovsdb.test_ovsdb_monitor.TestSBDbMonitor.test_router_port_bindingtesttools.testresult.real._StringException: Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 178, in func
      return f(self, *args, **kwargs)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovsdb_monitor.py", line 668, in test_router_port_binding
      n_utils.wait_until_true(check_ext_ids, timeout=5)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 739, in wait_until_true
      while not predicate():
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovsdb_monitor.py", line 646, in check_ext_ids
      return lrp.external_ids == pb.external_ids
  AttributeError: 'list' object has no attribute 'external_ids'

  
  Example failures:-
      https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_8b6/923040/4/check/neutron-functional-with-uwsgi/8b6ccbc/testr_results.html
      https://ff366d95aec6a66f4d5a-0d96b608ecbdac6c8248619c1dff0910.ssl.cf2.rackcdn.com/periodic/opendev.org/openstack/neutron/master/neutron-functional-with-oslo-master/67f3beb/testr_results.html
      https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_bd0/periodic/opendev.org/openstack/neutron/master/neutron-functional/bd043e3/testr_results.html
      https://e049f2f4b83c4042a9e9-b1c75e95e0d70e394f555824f39e5098.ssl.cf1.rackcdn.com/periodic/opendev.org/openstack/neutron/master/neutron-functional-with-sqlalchemy-master/f88472a/testr_results.html
      https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_e1c/periodic/opendev.org/openstack/neutron/master/neutron-functional-with-uwsgi-fips/e1c9697/testr_results.html
      https://21113bbc92e5c7a602bc-8487c3b6900b7c78d48e92ae9f34fb08.ssl.cf1.rackcdn.com/periodic/opendev.org/openstack/neutron/master/neutron-functional-with-pyroute2-master/5592faa/testr_results.html

  Fails always since few hours, likely caused by ovs bump in
  https://review.opendev.org/c/openstack/requirements/+/910040 but let's
  confirm.

  builds:- https://zuul.openstack.org/builds?job_name=neutron-
  functional-with-uwsgi&project=openstack%252Fneutron&branch=master

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



References