Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

at_c: atchops tests not passing on Windows #31

Open
JeremyTubongbanua opened this issue Aug 14, 2023 · 0 comments
Open

at_c: atchops tests not passing on Windows #31

JeremyTubongbanua opened this issue Aug 14, 2023 · 0 comments

Comments

@JeremyTubongbanua
Copy link
Member

JeremyTubongbanua commented Aug 14, 2023

Weird issue that AtChops tests are not passing on Windows. This is what I would run in the github action on "windows-latest":

56% tests passed, 4 tests failed out of 9

Total Test time (real) =  10.75sec

The following tests FAILED:
	  1 - test_aes_ctr (Timeout)
	  2 - test_aes_ctr_decrypt (SEGFAULT)
	  5 - test_rsadecrypt (SEGFAULT)
	  6 - test_rsaencrypt (SEGFAULT)
Errors while running CTest

This is what I would run on windows-latest to run the tests:

cmake -S . -B build -DATCLIENT_BUILD_TESTS=ON -DATCHOPS_BUILD_TESTS=ON
cmake --build build --config Debug
ctest -V --output-on-failure -C Debug --timeout 10 # timeout 10 seconds is important, because test_aes_ctr runs indefinitely

MbedTLS has some rules for building on Windows that might be contributing to this problem: https://github.com/Mbed-TLS/mbedtls

Sample GHA Job of this scenario: https://github.com/atsign-foundation/at_c/actions/runs/5845176823/job/15849008242

@JeremyTubongbanua JeremyTubongbanua changed the title AtChops tests not passing on Windows at_c: atchops tests not passing on Windows Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant