[openstack-dev] [Networking-OVN] Unable to run OVN functional tests
Trinath Somanchi
trinath.somanchi at nxp.com
Wed Aug 23 05:11:30 UTC 2017
I’m not running functional tests as root.
Also, from [1] , The following errors fails most for the cases.
Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
ERROR [neutron.agent.linux.utils] Exit code: 1; Stdin: ; Stdout: ; Stderr: 2017-08-19T19:16:26Z|00001|unixctl|WARN|failed to connect to /tmp/tmpNpVzUM/tmpxaCA5
ovs-appctl: cannot connect to "/tmp/tmpNpVzUM/tmpxaCA5m/ovnnb_db.ctl" (No such file or directory)
ERROR [neutron.agent.linux.utils] Exit code: 1; Stdin: ; Stdout: ; Stderr: 2017-08-19T19:16:26Z|00001|unixctl|WARN|failed to connect to /tmp/tmpNpVzUM/tmpxaCA5
ovs-appctl: cannot connect to "/tmp/tmpNpVzUM/tmpxaCA5m/ovnsb_db.ctl" (No such file or directory)
why the test case is searching ovnnb_db.ctl at some other location?
[1] http://paste.openstack.org/show/618837/
Best Regards,
Trinath Somanchi | NXP | HSDC, INDIA
From: Numan Siddique [mailto:nusiddiq at redhat.com]
Sent: Wednesday, August 23, 2017 10:25 AM
To: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org>
Subject: Re: [openstack-dev] [Networking-OVN] Unable to run OVN functional tests
On Wed, Aug 23, 2017 at 12:03 AM, Assaf Muller <assaf at redhat.com<mailto:assaf at redhat.com>> wrote:
On Sat, Aug 19, 2017 at 3:02 PM, Trinath Somanchi <trinath.somanchi at nxp.com<mailto: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.
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<mailto:trinath.somanchi at nxp.com> | Mobile: +91 9866235130<tel:+91%2098662%2035130> | Off: +91 4033504051<tel:+91%2040%203350%204051>
[cid:image002.png at 01D28854.B7934C80]
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
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://OpenStack-dev-request@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/5e1e05b5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 450 bytes
Desc: image001.png
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170823/5e1e05b5/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 10253 bytes
Desc: image002.png
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170823/5e1e05b5/attachment-0003.png>
More information about the OpenStack-dev
mailing list