robotology / osqp-eigen

Simple Eigen-C++ wrapper for OSQP library
https://robotology.github.io/osqp-eigen/
BSD 3-Clause "New" or "Revised" License
381 stars 112 forks source link

macos-latest CI float=ON failing since April 23 #161

Open traversaro opened 3 months ago

traversaro commented 3 months ago

Error:

4/5 Test #4: MPCUnitTests .....................***Failed    2.02 sec
[     cout ] Avarage time = 0.0401199 seconds.

MPCUnitTests is a Catch v2.13.9 host application. Run with -? for options


MPCTest

/Users/runner/work/osqp-eigen/osqp-eigen/tests/MPCTest.cpp:222 ...............................................................................

/Users/runner/work/osqp-eigen/osqp-eigen/tests/MPCTest.cpp:337: FAILED: REQUIRE( getErrorNorm(x0, xRef) <= tolerance ) with expansion: 0.2192f <= 0.01

=============================================================================== test cases: 1 | 0 passed | 1 failed assertions: 107 | 106 passed | 1 failed

Start 5: MPCUpdateMatricesUnitTests

5/5 Test #5: MPCUpdateMatricesUnitTests ....... Passed 0.03 sec

80% tests passed, 1 tests failed out of 5

Total Test time (real) = 2.08 sec

The following tests FAILED: Errors while running CTest 4 - MPCUnitTests (Failed) Error: Process completed with exit code 8.



First failing: https://github.com/robotology/osqp-eigen/actions/runs/8809948035/job/24181528543
Last successful: https://github.com/robotology/osqp-eigen/actions/runs/8793748649/job/24132087644 

The first failing is using `macos-14-arm64` as image, while the last successful macos-12, so this is probably an effect of the migration to Apple Silicon. 

As in general we moved from brew to conda-forge deps on macos, I suggest to migrate the CI to conda-forge and see if the problem persists.