[openstack-dev] [Networking-OVN] Unable to run OVN functional tests

Numan Siddique nusiddiq at redhat.com
Wed Aug 23 04:55:24 UTC 2017


On Wed, Aug 23, 2017 at 12:03 AM, Assaf Muller <assaf at redhat.com> wrote:

>
>
> On Sat, Aug 19, 2017 at 3:02 PM, Trinath Somanchi <
> trinath.somanchi at nxp.com> wrote:
>
>> Hi-
>>
>>
>>
>> Using [1] I have enabled devstack setup.
>>
>>
>>
>> Now that when I try dvsm-functional tests, I get all tests failed.
>>
>>
>>
>> Please find the error log [2]  help me resolve this issue.
>>
>
Looking into the logs, I am pretty sure there is some problem in finding
 'ovsdb-server' binary in the path.
May be you need to verify if you have installed the ovs properly in your
system. I would suggest you clone ovs repository, compile it and run "sudo
make install".

Since you have mentioned that you have deployed devstack, devstack ovn
script should have compiled ovs and installed.
What I suggest you to do is verify again if you have installed ovs
properly. Run "which ovsdb-server" and see if it returns
"/usr/local/sbin/ovsdb-server".

If you see the code here -
https://github.com/openstack/networking-ovn/blob/master/networking_ovn/tests/functional/resources/process.py#L91,
it uses spawn.find_executable('ovsdb-server'). May be you can run
"spawn.find_executable('ovsdb-server') this out in a python shell.

I hope you are not running functional tests as "sudo". When you run as sudo
it may be possible that /usr/local/bin or /usr/local/sbin might not be in
the PATH environment.

Thanks
Numan


>>
>> Also, were there any tempests tests possible for OVN?
>>
>
> The networking-ovn repo doesn't add new Tempest tests, but the Tempest
> networking tests, as well as the Tempest tests in the Neutron tree can be
> run against a cloud using OVN.
>
>
>>
>>
>> [1] https://docs.openstack.org/networking-ovn/latest/contributor
>> /testing.html
>>
>> [2] http://paste.openstack.org/show/618837/
>>
>>
>>
>>
>>
>> Best Regards,
>>
>> */ Trinath Somanchi.*
>>
>> [image: cid:image001.png at 01D28854.B7934C80]
>>
>> *Trinath Somanchi.*
>>
>> Hyderabad Software Development Center (HSDC), GSD , DN,
>>
>> NXP India Pvt Limited, 1st Floor, Block 3, DLF Cyber City, Gachibowli,
>>
>> Hyderabad, Telangana, 500032, India
>>
>>
>>
>> Email: *trinath.somanchi at nxp.com <trinath.somanchi at nxp.com>*  | Mobile: +91
>> 9866235130 <+91%2098662%2035130> | Off: +91 4033504051
>> <+91%2040%203350%204051>
>>
>> [image: cid:image002.png at 01D28854.B7934C80]
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ____________________________________________________________
>> ______________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscrib
>> e
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170823/ece28607/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 450 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170823/ece28607/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 10253 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170823/ece28607/attachment-0001.png>


More information about the OpenStack-dev mailing list