Python runner doesn't exit when gauge gets SIGINT
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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Start by tracing how the Python runner handles SIGINT and exits when Gauge terminates; the issue names start.py and start.sh as processes that remain running. Check how the @after_suite hook and AbstractContentManager cleanup behave on abnormal exits. Done means the runner exits cleanly and resources are cleaned up after termination.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
When gauge gets terminated, gauge python keeps running, though it doesn't keep executing specs
To Reproduce
Steps (or project) to reproduce the behavior:
- Initialise a gauge project with some specs
- Run gauge in a terminal
- Press Ctrl+C to send SIGINT to gauge
- Gauge exits, but check
ps -fC python3to see start.py and start.sh are still running.
Expected behavior
The python runner should exit cleanly. I should not have 20 start.py python3 processes running on my system after doing a few test runs.
In addition, I have some AbstractContentManager resources which need to get cleaned up after the test harness exits, whether it exits with an error or otherwise. Right now these are getting cleaned up in the @after_suite hook, so it would be nice if that could still get called on an abnormal exit. Alternatively, perhaps the test harness can help with managing and cleaning up AbstractContentManagers.
Versions:
- Ubuntu 20.04
- Python version 3.8
Gauge version: 1.4.1
Commit Hash: a82478a
Plugins
-------
html-report (4.1.0)
python (0.3.17)
screenshot (0.1.0)
- Ngôn ngữ chính
- Python
- Star
- 96
- Fork
- 38
- Merge trung bình
- 1 giờ 9 phút
- Pull request đã merge (30 ngày)
- 3
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 getgauge/gauge-python
-
GAUGE_PYTHON_COMMAND does not support relative paths (e.g. .venv/bin/python)Có thể đã có người làm @JakubStyczen đã nhận 41 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
getgauge/gauge-python#485 ·
-
bug help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
getgauge/gauge-python#460 · 1 bình luận ·
-
help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
getgauge/gauge-python#324 · 4 bình luận ·
-
help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
getgauge/gauge-python#265 · 1 bình luận ·
-
help wanted triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
getgauge/gauge-python#123 · 1 bình luận ·
Tất cả issue của getgauge/gauge-python
Issue tương tự
-
No test checks that scheduled workflows declare minimal permissions, concurrency and a timeoutĐang mởci enhancement testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/config comp/tools P2 platform/telegram type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
NousResearch/hermes-agent#145412 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[oblt-aw][autodoc] Update docs for security org scaffolding and Docs AI menu permission changesCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
curriculum documentation quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
githubnext/gh-aw-workshop#5039 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Community project: hosted MOSS-Image studio with a visual JSON layout builder (no ComfyUI needed)Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
OpenMOSS/MOSS-Image#27 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày