Closed xela-95 closed 2 months ago
Here are the logs from @LoreMoretti
After:
I do not have anymore any crash locally (in WSL I need to set export LIBGL_ALWAYS_SOFTWARE=1
to avoid segfaults on exit, but that is a WSL-specific thing) or in CI, so @LoreMoretti when you have time feel free to try this in an updated version of gz-sim-yarp-plugins to check if the problems have been solved.
I have run the tests again:
(robsub_gzsim) lomoretti@IITICUBLAP226:~/robotology/robotology-superbuild/build/src/gz-sim-yarp-plugins (master)$ ctest
Test project /home/lomoretti/robotology/robotology-superbuild/build/src/gz-sim-yarp-plugins
Start 1: ForceTorqueTest
1/24 Test #1: ForceTorqueTest ........................................................... Passed 4.25 sec
Start 2: ImuTest
2/24 Test #2: ImuTest ................................................................... Passed 7.21 sec
Start 3: LaserTest
3/24 Test #3: LaserTest ................................................................. Passed 4.61 sec
Start 4: CameraTest
4/24 Test #4: CameraTest ................................................................ Passed 12.20 sec
Start 5: ClockTest
5/24 Test #5: ClockTest ................................................................. Passed 3.13 sec
Start 6: ControlBoardTorqueControlTest
6/24 Test #6: ControlBoardTorqueControlTest ............................................. Passed 3.12 sec
Start 7: ControlBoardPositionDirectControlTest
7/24 Test #7: ControlBoardPositionDirectControlTest ..................................... Passed 7.10 sec
Start 8: ControlBoardPositionControlTest
8/24 Test #8: ControlBoardPositionControlTest ........................................... Passed 12.13 sec
Start 9: ControlBoardCommonsTest
9/24 Test #9: ControlBoardCommonsTest ................................................... Passed 0.55 sec
Start 10: ControlBoardOnMultipleGazeboInstancesTest
10/24 Test #10: ControlBoardOnMultipleGazeboInstancesTest ................................. Passed 13.13 sec
Start 11: ConfigurationParsingFromFileTest
11/24 Test #11: ConfigurationParsingFromFileTest .......................................... Passed 0.44 sec
Start 12: ConfigurationParsingFromStringTest
12/24 Test #12: ConfigurationParsingFromStringTest ........................................ Passed 0.39 sec
Start 13: ConcurrentInstancesTest
13/24 Test #13: ConcurrentInstancesTest ................................................... Passed 3.21 sec
Start 14: gz-sim-yarp-plugins-check-model-tutorial-basestate
14/24 Test #14: gz-sim-yarp-plugins-check-model-tutorial-basestate ........................ Passed 2.16 sec
Start 15: gz-sim-yarp-plugins-check-model-tutorial-camera-model
15/24 Test #15: gz-sim-yarp-plugins-check-model-tutorial-camera-model ..................... Passed 2.36 sec
Start 16: gz-sim-yarp-plugins-check-model-tutorial-camera-model-horizontal-flip
16/24 Test #16: gz-sim-yarp-plugins-check-model-tutorial-camera-model-horizontal-flip ..... Passed 2.37 sec
Start 17: gz-sim-yarp-plugins-check-model-tutorial-camera-model-vertical-flip
17/24 Test #17: gz-sim-yarp-plugins-check-model-tutorial-camera-model-vertical-flip ....... Passed 2.35 sec
Start 18: gz-sim-yarp-plugins-check-model-tutorial-laser
18/24 Test #18: gz-sim-yarp-plugins-check-model-tutorial-laser ............................ Passed 2.35 sec
Start 19: gz-sim-yarp-plugins-check-model-tutorial-clock
19/24 Test #19: gz-sim-yarp-plugins-check-model-tutorial-clock ............................ Passed 2.08 sec
Start 20: gz-sim-yarp-plugins-check-model-tutorial-forcetorque-model-one-sensor
20/24 Test #20: gz-sim-yarp-plugins-check-model-tutorial-forcetorque-model-one-sensor ..... Passed 2.16 sec
Start 21: gz-sim-yarp-plugins-check-model-tutorial-forcetorque-model-two-sensors
21/24 Test #21: gz-sim-yarp-plugins-check-model-tutorial-forcetorque-model-two-sensors .... Passed 2.25 sec
Start 22: gz-sim-yarp-plugins-check-model-tutorial-single-pendulum
22/24 Test #22: gz-sim-yarp-plugins-check-model-tutorial-single-pendulum .................. Passed 2.13 sec
Start 23: gz-sim-yarp-plugins-check-model-fails-as-expected-with-wrong-world-file
23/24 Test #23: gz-sim-yarp-plugins-check-model-fails-as-expected-with-wrong-world-file ... Passed 2.11 sec
Start 24: gz-sim-yarp-plugins-check-model-fails-as-expected-with-no-options
24/24 Test #24: gz-sim-yarp-plugins-check-model-fails-as-expected-with-no-options ......... Passed 0.08 sec
100% tests passed, 0 tests failed out of 24
Total Test time (real) = 93.89 sec
They are all successful.
Thank you @LoreMoretti ! We can close this now.
In #173 @LoreMoretti tried to run from his machine the unit tests, getting a lot of errors: