[Openstack] [openstack-dev] [networking-ovn] Error while running unit tests(master branch)

pranab boruah pranabjyotiboruah at gmail.com
Fri Oct 20 08:01:41 UTC 2017


Hi,

I have been trying to run the unit tests for submitting a patch to fix
the bug: #1515005.

I got the following ERROR:

# tox
..........
{9}networking_ovn.tests.unit.ovsdb.test_ovsdb_monitor.TestOvnConnection.test_connection_sb_start
[0.015743s] ... ok
Mechanism driver 'ovn' failed in create_port_precommit
Traceback (most recent call last):
  File "networking-ovn-orig/networking-ovn/.tox/py27/src/neutron/neutron/plugins/ml2/managers.py",
line 428, in _call_on_drivers
    getattr(driver.obj, method_name)(context)
  File "networking_ovn/ml2/mech_driver.py", line 325, in create_port_precommit
    utils.validate_and_get_data_from_binding_profile(port)
  File "networking_ovn/common/utils.py", line 162, in
validate_and_get_data_from_binding_profile
    raise n_exc.InvalidInput(error_message=msg)
InvalidInput: Invalid input for operation: Invalid binding:profile.
vtep-logical-switch 1234 value invalid type.

I cloned the master branch(which doesn't have my changes) and ran unit
tests. I got the same error.

Any ideas/comments on how to fix this?

Thanks,
Pranab



More information about the Openstack mailing list