* [PATCH] selftest/hid: increase timeout to 10 min @ 2024-10-29 9:07 Yun Lu 2024-10-30 1:11 ` Shuah Khan 0 siblings, 1 reply; 3+ messages in thread From: Yun Lu @ 2024-10-29 9:07 UTC (permalink / raw) To: jikos, bentiss, shuah; +Cc: linux-kselftest, linux-kernel If running hid testcases with command "./run_kselftest.sh -c hid", the following tests will take longer than the kselftest framework timeout (now 200 seconds) to run and thus got terminated with TIMEOUT error: hid-multitouch.sh - took about 6min41s hid-tablet.sh - took about 6min30s Increase the timeout setting to 10 minutes to allow them have a chance to finish. Cc: stable@vger.kernel.org Signed-off-by: Yun Lu <luyun@kylinos.cn> --- tools/testing/selftests/hid/settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/hid/settings b/tools/testing/selftests/hid/settings index b3cbfc521b10..dff0d947f9c2 100644 --- a/tools/testing/selftests/hid/settings +++ b/tools/testing/selftests/hid/settings @@ -1,3 +1,3 @@ # HID tests can be long, so give a little bit more time # to them -timeout=200 +timeout=600 -- 2.27.0 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] selftest/hid: increase timeout to 10 min 2024-10-29 9:07 [PATCH] selftest/hid: increase timeout to 10 min Yun Lu @ 2024-10-30 1:11 ` Shuah Khan 2024-10-30 8:00 ` Benjamin Tissoires 0 siblings, 1 reply; 3+ messages in thread From: Shuah Khan @ 2024-10-30 1:11 UTC (permalink / raw) To: Yun Lu, jikos, bentiss, shuah; +Cc: linux-kselftest, linux-kernel, Shuah Khan On 10/29/24 03:07, Yun Lu wrote: > If running hid testcases with command "./run_kselftest.sh -c hid", NIT - When inestead of "If" > the following tests will take longer than the kselftest framework > timeout (now 200 seconds) to run and thus got terminated with TIMEOUT > error: > > hid-multitouch.sh - took about 6min41s > hid-tablet.sh - took about 6min30s > > Increase the timeout setting to 10 minutes to allow them have a chance > to finish. > > Cc: stable@vger.kernel.org > Signed-off-by: Yun Lu <luyun@kylinos.cn> > --- > tools/testing/selftests/hid/settings | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/hid/settings b/tools/testing/selftests/hid/settings > index b3cbfc521b10..dff0d947f9c2 100644 > --- a/tools/testing/selftests/hid/settings > +++ b/tools/testing/selftests/hid/settings > @@ -1,3 +1,3 @@ > # HID tests can be long, so give a little bit more time > # to them > -timeout=200 > +timeout=600 Okay - maybe this test shouldn't be part of the default run if it needs 600 seconds to run? thanks, -- Shuah ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] selftest/hid: increase timeout to 10 min 2024-10-30 1:11 ` Shuah Khan @ 2024-10-30 8:00 ` Benjamin Tissoires 0 siblings, 0 replies; 3+ messages in thread From: Benjamin Tissoires @ 2024-10-30 8:00 UTC (permalink / raw) To: Shuah Khan; +Cc: Yun Lu, jikos, shuah, linux-kselftest, linux-kernel On Oct 29 2024, Shuah Khan wrote: > On 10/29/24 03:07, Yun Lu wrote: > > If running hid testcases with command "./run_kselftest.sh -c hid", > > NIT - When inestead of "If" > > the following tests will take longer than the kselftest framework > > timeout (now 200 seconds) to run and thus got terminated with TIMEOUT > > error: > > > > hid-multitouch.sh - took about 6min41s > > hid-tablet.sh - took about 6min30s > > > > Increase the timeout setting to 10 minutes to allow them have a chance > > to finish. > > > > Cc: stable@vger.kernel.org > > Signed-off-by: Yun Lu <luyun@kylinos.cn> > > --- > > tools/testing/selftests/hid/settings | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/tools/testing/selftests/hid/settings b/tools/testing/selftests/hid/settings > > index b3cbfc521b10..dff0d947f9c2 100644 > > --- a/tools/testing/selftests/hid/settings > > +++ b/tools/testing/selftests/hid/settings > > @@ -1,3 +1,3 @@ > > # HID tests can be long, so give a little bit more time > > # to them > > -timeout=200 > > +timeout=600 > > Okay - maybe this test shouldn't be part of the default run if it needs > 600 seconds to run? Agree, but is it possible to be more granular? FWIW, there are some tests that are quick in the hid subtree that should probably be run regularly. For instance, the hid_bpf program is interesting to be run when there are bpf changes, because it's relying on the bpf architecture. I think hid-core.sh, hid-mouse,sh and hid-keyboard.sh are fast enough and should also be integrated in the default runs. hid-multitouch, hid-wacom, hid-sony are definitely taking a lot of time, so they should probbaly be run only when there are changes in those areas, i.e., not by default. Cheers, Benjamin > > thanks, > -- Shuah ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-30 8:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-10-29 9:07 [PATCH] selftest/hid: increase timeout to 10 min Yun Lu 2024-10-30 1:11 ` Shuah Khan 2024-10-30 8:00 ` Benjamin Tissoires
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®