:farmer: Flaky test: BufferClientTestAfterShutdown fails with SIGABRT during shutdown

Open
#1,014 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
backend, testing

Research direction

Start with test_tf2.BufferClientTestAfterShutdown.test_exit_code in test_tf2/test/static_publisher.launch.py and the referenced nightly build logs. Reproduce the intermittent shutdown failure and trace why test_static_publisher-3 exits with SIGABRT; done means the test exits cleanly across repeated runs and the reported flaky failure is resolved.

Written by the indexing model from the issue text.

Description

bug
Generated by Generative AI

No

Operating System:

Ubuntu Resolute

ROS version or commit hash:

Lyrical (and Humble)

RMW implementation (if applicable):

No response

RMW Configuration (if applicable):

No response

Client library (if applicable):

No response

'ros2 doctor --report' output
Steps to reproduce issue
  1. Go to https://build.ros2.org/job/Lci__nightly-connext_ubuntu_resolute_amd64
  2. Build a job
  3. See test failing flaky
Expected behavior

Build without regressions

Actual behavior

Test ending with a SIGABRT

Additional information
Reference build
Failing tests
  • tf2_ros.tf2_ros_test_message_filter.gtest.missing_result
  • test_tf2.BufferClientTestAfterShutdown.test_exit_code
Log Output
6: [INFO] [python3-4]: sending signal 'SIGINT' to process[python3-4]
6: [INFO] [static_transform_publisher-2]: sending signal 'SIGINT' to process[static_transform_publisher-2]
6: [INFO] [static_transform_publisher-1]: sending signal 'SIGINT' to process[static_transform_publisher-1]
6: [static_transform_publisher-2] [INFO] [1795008422.474797151] [rclcpp]: signal_handler(signum=2)
6: [static_transform_publisher-1] [INFO] [1795008422.475597639] [rclcpp]: signal_handler(signum=2)
6: [INFO] [python3-4]: process has finished cleanly [pid 417493]
6: [INFO] [static_transform_publisher-1]: process has finished cleanly [pid 417490]
6: [INFO] [static_transform_publisher-2]: process has finished cleanly [pid 417491]
6: test_exit_code (test_tf2.BufferClientTestAfterShutdown.test_exit_code) ... FAIL
6: 
6: ======================================================================
6: FAIL: test_exit_code (test_tf2.BufferClientTestAfterShutdown.test_exit_code)
6: ----------------------------------------------------------------------
6: Traceback (most recent call last):
6:   File "/tmp/ws/src/ros2/geometry2/test_tf2/test/static_publisher.launch.py", line 56, in test_exit_code
6:     launch_testing.asserts.assertExitCodes(proc_info)
6:     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
6:   File "/tmp/ws/install_isolated/launch_testing/lib/python3.14/site-packages/launch_testing/asserts/assert_exit_codes.py", line 62, in assertExitCodes
6:     assert info.returncode in allowable_exit_codes, 'Proc {} exited with code {}'.format(
6:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6: AssertionError: Proc test_static_publisher-3 exited with code -6
Flakyness 15 days
job_name last_fail first_fail build_count failure_count failure_percentage
Lci__nightly-connext_ubuntu_resolute_amd64 2026-11-18 2026-11-06 4 2 50.0
Hci__nightly-connext_ubuntu_jammy_amd64 2026-11-08 2026-11-04 4 2 50.0

test_static_publisher-3 is finishing with a SIGABRT instead of finishing cleanly. This has no clear beginning.

CC: @Crola1702

Dominant language
C++
Stars
157
Forks
265
Avg merge
13h 41m
Merged PRs (30d)
7

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ros2/geometry2

All issues in ros2/geometry2

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.