ros2 / rmw_cyclonedds

ROS 2 RMW layer for Eclipse Cyclone DDS
Apache License 2.0
107 stars 89 forks source link

Use rmw_namespace_validation_result_string() in rmw_create_node #497

Closed christophebedard closed 2 weeks ago

christophebedard commented 4 weeks ago

rmw_namespace_validation_result_string() -- not rmw_node_name_validation_result_string() -- should be called with the validation result from rmw_validate_namespace().

In practice, this meant that the reason given might have been "unknown result code for rmw node name validation" given that rmw_node_name_validation_result_string() doesn't know about all validation results from rmw_validate_namespace(). However, I believe that we don't test these error messages anywhere and rarely rely on them, so it doesn't/shouldn't affect any tests or functionality.

Related PRs:

christophebedard commented 4 weeks ago

CI with the other related rmw implementation PRs except for rmw_zenoh:

christophebedard commented 3 weeks ago

The ros2action.ros2action.test.test_cli.test_cli test failure looks unrelated.

clalancette commented 2 weeks ago

The ros2action.ros2action.test.test_cli.test_cli test failure looks unrelated.

I agree, though I will say that I couldn't find a similar failure in the nightly jobs. Regardless, I'm going to go ahead and merge this set of PRs in, and we'll keep an eye on it.