Open aymanhab opened 5 months ago
The Windows 2019 builds were failing due to an issue with compiling Catch2 (linker error). There's another issue on that repo also reporting issues with Catch2; not a linker error, but worth monitoring.
Based on that thread, it seems like they did not properly update the VCruntime shipped with the Windows runner images. Other projects have come up with workarounds in their CI scripts that we might be able to adopt, e.g.: https://github.com/ECP-WarpX/impactx/pull/633/files.
I'm testing the workaround on https://github.com/opensim-org/opensim-core/pull/3807, but supposedly the issue was fixed in the runners, so I'm also re-running the Windows builds on https://github.com/opensim-org/opensim-core/pull/3796 without the workaround to see what happens.
Thanks @nickbianco I wouldn't try workarounds to roll back later since it appears they're rolling out a fix on their side and too many projects were affected. As long as one of our windows environments is functional we can afford to wait I think. My main concern would be if there's an issue linking executables built with earlier vc versions which may be problematic for dependencies but will wait for the dust to settle if this comes up.
It looks like the Windows runners have been updated. The C++ tests are passing, but the Matlab tests are still failing with a link error:
java.lang.UnsatisfiedLinkError: D:\a\opensim-core\opensim-core\build\Release\osimJavaJNI.dll: A dynamic link library (DLL) initialization routine failed
I'm seeing this on https://github.com/opensim-org/opensim-core/pull/3796.
New issue related to Java bindings failures: https://github.com/actions/runner-images/issues/10055.
@nickbianco This seems rather flaky, same runner version passes all java tests on other runs. Is that the reason for reopening?
The issue closed automatically after I merged that PR, which I didn't intend. The PR is more of a temporary patch, and I was thinking we keep this issue open until Microsoft gets their act together.
This thread may be useful: https://github.com/actions/runner-images/issues/10004