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

Sloretz/test discovery #512

Draft
wants to merge 21 commits into
base: rolling
Choose a base branch
from
Draft

Sloretz/test discovery #512

wants to merge 21 commits into from

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Feb 14, 2023

Part of ros2/ros2#1359

This adds a new package test_discovery which tests the new discovery behavior. There are two kinds of tests: ones that run with colcon test, and ones that require being run manually because they require root access.

The tests in colcon test use the host's networking, so I assume they could run on any platform, but they only test the "same host" case. The ones requiring root use mininet to test both the same host and different host cases.

I'm sure this is missing rosdep key definitions.

Running non-root tests:

$ # All non-root discovery test
$ colcon test --event-handlers console_direct+ --packages-select test_discovery --ctest-args -R test_discovery

Running root tests

$ # All discovery tests
$ ros2 run test_discovery run_root_tests.py
$ # Just one RMW
$ ros2 run test_discovery run_root_tests.py --rmw rmw_fastrtps_cpp
$ # Just different host tests (uses pytest -k)
$ ros2 run test_discovery run_root_tests.py --select differenthost
State as of 2023/02/14

non-root tests:

1: =========================== short test summary info ============================
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-OFF-None-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-OFF-None-SUBNET-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-OFF-None-LOCALHOST-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-OFF-127.0.0.1-OFF-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-OFF-127.0.0.1-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-OFF-127.0.0.1-SUBNET-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-OFF-127.0.0.1-SUBNET-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-OFF-127.0.0.1-LOCALHOST-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-OFF-127.0.0.1-LOCALHOST-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-SUBNET-None-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-SUBNET-127.0.0.1-OFF-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-SUBNET-127.0.0.1-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-LOCALHOST-None-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-LOCALHOST-127.0.0.1-OFF-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_dynamic_cpp-LOCALHOST-127.0.0.1-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-OFF-None-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-OFF-None-SUBNET-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-OFF-None-LOCALHOST-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-OFF-127.0.0.1-OFF-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-OFF-127.0.0.1-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-OFF-127.0.0.1-SUBNET-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-OFF-127.0.0.1-SUBNET-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-OFF-127.0.0.1-LOCALHOST-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-OFF-127.0.0.1-LOCALHOST-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-SUBNET-None-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-SUBNET-127.0.0.1-OFF-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-SUBNET-127.0.0.1-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-LOCALHOST-None-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-LOCALHOST-127.0.0.1-OFF-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_fastrtps_cpp-LOCALHOST-127.0.0.1-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-OFF-None-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-OFF-None-SUBNET-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-OFF-None-LOCALHOST-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-OFF-127.0.0.1-OFF-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-OFF-127.0.0.1-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-OFF-127.0.0.1-LOCALHOST-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-OFF-127.0.0.1-LOCALHOST-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-SUBNET-None-OFF-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-SUBNET-None-LOCALHOST-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-SUBNET-None-LOCALHOST-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-SUBNET-127.0.0.1-LOCALHOST-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-SUBNET-127.0.0.1-LOCALHOST-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-None-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-None-SUBNET-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-None-SUBNET-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-None-LOCALHOST-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-None-LOCALHOST-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-127.0.0.1-OFF-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-127.0.0.1-OFF-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-127.0.0.1-SUBNET-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-127.0.0.1-SUBNET-127.0.0.1]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-127.0.0.1-LOCALHOST-None]
1: FAILED ../../src/ros2/system_tests/test_discovery/tests/test_discovery.py::test_thishost[rmw_cyclonedds_cpp-LOCALHOST-127.0.0.1-LOCALHOST-127.0.0.1]
1: ================== 53 failed, 55 passed in 535.89s (0:08:55) ===================

Root tests:

