Bug 1744080 - networking_ovn.tests.unit.ml2.test_mech_driver.TestOVNMechansimDriverPortsV2.test_update_port_with_empty_data failed
Summary: networking_ovn.tests.unit.ml2.test_mech_driver.TestOVNMechansimDriverPortsV2....
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: ---
Assignee: Assaf Muller
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks: 1746880
TreeView+ depends on / blocked
 
Reported: 2019-08-21 09:46 UTC by Eran Kuris
Modified: 2019-09-20 12:38 UTC (History)
6 users (show)

Fixed In Version: python-networking-ovn-6.0.1-0.20190826200437.c436748.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1746880 (view as bug list)
Environment:
Last Closed: 2019-09-20 12:38:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 675602 0 None None None 2019-08-21 09:53:16 UTC

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:


Note You need to log in before you can comment on or make changes to this bug.