This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_asyncio: test_sendfile_close_peer_in_the_middle_of_receiving() fails randomly
Type: Stage: resolved
Components: asyncio, Tests Versions: Python 3.10
process
Status: closed Resolution: duplicate
Dependencies: Superseder: [Windows] : Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure
View: 41682
Assigned To: Nosy List: asvetlov, vstinner, yselivanov
Priority: normal Keywords: patch

Created on 2021-03-18 08:27 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 25400 vstinner, 2021-04-15 12:51
Messages (3)
msg388997 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-03-18 08:27
Seen on the Windows x64 job of GitHub Actions:
https://github.com/python/cpython/pull/24913/checks?check_run_id=2137800313


======================================================================
FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.ProactorEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\lib\test\test_asyncio\test_sendfile.py", line 458, in test_sendfile_close_peer_in_the_middle_of_receiving
    self.run_loop(
AssertionError: ConnectionError not raised

(...)
0:12:31 load avg: 0.39 Re-running test_asyncio in verbose mode
(...)

======================================================================
FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.ProactorEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\lib\test\test_asyncio\test_sendfile.py", line 458, in test_sendfile_close_peer_in_the_middle_of_receiving
    self.run_loop(
AssertionError: ConnectionError not raised
msg389084 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-03-19 12:57
It failed again:
https://github.com/python/cpython/pull/24933/checks?check_run_id=2148450378
msg391133 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-04-15 12:53
Duplicate of bpo-41682.
History
Date User Action Args
2022-04-11 14:59:42adminsetgithub: 87705
2021-04-15 12:53:00vstinnersetstatus: open -> closed
superseder: [Windows] : Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure
messages: + msg391133

resolution: duplicate
stage: patch review -> resolved
2021-04-15 12:51:33vstinnersetkeywords: + patch
stage: patch review
pull_requests: + pull_request24155
2021-03-19 12:57:58vstinnersetmessages: + msg389084
2021-03-18 08:27:23vstinnercreate