Closed baentsch closed 3 months ago
Thanks for the report, I'll look into the issue.
FAILED tests/test_alg_info.py::test_alg_info_sig[ML-DSA-44] - FileNotFoundError: [WinError 2] The system cannot find the file specified
The test should open the file docs/algorithms/sig/ml_dsa.yml
, which is derived from running grep -r -l ML-DSA-44 docs/algorithms/sig
.
@yogappu: could you please try running the following and check if the output differs on your system?
% grep -r -l ML-DSA-44 docs/algorithms/sig
docs/algorithms/sig/ml_dsa.yml
docs/algorithms/sig/ml_dsa.md
% grep -r -l Falcon-512 docs/algorithms/sig
docs/algorithms/sig/falcon.yml
docs/algorithms/sig/falcon.md
@bhess :i am running it on windows, so converted grep to windows command and get same output as you.
C:\Work\base_liboqs\liboqs> findstr /S /M ML-DSA-44 "docs\algorithms\sig*" docs\algorithms\sig\ml_dsa.md docs\algorithms\sig\ml_dsa.yml C:\Work\base_liboqs\liboqs> findstr /S /M Falcon-512 "docs\algorithms\sig*" docs\algorithms\sig\falcon.md docs\algorithms\sig\falcon.yml
Uploading all logs incase it helps for investigation..
Thanks for providing the logs and the details.
You indicate that 'grep' is not available on your system which points to the problem, as it is used explicitly by the test. I believe msys2, cygwin or WSL make 'grep' and other tools available to run the test successfully on Windows. I don't have a Windows box at hand at the moment so it would take me a few days to give more concrete guidance.
If this is an option for you, please note that the primary toolchain we support on Windows is VisualStudio which is used for the CI runs .
@yogappu, just tested it on Windows 11 and the mingw64 toolchain you seem to use. The tests pass (both via the windows command prompt and msys2-mingw64). Just make sure to have mingw64-grep installed. Please let me know if this helps.
@bhess Thanks for the hint. I was missing mysys2(required for grep) and now issue seems to be resolved after installation. Please refer the logs below. @baentsch can you please close this bug ?
[gw0] [ 99%] SKIPPED tests/test_vectors.py::test_vectors_kem[BIKE-L1] [gw1] [100%] PASSED tests/test_speed.py::test_sig[SPHINCS+-SHA2-256f-simple]
========================================================================================= 272 passed, 313 skipped in 49.18s ==========================================================================================
Discussed in https://github.com/orgs/open-quantum-safe/discussions/1741