stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] selftests/mqueue: Set timeout to 180 seconds
@ 2024-02-20  0:08 SeongJae Park
  2024-02-21  0:14 ` Shuah Khan
  0 siblings, 1 reply; 2+ messages in thread
From: SeongJae Park @ 2024-02-20  0:08 UTC (permalink / raw)
  To: shuah
  Cc: ryan.roberts, abuehaze, brauner, jlayton, jack, keescook,
	linux-kselftest, linux-kernel, stable, Vijaikumar_Kanagarajan,
	SeongJae Park

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 180 seconds.

Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test")
Cc: <stable@vger.kernel.org> # 5.4.x
Signed-off-by: SeongJae Park <sj@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
---
Changes from v2
(https://lore.kernel.org/r/20240220000243.162285-1-sj@kernel.org)
- Update commit message about the new timeout limit to 180 seconds
- Remove wrong Link: line

Changes from v1
(https://lore.kernel.org/r/20240208212925.68286-1-sj@kernel.org)
- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v3] selftests/mqueue: Set timeout to 180 seconds
  2024-02-20  0:08 [PATCH v3] selftests/mqueue: Set timeout to 180 seconds SeongJae Park
@ 2024-02-21  0:14 ` Shuah Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2024-02-21  0:14 UTC (permalink / raw)
  To: SeongJae Park, shuah
  Cc: ryan.roberts, abuehaze, brauner, jlayton, jack, keescook,
	linux-kselftest, linux-kernel, stable, Vijaikumar_Kanagarajan,
	Shuah Khan

On 2/19/24 17:08, SeongJae Park 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 180 seconds.
> 
> Fixes: 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second timeout per test")
> Cc: <stable@vger.kernel.org> # 5.4.x
> Signed-off-by: SeongJae Park <sj@kernel.org>
> Reviewed-by: Kees Cook <keescook@chromium.org>
> ---
> Changes from v2
> (https://lore.kernel.org/r/20240220000243.162285-1-sj@kernel.org)
> - Update commit message about the new timeout limit to 180 seconds
> - Remove wrong Link: line
> 
> Changes from v1
> (https://lore.kernel.org/r/20240208212925.68286-1-sj@kernel.org)
> - 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

Applied to next for Linux 6.9-rc1

thanks,
-- Shuah

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-21  0:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20  0:08 [PATCH v3] selftests/mqueue: Set timeout to 180 seconds SeongJae Park
2024-02-21  0:14 ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).