On Wed, Aug 23, 2017 at 10:41 AM, Trinath Somanchi <[email protected] > wrote:
> 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? > > You see these error logs when the test calls the "stop" function here [1]. "stop" is called because of [2] as part of cleanup. The real issue is "utils.create_process(ovsdb_server_cmd)" called here [3] is failing and you probably need to debug why. Did you get the chance to try to the commands which I suggested in my previous email ? Thanks [1] - https://github.com/openstack/networking-ovn/blob/master/networking_ovn/tests/functional/resources/process.py#L125 [2] - https://github.com/openstack/networking-ovn/blob/master/networking_ovn/tests/functional/resources/process.py#L66 [3] - https://github.com/openstack/networking-ovn/blob/master/networking_ovn/tests/functional/resources/process.py#L108 > > > [1] http://paste.openstack.org/show/618837/ > > > > Best Regards, > > Trinath Somanchi | *NXP* | *HSDC*, *INDIA* > > > > *From:* Numan Siddique [mailto:[email protected]] > *Sent:* Wednesday, August 23, 2017 10:25 AM > *To:* OpenStack Development Mailing List (not for usage questions) < > [email protected]> > *Subject:* Re: [openstack-dev] [Networking-OVN] Unable to run OVN > functional tests > > > > > > > > On Wed, Aug 23, 2017 at 12:03 AM, Assaf Muller <[email protected]> wrote: > > > > > > On Sat, Aug 19, 2017 at 3:02 PM, Trinath Somanchi < > [email protected]> 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:[email protected]] > > *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: *[email protected] <[email protected]>* | Mobile: +91 > 9866235130 <+91%2098662%2035130> | Off: +91 4033504051 > <+91%2040%203350%204051> > > [image: cid:[email protected]] > > > > > > > > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
