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

Bump zenoh-cpp to 2a127bb, zenoh-c to 3540a3c, and zenoh to f735bf5 #503

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

Mallets
Copy link
Contributor

@Mallets Mallets commented Mar 5, 2025

Copy link
Member

@Yadunund Yadunund left a comment

Choose a reason for hiding this comment

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

@Mallets thanks for working on all these improvements!

I'm seeing some flakiness with rcl_action/test_action_client and rcl_action/test_action_server but these tests seem to also be flaky on rolling.

Are you able to reproduce this with

colcon test --event-handlers console_cohesion+ console_direct+ --packages-select rcl_action --ctest-args -R test_action_server --retest-until-fail 5
colcon test --event-handlers console_cohesion+ console_direct+ --packages-select rcl_action --ctest-args -R test_action_client --retest-until-fail 5

@Mallets
Copy link
Contributor Author

Mallets commented Mar 6, 2025

I get these errors from a fresh clone of rmw_zenoh:

/usr/bin/vcs:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
---
Finished <<< zenoh_cpp_vendor [4min 14s]
Starting >>> rmw_zenoh_cpp
--- stderr: rmw_zenoh_cpp
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp: In function ‘rmw_ret_t rmw_init_options_copy(const rmw_init_options_t*, rmw_init_options_t*)’:
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp:104:11: error: ‘rmw_enclave_options_copy’ was not declared in this scope; did you mean ‘rmw_init_options_copy’?
  104 |     ret = rmw_enclave_options_copy(src->enclave, &allocator, &tmp.enclave);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
      |           rmw_init_options_copy
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp: In lambda function:
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp:112:9: error: ‘rmw_enclave_options_fini’ was not declared in this scope; did you mean ‘rmw_init_options_fini’?
  112 |         rmw_enclave_options_fini(tmp.enclave, &allocator);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
      |         rmw_init_options_fini
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp: In function ‘rmw_ret_t rmw_init_options_fini(rmw_init_options_t*)’:
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp:150:11: error: ‘rmw_enclave_options_fini’ was not declared in this scope; did you mean ‘rmw_init_options_fini’?
  150 |     ret = rmw_enclave_options_fini(init_options->enclave, allocator);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
      |           rmw_init_options_fini
gmake[2]: *** [CMakeFiles/rmw_zenoh_cpp.dir/build.make:468: CMakeFiles/rmw_zenoh_cpp.dir/src/rmw_init_options.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/rmw_zenoh_cpp.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< rmw_zenoh_cpp [6.66s, exited with code 2]

Summary: 1 package finished [4min 21s]
  1 package failed: rmw_zenoh_cpp
  2 packages had stderr output: rmw_zenoh_cpp zenoh_cpp_vendor

It seems related to #491. Unfortunately fujitatomoya/rmw_options_enclave branch has been deleted and I can't try to compile it.

@ahcorde
Copy link
Contributor

ahcorde commented Mar 6, 2025

I get these errors from a fresh clone of rmw_zenoh:

/usr/bin/vcs:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
---
Finished <<< zenoh_cpp_vendor [4min 14s]
Starting >>> rmw_zenoh_cpp
--- stderr: rmw_zenoh_cpp
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp: In function ‘rmw_ret_t rmw_init_options_copy(const rmw_init_options_t*, rmw_init_options_t*)’:
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp:104:11: error: ‘rmw_enclave_options_copy’ was not declared in this scope; did you mean ‘rmw_init_options_copy’?
  104 |     ret = rmw_enclave_options_copy(src->enclave, &allocator, &tmp.enclave);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
      |           rmw_init_options_copy
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp: In lambda function:
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp:112:9: error: ‘rmw_enclave_options_fini’ was not declared in this scope; did you mean ‘rmw_init_options_fini’?
  112 |         rmw_enclave_options_fini(tmp.enclave, &allocator);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
      |         rmw_init_options_fini
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp: In function ‘rmw_ret_t rmw_init_options_fini(rmw_init_options_t*)’:
/home/luca/ws_rmw_zenoh_bump-zenoh-f735bf5/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init_options.cpp:150:11: error: ‘rmw_enclave_options_fini’ was not declared in this scope; did you mean ‘rmw_init_options_fini’?
  150 |     ret = rmw_enclave_options_fini(init_options->enclave, allocator);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
      |           rmw_init_options_fini
gmake[2]: *** [CMakeFiles/rmw_zenoh_cpp.dir/build.make:468: CMakeFiles/rmw_zenoh_cpp.dir/src/rmw_init_options.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/rmw_zenoh_cpp.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< rmw_zenoh_cpp [6.66s, exited with code 2]

Summary: 1 package finished [4min 21s]
  1 package failed: rmw_zenoh_cpp
  2 packages had stderr output: rmw_zenoh_cpp zenoh_cpp_vendor

It seems related to #491. Unfortunately fujitatomoya/rmw_options_enclave branch has been deleted and I can't try to compile it.

are you compiling from source ? or packages ?

  • From source you should pull your ros2_rolling/src/ros2 packages
cd <path to ros2_ws>
vcs pull src < ros2.repos
  • packages you can use rolling testing packages instead of stables. I bloomed yesterday rmw

@Mallets
Copy link
Contributor Author

Mallets commented Mar 6, 2025

I'm compiling from source and I just forgot to do vcs pull src < ros2.repos.
All is good now.

These are the results of the tests on my VM:

colcon test --event-handlers console_cohesion+ console_direct+ --packages-select rcl_action --ctest-args -R test_action_server --retest-until-fail 5

gives

1/1 Test #11: test_action_server ...............   Passed    6.44 sec

The following tests passed:
	test_action_server

100% tests passed, 0 tests failed out of 1

Label Time Summary:
gtest    =   6.44 sec*proc (1 test)

Total Test time (real) =  38.80 sec
---
Finished <<< rcl_action [39.6s]

Summary: 1 package finished [40.4s]

colcon test --event-handlers console_cohesion+ console_direct+ --packages-select rcl_action --ctest-args -R test_action_client --retest-until-fail 5

gives

1/1 Test #1: test_action_client ...............   Passed    1.86 sec

The following tests passed:
	test_action_client

100% tests passed, 0 tests failed out of 1

Label Time Summary:
gtest    =   1.86 sec*proc (1 test)

Total Test time (real) =   7.75 sec
---
Finished <<< rcl_action [8.32s]

Summary: 1 package finished [9.07s]

@Yadunund
Copy link
Member

Yadunund commented Mar 6, 2025

@Mallets thanks for testing. It might have been an issue with my setup. Good to merge!

@Yadunund Yadunund merged commit 19b7f77 into ros2:rolling Mar 6, 2025
4 of 5 checks passed
@Yadunund
Copy link
Member

Yadunund commented Mar 6, 2025

@Mergifyio backport jazzy humble

Copy link

mergify bot commented Mar 6, 2025

backport jazzy humble

✅ Backports have been created

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