Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941427 - dev-python/anyio-4.6.0 fails tests
Summary: dev-python/anyio-4.6.0 fails tests
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-12 20:48 UTC by Jonathan Lovelace
Modified: 2024-10-13 13:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:anyio-4.6.0:20241012-200911.log (dev-python:anyio-4.6.0:20241012-200911.log,352.32 KB, text/plain; charset=utf-8)
2024-10-12 20:48 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.15 KB, text/plain; charset=utf-8)
2024-10-12 20:49 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-10-12 20:48:39 UTC
Created attachment 905424 [details]
dev-python:anyio-4.6.0:20241012-200911.log

=dev-python/anyio-4.6.0 fails its test phase for me, specifically a number of socket-connection tests (despite FEATURES=-network-sandbox). Here's the shortlog:

=========================================================================== short test summary info ============================================================================
SKIPPED [1] tests/test_debugging.py:102: Generator based coroutines have been removed in Python 3.11
SKIPPED [1] tests/test_fileio.py:135: Drive only makes sense on Windows
SKIPPED [1] tests/test_fileio.py:177: Only makes sense on Windows
SKIPPED [1] tests/test_fileio.py:189: Path.from_uri() is only available on Python 3.13+
SKIPPED [1] tests/test_fileio.py:352: Path.full_match() is only available on Python 3.13+
SKIPPED [3] tests/test_fileio.py:384: os.lchmod() is not available
SKIPPED [1] tests/test_subprocesses.py:287: the 'user' argument is not supported by uvloop yet
SKIPPED [1] tests/test_subprocesses.py:287: the 'group' argument is not supported by uvloop yet
SKIPPED [1] tests/test_subprocesses.py:287: the 'extra_groups' argument is not supported by uvloop yet
SKIPPED [1] tests/test_subprocesses.py:287: the 'umask' argument is not supported by uvloop yet
SKIPPED [1] tests/test_taskgroups.py:1087: Generator based coroutines have been removed in Python 3.11
SKIPPED [1] tests/test_taskgroups.py:1108: Generator based coroutines have been removed in Python 3.11
XFAIL tests/test_from_thread.py::TestBlockingPortal::test_from_async[trio-trio] - reason: known bug (#525)
XFAIL tests/test_subprocesses.py::test_process_aexit_cancellation_closes_standard_streams[asyncio] - #671 needs to be resolved first
XFAIL tests/test_subprocesses.py::test_process_aexit_cancellation_closes_standard_streams[asyncio+uvloop] - #671 needs to be resolved first
XFAIL tests/test_taskgroups.py::test_fail_after_scope_cancelled_before_timeout[asyncio] - There is currently no way to tell if cancellation happened due to timeout explicitly i
f the deadline has been exceeded
XFAIL tests/test_taskgroups.py::test_fail_after_scope_cancelled_before_timeout[asyncio+uvloop] - There is currently no way to tell if cancellation happened due to timeout expli
citly if the deadline has been exceeded
XFAIL tests/test_taskgroups.py::test_fail_after_scope_cancelled_before_timeout[trio] - There is currently no way to tell if cancellation happened due to timeout explicitly if t
he deadline has been exceeded
FAILED tests/test_sockets.py::TestTCPStream::test_happy_eyeballs[asyncio-dualstack] - AssertionError: assert '::ffff:127.0.0.1' == '::1'

  - ::1
  + ::ffff:127.0.0.1
FAILED tests/test_sockets.py::TestTCPStream::test_happy_eyeballs[asyncio-ipv6] - OSError: All connection attempts failed
FAILED tests/test_sockets.py::TestTCPStream::test_happy_eyeballs[asyncio+uvloop-dualstack] - AssertionError: assert '::ffff:127.0.0.1' == '::1'

  - ::1
  + ::ffff:127.0.0.1
FAILED tests/test_sockets.py::TestTCPStream::test_happy_eyeballs[asyncio+uvloop-ipv6] - OSError: All connection attempts failed
FAILED tests/test_sockets.py::TestTCPStream::test_happy_eyeballs[trio-dualstack] - AssertionError: assert '::ffff:127.0.0.1' == '::1'

  - ::1
  + ::ffff:127.0.0.1
FAILED tests/test_sockets.py::TestTCPStream::test_happy_eyeballs[trio-ipv6] - OSError: All connection attempts failed
FAILED tests/test_sockets.py::TestTCPStream::test_connection_refused[asyncio-multi] - assert False
 +  where False = isinstance(ConnectionRefusedError(111, "Connect call failed ('127.0.0.1', 59767)"), <class 'ExceptionGroup'>)
 +    where ConnectionRefusedError(111, "Connect call failed ('127.0.0.1', 59767)") = OSError('All connection attempts failed').__cause__
 +      where OSError('All connection attempts failed') = <ExceptionInfo OSError('All connection attempts failed') tblen=2>.value
FAILED tests/test_sockets.py::TestTCPStream::test_connection_refused[asyncio+uvloop-multi] - AssertionError: assert False
 +  where False = isinstance(ConnectionRefusedError(111, 'Connection refused'), <class 'ExceptionGroup'>)
 +    where ConnectionRefusedError(111, 'Connection refused') = OSError('All connection attempts failed').__cause__
 +      where OSError('All connection attempts failed') = <ExceptionInfo OSError('All connection attempts failed') tblen=2>.value
FAILED tests/test_sockets.py::TestTCPStream::test_connection_refused[trio-multi] - assert False
 +  where False = isinstance(ConnectionRefusedError(111, "Error connecting to ('127.0.0.1', 48031): Connection refused"), <class 'ExceptionGroup'>)
 +    where ConnectionRefusedError(111, "Error connecting to ('127.0.0.1', 48031): Connection refused") = OSError('All connection attempts failed').__cause__
 +      where OSError('All connection attempts failed') = <ExceptionInfo OSError('All connection attempts failed') tblen=2>.value
==================================================== 9 failed, 1525 passed, 14 skipped, 159 deselected, 6 xfailed in 51.32s ====================================================
Comment 1 Jonathan Lovelace 2024-10-12 20:49:02 UTC
Created attachment 905425 [details]
emerge-info.txt