0.4.12 + master [8384cd3f]: test suite is failing
kloczek opened this issue · 9 comments
kloczek commented
Looks like test suite is failing with openssl 3.0.5 (with disabled EC like in Fedor).
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
/usr/bin/make check-TESTS
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: rsa-testpkcs11.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: rsa-testlistkeys.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: rsa-oaep.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: search-all-matching-tokens.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: rsa-testfork.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: pkcs11-uri-without-token.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: rsa-check-privkey.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: rsa-pss-sign.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: rsa-evp-sign.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
FAIL: case-insensitive.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
PASS: ec-copy.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
PASS: ec-testfork.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
PASS: ec-cert-store.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
PASS: ec-check-privkey.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
PASS: ec-evp-sign.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
PASS: fork-change-slot.softhsm
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests'
=========================================
libp11 0.4.12: tests/test-suite.log
=========================================
# TOTAL: 16
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 10
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: rsa-testpkcs11.softhsm
============================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669037
* Initializing smart card libp11-test...ok
Importing
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL rsa-testpkcs11.softhsm (exit status: 1)
FAIL: rsa-testfork.softhsm
==========================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669041
* Initializing smart card libp11-test...ok
Importing
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL rsa-testfork.softhsm (exit status: 1)
FAIL: rsa-testlistkeys.softhsm
==============================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669044
* Initializing smart card libp11-test...ok
Importing
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL rsa-testlistkeys.softhsm (exit status: 1)
FAIL: rsa-evp-sign.softhsm
==========================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669052
* Initializing smart card libp11-test...ok
Importing
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL rsa-evp-sign.softhsm (exit status: 1)
FAIL: rsa-pss-sign.softhsm
==========================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669059
* Initializing smart card libp11-test...ok
Importing
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL rsa-pss-sign.softhsm (exit status: 1)
FAIL: rsa-oaep.softhsm
======================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669074
* Initializing smart card libp11-test...ok
Importing
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL rsa-oaep.softhsm (exit status: 1)
FAIL: case-insensitive.softhsm
==============================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669067
* Initializing smart card libp11-test...ok
Importing
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL case-insensitive.softhsm (exit status: 1)
FAIL: rsa-check-privkey.softhsm
===============================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669086
* Initializing smart card... ok
Using slot 0 with a present token (0x1fefbfdb)
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL rsa-check-privkey.softhsm (exit status: 1)
FAIL: pkcs11-uri-without-token.softhsm
======================================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669091
* Initializing smart card libp11-test...ok
Importing
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL pkcs11-uri-without-token.softhsm (exit status: 1)
FAIL: search-all-matching-tokens.softhsm
========================================
Current directory: /home/tkloczko/rpmbuild/BUILD/libp11-0.4.12/tests
Source directory: .
Output directory: output.669105
* Initializing smart card libp11-test-0...ok
Importing objects to token libp11-test-0
error: OpenSSL error during RSA private key parsing
Aborting.
FAIL search-all-matching-tokens.softhsm (exit status: 1)
============================================================================
Testsuite summary for libp11 0.4.12
============================================================================
# TOTAL: 16
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 10
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
Please let me know if you need some other details.
matoro commented
Also seeing this issue on Gentoo, with 0.4.12.
matoro commented
This does still affect master btw.
glebfm commented
I believe this issue is related to a regression in the OpenSC project. You can find more details in the following pull request: OpenSC/OpenSC#2656.
matoro commented
I believe this issue is related to a regression in the OpenSC project. You can find more details in the following pull request: OpenSC/OpenSC#2656.
Confirming that applying this patch fixes all test failures here, thanks!!