diff mbox series

selftests/powerpc: Increase timeout for vsx_signal test

Message ID 20230307213614.2652059-1-mikey@neuling.org (mailing list archive)
State Accepted
Commit 493648d6795f00b6dcd6295b2b4221871bc1b25b
Headers show
Series selftests/powerpc: Increase timeout for vsx_signal test | expand

Checks

Context Check Description
snowpatch_ozlabs/github-powerpc_ppctests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_selftests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_sparse success Successfully ran 4 jobs.
snowpatch_ozlabs/github-powerpc_clang success Successfully ran 6 jobs.
snowpatch_ozlabs/github-powerpc_kernel_qemu success Successfully ran 24 jobs.

Commit Message

Michael Neuling March 7, 2023, 9:36 p.m. UTC
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(+)

Comments

Michael Ellerman March 22, 2023, 12:25 p.m. UTC | #1
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
diff mbox series

Patch

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");
 }