settingsLogin | Registersettings

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

0 votes

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}networkingovn.tests.unit.ovsdb.testovsdbmonitor.TestOvnConnection.testconnectionsbstart
[0.015743s] ... ok
Mechanism driver 'ovn' failed in createportprecommit
Traceback (most recent call last):
File "networking-ovn-orig/networking-ovn/.tox/py27/src/neutron/neutron/plugins/ml2/managers.py",
line 428, in callondrivers
getattr(driver.obj, method
name)(context)
File "networkingovn/ml2/mechdriver.py", line 325, in createportprecommit
utils.validateandgetdatafrombindingprofile(port)
File "networkingovn/common/utils.py", line 162, in
validate
andgetdatafrombindingprofile
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


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
asked Oct 20, 2017 in openstack by pranab_boruah (740 points)   1 4
...