Skip to content

test_asyncio: test_sendfile_close_peer_in_the_middle_of_receiving() fails randomly #87705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vstinner opened this issue Mar 18, 2021 · 4 comments
Labels
3.10 only security fixes tests Tests in the Lib/test dir topic-asyncio

Comments

@vstinner
Copy link
Member

BPO 43539
Nosy @vstinner, @asvetlov, @1st1
PRs
  • bpo-43843: libregrtest uses threading.excepthook #25400
  • Superseder
  • bpo-41682: [Windows] : Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-04-15.12:53:00.313>
    created_at = <Date 2021-03-18.08:27:23.871>
    labels = ['tests', '3.10', 'expert-asyncio']
    title = 'test_asyncio: test_sendfile_close_peer_in_the_middle_of_receiving() fails randomly'
    updated_at = <Date 2021-04-15.12:53:00.313>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-04-15.12:53:00.313>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-15.12:53:00.313>
    closer = 'vstinner'
    components = ['Tests', 'asyncio']
    creation = <Date 2021-03-18.08:27:23.871>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43539
    keywords = ['patch']
    message_count = 3.0
    messages = ['388997', '389084', '391133']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'asvetlov', 'yselivanov']
    pr_nums = ['25400']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '41682'
    type = None
    url = 'https://bugs.python.org/issue43539'
    versions = ['Python 3.10']

    @vstinner
    Copy link
    Member Author

    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

    @vstinner vstinner added 3.10 only security fixes tests Tests in the Lib/test dir topic-asyncio labels Mar 18, 2021
    @vstinner
    Copy link
    Member Author

    @vstinner
    Copy link
    Member Author

    Duplicate of bpo-41682.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @sobolevn
    Copy link
    Member

    sobolevn commented Oct 5, 2023

    And again: #110325

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes tests Tests in the Lib/test dir topic-asyncio
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants