-
Notifications
You must be signed in to change notification settings - Fork 436
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
Bionic test_register_custom_callbacks Timeout #469
Comments
I've seen the following output on a nightly once:
It was this ARM build from April 21st. That's just a flaky test though, not a consistent failure like you see on bionic, and tbh I only saw it that one time during a weekend where we had a lot of additional test failures/reported failures from the colcon switch, but it might be the same cause underneath. |
Interestingly this hang shows up only on jobs using FastRTPS by default but the same test passed on all jobs using Connext by default: I confirmed locally that the test never hangs when using Opensplice as the default rmw_implementation I also noticed that these tests don't shutdown their nodes on TearDown, but this doesnt fix the hanging problem, so I'll file a separate PR for that |
Asan and Tsan return no issues. |
If all of the |
* Fix memory leak in test_count_matched, fini subscription (ros2#469) Signed-off-by: y-okumura-isp <[email protected]> * Fix leak in test_count_matched, fini init_option (ros2#469) Signed-off-by: y-okumura-isp <[email protected]>
Narrow scope of subscription to prevent leak and separate nominal test from init/fini test. Signed-off-by: y-okumura-isp <[email protected]>
ros2#569) Signed-off-by: y-okumura-isp <[email protected]>
* `rcl_arguments_fini` free external_log_config_file (ros2#469) * Fix memory leak in `parse_key` in parser.c Signed-off-by: y-okumura-isp <[email protected]>
* Fix memory leak in test_publisher, test msg not released (ros2#469) Signed-off-by: y-okumura-isp <[email protected]> * Fix memory leak in test_publisher, not fini publisher (ros2#469) Signed-off-by: y-okumura-isp <[email protected]>
Bug report
Required Info:
Steps to reproduce issue
Run rclcpp_lifecycle test_register_custom_callbacks. After the test has passed, the program fails to terminate. In CI, this causes the test to timeout and be rerun 10 times.
Expected behavior
The test doesn't hang.
Actual behavior
The test hangs.
Additional information
This seems to only happen on bionic, regardless if this patch is applied or not: ros2/rmw_fastrtps#199
CI Failure: https://ci.ros2.org/job/ci_linux/4324/testReport/junit/(root)/projectroot/test_register_custom_callbacks/
The text was updated successfully, but these errors were encountered: