Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936262 - dev-python/uvloop-0.19.0-r1 fails tests/test_dns.py::Test_UV_DNS::test_getaddrinfo_8 and tests/test_dns.py::Test_UV_DNS::test_getaddrinfo_9
Summary: dev-python/uvloop-0.19.0-r1 fails tests/test_dns.py::Test_UV_DNS::test_getadd...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 19:29 UTC by Dustin Polke
Modified: 2024-07-20 15:33 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge--info.txt,21.31 KB, text/plain)
2024-07-18 19:29 UTC, Dustin Polke
Details
Full build.log (build.log,93.90 KB, text/plain)
2024-07-18 19:29 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2024-07-18 19:29:00 UTC
Created attachment 897938 [details]
emerge --info

====================================================================================== FAILURES ======================================================================================
___________________________________________________________________________ Test_UV_DNS.test_getaddrinfo_8 ___________________________________________________________________________
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/uvloop-0.19.0-r1/work/uvloop-0.19.0/tests/test_dns.py", line 33, in _test_getaddrinfo
    a1 = socket.getaddrinfo(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.12/unittest/case.py", line 634, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
    if method() is not None:
       ^^^^^^^^
  File "/var/tmp/portage/dev-python/uvloop-0.19.0-r1/work/uvloop-0.19.0/tests/test_dns.py", line 107, in test_getaddrinfo_8
    self._test_getaddrinfo('', 0)
  File "/var/tmp/portage/dev-python/uvloop-0.19.0-r1/work/uvloop-0.19.0/tests/test_dns.py", line 48, in _test_getaddrinfo
    raise ex
  File "/var/tmp/portage/dev-python/uvloop-0.19.0-r1/work/uvloop-0.19.0/tests/test_dns.py", line 38, in _test_getaddrinfo
    a2 = self.loop.run_until_complete(
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "uvloop/loop.pyx", line 1516, in uvloop.loop.Loop.run_until_complete
  File "uvloop/loop.pyx", line 1527, in getaddrinfo
OSError: [Errno 22] Invalid argument
___________________________________________________________________________ Test_UV_DNS.test_getaddrinfo_9 ___________________________________________________________________________
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/uvloop-0.19.0-r1/work/uvloop-0.19.0/tests/test_dns.py", line 33, in _test_getaddrinfo
    a1 = socket.getaddrinfo(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 963, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib/python3.12/unittest/case.py", line 634, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
    if method() is not None:
       ^^^^^^^^
  File "/var/tmp/portage/dev-python/uvloop-0.19.0-r1/work/uvloop-0.19.0/tests/test_dns.py", line 111, in test_getaddrinfo_9
    self._test_getaddrinfo(b'', 0)
  File "/var/tmp/portage/dev-python/uvloop-0.19.0-r1/work/uvloop-0.19.0/tests/test_dns.py", line 48, in _test_getaddrinfo
    raise ex
  File "/var/tmp/portage/dev-python/uvloop-0.19.0-r1/work/uvloop-0.19.0/tests/test_dns.py", line 38, in _test_getaddrinfo
    a2 = self.loop.run_until_complete(
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "uvloop/loop.pyx", line 1516, in uvloop.loop.Loop.run_until_complete
  File "uvloop/loop.pyx", line 1527, in getaddrinfo
OSError: [Errno 22] Invalid argument
================================================================================== warnings summary ==================================================================================
tests/test_aiohttp.py::Test_UV_AioHTTP::test_aiohttp_graceful_shutdown
  /var/tmp/portage/dev-python/uvloop-0.19.0-r1/work/uvloop-0.19.0/tests/test_aiohttp.py:81: NotAppKeyWarning: It is recommended to use web.AppKey instances for keys.
  https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config
    app['websockets'] = weakref.WeakSet()

tests/test_aiohttp.py::Test_UV_AioHTTP::test_aiohttp_graceful_shutdown
  /usr/lib/python3.12/site-packages/aiohttp/web_runner.py:95: DeprecationWarning: shutdown_timeout should be set on BaseRunner
    super().__init__(

tests/test_executors.py::TestUVExecutors::test_executors_process_pool_01
tests/test_executors.py::TestAIOExecutors::test_executors_process_pool_01
tests/test_regr1.py::TestIssue39Regr::test_issue39_regression
  /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=79) is multi-threaded, use of fork() may lead to deadlocks in the child.
    self.pid = os.fork()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================================================== short test summary info ===============================================================================
SKIPPED [1] tests/test_aiohttp.py:51: bug in aiohttp: #7675
SKIPPED [1] tests/test_context.py:435: this seems to be a bug in asyncio
SKIPPED [1] tests/test_context.py:454: should pass on 3.11
SKIPPED [1] tests/test_context.py:578: this seems to be a bug in asyncio
SKIPPED [1] tests/test_dns.py:210: Skipped
SKIPPED [1] tests/test_tcp.py:3023: bpo-39951
SKIPPED [1] tests/test_tcp.py:1769: Skipped
SKIPPED [1] tests/test_tcp.py:1483: Skipped
SKIPPED [1] tests/test_tcp.py:1447: Skipped
SKIPPED [1] tests/test_tcp.py:2079: asyncio does not support SSL over SSL
SKIPPED [1] tests/test_tcp.py:3105: Skipped
SKIPPED [1] tests/test_tcp.py:2586: Skipped
SKIPPED [1] tests/test_tcp.py:2816: Skipped
SKIPPED [1] tests/test_tcp.py:2225: asyncio does not support renegotiation
SKIPPED [1] tests/test_tcp.py:2443: Skipped
SKIPPED [1] tests/test_tcp.py:2345: Skipped
SKIPPED [1] tests/test_tcp.py:2883: Skipped
SKIPPED [1] tests/test_tcp.py:2941: Skipped
SKIPPED [1] tests/test_tcp.py:1535: Skipped
SKIPPED [1] tests/test_tcp.py:1835: Skipped
SKIPPED [1] tests/test_tcp.py:1656: Skipped
SKIPPED [1] tests/test_tcp.py:1705: Skipped
SKIPPED [1] tests/test_tcp.py:1997: Skipped
SKIPPED [1] tests/test_tcp.py:1934: Skipped
SKIPPED [1] tests/test_tcp.py:1520: Skipped
SKIPPED [1] tests/test_tcp.py:2507: Skipped
SKIPPED [1] tests/test_udp.py:323: Skipped
SKIPPED [1] tests/test_udp.py:337: Skipped
FAILED tests/test_dns.py::Test_UV_DNS::test_getaddrinfo_8 - OSError: [Errno 22] Invalid argument
FAILED tests/test_dns.py::Test_UV_DNS::test_getaddrinfo_9 - OSError: [Errno 22] Invalid argument
Comment 1 Dustin Polke 2024-07-18 19:29:28 UTC
Created attachment 897939 [details]
Full build.log