-
Notifications
You must be signed in to change notification settings - Fork 417
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
🧑🌾 connext test regressions in test_subscription_topic_statistics
#2588
Comments
- Reports from: ros2/rclcpp#2588 Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
this problem can be reproducible with current rolling today, as reported this only happens with https://github.com/ros2/rmw_connextdds. source timestamp is assigned by RTI Connext to libstatistic allocator, and confirmed that topic statistics on the subscription publishes the data for both rclcpp/rclcpp/include/rclcpp/topic_statistics/subscription_topic_statistics.hpp Lines 143 to 145 in 45adf65
on the other hand, rclcpp/rclcpp/test/rclcpp/topic_statistics/test_topic_stats_utils.hpp Lines 132 to 140 in 45adf65
that fails the test since it expects the same number of messages for each source name. IMO, assumption that the same exact number of messages are delivered to each source name would be bad, since there is no guarantee that multiple source name messages come in order, that i think depends on the RMW implementation. |
@asorbini any chance that you or someone else from the RTI team may be able to shed some light here? |
@clalancette You mentioned to assign this issue to you and add label @asorbini A friendly ping for comments about this issue. |
@trubio-rti this comes up with priority in this week's PMC meeting. |
@fujitatomoya: @fgallegosalido is the one working now on the Connext RMW |
@trubio-rti thanks! @fgallegosalido let us know if you need any help. |
@fujitatomoya we are trying to reproduce the issue. Could you clarify which Connext version is being used or is it just the one in the CI? Thanks. |
@fgallegosalido that is |
I was able to reproduce it. Working on it |
After a long investigation, we've found out that the issue was produced by the Changing the QoS in the test to use auto options = rclcpp::SubscriptionOptions();
options.topic_stats_options.state = rclcpp::TopicStatisticsState::Enable;
options.topic_stats_options.publish_period = publish_period;
options.topic_stats_options.qos.keep_all(); |
@fgallegosalido thanks for the analysis, i will try and confirm it right now. |
@fgallegosalido i would like to confirm the connextdds behavior, can you check the comments in #2650? |
@Crola1702 do we need to backport #2650 to downstream distributions? |
Bug report
Required Info:
Steps to reproduce issue
Additional information
Reference build: Rci__nightly-connext_ubuntu_noble_amd64#94
Test regressions:
rclcpp.TestSubscriptionTopicStatisticsFixture.test_receive_stats_include_window_reset
Log output:
Failures are pointing to this source code: https://github.com/ros2/rclcpp/blob/rolling/rclcpp/test/rclcpp/topic_statistics/test_subscription_topic_statistics.cpp
The text was updated successfully, but these errors were encountered: