Skip to content
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

`ros2 node list -a` reports an extra node the first time it is run. #465

Open
rotu opened this issue Mar 19, 2020 · 1 comment
Open

`ros2 node list -a` reports an extra node the first time it is run. #465

rotu opened this issue Mar 19, 2020 · 1 comment
Assignees

Comments

@rotu
Copy link

@rotu rotu commented Mar 19, 2020

Required Info:

  • Operating System:
    • Ubuntu Focal
  • Installation type:
    • source
  • Version or commit hash:
    • master
  • DDS implementation:
    • rmw_cyclonedds_cpp, rmw_fastrtps_cpp
  • Client library (if applicable):
    • N/A

Steps to reproduce issue

echo on
ros2 daemon stop; ros2 node list -a
ros2 node list --no-daemon; ros2 node list -a
ros2 daemon start; ros2 node list -a

Expected behavior

All invocations of ros2 node list show the same nodes.

The daemon has been stopped
/_ros2cli_daemon_0

/_ros2cli_daemon_0

The daemon is already running
/_ros2cli_daemon_0

Actual behavior

The daemon has been stopped
/_ros2cli_293393
/_ros2cli_daemon_0

/_ros2cli_daemon_0

The daemon is already running
/_ros2cli_daemon_0

If the daemon is stopped when you run ros2 node list -a, an additional node is shown, presumably one that is spun up to start the daemon. This node does not show up without the -a flag, nor with the --no-daemon flag.

Additional information

This may be related to CI failure of test_list_all_node_count at http://build.ros2.org/view/Fci/job/Fci__nightly-cyclonedds_ubuntu_focal_amd64/53/testReport/ros2node.test/test_cli/test_cli/

This is probably unrelated to any current CI test failures

@ros-discourse

This comment has been minimized.

Copy link

@ros-discourse ros-discourse commented Mar 20, 2020

This issue has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2020-03-18/13313/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.