On 21 Jul 2026, at 15:55, Mike Pattrick wrote:

> Currently the "testing drop-stats - sampling action" test terminates
> vswitchd before error messages can be logged. If the testsuite exit
> hangs for a second then vswitchd will log some more errors and the
> test will fail at check_logs.
>
>     ./drop-stats.at:324: check_logs "/sending to collector failed/d"
>     dpif(revalidator18)|WARN|dummy@ovs-dummy: failed to flow_del (No
>         such file or directory) ufid:<UUID>
>     dpif(revalidator15)|WARN|dummy@ovs-dummy: failed to flow_del (No
>         such file or directory) ufid:<UUID>
>
> This can be simulated by inserting a sleep in check_logs. These errors
> are caused by the revalidator sweeping flows that were already deleted
> through ovs-appctl dpctl/del-flows. This patch uses a revalidator purge
> instead of dpctl flow deletion to suppress these log messages.
>
> Fixes: 516569d31fbf ("ofproto: xlate: Make sampled drops explicit.")
> Reported-at: https://redhat.atlassian.net/browse/FDP-1812
> Acked-by: Eelco Chaudron <[email protected]>
> Signed-off-by: Mike Pattrick <[email protected]>

Thanks Mike for the patch. Applied it to main, all the way down to 3.4.

//Eelco

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

Reply via email to