Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

:farmer: Flaky EventsCBGExecutor test: reentrant callback group fails to run callbacks concurrently

未关闭
#3,328 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp
领域
robotics

调研方向

Start with the test in test/rclcpp/executors/test_events_cbg_executor_reentrant.cpp, where the check at line 121 fails when sub 2 times out waiting for sub 1. The issue suggests pull requests 3178 and 3288 as possible causes, so review those changes to the reentrant callback group handling first. Done means the test passes reliably across repeated runs on the nightly Ubuntu and RHEL jobs.

由索引模型根据 Issue 内容生成。

描述

bug
Generated by Generative AI

No response

Operating System:

ubuntu Lyrical mainly (flaky in the other ubuntu distros)

ROS version or commit hash:

Lyrical (with presence on kilted and rolling)

RMW implementation (if applicable):

No response

RMW Configuration (if applicable):

No response

Client library (if applicable):

No response

'ros2 doctor --report' output

No response

Steps to reproduce issue
  1. Go to https://build.ros2.org/job/Lci__nightly-debug_ubuntu_resolute_amd64
  2. Build a job
  3. See test failing
Expected behavior

Build without test regressions

Actual behavior

Building with some regressions

Additional information
Reference Build
Failing tests
  • projectroot.test.rclcpp.test_events_cbg_executor_reentrant
  • rclcpp.TestEventsCBGExecutorReentrant.reentract_callback_group_runs_concurrently
Log output
/tmp/ws/src/ros2/rclcpp/rclcpp/test/rclcpp/executors/test_events_cbg_executor_reentrant.cpp:121
Value of: sub2_timed_out.load()
  Actual: true
Expected: false
sub 2 timed out waiting for sub 1 to start running -- the reentrant callback group appears to be serialized
Flakyness 15 days
job_name last_fail first_fail build_count failure_count failure_percentage
nightly_linux-rhel_debug 2026-10-11 2026-09-15 28 13 46.43
Lci__nightly-debug_ubuntu_resolute_amd64 2026-10-10 2026-09-14 8 8 100.0
Kci__nightly-debug_ubuntu_noble_amd64 2026-10-09 2026-09-25 6 4 66.67
nightly_linux-aarch64_debug 2026-10-03 2026-09-13 29 2 6.9
nightly_linux_debug 2026-10-01 2026-09-14 31 15 48.39
Rci__nightly-debug_ubuntu_resolute_amd64 2026-09-23 2026-09-15 23 6 26.09

I think that https://github.com/ros2/rclcpp/pull/3178 and https://github.com/ros2/rclcpp/pull/3288 could be related to this issue

主要语言
C++
星标
814
派生
572
平均合并
5 天 21 小时
30 天内合并 PR
20

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ros2/rclcpp 的其他 Issue

查看 ros2/rclcpp 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。