testing/test_gateway.py::TestPopenGateway::test_waitclose_on_remote_killed FAILED/PASSEDSegmentation fault
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- distributed-systems, testing
Hướng nghiên cứu
Bắt đầu với testing/test_gateway.py::TestPopenGateway::test_waitclose_on_remote_killed và tái hiện lỗi nhiều lần, sử dụng báo cáo Debian được liên kết và các build log để làm ngữ cảnh. Được xem là hoàn tất khi trường hợp remote-killed hoạt động nhất quán, phát sinh EOFError từ waitclose và IOError từ channel.send mà không xảy ra segmentation fault.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- Bitbucket: https://bitbucket.org/hpk42/execnet/issue/53
- Originally reported by: @danstender
- Originally created at: 2017-03-19T18:17:04.424
We've got this test failure here on the Debian package. It appears randomly (however, oftenly), so it's hard to tell what triggers this, nor how to successfully reproduce it.
=================================== FAILURES ===================================
_______________ TestPopenGateway.test_waitclose_on_remote_killed _______________
self = <test_gateway.TestPopenGateway object at 0x7fbe7777a518>
makegateway = <bound method Group.makegateway of <Group ['gw0']>>
def test_waitclose_on_remote_killed(self, makegateway):
gw = makegateway('popen')
channel = gw.remote_exec("""
import os
import time
channel.send(os.getpid())
time.sleep(100)
""")
remotepid = channel.receive()
py.process.kill(remotepid)
py.test.raises(EOFError, "channel.waitclose(TESTTIMEOUT)")
> py.test.raises(IOError, channel.send, None)
E Failed: DID NOT RAISE <class 'OSError'>
testing/test_gateway.py:251: Failed
Anyway, any hint on this or a fix would be very welcome.
The corresponding bug report is https://bugs.debian.org/854494, please see there for moreinfo and buildlogs.
DS
- Ngôn ngữ chính
- Python
- Star
- 102
- Fork
- 47
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 pytest-dev/execnet
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
pytest-dev/execnet#429 · 1 bình luận ·
-
IPv6 support Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
pytest-dev/execnet#384 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
pytest-dev/execnet#374 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
pytest-dev/execnet#306 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pytest-dev/execnet#279 · 1 reaction ·
Tất cả issue của pytest-dev/execnet
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
anthropics/skills#1811 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
speaches-ai/speaches#678 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
datalayer/mcp-compose#42 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
conda-forge/spacy-feedstock#177 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
UKGovernmentBEIS/inspect_evals#2523 ·