Skip to content

Conversation

nuclearsandwich
Copy link
Member

Adds the new vendor package dependency required for Fast-RTPS 1.9.0 to see how far the build gets.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@wjwwood
Copy link
Member

wjwwood commented Jul 15, 2019

There was a small typo, so I fixed it and reran CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@wjwwood
Copy link
Member

wjwwood commented Jul 15, 2019

Ok, now it's failing because of the version of ASIO, I think.

@nuclearsandwich
Copy link
Member Author

nuclearsandwich commented Jul 15, 2019

Ok, now it's failing because of the version of ASIO, I think.

Mac builds should have gotten farther than the other two, since they're on asio from homebrew.

Edit: spelling and grammar.

@wjwwood
Copy link
Member

wjwwood commented Jul 15, 2019

You're right, looks like API breaking changes that rmw_fastrtps_cpp will need to adapt:

14:58:53 /Users/osrf/jenkins-agent/workspace/ci_osx/ws/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_subscriber_info.hpp:83:34: error: no member named 'getUnreadCount' in 'eprosima::fastrtps::Subscriber'; did you mean 'get_unread_count'?
14:58:53     uint64_t unread_count = sub->getUnreadCount();
14:58:53                                  ^~~~~~~~~~~~~~
14:58:53                                  get_unread_count
14:58:53 /Users/osrf/jenkins-agent/workspace/ci_osx/ws/install/fastrtps/include/fastrtps/subscriber/Subscriber.h:118:14: note: 'get_unread_count' declared here
14:58:53     uint64_t get_unread_count() const;
14:58:53              ^
14:58:53 In file included from /Users/osrf/jenkins-agent/workspace/ci_osx/ws/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/custom_subscriber_info.cpp:15:
14:58:53 /Users/osrf/jenkins-agent/workspace/ci_osx/ws/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_subscriber_info.hpp:143:34: error: no member named 'getUnreadCount' in 'eprosima::fastrtps::Subscriber'; did you mean 'get_unread_count'?
14:58:53     uint64_t unread_count = sub->getUnreadCount();
14:58:53                                  ^~~~~~~~~~~~~~
14:58:53                                  get_unread_count
14:58:53 /Users/osrf/jenkins-agent/workspace/ci_osx/ws/install/fastrtps/include/fastrtps/subscriber/Subscriber.h:118:14: note: 'get_unread_count' declared here
14:58:53     uint64_t get_unread_count() const;
14:58:53              ^
14:58:53 2 errors generated.
14:58:53 make[2]: *** [CMakeFiles/rmw_fastrtps_shared_cpp.dir/src/custom_subscriber_info.cpp.o] Error 1
14:58:53 make[2]: *** Waiting for unfinished jobs....
14:58:53 make[1]: *** [CMakeFiles/rmw_fastrtps_shared_cpp.dir/all] Error 2
14:58:53 make: *** [all] Error 2
14:58:53 ---

@wjwwood
Copy link
Member

wjwwood commented Jul 15, 2019

I'll try it locally and form a patch.

@nuclearsandwich
Copy link
Member Author

Our windows packages are on asio 1.12.1 which appears to be sufficient as well (as it happens Fast-RTPS's Windows instructions currently recommend installing our chocolatey packages for tinyxml2 and asio 😶)

@wjwwood
Copy link
Member

wjwwood commented Jul 15, 2019

Also, it doesn't build (at least on macOS) without explicitly turning on -DSECURITY=ON, see: eProsima/Fast-DDS#610

@wjwwood
Copy link
Member

wjwwood commented Jul 16, 2019

Another round of CI with my new patch (ros2/rmw_fastrtps#302):

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@hidmic
Copy link
Contributor

hidmic commented Jul 16, 2019

Still having issues with the ASIO version :(

@wjwwood
Copy link
Member

wjwwood commented Jul 16, 2019

Yeah, I don't know what we'll do about that. For now we'll stick to the 1.8.1 release. The failures on macOS Windows are unrelated I believe, but I didn't check closely.

@richiware
Copy link

eProsima/Fast-DDS#616 should fix the compilation error against Asio 1.10.

@wjwwood
Copy link
Member

wjwwood commented Jul 17, 2019

Thanks for the quick update @richiware!

@wjwwood wjwwood force-pushed the foonathan-memory-vendor branch from b4548b2 to 5962b2e Compare July 17, 2019 18:02
Signed-off-by: William Woodall <william@osrfoundation.org>
@wjwwood
Copy link
Member

wjwwood commented Jul 17, 2019

CI after a rebase, reverting the version pinning, and also including my patch to rmw_fastrtps_cpp:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@wjwwood
Copy link
Member

wjwwood commented Jul 17, 2019

One of the tests is failing on all platforms and I'm not familiar with it from nightly's, so it may be a regression:

https://ci.ros2.org/job/ci_linux/7597/testReport/junit/launch_testing_ros.test/test_examples/test_examples_talker_listener_test_py_/

@dirk-thomas
Copy link
Member

FastRTPS-only builds also using ros2/rmw_fastrtps#302:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

All test failures are also present on the latest nightly builds. So it looks to me that we can switch back to master for FastRTPS?

@wjwwood
Copy link
Member

wjwwood commented Aug 7, 2019

@dirk-thomas
Copy link
Member

Since the test passed in the recent build (https://ci.ros2.org/job/ci_linux/7827/testReport/junit/launch_testing_ros.test/test_examples/test_examples_talker_listener_test_py_/) I would move forward with it. If it happens to reappear in the future we can investigate it.

Also the previously failing test doesn't stand out as being a significant regression - then I would expect many more failures.

Also the previous build used an earlier beta of FastRTPS which has received further patches till the now released version.

@wjwwood wjwwood merged commit 8478571 into master Aug 7, 2019
@delete-merged-branch delete-merged-branch bot deleted the foonathan-memory-vendor branch August 7, 2019 18:40
@cottsay
Copy link
Member

cottsay commented Aug 14, 2019

This pull request regressed 12 tests in test_communication when communicating between Fast-RTPS and Connext.

The tests will continue to fail in the nightly packaging and Debug jobs until this is reverted or resolved.

See ros2/build_farmer#230 for more info.

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.

6 participants