Skip to content
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

test_sendfile_fallback_close_peer_in_middle_of_receiving() fails on x86-64 Sierra 3.x #77807

Closed
vstinner opened this issue May 23, 2018 · 3 comments
Labels
3.8 only security fixes tests Tests in the Lib/test dir topic-asyncio

Comments

@vstinner
Copy link
Member

BPO 33626
Nosy @vstinner, @asvetlov, @1st1
Superseder
  • bpo-33353: test_asyncio: test_sock_sendfile_mix_with_regular_send() hangs on FreeBSD
  • 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 2018-05-24.00:32:27.805>
    created_at = <Date 2018-05-23.23:23:53.403>
    labels = ['3.8', 'tests', 'expert-asyncio']
    title = 'test_sendfile_fallback_close_peer_in_middle_of_receiving() fails on x86-64 Sierra 3.x'
    updated_at = <Date 2018-05-24.00:32:27.803>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2018-05-24.00:32:27.803>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-05-24.00:32:27.805>
    closer = 'vstinner'
    components = ['Tests', 'asyncio']
    creation = <Date 2018-05-23.23:23:53.403>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33626
    keywords = []
    message_count = 3.0
    messages = ['317472', '317478', '317482']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'asvetlov', 'yselivanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '33353'
    type = None
    url = 'https://bugs.python.org/issue33626'
    versions = ['Python 3.8']

    @vstinner
    Copy link
    Member Author

    http://buildbot.python.org/all/#/builders/14/builds/1023

    ======================================================================
    FAIL: test_sendfile_fallback_close_peer_in_middle_of_receiving (test.test_asyncio.test_events.KqueueEventLoopTests)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_asyncio/test_events.py", line 2474, in test_sendfile_fallback_close_peer_in_middle_of_receiving
        self.loop.sendfile(cli_proto.transport, self.file))
    AssertionError: ConnectionError not raised

    ======================================================================
    FAIL: test_sendfile_fallback_close_peer_in_middle_of_receiving (test.test_asyncio.test_events.PollEventLoopTests)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_asyncio/test_events.py", line 2474, in test_sendfile_fallback_close_peer_in_middle_of_receiving
        self.loop.sendfile(cli_proto.transport, self.file))
    AssertionError: ConnectionError not raised

    ======================================================================
    FAIL: test_sendfile_fallback_close_peer_in_middle_of_receiving (test.test_asyncio.test_events.SelectEventLoopTests)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_asyncio/test_events.py", line 2474, in test_sendfile_fallback_close_peer_in_middle_of_receiving
        self.loop.sendfile(cli_proto.transport, self.file))
    AssertionError: ConnectionError not raised

    @vstinner vstinner added 3.8 only security fixes tests Tests in the Lib/test dir topic-asyncio labels May 23, 2018
    @vstinner
    Copy link
    Member Author

    The regression seems to be caused by my test_asyncio change for bpo-33353:
    commit 2932755

    @vstinner
    Copy link
    Member Author

    I close this issue to move again the discussion to bpo-33353.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes tests Tests in the Lib/test dir topic-asyncio
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant