GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test_asyncio failed: flaky `test_sendfile_close_peer_in_the_middle_of_receiving` · Issue #110325 · python/cpython

test_asyncio failed: flaky test_sendfile_close_peer_in_the_middle_of_receiving #110325

New issue
Copy link
New issue
Copy link
Closed
Closed
test_asyncio failed: flaky test_sendfile_close_peer_in_the_middle_of_receiving#110325
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-asynciotype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@tasty0tomato
tasty0tomato
opened on Oct 4, 2023
Issue body actions

I built 3.11.5 on my own Windows computer, and found it passed this test on one computer, but didn't pass on another computer. I think that this issue may not be fixed completely, or I can provide needed information of the computer which this test didn't pass to find out the reason why it didn't pass.

(Originally posted in #85848 (comment))

Activity

  1. AlexWaygood
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    testsTests in the Lib/test dirTests in the Lib/test dir
    topic-asyncio
    on Oct 4, 2023
  2. github-project-automation
    added this to asyncioon Oct 4, 2023
  3. github-project-automation
    moved this to Todo in asyncioon Oct 4, 2023
  4. sobolevn commented on Oct 4, 2023

    @sobolevn
    sobolevn
    on Oct 4, 2023
    Member
    More actions

    Please, provide more information: os name and version, test output, how python was built and executed.

    Reacted by Alex Waygood and Itamar Oren
  5. itamaro
    added
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Oct 4, 2023
  6. tasty0tomato commented on Oct 5, 2023

    @tasty0tomato
    tasty0tomato
    on Oct 5, 2023
    Author
    More actions

    OS name: Windows 10

    OS version: 19045.3516

    Test output(only test_asyncio):

    0:00:44 [ 26/434] test_asyncio
    test test_asyncio failed -- Traceback (most recent call last):
      File "C:\Python-3.11.5\Lib\test\test_asyncio\test_sendfile.py", line 473, in test_sendfile_close_peer_in_the_middle_of_receiving
        self.assertTrue(1024 <= self.file.tell() < len(self.DATA),
    AssertionError: False is not true : 0
    

    How python was built:
    Just followed PCbuild/readme.txt, ran build.bat.

  7. sobolevn commented on Oct 5, 2023

    @sobolevn
    sobolevn
    on Oct 5, 2023
    Member
    More actions

    It has a big history: https://github.com/search?q=repo%3Apython%2Fcpython+test_sendfile_close_peer_in_the_middle_of_receiving&type=issues

    Thanks for the details, this test is known to be problematic. You can just ignore it for now.
    It should be fixed on our side :)

  8. tasty0tomato commented on Oct 6, 2023

    @tasty0tomato
    tasty0tomato
    on Oct 6, 2023
    Author
    More actions

    There is one more interesting information. This test passes sucessfully on my another Windows 10 19045.3516 computer. So I think maybe OS is not the reason.

  9. sobolevn
    changed the title [-]test_asyncio failed[/-] [+]test_asyncio failed: flaky `test_sendfile_close_peer_in_the_middle_of_receiving`[/+] on Oct 6, 2023
  10. sobolevn
    removed
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Oct 6, 2023
  11. gvanrossum commented on Jan 11, 2024

    @gvanrossum
    gvanrossum
    on Jan 11, 2024
    Member
    More actions

    Wasn't this fixed?

  12. tasty0tomato commented on Mar 2, 2024

    @tasty0tomato
    tasty0tomato
    on Mar 2, 2024
    Author
    More actions

    Yes, at least this problem is fixed in 3.11.7, but I find another issue in 3.11.7 which has been reported in #113026.

  13. tasty0tomato
    closed this as completedon Mar 2, 2024
  14. github-project-automation
    moved this from Todo to Done in asyncioon Mar 2, 2024
  15. tasty0tomato commented on Apr 30, 2024

    @tasty0tomato
    tasty0tomato
    on Apr 30, 2024
    Author
    More actions

    Well, because of some reasons, I need to build a python3.8.19. And it also has this kind of errors. But it seems that python 3.8 will be eol by the end of this year. So, anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirTests in the Lib/test dirtopic-asynciotype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    • asyncio
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.