NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/60690: regression in libcrypto tests



>Number:         60690
>Category:       lib
>Synopsis:       regression in libcrypto tests
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 08 03:15:00 +0000 2026
>Originator:     Martin Husemann
>Release:        NetBSD 10.1_STABLE
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD unpluged.duskware.de 10.1_STABLE NetBSD 10.1_STABLE (UNPLUGED) #27: Sun Sep 6 18:00:10 CEST 2026 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src-10/sys/arch/evbarm/compile/UNPLUGED evbarm
Architecture: earmv5
Machine: evbarm
>Description:

On the netbsd-10 branch (on all architectures) the
crypto/libcrypto/t_libcrypto:threads test case fails like this:

Fail: incorrect exit status: 1, expected: 0
stdout:
1..9
ok 1 - test_multi_default
ok 2 - test_lock
ok 3 - test_once
ok 4 - test_thread_local
ok 5 - test_atomic
ok 6 - test_multi_load
    # Subtest: test_multi
    1..6
    ok 1 - iteration 1
    ok 2 - iteration 2 # skipped
    ok 3 - iteration 3
    ok 4 - iteration 4
    ok 5 - iteration 5
    ok 6 - iteration 6
ok 7 - test_multi
ok 8 - test_lib_ctx_load_config
# OPENSSL_TEST_RAND_ORDER=1788809596
not ok 9 - test_x509_store

stderr:
    # SKIP:  @ /usr/src/crypto/external/bsd/openssl/dist/test/threadstest.c:480
    # FIPS not supported
# ERROR: (bool) 'X509_STORE_load_store(store, storedir) == true' failed @ /usr/src/crypto/external/bsd/openssl/dist/test/threadstest.c:705
# false
# 00000000405FB800:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:/usr/src/crypto/external/bsd/openssl/dist/crypto/store/store_register.c:237:scheme=file
# 00000000405FB800:error:80000002:system library:file_open:No such file or directory:/usr/src/crypto/external/bsd/openssl/dist/providers/implementations/storemgmt/file_store.c:268:calling stat(/usr/tests/crypto/libcrypto/store)


See for example:


https://netbsd.org/~martin/sparc64-atf-netbsd10/30_atf.html#crypto_libcrypto_t_libcrypto_threads
https://netbsd.org/~martin/evbarm-atf-netbsd10/29_atf.html#crypto_libcrypto_t_libcrypto_threads
https://netbsd.org/~martin/aarch64-atf-netbsd10/28_atf.html#crypto_libcrypto_t_libcrypto_threads

This is a regression against earlier tests on that branch.

No libcrypto tests fail on newer branches.

I don't know if this is a critical failure or missing tests adjustments
after other changes, but I would like to find out before releasing 10.2
(so this is a bit urgent).

>How-To-Repeat:
s/a

>Fix:
n/a




Home | Main Index | Thread Index | Old Index