[gnutls-devel] GnuTLS | certtool-pkcs11 test fails (#1661)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Feb 9 15:51:50 CET 2025



Maxim Cournoyer created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1661



## Description of problem:

When running `make check`, the certtool-pkcs11 test fails consistently.

## Version of gnutls used:

Using the current latest commit (477a73324) of the master branch, 3.8.9.

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

N/A.

## How reproducible:

Simply by running the test suite.

Steps to Reproduce:

Using Guix (with the guix.scm file available from https://gitlab.com/gnutls/gnutls/-/merge_requests/1931)

 * enter dev environment with `guix shell --pure`
 * run `sh bootstrap --no-git --gnulib-srcdir=gnulib --skip-po`
 * run `./configure --with-brotli=link --with-zlib=link --with-zstd=link`
 * run `make -j$(nproc)
 * run `make check -j$(nproc)

## Actual results:

```
============================================================================
Testsuite summary for GnuTLS 3.8.9
============================================================================
# TOTAL: 501
# PASS:  455
# SKIP:  45
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
```

>From test-suite.log, the failure is:
```
FAIL: certtool-pkcs11
=====================

Testing PKCS11 verification
* Initializing smart card... ok
* Token: 
Could not find generated token
check verify-pkcs11.debug for additional debugging information


tail: cannot open 'verify-pkcs11.debug' for reading: No such file or directory
FAIL certtool-pkcs11.sh (exit status: 1)
```
## Expected results:

All tests passing.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1661
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20250209/03cdb943/attachment.html>


More information about the Gnutls-devel mailing list