On 8 Feb 2022, at 12:38, Kumar Amber wrote:

> Some specific warning are seen on various systems
> which may not be visible on others but good to add
> such logs to test to avoid test-case failure.
>
> Thw warning only effects the fuzzy tests due to
> more than 1000+ flows being offloading simultanously.
>
> Suggested-by: Eelco Chaudron <[email protected]>
> Signed-off-by: Kumar Amber <[email protected]>
> Acked-by: Eelco Chaudron <[email protected]>
>
> ---
> v2: wildcard flow number count in output logs.(David)
> ---
>  tests/system-dpdk.at | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/tests/system-dpdk.at b/tests/system-dpdk.at
> index 9384cf7f0..4ea21b2e8 100644
> --- a/tests/system-dpdk.at
> +++ b/tests/system-dpdk.at
> @@ -273,7 +273,9 @@ OVS_WAIT_UNTIL([test `ovs-vsctl get interface p1 
> statistics | grep -oP 'rx_packe
>
>  dnl Clean up
>  AT_CHECK([ovs-vsctl del-port br0 p1], [], [stdout], [stderr])
> -OVS_VSWITCHD_STOP("[SYSTEM_DPDK_ALLOWED_LOGS]")
> +OVS_VSWITCHD_STOP("m4_join([], [SYSTEM_DPDK_ALLOWED_LOGS], [
> +\@upcall: datapath reached the dynamic limit of@d

Why not only match out the number, so it’s clear which error message we talk 
about?

+\@upcall: datapath reached the dynamic limit of .* flows.@d


And I think even the final . needs to be escaped, but I see no one doing this.


> +])")
>  AT_CLEANUP
>  dnl 
> --------------------------------------------------------------------------
>
> -- 
> 2.25.1

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

Reply via email to