Deadlock / missed messages in launch test.
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện trường hợp TestRobotConductor được cung cấp bằng colcon test và pytest, sau đó so sánh với việc chạy test dưới dạng script. Theo dõi việc chờ của executor.spin_until_future_complete và các lệnh gọi service trong conductor.collect_calibration_data; được xem là hoàn tất khi launch test không còn bị deadlock hoặc bỏ lỡ message và future hoàn tất một cách đáng tin cậy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Bug report
Required Info:
- Operating System:
- Ubuntu 22.04.1 LTS
- Installation type:
- Binaries
- Version or commit hash:
- ros:humble-ros-core-jammy docker image
- DDS implementation:
- Fast DDS.
- Client library (if applicable):
- rclpy
Steps to reproduce issue
Below is the test I am tying to run. I also have a generate_test_description section which spins up 4 other nodes. When I run my test with colcon test and pytest, the test runs for a while but eventually fails when a future does not finish (using executor.spin_until_future_complete). However, if I bring up all the other nodes manually and then run the below test as a script, everything always works as expected. As far as I can tell, the conductor.collect_calibration_data function below, which makes a bunch of service calls, sends a request that is never received by the server, or never receives a response from the server that appear to have been sent.
class TestRobotConductor(unittest.TestCase):
def setUp(self):
rclpy.init()
self.node = rclpy.create_node("test_robot_conductor")
self.executor = rclpy.executors.MultiThreadedExecutor()
self.executor.add_node(self.node)
self.executor_thread = threading.Thread(target=self.executor.spin, daemon=True)
self.executor_thread.start()
self.cam_cal_client = CamCalClient(self.node, self.executor)
def tearDown(self):
self.node.destroy_node()
self.executor.shutdown()
rclpy.shutdown()
def test_robot_conductor(self):
self.cam_cal_client.wait_for_services(timeout_sec=5.0)
conductor = RobotConductor(self.cam_cal_client)
conductor.collect_calibration_data()
response = conductor.execute_cal()
- Ngôn ngữ chính
- Python
- Star
- 156
- Fork
- 200
- Merge trung bình
- 2 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ros2/launch
-
Use a relative target for the `latest` log symlink so it survives different absolute mount paths (host/Docker)Có thể đã có người làm @Old-Ding đã nhận 139 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ros2/launch#978 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add OpaqueFunction to list at docs.ros.orgCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ros2/launch#826 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[launch_testing] pytest>8.1 dropped the legacy "path" argument from its internal hooks on humbleCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
ros2/launch#979 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
gke-labs/kube-agents#7441 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
issue: a reply cut off by a dropped model connection loses its text when the chat is reloadedĐang mởbug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
open-webui/open-webui#35142 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày