Re: [PATCH net-next] selftests: drv-net: bump the timeout to 15min

Nimrod Oren <[email protected]>
Newsgroups org.kernel.vger.linux-kselftest,org.kernel.vger.netdev
Message-ID <[email protected]>
On 12/08/2026 20:13, Jakub Kicinski wrote:
> The GRO test takes extra time on NICs which support HW-GRO and LRO
> (as it also runs the test cases against the NIC implementation).
> gro.py takes 6min on bnxt and 10min on mlx5 with debug kernel builds.

10m works for xdp.py but it seems that it isn't enough for gro.py :(

    # ok 265 gro.test.lro_ipip_ip_ecn
    not ok 1 selftests: drivers/net: gro.py # exit=130
    # Totals: pass:0 fail:1 xfail:0 xpass:0 skip:0 error:0

    NIPA RUNNER TIMEOUT 600 sec (graceful stop)

https://netdev.bots.linux.dev/logs/hwksft/CX7-dbg/results/776322/test-outputs/0-gro-py/stdout

> The delta between drivers is to some extent due to their defaults
> (mlx5 sillily defaults to queue-per-thread, while bnxt follows
> netif_get_num_default_rss_queues()).
> 
> At the end of the day the defaults don't matter much - on larger
> machines all drivers will create more queues. We should bump
> the timeout. Let's give ourselves a 50% margin over mlx5's needs
> and set the timeout to 15min.
> 
> Signed-off-by: Jakub Kicinski <[email protected]>
> ---
> CC: [email protected]
> CC: [email protected]
> CC: [email protected]
> ---
>  tools/testing/selftests/drivers/net/settings | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/drivers/net/settings b/tools/testing/selftests/drivers/net/settings
> index eef533824a3c..e2206265f67c 100644
> --- a/tools/testing/selftests/drivers/net/settings
> +++ b/tools/testing/selftests/drivers/net/settings
> @@ -1 +1 @@
> -timeout=360
> +timeout=900
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.