On Wed, Apr 19, 2017 at 06:32:27PM +0200, Timothy M. Redaelli wrote: > Hi, > I was investigating some sporadic failures on some tests: > > 855: ofproto.at:377 ofproto - del group (OpenFlow 1.1) > 858: ofproto.at:460 ofproto - del group (OpenFlow 1.5) > 862: ofproto.at:691 ofproto - bundle del group (OpenFlow 1.3) > 865: ofproto.at:770 ofproto - bundle del group (OpenFlow 1.5) > > After some analysis I found that sometimes "dump-groups" prints the > group that should have removed by "del-groups" just above, the pattern > is the same on all the tests, so it seems "ovs-ofctl del-groups" returns > before having really deleted the group. > In fact if you put a "sleep 1" between the "del-groups" and > "dump-groups" the problem is no more reproducible. > > The problem is present using with or without --bundle specified. > > I created a simple script in order to replicate more easily the problem, > since you need a slow machine or the CPU overloaded in order to have the > race. > > Just download the script at https://git.io/vSpid and launch it from > inside the ovs source directory (with the source code already built). > In the same url you can also find the ovs-vswitchd.log generated by the > script. > > Execution of the script may take some minutes.
Thank you very much! This is a very detailed and helpful report and it must have taken you some time to write it all up. After a little thought, I have sent out a patch that I believe will solve the problem, but I have not tested it. Would you mind trying it out? Here it is: https://patchwork.ozlabs.org/patch/752413/ Thanks, Ben. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
