-
Notifications
You must be signed in to change notification settings - Fork 104
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
CI Test (gtest) failing on Windows #967
Comments
Unittest temporarily disabled on Windows via 629ec2b, on The debug branch |
The unittest makes use of specific releases of gtest, see: icub-main/src/unittest/CMakeLists.txt Line 15 in 629ec2b
which didn't change for a while1 and out of nowhere we started seeing failures since yesterday: It may be that there's a strange interaction with the CI workspace. Footnotes
|
I think the relevant change is the compiler (that is provide by GitHub Action image) that changed from to:
to
|
The problem has been solved upstream!
CI fully restored on |
I am thoroughly confused as to what a fix in KTX-Software has to do with this repo. In the interests of accuracy, the referenced PR has nothing to do with fixing the SEH exceptions. The fix for that is the 2024.06.10.1.0 GHA runner image which makes sure The referenced PR fixes a JVM crash when testing the Java binding caused by the JVM continuing to use an old |
Thanks for pointing this out, @MarkCallow 👍🏻 I've merely jumped to the final comment by @ijunaidm, who was asking the OP if everything was ok with the latest deployment and I mistakenly reported your xref. The correct PR's fixing the SEH exception should be then: |
The PRs you quote are workarounds for the problem not fixes. A partial fix is the newly deployed 2024.06.10.1.0 runner image. Partial because the JVM still crashes without the workaround in the above PRs. Another issue has been opened for that which contains a pointer to a different workaround that only requires a change to your .yml code not your code. See actions/runner-images#10055. |
Bug description
Today, all of a sudden, CI started reporting failures during testing (using
googletest
) only on Windows (SHARED_LIBS:OFF).Here's the generic error:
unknown file: error: SEH exception with code 0xc0000005 thrown in the test body.
Steps to reproduce
See:
Expected behavior
No response
Example repository
No response
Additional context
Thereby, I've looked into the log and found this suggestion:
ERROR: 10 leaked mock objects found at program exit. Expectations on a mock object are verified when the object is destructed. Leaking a mock means that its expectations aren't verified, which is usually a test bug. If you really intend to leak a mock, you can suppress this error using testing::Mock::AllowLeak(mock_object), or you may use a fake or stub instead of a mock.
Then, I've tried to add these lines in the branch
fix/windows_unittest
:Still unsuccessfully. See:
cc @Nicogene
The text was updated successfully, but these errors were encountered: