On Tue, Oct 6, 2026 at 3:05 AM Ihar Hrachyshka via dev <
[email protected]> wrote:
> The daemonized listeners in "ACL CT translation - TCP traffic" see EOF
> on stdin and send FIN. Since Ncat 7.96, connect mode exits on peer EOF,
> so the sender can exit successfully before sending the test data. The
> test then times out waiting for a nonempty receive file.
>
> Add --no-shutdown to both listeners, following 1b0153078806 ("tests:
> Keep ECMP Ncat listeners from half-closing."). This avoids the early FIN
> with both old and new Ncat clients.
>
> Assisted-by: Codex, GPT-6.1-Sol medium
> Signed-off-by: Ihar Hrachyshka <[email protected]>
> ---
> tests/system-ovn.at | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/tests/system-ovn.at b/tests/system-ovn.at
> index 13e62bf9b..c9a3d0a4d 100644
> --- a/tests/system-ovn.at
> +++ b/tests/system-ovn.at
> @@ -21963,8 +21963,10 @@ check ovn-nbctl --wait=hv set NB_Global .
> options:acl_ct_translation=true
> check ovn-nbctl --wait=hv sync
> check ovs-appctl dpctl/flush-conntrack
>
> +# Keep listeners from sending FIN on stdin EOF, which can make Ncat
> clients
> +# exit before sending all the data.
> # Test client -> server direction.
> -NETNS_DAEMONIZE([server], [ncat -l 172.16.1.2 8080 > tcp_server.rcvd],
> [server.pid])
> +NETNS_DAEMONIZE([server], [ncat --no-shutdown -l 172.16.1.2 8080 >
> tcp_server.rcvd], [server.pid])
> NS_CHECK_EXEC([client], [ncat -w 1 172.16.1.2 8080 < datafile], [0],
> [ignore], [ignore])
>
> OVS_WAIT_UNTIL([test -s tcp_server.rcvd])
> @@ -21974,7 +21976,7 @@ check cmp datafile tcp_server.rcvd
> kill $(cat server.pid) 2>/dev/null || true
>
> # Test server -> client direction.
> -NETNS_DAEMONIZE([client], [ncat -l 172.16.1.3 8081 > tcp_client.rcvd],
> [client.pid])
> +NETNS_DAEMONIZE([client], [ncat --no-shutdown -l 172.16.1.3 8081 >
> tcp_client.rcvd], [client.pid])
> NS_CHECK_EXEC([server], [ncat -w 1 172.16.1.3 8081 < datafile], [0],
> [ignore], [ignore])
>
> OVS_WAIT_UNTIL([test -s tcp_client.rcvd])
> --
> 2.54.0
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
>
Thank you Ihar,
applied to main and backported down to 26.03.
Regards,
Ales
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev