[SRU][J][PATCH 1/1] UBUNTU: SAUCE increase socat timeout in gre_gso.sh
Po-Hsu Lin
po-hsu.lin at canonical.com
Tue Dec 30 02:19:51 UTC 2025
Hi Kuba,
thanks for investigating this,
is it possible to submit this patch to kselftest upstream?
So that we can minimize our delta and make future backport work easier.
On Fri, 19 Dec 2025 at 01:08, Kuba Pawlak <kuba.pawlak at canonical.com> wrote:
> BugLink: https://bugs.launchpad.net/bugs/2136820
>
> Rarely timeout is reached for socat, resulting in a failed test.
> Increase the timeout from 1 to 3 seconds to improve reliability
>
> Signed-off-by: Kuba Pawlak <kuba.pawlak at canonical.com>
> ---
> tools/testing/selftests/net/gre_gso.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/net/gre_gso.sh
> b/tools/testing/selftests/net/gre_gso.sh
> index 3224651db97b..d11dbaf39c56 100755
> --- a/tools/testing/selftests/net/gre_gso.sh
> +++ b/tools/testing/selftests/net/gre_gso.sh
> @@ -124,12 +124,12 @@ gre_gst_test_checks()
> PID=$!
> while ! $NS_EXEC ss -ltn | grep -q $port; do ((i++)); sleep 0.01;
> done
>
> - cat $TMPFILE | timeout 1 socat -u STDIN TCP:$addr:$port
> + cat $TMPFILE | timeout 3 socat -u STDIN TCP:$addr:$port
> log_test $? 0 "$name - copy file w/ TSO"
>
> ethtool -K veth0 tso off
>
> - cat $TMPFILE | timeout 1 socat -u STDIN TCP:$addr:$port
> + cat $TMPFILE | timeout 3 socat -u STDIN TCP:$addr:$port
> log_test $? 0 "$name - copy file w/ GSO"
>
> ethtool -K veth0 tso on
> --
> 2.43.0
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20251230/8fe94989/attachment.html>
More information about the kernel-team
mailing list