Open Crola1702 opened 3 months ago
i cannot reproduce this issue with my local environment.
root@tomoyafujita:~/ros2_ws/colcon_ws# RMW_IMPLEMENTATION=rmw_connextdds
root@tomoyafujita:~/ros2_ws/colcon_ws# colcon test --event-handlers console_direct+ --retest-until-fail 100 --packages-select rclcpp --ctest-args -R test_service_introspection
...
The following tests passed:
test_service_introspection
100% tests passed, 0 tests failed out of 1
Label Time Summary:
gmock = 1.24 sec*proc (1 test)
mimick = 1.24 sec*proc (1 test)
Total Test time (real) = 125.27 sec
Finished <<< rclcpp [2min 6s]
Summary: 1 package finished [2min 7s]
according to the log information in the report, client events are okay as expected, but server side missing one event. and we can see at least one service event is received from service server, that means publisher and topic are created okay. it would be worth to try to extend the timeout from 1000msec to 3000msec, but i am not sure if that actually fixes the problem.
root cause of this issue seems like almost same with https://github.com/ros2/rclcpp/issues/2588#issuecomment-2259355642, that is dropping the messages (some messages are missing, but some are okay) using same publisher object.
@fgallegosalido this test also fails with rmw_connextdds only, can you take a look at my comment on https://github.com/ros2/rclcpp/pull/2651? i was trying to address this unstable problem, but it does not work as expected.
I will look into it and let you know what I find.
@fgallegosalido just checking, any updates on this?
@fujitatomoya sorry, not much was done. I was able to reproduce the issue and started working on it, but couldn't find the root cause, so I moved to do other things. I will resume the work on it as soon as possible
@fgallegosalido no worries, thanks for working on this. i will revisit https://github.com/ros2/rclcpp/pull/2651 to see if i can find some clue on this.
Bug report
Required Info:
Steps to reproduce issue
Additional information
Reference build:
Log output: