:farmer: Flaky EventsCBGExecutor test: reentrant callback group fails to run callbacks concurrently
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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 内容生成。
描述
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
- Go to https://build.ros2.org/job/Lci__nightly-debug_ubuntu_resolute_amd64
- Build a job
- 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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ros2/rclcpp 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 30/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 10/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 35/100
维护者通常 1 天内回复
-
[Jazzy] action server registers clock jump callbacks without the clock mutex (heap corruption)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 4/5 3-5 天 新手友好度 44/100
维护者通常 1 天内回复
相似的 Issue
-
agent:WSL bug linux LOW
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
0.kind: build failure
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
tech-debt
难度 2/5 1-3 小时 新手友好度 72/100
prestonbrown/helixscreen#1797 ·
维护者通常 2 天内回复
-
难度 2/5 1 小时以内 新手友好度 72/100
finalburnneo/FBNeo#2803 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复