Source: pkcs11-provider
Version: 1.0-1
Severity: normal
Tags: patch

Dear Maintainer,

Build fails here:
2/92 pkcs11-provider:softhsm / setup          TIMEOUT        30.09s   killed by 
signal 15 SIGTERM

Full log:
https://buildd.debian.org/status/fetch.php?pkg=pkcs11-provider&arch=hppa&ver=1.0-1&stamp=1739306626&raw=0

Key generation is slow on hppa.

I could not find an easy way to use the meson --timeout-multiplier option
in debian/rules.  It seemed I had to change the build directory to override
dh_auto_test.

The attached patch allows the testsuite to run successfully on hppa.

Please install if okay.

Regards,
Dave Anglin

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.12.13-dirty (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--- ./tests/meson.build.save    2025-02-11 12:45:03.000000000 -0500
+++ ./tests/meson.build 2025-02-12 12:41:46.247933535 -0500
@@ -43,6 +43,7 @@
     suite: suite,
     env: conf_env,
     is_parallel: false,
+    timeout: 300,
   )
 endforeach
 
@@ -129,7 +130,7 @@
 endforeach
 
 tests = {
-  'basic': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
+  'basic': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss'], 
'timeout': 300},
   'pubkey': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
   'certs': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
   'ecc': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},

Reply via email to