================================================================ short test summary info =================================================================
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-OFF-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676404923.955066275] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-OFF-no_peer-SUBNET-h1_ipv4] - AssertionError: [WARN] [1676404948.141798109] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-OFF-no_peer-LOCALHOST-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-OFF-h1_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676404984.440525941] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-OFF-h1_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676404996.499454346] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-OFF-h1_ipv4-SUBNET-no_peer] - AssertionError: [WARN] [1676405008.582776446] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-OFF-h1_ipv4-SUBNET-h1_ipv4] - AssertionError: [WARN] [1676405020.644374045] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-OFF-h1_ipv4-LOCALHOST-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-OFF-h1_ipv4-LOCALHOST-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-SUBNET-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676405068.889584334] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-SUBNET-h1_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676405089.265183736] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-SUBNET-h1_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676405101.331418979] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-LOCALHOST-no_peer-OFF-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-LOCALHOST-h1_ipv4-OFF-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_dynamic_cpp-LOCALHOST-h1_ipv4-OFF-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-OFF-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676405199.142654165] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-OFF-no_peer-SUBNET-h1_ipv4] - AssertionError: [WARN] [1676405223.341770358] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-OFF-no_peer-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676405247.525665049] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-OFF-h1_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676405259.568830221] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-OFF-h1_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676405271.644139616] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-OFF-h1_ipv4-SUBNET-no_peer] - AssertionError: [WARN] [1676405283.769630488] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-OFF-h1_ipv4-SUBNET-h1_ipv4] - AssertionError: [WARN] [1676405295.924750206] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-OFF-h1_ipv4-LOCALHOST-no_peer] - AssertionError: [WARN] [1676405308.000965954] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-OFF-h1_ipv4-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676405320.084950258] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-SUBNET-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676405344.231643834] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-SUBNET-h1_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676405364.922989150] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-SUBNET-h1_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676405377.034076488] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-LOCALHOST-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676405409.314613909] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-LOCALHOST-h1_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676405429.829774239] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_fastrtps_cpp-LOCALHOST-h1_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676405441.882002137] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-OFF-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676405474.266932380] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-OFF-no_peer-SUBNET-no_peer] - AssertionError: [WARN] [1676405486.213724084] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-OFF-no_peer-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676405492.016341997] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-OFF-h1_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676405493.835586827] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-OFF-h1_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676405505.827511948] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-OFF-h1_ipv4-LOCALHOST-no_peer] - AssertionError: [WARN] [1676405521.749589464] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-OFF-h1_ipv4-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676405523.598747595] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-SUBNET-no_peer-OFF-no_peer] - AssertionError: [WARN] [1676405525.434011450] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-SUBNET-no_peer-LOCALHOST-no_peer] - AssertionError: [WARN] [1676405533.078184381] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-SUBNET-no_peer-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676405534.900185231] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-SUBNET-h1_ipv4-LOCALHOST-no_peer] - AssertionError: [WARN] [1676405544.665534467] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-SUBNET-h1_ipv4-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676405546.467267924] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676405560.274968871] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-no_peer-SUBNET-no_peer] - AssertionError: [WARN] [1676405572.213798155] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-no_peer-SUBNET-h1_ipv4] - AssertionError: [WARN] [1676405584.188272694] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-no_peer-LOCALHOST-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-no_peer-LOCALHOST-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-h1_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676405599.812899978] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-h1_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676405611.889601218] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-h1_ipv4-SUBNET-no_peer] - AssertionError: [WARN] [1676405623.909539435] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-h1_ipv4-SUBNET-h1_ipv4] - AssertionError: [WARN] [1676405635.864144525] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-h1_ipv4-LOCALHOST-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_samehost[rmw_cyclonedds_cpp-LOCALHOST-h1_ipv4-LOCALHOST-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-OFF-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676405663.646384383] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-OFF-no_peer-SUBNET-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-OFF-no_peer-LOCALHOST-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-OFF-h2_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676405724.123160922] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-OFF-h2_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676405736.217765133] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-OFF-h2_ipv4-SUBNET-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-OFF-h2_ipv4-SUBNET-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-OFF-h2_ipv4-LOCALHOST-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-OFF-h2_ipv4-LOCALHOST-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-SUBNET-no_peer-OFF-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-SUBNET-no_peer-LOCALHOST-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-SUBNET-h2_ipv4-OFF-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-SUBNET-h2_ipv4-OFF-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-LOCALHOST-no_peer-OFF-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-LOCALHOST-no_peer-SUBNET-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-LOCALHOST-h2_ipv4-OFF-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_dynamic_cpp-LOCALHOST-h2_ipv4-OFF-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-OFF-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676405948.975987643] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-OFF-no_peer-SUBNET-h1_ipv4] - AssertionError: [WARN] [1676405973.161002547] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-OFF-no_peer-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676405997.390977957] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-OFF-h2_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676406009.471012232] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-OFF-h2_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676406021.572389357] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-OFF-h2_ipv4-SUBNET-no_peer] - AssertionError: [WARN] [1676406033.633134799] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-OFF-h2_ipv4-SUBNET-h1_ipv4] - AssertionError: [WARN] [1676406045.702051836] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-OFF-h2_ipv4-LOCALHOST-no_peer] - AssertionError: [WARN] [1676406057.749299396] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-OFF-h2_ipv4-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676406069.855559543] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-SUBNET-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676406094.063778480] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-SUBNET-no_peer-LOCALHOST-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-SUBNET-h2_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676406114.494415992] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-SUBNET-h2_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676406126.615463653] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-LOCALHOST-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676406159.111232407] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-LOCALHOST-no_peer-SUBNET-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-LOCALHOST-h2_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676406189.586752234] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_fastrtps_cpp-LOCALHOST-h2_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676406201.671552039] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-OFF-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676406234.068867658] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-OFF-no_peer-SUBNET-no_peer] - AssertionError: [WARN] [1676406246.046029102] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-OFF-no_peer-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676406251.849054141] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-OFF-h2_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676406253.678475306] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-OFF-h2_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676406265.642894412] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-OFF-h2_ipv4-LOCALHOST-no_peer] - AssertionError: [WARN] [1676406281.615951962] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-OFF-h2_ipv4-LOCALHOST-h1_ipv4] - AssertionError: [WARN] [1676406283.404178272] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-SUBNET-no_peer-OFF-no_peer] - AssertionError: [WARN] [1676406285.284213669] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-SUBNET-no_peer-LOCALHOST-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-SUBNET-h2_ipv4-LOCALHOST-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-SUBNET-h2_ipv4-LOCALHOST-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-LOCALHOST-no_peer-OFF-h1_ipv4] - AssertionError: [WARN] [1676406320.437354636] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-LOCALHOST-no_peer-SUBNET-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-LOCALHOST-no_peer-LOCALHOST-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-LOCALHOST-h2_ipv4-OFF-no_peer] - AssertionError: [WARN] [1676406360.009775641] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-LOCALHOST-h2_ipv4-OFF-h1_ipv4] - AssertionError: [WARN] [1676406371.997498341] [rcl]: ROS_LOCALHOST_ONLY is deprecated. Use ROS_AUTOMATIC_DISCOVERY_RANGE_DEFAULT and ROS_STATIC_PEERS instead.
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-LOCALHOST-h2_ipv4-SUBNET-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-LOCALHOST-h2_ipv4-SUBNET-h1_ipv4]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-LOCALHOST-h2_ipv4-LOCALHOST-no_peer]
FAILED install/test_discovery/share/test_discovery/roottests/test_discovery.py::test_differenthost[rmw_cyclonedds_cpp-LOCALHOST-h2_ipv4-LOCALHOST-h1_ipv4]
================================================ 107 failed, 109 passed, 1 warning in 1517.78s (0:25:17) =================================================

Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
<!-- <depend>mininet</depend> TODO this rosdep key -->
<depend>rclcpp</depend>
<depend>test_msgs</depend>
<depend>pytest</depend>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<depend>pytest</depend>
<depend>ament_cmake_pytest</depend>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improved package.xml in 4df83da

ament_cmake_pytest is a test_depend, but pytest is still a run depend for the tests that run as root

Comment on lines 35 to 38
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()

ament_add_pytest_test(test_discovery tests/test_discovery.py TIMEOUT 800)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
ament_add_pytest_test(test_discovery tests/test_discovery.py TIMEOUT 800)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
find_package(ament_cmake_pytest REQUIRED)
ament_add_pytest_test(test_discovery tests/test_discovery.py TIMEOUT 800)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finding ament_cmake_pytest should be part of ament_lint_auto_find_test_dependencies now that it's in the package.xml in 4df83da

Comment on lines 69 to 81
cmd = []
cmd.append('sudo')
cmd.append(sys.executable)
cmd.append('-m')
cmd.append('pytest')
cmd.append('-c')
cmd.append(str(get_tests_dir() / 'conftest.py'))
if args.select:
cmd.append('-k')
cmd.append(args.select)
cmd.append(f'--rmws={":".join(rmw_implementations)}')
cmd.append(f'--ros-workspaces={":".join(get_workspaces())}')
cmd.append(str(get_tests_dir() / 'test_discovery.py'))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit

Suggested change
cmd = []
cmd.append('sudo')
cmd.append(sys.executable)
cmd.append('-m')
cmd.append('pytest')
cmd.append('-c')
cmd.append(str(get_tests_dir() / 'conftest.py'))
if args.select:
cmd.append('-k')
cmd.append(args.select)
cmd.append(f'--rmws={":".join(rmw_implementations)}')
cmd.append(f'--ros-workspaces={":".join(get_workspaces())}')
cmd.append(str(get_tests_dir() / 'test_discovery.py'))
cmd = [
'sudo',
sys.executable,
'-m',
'pytest',
'-c',
str(get_tests_dir() / 'conftest.py')
]
if args.select:
cmd.extend(['-k', args.select])
cmd.extend([
f'--rmws={":".join(rmw_implementations)}',
f'--ros-workspaces={":".join(get_workspaces())}',
str(get_tests_dir() / 'test_discovery.py'
])

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using more lists and extend in 371ec23

auto end_time = clock->now() + rclcpp::Duration::from_seconds(kMaxDiscoveryTime);
while (rclcpp::ok() && publisher->get_subscription_count() == 0) {
if (clock->now() >= end_time) {
return 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a warning on timeout?

@ros-discourse
Copy link

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

https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2023-02-16/29927/1

sloretz added 6 commits March 24, 2023 23:56
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
sloretz added 9 commits March 29, 2023 23:14
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
Signed-off-by: Shane Loretz <sloretz@google.com>
@ros-discourse
Copy link

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

https://discourse.ros.org/t/proposal-restrict-dds-to-localhost-by-default/36018/4

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

Successfully merging this pull request may close these issues.

3 participants