open-quantum-safe / liboqs

C library for prototyping and experimenting with quantum-resistant cryptography
https://openquantumsafe.org/
Other
1.89k stars 463 forks source link

9 tests fail: No such file or directory: 'build/tests/vectors_kem' #1986

Open yurivict opened 1 week ago

yurivict commented 1 week ago

Describe the bug A clear and concise description of what the bug is.

================================================================================== short test summary info ==================================================================================
FAILED tests/test_acvp_vectors.py::test_acvp_vec_kem_keygen[ML-KEM-512] - FileNotFoundError: [Errno 2] No such file or directory: 'build/tests/vectors_kem'
FAILED tests/test_acvp_vectors.py::test_acvp_vec_kem_encdec_aft[ML-KEM-768] - FileNotFoundError: [Errno 2] No such file or directory: 'build/tests/vectors_kem'
FAILED tests/test_acvp_vectors.py::test_acvp_vec_kem_keygen[ML-KEM-768] - FileNotFoundError: [Errno 2] No such file or directory: 'build/tests/vectors_kem'
FAILED tests/test_acvp_vectors.py::test_acvp_vec_kem_encdec_aft[ML-KEM-512] - FileNotFoundError: [Errno 2] No such file or directory: 'build/tests/vectors_kem'
FAILED tests/test_acvp_vectors.py::test_acvp_vec_kem_encdec_val[ML-KEM-512] - FileNotFoundError: [Errno 2] No such file or directory: 'build/tests/vectors_kem'
FAILED tests/test_acvp_vectors.py::test_acvp_vec_kem_encdec_val[ML-KEM-768] - FileNotFoundError: [Errno 2] No such file or directory: 'build/tests/vectors_kem'
FAILED tests/test_acvp_vectors.py::test_acvp_vec_kem_encdec_val[ML-KEM-1024] - FileNotFoundError: [Errno 2] No such file or directory: 'build/tests/vectors_kem'
FAILED tests/test_acvp_vectors.py::test_acvp_vec_kem_encdec_aft[ML-KEM-1024] - FileNotFoundError: [Errno 2] No such file or directory: 'build/tests/vectors_kem'
FAILED tests/test_acvp_vectors.py::test_acvp_vec_kem_keygen[ML-KEM-1024] - FileNotFoundError: [Errno 2] No such file or directory: 'build/tests/vectors_kem'
================================================================== 9 failed, 476 passed, 558 skipped in 1182.21s (0:19:42) ==================================================================

To Reproduce Regular build + test.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Found in the FreeBSD port.

bhess commented 5 days ago

Thanks for the report @yurivict, I'll try to reproduce it on FreeBSD.