On Wed, Nov 25, 2020 at 4:21 AM Ben Pfaff <b...@ovn.org> wrote: > > The tests "superseding ACLs with conjunction" and "ARP replies for SNAT > external ips" trigger bugs in the ovn-controller incremental processing > logic. This works around those bugs. >
> Signed-off-by: Ben Pfaff <b...@ovn.org> Can you please try test case - "ARP replies for SNAT external ips" with the latest OVN master ? The commit https://github.com/ovn-org/ovn/commit/53f60c7ab742cba0b3dd84b73658e0bbd44ec145 should solve this issue. I will take a look into the other test case - "superseding ACLs with conjunction". Thanks Numan > --- > tests/ovn.at | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/tests/ovn.at b/tests/ovn.at > index 9a9b8a50790e..905fcccba500 100644 > --- a/tests/ovn.at > +++ b/tests/ovn.at > @@ -13648,6 +13648,11 @@ ovn-nbctl acl-add ls1 to-lport 3 '(ip4.src==10.0.0.1 > || ip4.src==10.0.0.2) && (i > ovn-nbctl acl-add ls1 to-lport 3 '(ip4.src==10.0.0.1 || ip4.src==10.0.0.42) > && (ip4.dst == 10.0.0.3 || ip4.dst == 10.0.0.4)' allow > ovn-nbctl --wait=hv sync > > +# There's a bug in ovn-controller that usually makes this test fail > +# without the following (more often with ovn-northd than ovn-northd-ddlog). > +check as hv1 ovs-appctl -t ovn-controller recompute > +sleep 1 > + > # Traffic 10.0.0.1, 10.0.0.2 -> 10.0.0.3, 10.0.0.4 should be allowed. > for src in `seq 1 2`; do > for dst in `seq 3 4`; do > @@ -22243,6 +22248,14 @@ send_arp_request() { > local arp=0001080006040001${eth_src}${spa}${eth_dst}${tpa} > > local request=${eth}${arp} > + > + # There's a bug in ovn-controller incremental processing that > + # makes this test fail most of the time without forcing full > + # recomputation. > + check as hv1 ovs-appctl -t ovn-controller recompute > + check as hv2 ovs-appctl -t ovn-controller recompute > + sleep 1 > + > as hv2 ovs-appctl netdev-dummy/receive hv2-phys1 $request > } > > -- > 2.26.2 > > _______________________________________________ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev