Failed

UnitTests.Bindings_Modules/SofaPython3/Modules.all_tests/10_SofaConstraintSolver_matrix_access_test_matrix_access (from Bindings_Modules.SofaPython3_Modules)

Failing for the past 90 builds (Since #4656 )
Took -797 ms.

Error Message

[CRASH] SofaPython3/Modules.all_tests/10_SofaConstraintSolver_matrix_access_test_matrix_access ended with code 134

Stacktrace


------------------------------------------

Running unit-tests subtest SofaPython3/Modules.all_tests/10_SofaConstraintSolver_matrix_access_test_matrix_access
Calling: bash -c "/builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/bin/Bindings.Modules.Tests --gtest_output=xml:unit-tests/Bindings.Modules.Tests/SofaPython3/Modules.all_tests/10_SofaConstraintSolver_matrix_access_test_matrix_access/report.xml --gtest_filter=SofaPython3/Modules.all_tests/10_SofaConstraintSolver_matrix_access_test_matrix_access 2>&1"

[INFO]    [SofaPython3] Initializing with python version 3.8.10 (default, Nov 22 2023, 10:22:35) 
[GCC 9.4.0]
[INFO]    [SofaPython3] Registering a scene loader for [.py, .py3, .pyscn, .py3scn] files.
[INFO]    [SofaPython3] Shared library name is 'libpython3.8m.so'
[INFO]    [SofaPython3] Initializing python
[INFO]    [SofaPython3] Added '/builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/src/applications/plugins/Registration/python' to sys.path
[WARNING] [SofaPython3] Could not add '/builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/src/applications/plugins/BeamAdapter/python' to sys.path (it does not exist or is not a directory)
[INFO]    [SofaPython3] Added '/builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/python3/site-packages' to sys.path
---------------------------------------
Checking SOFA_ROOT and SOFAPYTHON3_ROOT
Using environment variable SOFA_ROOT: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build
---------------------------------------
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofaPython3_d.so
[INFO]    [SofaPython3] Initializing with python version 3.8.10 (default, Nov 22 2023, 10:22:35) 
[GCC 9.4.0]
[INFO]    [SofaPython3] Shared library name is 'libpython3.8m.so'
[WARNING] [SofaPython3] Could not add '/builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/src/applications/plugins/BeamAdapter/python' to sys.path (it does not exist or is not a directory)
[INFO]    [PythonTestExtractor] File 'SpringForceField.py' loaded with 6 unit tests.
[INFO]    [PythonTestExtractor] File 'LinearSpring.py' loaded with 2 unit tests.
[INFO]    [PythonTestExtractor] File 'matrix_access.py' loaded with 2 unit tests.
[INFO]    [PythonTestExtractor] File 'matrix_access.py' loaded with 1 unit tests.
Note: Google Test filter = SofaPython3/Modules.all_tests/10_SofaConstraintSolver_matrix_access_test_matrix_access
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from SofaPython3/Modules
[INFO]    [SofaPython3] Initializing with python version 3.8.10 (default, Nov 22 2023, 10:22:35) 
[GCC 9.4.0]
[INFO]    [SofaPython3] Shared library name is 'libpython3.8m.so'
[WARNING] [SofaPython3] Could not add '/builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/src/applications/plugins/BeamAdapter/python' to sys.path (it does not exist or is not a directory)
[ RUN      ] SofaPython3/Modules.all_tests/10_SofaConstraintSolver_matrix_access_test_matrix_access
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.AnimationLoop_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.Constraint.Lagrangian.Correction_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.Constraint.Lagrangian.Model_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.Constraint.Lagrangian.Solver_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.Constraint.Projective_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.IO.Mesh_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.LinearSolver.Direct_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.Mapping.MappedMatrix_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.Mass_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.ODESolver.Backward_d.so
[INFO]    [PluginManager] Loaded plugin: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib/libSofa.Component.Topology.Container.Dynamic_d.so
[WARNING] [EigenSimplicialLLT(unnamed)] Template '' incorrect, used CompressedRowSparseMatrixMat3x3d in the list:
	* CompressedRowSparseMatrixMat3x3d
	* CompressedRowSparseMatrixd
[WARNING] [DistanceMapping(distanceMapping)] link to Topology container should be set to ensure right behavior. First Topology found in current context will be used.
Bindings.Modules.Tests: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/src/Sofa/framework/Core/src/sofa/core/VecId.h:321: sofa::core::TVecId<sofa::core::V_COORD, sofa::core::V_WRITE>::TVecId(const TVecId<V_ALL, vaccess2> &) [vtype = sofa::core::V_COORD, vaccess = sofa::core::V_WRITE, vaccess2 = sofa::core::V_WRITE]: Assertion `v.getType() == vtype' failed.

########## SIG 6 - SIGABRT: usually caused by an abort() or assert() ##########
  sofa::helper::BackTrace::sig(int)
  gsignal
  abort
  sofa::core::TVecId<(sofa::core::VecType)1, (sofa::core::VecAccess)1>::TVecId<(sofa::core::VecAccess)1>(sofa::core::TVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1> const&)
  sofa::core::TMultiVecId<(sofa::core::VecType)1, (sofa::core::VecAccess)1>::TMultiVecId<(sofa::core::VecAccess)1>(sofa::core::TMultiVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1> const&)
  sofa::component::constraint::lagrangian::solver::GenericConstraintSolver::computeAndApplyMotionCorrection(sofa::core::ConstraintParams const*, sofa::core::TMultiVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1>, sofa::core::TMultiVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1>) const
  sofa::component::constraint::lagrangian::solver::GenericConstraintSolver::applyCorrection(sofa::core::ConstraintParams const*, sofa::core::TMultiVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1>, sofa::core::TMultiVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1>)
  sofa::core::behavior::ConstraintSolver::applyCorrectionTask(sofa::core::ConstraintParams const*, sofa::core::TMultiVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1>, sofa::core::TMultiVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1>)
  sofa::core::behavior::ConstraintSolver::solveConstraint(sofa::core::ConstraintParams const*, sofa::core::TMultiVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1>, sofa::core::TMultiVecId<(sofa::core::VecType)0, (sofa::core::VecAccess)1>)
  sofa::component::animationloop::FreeMotionAnimationLoop::step(sofa::core::ExecParams const*, double)
  sofa::simulation::node::animate(sofa::simulation::Node*, double)
  _PyObject_MakeTpCall
  _PyEval_EvalFrameDefault
  _PyEval_EvalFrameDefault
  _PyEval_EvalFrameDefault
  _PyEval_EvalFrameDefault
  _PyEval_EvalCodeWithName
  _PyFunction_Vectorcall
  PyVectorcall_Call
  _PyEval_EvalFrameDefault
  _PyEval_EvalCodeWithName
  _PyFunction_Vectorcall
  _PyObject_FastCallDict
  _PyObject_Call_Prepend
  _PyObject_MakeTpCall
  _PyEval_EvalFrameDefault
  _PyEval_EvalCodeWithName
  _PyFunction_Vectorcall
  PyVectorcall_Call
  _PyEval_EvalFrameDefault
  _PyEval_EvalCodeWithName
  _PyFunction_Vectorcall
  _PyObject_FastCallDict
  _PyObject_Call_Prepend
  _PyObject_MakeTpCall
  _PyEval_EvalFrameDefault
  PyVectorcall_Call
  sofapython3::runTests(pybind11::module_&, pybind11::object)
  sofapython3::PythonTest::run(sofapython3::PythonTestData const&)
  void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
  void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
  testing::Test::Run()
  testing::TestInfo::Run()
  testing::TestSuite::Run()
  testing::internal::UnitTestImpl::RunAllTests()
  bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
  bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
  testing::UnitTest::Run()
  __libc_start_main