You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Sometimes, softhsm is very slow on the macos in the uri test. We bumped the timeout to 90 second (while it takes 5 on other combinations), but it still sometimes times out:
79/88 pkcs11-provider:softhsm / uri TIMEOUT 90.05s killed by signal 15 SIGTERM
Checking the output, I saw 265 queries to openssl with different uris in
Softoken ran the same test for 40 seconds (but note, that it has fewer tests as it does not support RSA-PSS with ALLOWED_MECHANISMS and EdDSA keys:
78/88 pkcs11-provider:softokn / uri OK 40.51s
On Linux, this test is bit faster, but it still takes a lot of time in softhsm compared to softokn:
79/88 pkcs11-provider:softhsm / uri OK 46.47s
78/88 pkcs11-provider:softokn / uri OK 5.80s
To Reproduce
Run all tests
Expected behavior
No timeouts
Operating environment (please complete the following information):
OS: MacOS
Version 14
Token and application used (please complete the following information):
Device: SoftHSM
PKCS11 Driver version: ?
Additional context
We can bump the timeout even more, try to cut some objects (>200 objects is quite a lot -- I am not even sure where does this come from) or drop softhsm altogether (but I still find it quite useful).
The text was updated successfully, but these errors were encountered:
Describe the bug
Sometimes, softhsm is very slow on the macos in the uri test. We bumped the timeout to 90 second (while it takes 5 on other combinations), but it still sometimes times out:
Checking the output, I saw 265 queries to openssl with different uris in
https://github.com/latchset/pkcs11-provider/actions/runs/12995228522/job/36241470911
On main, this finished in 80 seconds (we probably got a faster machine):
https://github.com/latchset/pkcs11-provider/actions/runs/12995441028/job/36242150007
Softoken ran the same test for 40 seconds (but note, that it has fewer tests as it does not support RSA-PSS with ALLOWED_MECHANISMS and EdDSA keys:
On Linux, this test is bit faster, but it still takes a lot of time in softhsm compared to softokn:
To Reproduce
Run all tests
Expected behavior
No timeouts
Operating environment (please complete the following information):
Token and application used (please complete the following information):
Additional context
We can bump the timeout even more, try to cut some objects (>200 objects is quite a lot -- I am not even sure where does this come from) or drop softhsm altogether (but I still find it quite useful).
The text was updated successfully, but these errors were encountered: