On 10/21/26 2:57 PM, Ilya Maximets wrote:
> Tests are matching on words 'wrong' and 'bad' in tcpdump output to
> capture reports about incorrect checksums.  However, 'bad' is a valid
> hex string and can occur as part of IPv6 flowlabel or some other parts
> of the packet.  Let's match on words instead of simply sub-strings.
> 
> Example of the failed check from our CI:
> 
>  $ tcpdump -n -v "icmp6" -r p0.pcap 2>/dev/null | grep -E 'wrong|bad'
>  11:37:41.485535 IP6 (flowlabel 0xbad6a, hlim 64,
>    next-header ICMPv6 (58), ... fc00::2 > fc00::1:[icmp6 sum ok] ICMP6
> 
> Also, let's actually log the output so it's easier to understand what
> happened from the log without the need to run tcpdump manually on the
> captured pcap manually.
> 
> Chances to hit this issue are quite low, but it happened more than
> once at this point.
> 
> Fixes: b020a416e24c ("System Tests: Enhance NAT tests.")
> Signed-off-by: Ilya Maximets <[email protected]>
> ---
GitHub failed to start OSX job.  Looks like platform-wide issue.

Recheck-request: github-robot
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to