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:nusid...@redhat.com] Sent: Wednesday, August 23, 2017 10:25 AM To: OpenStack Development Mailing List (not for usage questions) <openstack-dev@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 <as...@redhat.com<mailto:as...@redhat.com>> wrote: On Sat, Aug 19, 2017 at 3:02 PM, Trinath Somanchi <trinath.soman...@nxp.com<mailto:trinath.soman...@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.soman...@nxp.com<mailto:trinath.soman...@nxp.com> | Mobile: +91 9866235130<tel:+91%2098662%2035130> | Off: +91 4033504051<tel:+91%2040%203350%204051> [cid:image002.png@01D28854.B7934C80] __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe<http://openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe<http://openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev