On 26 Oct 2026, at 18:46, Mike Pattrick via dev wrote:

> After terminating ovs-testcontroller, vswitchd may attempt to
> reconnect before test cleanup completes resulting in a "Connection
> refused" log message and the test to fail. This can be reliably
> reproduced by inserting a 1-second sleep before log checking.
>
> This patch filters out "Connection refused" messages for check_log to
> prevent erroneous test failures.
>
> Reported-at: https://redhat.atlassian.net/browse/FDP-1813
> Signed-off-by: Mike Pattrick <[email protected]>

Thanks Mike, this patch looks good to me.
Guess we should add a fixes tag, which we can do on commit.

Fixes: 70ba6e97dbd7 ("learning-switch: Fix coredump of OpenFlow15 
learning-switch.")

//Eelco

Acked-by: Eelco Chaudron <[email protected]>


> ---
>  tests/learning-switch.at | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/learning-switch.at b/tests/learning-switch.at
> index ac2fc1b80..83a7886fe 100644
> --- a/tests/learning-switch.at
> +++ b/tests/learning-switch.at
> @@ -19,5 +19,6 @@ AT_CHECK([
>  AT_CHECK([kill `cat ovs-testcontroller.pid`])
>
>  OVS_WAIT_UNTIL([! test -e controller])
> -OVS_VSWITCHD_STOP(["/cannot find route for controller/d"])
> +OVS_VSWITCHD_STOP(["/cannot find route for controller/d
> +/Connection refused/d"])
>  AT_CLEANUP
> -- 
> 2.56.0
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to