- 
                Notifications
    
You must be signed in to change notification settings  - Fork 611
 
Open
Description
Hi,
A library that I maintain optionally depends on Botan-3. We have been finding that the SHA3 test randomly crashes on our CI runs with the following error. And only SHA3 is failing. All other hashes we test (MD5, SHA256, SHA1, BLAKE2b) and OS (Linux) runs as expected. I've also verified this is not a null dereference on my side as the returned hasher is null-checked. Nor the input parameter is invalid.
       Start 55: Hash.SHA256
55/57 Test #55: Hash.SHA256 ............................   Passed    0.02 sec
      Start 56: Hash.SHA3
56/57 Test #56: Hash.SHA3 ..............................***Exception: Illegal  0.01 sec
      Start 57: Hash.BLAKE2b
57/57 Test #57: Hash.BLAKE2b ...........................   Passed    0.02 sec
98% tests passed, 1 tests failed out of 57
Errors while running CTest
Total Test time (real) =   0.95 sec
Output from these tests are in: /Users/runner/work/trantor/trantor/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
The following tests FAILED:
make: *** [test] Error 8
	 56 - Hash.SHA3 (ILLEGAL)
You can find the full CI run here. https://github.com/an-tao/trantor/actions/runs/7224966423/job/19687414958?pr=309
And the code in question: an-tao/trantor#309
Metadata
Metadata
Assignees
Labels
No labels