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

Revert "Revert "Add support for spin_until_timeout (#1821)"" #1957

Closed
wants to merge 4 commits into from

Conversation

wjwwood
Copy link
Member

@wjwwood wjwwood commented Jun 24, 2022

Reverts #1956

An un-revert of #1874, see #1874 (comment).

…_until_future_complete with spin_until_complete. (#1821) (#1874)" (#1956)"

This reverts commit f43a919.
@audrow audrow changed the base branch from master to rolling June 28, 2022 14:20
@clalancette clalancette self-requested a review July 14, 2022 17:13
Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm

rclcpp/include/rclcpp/executor.hpp Outdated Show resolved Hide resolved
@fujitatomoya
Copy link
Collaborator

@SteveMacenski thanks for the review for all dependent packages. I will run CI on these changes.

@fujitatomoya
Copy link
Collaborator

@christophebedard
Copy link
Member

@fujitatomoya is this (and related PRs) still ready to be merged?

@fujitatomoya
Copy link
Collaborator

@christophebedard there are conflicts, we need to rebase some of them. we have complete list on #1957 (comment). anyway i will check those again.

@christophebedard
Copy link
Member

@christophebedard there are conflicts, we need to rebase some of them. we have complete list on #1957 (comment). anyway i will check those again.

Alright. Please note that the ros2_tracing PR is now at ros2/ros2_tracing#2

@fujitatomoya fujitatomoya force-pushed the revert-1956-revert-1874-hliberacki/timeout branch from 447ba81 to cde7a67 Compare January 23, 2023 17:49
@fujitatomoya
Copy link
Collaborator

@hliberacki i fixed conflict on this PR synced with rolling, could you do the review just in case?

Signed-off-by: Tomoya Fujita <[email protected]>
@fujitatomoya
Copy link
Collaborator

okay we have many deprecated warnings related to this PR.

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Debug --packages-select rclcpp rclcpp_action
root@tomoyafujita:~/ros2_ws/colcon_ws# colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Debug --packages-select rclcpp rclcpp_action
Starting >>> rclcpp  
[Processing: rclcpp]                             
[Processing: rclcpp]                                     
[Processing: rclcpp]                                       
--- stderr: rclcpp                                          
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::MultiThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::StaticSingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::SingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::MultiThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::StaticSingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::SingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::MultiThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::StaticSingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::MultiThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::SingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::StaticSingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp: In instantiation of ‘void TestAddCallbackGroupsToExecutor_subscriber_triggered_to_receive_message_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = rclcpp::executors::SingleThreadedExecutor]’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:285:1:   required from here
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:300:63: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<bool>; TimeRepT = long int; TimeT = std::ratio<1>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  300 |       return_code = cb_grp_executor.spin_until_future_complete(received_message_future, 10s);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:336:44: warning: ‘rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete(const FutureT&, std::chrono::duration<_Rep, _Period>) [with FutureT = std::future<void>; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(const ConditionT & condition, DurationT timeout) instead [-Wdeprecated-declarations]
  336 |   timer_executor.spin_until_future_complete(future);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:21,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_add_callback_groups_to_executor.cpp:29:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executor.hpp:381:3: note: declared here
  381 |   spin_until_future_complete(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp: In member function ‘virtual void TestParameterClient_async_parameter_load_parameters_complicated_regex_Test::TestBody()’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:985:56: warning: ‘rclcpp::FutureReturnCode rclcpp::spin_until_future_complete(std::shared_ptr<_Tp>, const FutureT&, std::chrono::duration<_Rep2, _Period2>) [with NodeT = rclcpp::Node; FutureT = std::shared_future<std::vector<rcl_interfaces::msg::SetParametersResult_<std::allocator<void> > > >; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(std::shared_ptr<NodeT>, const ConditionT &, DurationT) instead [-Wdeprecated-declarations]
  985 |   auto result_code = rclcpp::spin_until_future_complete(
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  986 |     load_node, load_future, std::chrono::milliseconds(100));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/rclcpp.hpp:155,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:25:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:194:1: note: declared here
  194 | spin_until_future_complete(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:991:37: warning: ‘rclcpp::FutureReturnCode rclcpp::spin_until_future_complete(std::shared_ptr<_Tp>, const FutureT&, std::chrono::duration<_Rep2, _Period2>) [with NodeT = rclcpp::Node; FutureT = std::shared_future<rcl_interfaces::msg::ListParametersResult_<std::allocator<void> > >; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(std::shared_ptr<NodeT>, const ConditionT &, DurationT) instead [-Wdeprecated-declarations]
  991 |   rclcpp::spin_until_future_complete(
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  992 |     load_node, list_parameters, std::chrono::milliseconds(100));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/rclcpp.hpp:155,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:25:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:194:1: note: declared here
  194 | spin_until_future_complete(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp: In member function ‘virtual void TestParameterClient_async_parameter_load_parameters_from_map_Test::TestBody()’:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:1063:56: warning: ‘rclcpp::FutureReturnCode rclcpp::spin_until_future_complete(std::shared_ptr<_Tp>, const FutureT&, std::chrono::duration<_Rep2, _Period2>) [with NodeT = rclcpp::Node; FutureT = std::shared_future<std::vector<rcl_interfaces::msg::SetParametersResult_<std::allocator<void> > > >; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(std::shared_ptr<NodeT>, const ConditionT &, DurationT) instead [-Wdeprecated-declarations]
 1063 |   auto result_code = rclcpp::spin_until_future_complete(
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 1064 |     load_node, load_future, std::chrono::milliseconds(100));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/rclcpp.hpp:155,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:25:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:194:1: note: declared here
  194 | spin_until_future_complete(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:1069:37: warning: ‘rclcpp::FutureReturnCode rclcpp::spin_until_future_complete(std::shared_ptr<_Tp>, const FutureT&, std::chrono::duration<_Rep2, _Period2>) [with NodeT = rclcpp::Node; FutureT = std::shared_future<rcl_interfaces::msg::ListParametersResult_<std::allocator<void> > >; TimeRepT = long int; TimeT = std::ratio<1, 1000>]’ is deprecated: use spin_until_complete(std::shared_ptr<NodeT>, const ConditionT &, DurationT) instead [-Wdeprecated-declarations]
 1069 |   rclcpp::spin_until_future_complete(
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 1070 |     load_node, list_parameters, std::chrono::milliseconds(100));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/rclcpp.hpp:155,
                 from /root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/test/rclcpp/test_parameter_client.cpp:25:
/root/ros2_ws/colcon_ws/src/ros2/rclcpp/rclcpp/include/rclcpp/executors.hpp:194:1: note: declared here
  194 | spin_until_future_complete(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
---
Finished <<< rclcpp [1min 39s]
Starting >>> rclcpp_action
Finished <<< rclcpp_action [16.2s]                            

Summary: 2 packages finished [1min 56s]
  1 package had stderr output: rclcpp

@fujitatomoya
Copy link
Collaborator

This should be good to go, local test with colcon test --event-handlers console_direct+ --packages-select rclcpp rclcpp_action succeeds w/o error.

@fujitatomoya
Copy link
Collaborator

CC: @christophebedard

@christophebedard
Copy link
Member

Could we pick this back up?

@SteveMacenski
Copy link
Collaborator

Very much please 😄 I want this in Jazzy

@christophebedard
Copy link
Member

I've opened #2475 to replace this PR.

@clalancette
Copy link
Contributor

I'm going to close this one, as it is replaced by #2475

@clalancette clalancette closed this Apr 4, 2024
@clalancette clalancette deleted the revert-1956-revert-1874-hliberacki/timeout branch April 4, 2024 01:57
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.

5 participants