Open Crola1702 opened 2 weeks 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.
Bug report
Required Info:
Steps to reproduce issue
Additional information
Reference build:
Log output: