Bug 1935136

Summary: [OSP13] Unittest TestOVNMechanismDriver.test_create_port_with_disabled_security fails
Product: Red Hat OpenStack Reporter: Roman Safronov <rsafrono>
Component: python-networking-ovnAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: low Docs Contact:
Priority: urgent    
Version: 13.0 (Queens)CC: apevec, egarciar, jlibosva, lhh, majopela, scohen
Target Milestone: z16Keywords: AutomationBlocker, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-4.0.4-9.el7ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-16 10:59:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Safronov 2021-03-04 12:33:20 UTC
Description of problem:

From latest CI run

==============================
Failed 1 tests - output below:
==============================

networking_ovn.tests.unit.ml2.test_mech_driver.TestOVNMechanismDriver.test_create_port_with_disabled_security
-------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/home/cloud-user/networking-ovn/.tox/py27/src/neutron/neutron/tests/base.py", line 181, in func
        return f(self, *args, **kwargs)
      File "networking_ovn/tests/unit/ml2/test_mech_driver.py", line 424, in test_create_port_with_disabled_security
        self.assertEqual(2, len(called_args_dict.get('addresses')))
      File "/home/cloud-user/networking-ovn/.tox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
        self.assertThat(observed, matcher, message)
      File "/home/cloud-user/networking-ovn/.tox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: 2 != 3


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Elvira 2021-03-17 10:49:39 UTC
*** Bug 1899514 has been marked as a duplicate of this bug. ***

Comment 21 errata-xmlrpc 2021-06-16 10:59:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 13.0 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:2385