-
Notifications
You must be signed in to change notification settings - Fork 778
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
Required Info:
- Operating System:
- Windows 10, Ubuntu 20.04, OSX
- Installation type:
- Binaries and form source
- Version or commit hash:
- DDS implementation:
- Fast-RTPS most often, but also with CycloneDDS
- Client library (if applicable):
rclcpp
Steps to reproduce issue
Any service / client pair will do, e.g.:
ros2 run demo_nodes_cpp add_two_ints_server
and
ros2 run demo_nodes_cpp add_two_ints_client
Expected behavior
Client sends request, servers gets request then sends response, and client gets response.
Actual behavior
The client will hang some times and not get any result. How often that happens seems to vary on a platform and RMW implementation.
Additional information
Issues with services performance has been observed before, as early as ros2/demos#304. More recent occurrences may be found in ros2/rmw_cyclonedds#185, ros2/system_tests#420 and ros2/rmw_cyclonedds#74. Nondeterministic as it is, it has seemed resolved in the past, suggesting race conditions as root cause.
Parameter servers as well as action servers and clients relying on services for their implementation are also likely to be negatively affected by this issue.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working