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` failures in the "Ubuntu with SSL" tests · Issue #97894 · python/cpython

test_asyncio failures in the "Ubuntu with SSL" tests #97894

New issue
Copy link
New issue
Copy link
Closed
#97896
Closed
test_asyncio failures in the "Ubuntu with SSL" tests#97894
#97896
Copy link
Labels
topic-asynciotype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@ezio-melotti
ezio-melotti
opened on Oct 5, 2022
Issue body actions
1 test failed:
    test_asyncio
0:01:38 load avg: 0.80
0:01:38 load avg: 0.80 Re-running failed tests in verbose mode
0:01:38 load avg: 0.80 Re-running test_asyncio in verbose mode (matching: test_eof_feed_when_closing_writer, test_wait_closed_on_close)
Warning -- Unraisable exception
Exception ignored in: <coroutine object StreamTests2.test_eof_feed_when_closing_writer at 0x7fcf806a1cd0>
Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython/Lib/warnings.py", line 537, in _warn_unawaited_coroutine
    warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
RuntimeWarning: coroutine 'StreamTests2.test_eof_feed_when_closing_writer' was never awaited
test_eof_feed_when_closing_writer (test.test_asyncio.test_streams.StreamTests2.test_eof_feed_when_closing_writer) ... ERROR
Warning -- Unraisable exception
Exception ignored in: <coroutine object StreamTests2.test_wait_closed_on_close at 0x7fcf806ced50>
Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython/Lib/warnings.py", line 537, in _warn_unawaited_coroutine
    warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
RuntimeWarning: coroutine 'StreamTests2.test_wait_closed_on_close' was never awaited
test_wait_closed_on_close (test.test_asyncio.test_streams.StreamTests2.test_wait_closed_on_close) ... ERROR

======================================================================
ERROR: test_eof_feed_when_closing_writer (test.test_asyncio.test_streams.StreamTests2.test_eof_feed_when_closing_writer)
----------------------------------------------------------------------
DeprecationWarning: It is deprecated to return a value!=None from a test case (<bound method StreamTests2.test_eof_feed_when_closing_writer of <test.test_asyncio.test_streams.StreamTests2 testMethod=test_eof_feed_when_closing_writer>>)

======================================================================
ERROR: test_wait_closed_on_close (test.test_asyncio.test_streams.StreamTests2.test_wait_closed_on_close)
----------------------------------------------------------------------
DeprecationWarning: It is deprecated to return a value!=None from a test case (<bound method StreamTests2.test_wait_closed_on_close of <test.test_asyncio.test_streams.StreamTests2 testMethod=test_wait_closed_on_close>>)

----------------------------------------------------------------------
Ran 2 tests in 0.031s

FAILED (errors=2)

This broke after this PR was merged:

  • gh-93357: Lay the foundation for further work in asyncio.test_streams: port server cases to IsolatedAsyncioTestCase #93369 (comment)

(It was reported in the comments, but I'm creating this issue for visibility, since after noticing the failure in an unrelated PR I looked at the open issues and couldn't find anything.)

(cc @kumaraditya303 @gvanrossum @arhadthedev)

Reacted by Koki Saito and Oleg Iarygin

Activity

  1. ezio-melotti
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    topic-asyncio
    on Oct 5, 2022
  2. ezio-melotti
    added this to asyncioon Oct 5, 2022
  3. ezio-melotti
    moved this to Todo in asyncioon Oct 5, 2022
  4. gvanrossum commented on Oct 5, 2022

    @gvanrossum
    gvanrossum
    on Oct 5, 2022
    Member
    More actions

    I was going to wait until tomorrow morning to revert this, to give the author some more time to fix it. But if it’s problem go Shetland revert it.

  5. arhadthedev commented on Oct 5, 2022

    @arhadthedev
    arhadthedev
    on Oct 5, 2022
    Member
    More actions

    The issue is fixed in gh-97896, both basic and buildbot tests passed.

    Reacted by Ezio Melotti and Koki Saito
    Reacted by Ezio Melotti
  6. gvanrossum
    closed this as completedin #97896on Oct 5, 2022
  7. Repository owner moved this from Todo to Done in asyncioon Oct 5, 2022
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

    topic-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.