linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests/powerpc: Increase timeout for vsx_signal test
@ 2023-03-07 21:36 Michael Neuling
  2023-03-22 12:25 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Neuling @ 2023-03-07 21:36 UTC (permalink / raw)
  To: mpe; +Cc: mikey, linuxppc-dev, cyrilbur

On the max config P10 machine (1920 threads and 64TB) this test fails
with a timeout:

    Sending signals to all threads 10 times...!! killing vmx_signal
    !! child died by signal 15
    failure: vmx_signal

The default timeout is 120sec so increase this 3x to 360sec. With this
change the test passes on these large machines.

Signed-off-by: Michael Neuling <mikey@neuling.org>
---
 tools/testing/selftests/powerpc/math/vmx_signal.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/powerpc/math/vmx_signal.c b/tools/testing/selftests/powerpc/math/vmx_signal.c
index b340a5c4e79d..c307dff19c12 100644
--- a/tools/testing/selftests/powerpc/math/vmx_signal.c
+++ b/tools/testing/selftests/powerpc/math/vmx_signal.c
@@ -151,5 +151,6 @@ int test_signal_vmx(void)
 
 int main(int argc, char *argv[])
 {
+	test_harness_set_timeout(360);
 	return test_harness(test_signal_vmx, "vmx_signal");
 }
-- 
2.39.2


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

* Re: [PATCH] selftests/powerpc: Increase timeout for vsx_signal test
  2023-03-07 21:36 [PATCH] selftests/powerpc: Increase timeout for vsx_signal test Michael Neuling
@ 2023-03-22 12:25 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2023-03-22 12:25 UTC (permalink / raw)
  To: mpe, Michael Neuling; +Cc: linuxppc-dev, cyrilbur

On Wed, 08 Mar 2023 08:36:14 +1100, Michael Neuling wrote:
> On the max config P10 machine (1920 threads and 64TB) this test fails
> with a timeout:
> 
>     Sending signals to all threads 10 times...!! killing vmx_signal
>     !! child died by signal 15
>     failure: vmx_signal
> 
> [...]

Applied to powerpc/next.

[1/1] selftests/powerpc: Increase timeout for vsx_signal test
      https://git.kernel.org/powerpc/c/493648d6795f00b6dcd6295b2b4221871bc1b25b

cheers

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

end of thread, other threads:[~2023-03-22 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 21:36 [PATCH] selftests/powerpc: Increase timeout for vsx_signal test Michael Neuling
2023-03-22 12:25 ` Michael Ellerman

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).