-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_cli.py misses launch_ros for rmw_cyclonedds_cpp #456
Comments
@brawner please clarify what you mean that it "misses" launch_ros. What is the issue? |
During the above linked failures, the expected number of nodes doesn't match what it actually finds. When I was digging into this, the launch_ros node is running, but it's not found during this test
It still is happening in recent tests, you can search the consoleText: |
Ah... Seems to be caused by ros2/launch_ros#128, which by eliminating |
This failure has been ongoing for awhile now and still occurs after that PR was merged, but I'm also not familiar enough with this everything involved to suggest what's causing the issue. |
Ya. It looks like the nodes aren't being "missed" - they just don't exist anymore. And it seems to have been caused at least in part by that PR. So it's a naughty test, not a misbehavior of |
Now the behavior is more consistent among the different DDS implementations. Maybe the test just needs to be updated? It fails now with connext, fastrtps, cyclonedds Some more examples |
This is an old issue, and I don't think that we are having this exact problem anymore in CI, so I'm going to close this. Feel free to reopen if you still think this is a problem. |
This affects multiple packages, I'm still looking into which test_cli failures are just due to this. So far
ros2node:
test_cli::test_list_node_count
test_cli::test_list_all_nodes_count
ros2service
test_cli::test_list_count
With ros2node it gets the following for listing nodes. Inspecting the output of
ros2 node list -a
, it reports:/_hidden_complex_node
/_ros2cli_daemon_1
/complex_node
The test appears to be missing
launch_ros
https://ci.ros2.org/view/nightly/job/nightly_win_extra_rmw_rel/673/testReport/ros2node.test/test_cli/test_cli/
https://ci.ros2.org/view/nightly/job/nightly_linux_extra_rmw_release/619/testReport/ros2node.test/test_cli/test_cli/
The text was updated successfully, but these errors were encountered: