tests: Fix flaky test "IPv6 Neighbor Solicitation for unknown MAC"
Fixes: ("pinctrl: Send RARPs for external ipv6 interfaces")
Acked-by: Ales Musil
@@ -13968,8 +13968,9 @@ AT_CHECK([cat 2.packets | cut -c 117-], [0], [expout])
# Check that NS packets are not flooded across routing domains. That means
# that hv2 should not send any packets across the physical network.
+# Use the grep here to filter out rarp packets that might have arrived
$PYTHON "$ovs_srcdir/utilities/ovs-pcap.in" hv2/br-phys_n1-tx.pcap | \
-trim_zeros > 2.packets
+grep -v ffffffffffff | trim_zeros > 2.packets
AT_CHECK([cat 2.packets], [0], [])
# Now send a packet with destination ip other than
@@ -14009,8 +14010,9 @@ AT_CHECK([cat 2.packets | cut -c 117-], [0], [expout])
# Check that NS packets are not flooded across routing domains. That means
# that hv2 should not send any packets across the physical network.
+# Use the grep here to filter out rarp packets that might have arrived
$PYTHON "$ovs_srcdir/utilities/ovs-pcap.in" hv2/br-phys_n1-tx.pcap | \
-trim_zeros > 2.packets
+grep -v ffffffffffff | trim_zeros > 2.packets
AT_CHECK([cat 2.packets], [0], [])
OVN_CLEANUP([hv1])
