jrl-umi3218 / mc_rtc

mc_rtc is an interface for simulated and real robotic systems suitable for real-time control
BSD 2-Clause "Simplified" License
122 stars 36 forks source link

[tests] TestPython3Controller fails #333

Closed mmurooka closed 1 year ago

mmurooka commented 1 year ago

After updating everything with mc-rtc-superbuild, I got the following error.

$ ctest -R TestPython3Controller -V
UpdateCTestConfiguration  from :/home/mmurooka/workspace/build/mc_rtc/DartConfiguration.tcl
Parse Config file:/home/mmurooka/workspace/build/mc_rtc/DartConfiguration.tcl
UpdateCTestConfiguration  from :/home/mmurooka/workspace/build/mc_rtc/DartConfiguration.tcl
Parse Config file:/home/mmurooka/workspace/build/mc_rtc/DartConfiguration.tcl
Test project /home/mmurooka/workspace/build/mc_rtc
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added cleanup test TestPython3Log required by fixture TestPython3Log
Added 1 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 77
    Start 77: TestPython3Controller

77: Test command: /usr/bin/cmake "-E" "env" "PYTHONPATH=/home/mmurooka/workspace/build/mc_rtc/binding/python/mc_rtc/python3/RelWithDebInfo:/home/mmurooka/workspace/src/mc_rtc/tests/controllers:/home/mmurooka/workspace/src/catkin_data_ws/devel/lib/python3/dist-packages:/opt/ros/noetic/lib/python3/dist-packages:/home/mmurooka/workspace/install/lib/python3.8/site-packages:/home/mmurooka/workspace/install/lib/python3.8/dist-packages" "/usr/bin/cmake" "-E" "env" "LD_LIBRARY_PATH=/home/mmurooka/workspace/build/mc_rtc/src/mc_control/fsm:/home/mmurooka/workspace/build/mc_rtc/src:/home/mmurooka/workspace/src/catkin_ws/devel/lib:/home/mmurooka/workspace/src/catkin_data_ws/devel/lib:/opt/ros/noetic/lib:/opt/ros/noetic/lib/x86_64-linux-gnu:/home/mmurooka/workspace/install/lib:/usr/local/cuda/lib64" "/home/mmurooka/workspace/build/mc_rtc/tests/test_controller_ticker" "--run_test=RUN" "--" "/home/mmurooka/workspace/build/mc_rtc/tests/controllers/TestPython3/mc_rtc-TestPython3.conf" "400" ""
77: Working Directory: /home/mmurooka/workspace/build/mc_rtc/tests/controllers
77: Test timeout computed to be: 1500
77: Running 1 test case...
77: [info] Loading default global configuration /home/mmurooka/workspace/install/etc/mc_rtc.yaml
77: [info] Loading additional global configuration /home/mmurooka/.config/mc_rtc/mc_rtc.yaml
77: [info] Loading additional global configuration /home/mmurooka/workspace/build/mc_rtc/tests/controllers/TestPython3/mc_rtc-TestPython3.conf
77: [warning] Aliases env/beam was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/box was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/box_table was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/chair was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/corniche was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/crapahut was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/crapahut_bricks was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/door was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/drc_terrain was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/ground was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/litter was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/platform was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/pole was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/printer was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/seesaw was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/table was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/table_printer was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/valve was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases env/valve_handle was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/env_aliases.yml will prevail
77: [warning] Aliases object/box was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/object_aliases.yml will prevail
77: [warning] Aliases object/door was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/object_aliases.yml will prevail
77: [warning] Aliases object/litter was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/object_aliases.yml will prevail
77: [warning] Aliases object/pole was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/object_aliases.yml will prevail
77: [warning] Aliases object/printer was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/object_aliases.yml will prevail
77: [warning] Aliases object/seesaw was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/object_aliases.yml will prevail
77: [warning] Aliases object/valve was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/object_aliases.yml will prevail
77: [warning] Aliases object/valve_handle was already declared, new declaration from /home/mmurooka/workspace/build/mc_rtc/src/mc_robots/aliases/object_aliases.yml will prevail
77: [info] Enabled plugins: Plugin0
77: [info] GUI server enabled
77: [info] Will serve data on:
77: [info] - ipc:///tmp/mc_rtc_pub.ipc
77: [info] - tcp://*:4242
77: [info] Will handle requests on:
77: [info] - ipc:///tmp/mc_rtc_rep.ipc
77: [info] - tcp://*:4343
77: [info] Loading additional plugin configuration: /home/mmurooka/workspace/build/mc_rtc/tests/controllers/TestPlugin/etc/Plugin0.yaml
77: [info] Create controller Python3
77: [info] [PythonController] Running with Python 3.8.10
77: [info] [PythonController] sys.path: ['/home/mmurooka/workspace/build/mc_rtc/binding/python/mc_rtc/python3/RelWithDebInfo', '/home/mmurooka/workspace/src/mc_rtc/tests/controllers', '/home/mmurooka/workspace/src/catkin_data_ws/devel/lib/python3/dist-packages', '/opt/ros/noetic/lib/python3/dist-packages', '/home/mmurooka/workspace/install/lib/python3.8/site-packages', '/home/mmurooka/workspace/install/lib/python3.8/dist-packages', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/mmurooka/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages']
77: [critical] boundedSpeed is already handled by another loading function
77: [critical] === Backtrace ===
77:  0# void mc_rtc::log::error_and_throw<std::runtime_error, char const (&) [50], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(char const (&) [50], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /home/mmurooka/workspace/src/mc_rtc/include/mc_rtc/logging.h:52
77:  1# mc_solver::GenericLoader<mc_solver::ConstraintSetLoader, mc_solver::ConstraintSet>::register_load_function(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<std::shared_ptr<mc_solver::ConstraintSet> (mc_solver::QPSolver&, mc_rtc::Configuration const&)>) at /home/mmurooka/workspace/src/mc_rtc/include/mc_solver/GenericLoader.hpp:123
77:  2# _GLOBAL__sub_I_BoundedSpeedConstr.cpp at /home/mmurooka/workspace/src/mc_rtc/src/mc_solver/BoundedSpeedConstr.cpp:255
77:  3# call_init at /build/glibc-SzIz7B/glibc-2.31/elf/dl-init.c:71
77:  4# _dl_init at /build/glibc-SzIz7B/glibc-2.31/elf/dl-init.c:118
77:  5# _dl_catch_exception at /build/glibc-SzIz7B/glibc-2.31/elf/dl-error-skeleton.c:184
77:  6# dl_open_worker at /build/glibc-SzIz7B/glibc-2.31/elf/dl-open.c:772
77:  7# _dl_catch_exception at /build/glibc-SzIz7B/glibc-2.31/elf/dl-error-skeleton.c:209
77:  8# _dl_open at /build/glibc-SzIz7B/glibc-2.31/elf/dl-open.c:837
77:  9# dlopen_doit at /build/glibc-SzIz7B/glibc-2.31/dlfcn/dlopen.c:66
77: 10# _dl_catch_exception at /build/glibc-SzIz7B/glibc-2.31/elf/dl-error-skeleton.c:209
77: 11# _dl_catch_error at /build/glibc-SzIz7B/glibc-2.31/elf/dl-error-skeleton.c:228
77: 12# _dlerror_run at /build/glibc-SzIz7B/glibc-2.31/dlfcn/dlerror.c:174
77: 13# dlopen at /build/glibc-SzIz7B/glibc-2.31/dlfcn/dlopen.c:87
77: 14# _PyImport_FindSharedFuncptr in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 15# _PyImport_LoadDynamicModuleWithSpec in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 16# 0x00007F33D9D22085 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 17# 0x00007F33D9DD8547 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 18# PyVectorcall_Call in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 19# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 20# _PyEval_EvalCodeWithName in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 21# _PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 22# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 23# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 24# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 25# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 26# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 27# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 28# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 29# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 30# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 31# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 32# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 33# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 34# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 35# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 36# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 37# 0x00007F33D9E220F8 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 38# _PyObject_CallMethodIdObjArgs in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 39# PyImport_ImportModuleLevelObject in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 40# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 41# _PyEval_EvalCodeWithName in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 42# PyEval_EvalCodeEx in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 43# PyEval_EvalCode in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 44# 0x00007F33D9D48C01 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 45# 0x00007F33D9DD8547 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 46# PyVectorcall_Call in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 47# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 48# _PyEval_EvalCodeWithName in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 49# _PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 50# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 51# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 52# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 53# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 54# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 55# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 56# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 57# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 58# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 59# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 60# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 61# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 62# 0x00007F33D9E220F8 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 63# _PyObject_CallMethodIdObjArgs in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 64# PyImport_ImportModuleLevelObject in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 65# 0x00007F33D9D46FCE in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 66# 0x00007F33D9E21748 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 67# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 68# _PyEval_EvalCodeWithName in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 69# _PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 70# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 71# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 72# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 73# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 74# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 75# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 76# 0x00007F33D9E220F8 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 77# _PyObject_CallMethodIdObjArgs in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 78# PyImport_ImportModuleLevelObject in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 79# 0x00007F33D9D46FCE in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 80# 0x00007F33D9E21748 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 81# _PyObject_MakeTpCall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 82# 0x00007F33D9E21FB2 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 83# PyObject_CallFunction in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 84# PyImport_Import in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 85# PyImport_ImportModule in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 86# __pyx_pymod_exec_mc_control(_object*) at mc_control/mc_control.cpp:32230
77: 87# PyModule_ExecDef in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 88# 0x00007F33D9D21DC3 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 89# 0x00007F33D9DD820A in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 90# PyVectorcall_Call in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 91# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 92# _PyEval_EvalCodeWithName in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 93# _PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 94# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 95# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 96# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 97# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 98# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 99# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 100# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 101# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 102# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 103# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 104# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 105# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 106# 0x00007F33D9E220F8 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 107# _PyObject_CallMethodIdObjArgs in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 108# PyImport_ImportModuleLevelObject in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 109# 0x00007F33D9D46FCE in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 110# 0x00007F33D9E21748 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 111# _PyObject_MakeTpCall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 112# 0x00007F33D9E21FB2 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 113# PyObject_CallFunction in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 114# PyImport_Import in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 115# PyImport_ImportModule in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 116# __pyx_pymod_exec_fsm(_object*) at mc_control/fsm/fsm.cpp:22260
77: 117# PyModule_ExecDef in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 118# 0x00007F33D9D21DC3 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 119# 0x00007F33D9DD820A in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 120# PyVectorcall_Call in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 121# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 122# _PyEval_EvalCodeWithName in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 123# _PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 124# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 125# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 126# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 127# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 128# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 129# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 130# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 131# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 132# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 133# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 134# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 135# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 136# 0x00007F33D9E220F8 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 137# _PyObject_CallMethodIdObjArgs in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 138# PyImport_ImportModuleLevelObject in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 139# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 140# _PyEval_EvalCodeWithName in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 141# PyEval_EvalCodeEx in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 142# PyEval_EvalCode in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 143# 0x00007F33D9D48C01 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 144# 0x00007F33D9DD8547 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 145# PyVectorcall_Call in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 146# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 147# _PyEval_EvalCodeWithName in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 148# _PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 149# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 150# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 151# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 152# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 153# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 154# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 155# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 156# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 157# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 158# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 159# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 160# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 161# 0x00007F33D9E220F8 in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 162#
_PyObject_CallMethodIdObjArgs in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 163#
PyImport_ImportModuleLevelObject in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 164# 0x00007F33D9D46FCE
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 165#
0x00007F33D9E21748 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77:
166# _PyEval_EvalFrameDefault in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 167#
_PyEval_EvalCodeWithName in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 168# _PyFunction_Vectorcall in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 169# 0x00007F33D9BEDD6D
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 170#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 171# _PyEval_EvalCodeWithName in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 172#
_PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 173# 0x00007F33D9E220F8 in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 174#
_PyObject_CallMethodIdObjArgs in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 175#
PyImport_ImportModuleLevelObject in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 176#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 177# _PyEval_EvalCodeWithName in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 178# PyEval_EvalCodeEx
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 179# PyEval_EvalCode
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 180#
0x00007F33D9D48C01 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77:
181# 0x00007F33D9DD8547 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 182# PyVectorcall_Call in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 183#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 184# _PyEval_EvalCodeWithName in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 185#
_PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 186# 0x00007F33D9BEDD6D in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 187#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 188# 0x00007F33D9BF906B in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 189# 0x00007F33D9BEDD6D
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 190#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 191# 0x00007F33D9BF906B in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 192# 0x00007F33D9BEDD6D
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 193#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 194# 0x00007F33D9BF906B in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 195# 0x00007F33D9BEDD6D
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 196#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 197# 0x00007F33D9BF906B in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 198# 0x00007F33D9E220F8
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 199#
_PyObject_CallMethodIdObjArgs in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 200#
PyImport_ImportModuleLevelObject in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 201#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 202# _PyEval_EvalCodeWithName in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 203# PyEval_EvalCodeEx
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 204# PyEval_EvalCode
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 205#
0x00007F33D9D48C01 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77:
206# 0x00007F33D9DD8547 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 207# PyVectorcall_Call in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 208#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 209# _PyEval_EvalCodeWithName in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 210#
_PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 211# 0x00007F33D9BEDD6D in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 212#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 213# 0x00007F33D9BF906B in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 214# 0x00007F33D9BEDD6D
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 215#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 216# 0x00007F33D9BF906B in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 217# 0x00007F33D9BEDD6D
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 218#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 219# 0x00007F33D9BF906B in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 220# 0x00007F33D9BEDD6D
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 221#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 222# 0x00007F33D9BF906B in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 223# 0x00007F33D9E220F8
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 224#
_PyObject_CallMethodIdObjArgs in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 225#
PyImport_ImportModuleLevelObject in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 226#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 227# _PyEval_EvalCodeWithName in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 228# PyEval_EvalCodeEx
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 229# PyEval_EvalCode
in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 230#
0x00007F33D9D48C01 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0 77:
231# 0x00007F33D9DD8547 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 232# PyVectorcall_Call in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 233#
_PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 234# _PyEval_EvalCodeWithName in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0 77: 235#
_PyFunction_Vectorcall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 236# 0x00007F33D9BEDD6D in
/lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 237# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 238# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 239# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 240# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 241# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 242# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 243# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 244# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 245# 0x00007F33D9BEDD6D in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 246# _PyEval_EvalFrameDefault in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 247# 0x00007F33D9BF906B in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 248# 0x00007F33D9E220F8 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 249# _PyObject_CallMethodIdObjArgs in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 250# PyImport_ImportModuleLevelObject in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 251# 0x00007F33D9D46FCE in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 252# 0x00007F33D9E21748 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 253# _PyObject_MakeTpCall in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 254# 0x00007F33D9E21FB2 in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 255# PyObject_CallFunction in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 256# PyImport_Import in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 257# PyImport_ImportModule in /lib/x86_64-linux-gnu/libpython3.8.so.1.0
77: 258# create at /home/mmurooka/workspace/build/mc_rtc/src/mc_control/python/generated/python3_controller.cpp:107
77: 259# mc_control::MCController* mc_rtc::ObjectLoader<mc_control::MCController>::create_from_handles<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<mc_rbdyn::RobotModule>, double, mc_rtc::Configuration>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<mc_rbdyn::RobotModule>, double, mc_rtc::Configuration) at /home/mmurooka/workspace/src/mc_rtc/include/mc_rtc/loader.hpp:148
77: 260# mc_control::MCController* mc_rtc::ObjectLoader<mc_control::MCController>::create<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<mc_rbdyn::RobotModule>, double, mc_rtc::Configuration>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<mc_rbdyn::RobotModule>, double, mc_rtc::Configuration) at /home/mmurooka/workspace/src/mc_rtc/include/mc_rtc/loader.hpp:117
77: 261# mc_control::MCGlobalController::AddController(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /home/mmurooka/workspace/src/mc_rtc/src/mc_control/mc_global_controller.cpp:984
77: 262# mc_control::MCGlobalController::MCGlobalController(mc_control::MCGlobalController::GlobalConfiguration const&) at /home/mmurooka/workspace/src/mc_rtc/src/mc_control/mc_global_controller.cpp:87
77: 263# RUN::test_method() at /home/mmurooka/workspace/src/mc_rtc/tests/test_controller_ticker.cpp:55
77: 264# RUN_invoker() at /home/mmurooka/workspace/src/mc_rtc/tests/test_controller_ticker.cpp:32
77: 265# 0x00007F33DCB063F2 in /lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
77: 266# boost::execution_monitor::catch_signals(boost::function<int ()> const&) in /lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
77: 267# boost::execution_monitor::execute(boost::function<int ()> const&) in /lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
77: 268# boost::execution_monitor::vexecute(boost::function<void ()> const&) in /lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
77: 269# boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::function<void ()> const&, unsigned long) in /lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
77: 270# 0x00007F33DCB145A9 in /lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
77: 271# 0x00007F33DCB148BB in /lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
77: 272# boost::unit_test::framework::run(unsigned long, bool) in /lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
77: 273# boost::unit_test::unit_test_main(bool (*)(), int, char**) in /lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.71.0
77: 274# __libc_start_main at ../csu/libc-start.c:342
77: 275# _start in /home/mmurooka/workspace/build/mc_rtc/tests/test_controller_ticker
77: 
77: unknown location(0): fatal error: in "RUN": std::runtime_error: boundedSpeed is already handled by another loading function
77: /home/mmurooka/workspace/src/mc_rtc/tests/test_controller_ticker.cpp(52): last checkpoint
77: 
77: *** 1 failure is detected in the test module "Master Test Suite"
77: munmap_chunk(): invalid pointer
77: Subprocess aborted
1/2 Test #77: TestPython3Controller ............***Failed    0.59 sec
test 78
    Start 78: TestPython3Log
Failed test dependencies: TestPython3Controller
2/2 Test #78: TestPython3Log ...................***Not Run   0.00 sec

0% tests passed, 2 tests failed out of 2

Total Test time (real) =   0.60 sec

The following tests FAILED:
     77 - TestPython3Controller (Failed)
     78 - TestPython3Log (Not Run)
Errors while running CTest
Output from these tests are in: /home/mmurooka/workspace/build/mc_rtc/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
gergondet commented 1 year ago

Hi @mmurooka

This could be due to one of two things:

The later is a little unlikely these days because mc_rtc install rules systematically removes the previous installation (to avoid this specific issue among others).

I'm working towards a PR to improve incremental builds of Python bindings in https://github.com/gergondet/mc_rtc/tree/topic/ImproveCythonIncrementalBuilds which should hopefully circumvent the first issue for good (there's a long standing hack in the build_and_install script to trigger the force binding target on test failures)

mmurooka commented 1 year ago

Thanks for the explanation.

ABI issue with the Python bindings, that is because incremental builds of the bindings are not super reliable now, can you try to run ninja force-mc_rtc-python3-bindings in mc_rtc build folder?

After doing this, the tests passed.