Open mauropasse opened 5 years ago
@mauropasse, I've been unable to reproduce the issue after running it locally all morning. My best guess is that either an advertisement publication was dropped or that the notification condition failed to trigger.
The first seems unlikely, as that would imply we are overflowing the socket buffers.
I have been debugging some intermittent test failures with test_rclcpp tests that may be related to the second guess. I'll keep you updated on my progress.
@malsbat is strange you can't reproduce the issue. I did the same test in 4 laptops and the RPi2 and in all of them I get the same problem. We've had this problem when testing FastRTPS, and the issue was the overflow of the network due to the high frequency of discovery messages from the built-in endpoints. Anyway, keep me posted if you find anything strange. Thanks!
@mauropasse, I wanted to give a short update on this one: the test failures I see related to the guard conditions appear to be in the rcl multithreaded executor code. I'm still investigating, but the error reproduces with rmw_fastrtps as well, although less frequently.
Hello, I'm testing the introspection branch, running one of the iRobot benchmark tests, and I noticed the list of discovered nodes is not properly updated on time, in most of the times the nodes are not fully discovered. The issue seems to be on the function
get_discovered_nodes
defined onrmw_dps_cpp/include/rmw_dps_cpp/custom_node_info.hpp
. The mapdiscovered_nodes_
is not populated with all the present nodes in the system.If you'd like to reproduce the issue:
The problem starts to be seen when there are about 10 nodes in the ROS2 system.
Any ideas about what could be wrong? Thanks