-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
OpenVPN Client unit test suite failures seen in Windows on ARM devices (Tested in Qualcomm X-Elite Laptops) #680
Comments
Can you please be a bit more verbose what failures you are seeing? ARM64 works fine on other platforms and Windows unit tests also work fine. We have not test automation on windows/arm64 but it is suprising that almost all test suites fail for you. So it would be good if you can tell us what you are actually seeing. |
On Win11 VM using UTM.app/qemu on a Macbook Pro with M1. It seems the tests seem to be failing but also not providing any indication of why. |
These crashes (basically all segfaults) only happen if you use the The openvpn binary shows with quick testing at least no sign of problems. It might be something that is different in the way that test binaries are built. The VM that I have here is way too sluggish and I am not experienced enouugh in debugging these kind of issues on Windows. So it does not make sense that I continue debugging this. |
I can confirm that we have some issues with the latest master and arm64. We're looking into it. The latest release (2.6.13) works fine. |
Turns out it works if you just use OpenSSL binaries from the latest release, 2.6.13. While both master and 2.6.13 release use OpenSSL 3.4, there must be some difference in build process. |
Hi @schwabe & @lstipakov, Thanks for your suggestions. We will again re-verify these unit test cases in Windows on ARM devices and attached more detailed logs for your analysis if we see any failures. Thanks & Regards, |
@quicmmarimut my test were on Mac M1/UTM and they did fail. So something is different with your Mac M1/UTM than mine. In fact, your tests are also failing. You can see that some of the tests just stop in the middle and never print the |
Thanks for the suggestion @schwabe ! Building for win-arm64-debug and testing using those binaries resolved the issues in Qualcomm Snapdragon XElite platform. Results with debug version of (win-arm64-debug) OpenVPN: Start 1: test_auth_token 100% tests passed, 0 tests failed out of 11 Total Test time (real) = 0.89 sec Thanks & Regards, |
Hi Team,
Because we notice that the unit test execution is happening in intel i7 device with 100 percent pass rate even with "win-x64-release" builds. Please clarify. Thanks & Regards, |
There is something with build tools we (and apparently you) use on development machines which produces broken OpenSSL binaries - we also see this problem with openvpn.exe. However, OpenSSL binaries produces by our release machinery are fine - and there we use the same OpenSSL version (3.4). You could, for example, replace your OpenSSL binaries with the ones from the latest release and the tests should work. We are looking into it. |
Related to openssl/openssl#26239 and microsoft/vcpkg#42828 |
Hi Team,
Failing Test Suites:
Thanks & Regards,
Mallikarjunan
The text was updated successfully, but these errors were encountered: