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. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
