Re: [PATCH v2] selftests/mqueue: Set timeout to 180 seconds

From: SeongJae Park
Date: Mon Feb 19 2024 - 19:06:26 EST


On Mon, 19 Feb 2024 16:02:43 -0800 SeongJae Park <sj@xxxxxxxxxx> wrote:

> While mq_perf_tests runs with the default kselftest timeout limit, which
> is 45 seconds, the test takes about 60 seconds to complete on i3.metal
> AWS instances. Hence, the test always times out. Increase the timeout
> to 100 seconds.

Oops, I forgot updating this message.

>
> Link: https://lore.kernel.org/r/20240208212925.68286-1-sj@xxxxxxxxxx

Also, this Link: line should be removed.

I will send v3 with above fixes.


Thanks,
SJ

> Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test")
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.4.x
> Signed-off-by: SeongJae Park <sj@xxxxxxxxxx>
> Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> Changes from v1
> (https://lore.kernel.org/r/20240208212925.68286-1-sj@xxxxxxxxxx)
> - Use 180 seconds timeout instead of 100 seconds
>
> tools/testing/selftests/mqueue/setting | 1 +
> 1 file changed, 1 insertion(+)
> create mode 100644 tools/testing/selftests/mqueue/setting
>
> diff --git a/tools/testing/selftests/mqueue/setting b/tools/testing/selftests/mqueue/setting
> new file mode 100644
> index 000000000000..a953c96aa16e
> --- /dev/null
> +++ b/tools/testing/selftests/mqueue/setting
> @@ -0,0 +1 @@
> +timeout=180
> --
> 2.39.2