Skip to contentSkip to conversation

selftests/mqueue: Set timeout to 180 seconds

PATCH Applied SeongJae Park 2 participants 2 messages Feb 20, 2024 – Feb 21, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 selftests/mqueue: Set timeout to 180 seconds

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 <[email protected]> # 5.4.x

---
Changes from v2
(https://lore.kernel.org/r/[email protected])
- Update commit message about the new timeout limit to 180 seconds
- Remove wrong Link: line

Changes from v1
(https://lore.kernel.org/r/[email protected])
- 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
tools/testing/selftests/mqueue/setting new file +1 -0
new file mode 100644
index 000000000000..a953c96aa16e
@@ -0,0 +1 @@
+timeout=180
Signature · 1 line
2.39.2
maintainer Applied
#1 lore raw
Quoted 29 lines · 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 <[email protected]> # 5.4.x

---
Changes from v2
(https://lore.kernel.org/r/[email protected])
- Update commit message about the new timeout limit to 180 seconds
- Remove wrong Link: line

Changes from v1
(https://lore.kernel.org/r/[email protected])
- 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

tools/testing/selftests/mqueue/setting new file +0 -0
new file mode 100644
index 000000000000..a953c96aa16e

tools/testing/selftests/mqueue/setting line 1

Quoted 1 line
tools/testing/selftests/mqueue/setting new file +1 -0
@@ -0,0 +1 @@
+timeout=180

Applied to next for Linux 6.9-rc1

thanks,
-- Shuah