Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1744080

Summary: networking_ovn.tests.unit.ml2.test_mech_driver.TestOVNMechansimDriverPortsV2.test_update_port_with_empty_data failed
Product: Red Hat OpenStack Reporter: Eran Kuris <ekuris>
Component: python-networking-ovnAssignee: Assaf Muller <amuller>
Status: CLOSED CURRENTRELEASE QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: urgent    
Version: 15.0 (Stein)CC: apevec, jlibosva, lhh, lmartins, majopela, scohen
Target Milestone: ---Keywords: AutomationBlocker, Regression, Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-6.0.1-0.20190826200437.c436748.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1746880 (view as bug list) Environment:
Last Closed: 2019-09-20 12:38:51 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:
Bug Depends On:    
Bug Blocks: 1746880    

Description Eran Kuris 2019-08-21 09:46:30 UTC
Description of problem:
estOVNMechansimDriverPortsV2.test_update_port_with_empty_data failed with error:

Traceback (most recent call last):
testtools.testresult.real._StringException: 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 "/home/cloud-user/networking-ovn/.tox/py27/src/neutron/neutron/tests/base.py", line 181, in func
    return f(self, *args, **kwargs)
  File "/home/cloud-user/networking-ovn/.tox/py27/src/neutron/neutron/tests/unit/plugins/ml2/test_plugin.py", line 951, in test_update_port_with_empty_data
    self.assertEqual(port["port"], new_port)
  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: !=:
reference = {u'admin_state_up': True,
 u'allowed_address_pairs': [],
 u'binding:host_id': u'',
 u'binding:profile': {},
 u'binding:vif_details': {},
 u'binding:vif_type': u'unbound',
 u'binding:vnic_type': u'normal',
 u'description': u'',
 u'device_id': u'',
 u'device_owner': u'',
 u'extra_dhcp_opts': [],
 u'fixed_ips': [{u'ip_address': u'10.0.0.19',
                 u'subnet_id': u'b895045e-e949-4ea8-9202-d836b5629d01'}],
 u'id': u'20de7822-0b22-40ab-9b7a-bc47c9e2a8a7',
 u'mac_address': u'12:34:56:78:67:f7',
 u'name': u'',
 u'network_id': u'c4f69e8b-03db-43aa-9421-d041fdac6475',
 u'project_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b',
 u'security_groups': [u'c317f1e3-33ae-4486-a52d-c2e45fdfb820'],
 u'status': u'DOWN',
 u'tenant_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b'}
actual    = {'admin_state_up': True,
 'allowed_address_pairs': [],
 'binding:host_id': u'',
 'binding:profile': {},
 'binding:vif_details': {},
 'binding:vif_type': u'unbound',
 'binding:vnic_type': u'normal',
 'description': u'',
 'device_id': u'',
 'device_owner': u'',
 'extra_dhcp_opts': [],
 'fixed_ips': [{'ip_address': u'10.0.0.19',
                'subnet_id': u'b895045e-e949-4ea8-9202-d836b5629d01'}],
 'id': u'20de7822-0b22-40ab-9b7a-bc47c9e2a8a7',
 'mac_address': u'12:34:56:78:67:f7',
 'name': u'',
 'network': {'admin_state_up': True,
             'availability_zone_hints': [],
             'availability_zones': [],
             'description': u'',
             'id': u'c4f69e8b-03db-43aa-9421-d041fdac6475',
             'ipv4_address_scope': None,
             'ipv6_address_scope': None,
             'mtu': 1450,
             'name': u'net1',
             'project_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b',
             'provider:network_type': u'geneve',
             'provider:physical_network': None,
             'provider:segmentation_id': 20,
             'router:external': False,
             'shared': False,
             'status': u'ACTIVE',
             'subnets': [u'b895045e-e949-4ea8-9202-d836b5629d01'],
             'tenant_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b',
             'vlan_transparent': None},
 'network_id': u'c4f69e8b-03db-43aa-9421-d041fdac6475',
 'project_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b',
 'security_groups': [u'c317f1e3-33ae-4486-a52d-c2e45fdfb820'],
 'status': u'DOWN',
 'tenant_id': u'46f70361-ba71-4bd0-9769-3573fd227c4b'}
Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. run ci job
2.
3.

Actual results:


Expected results:


Additional info: