Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 941420

Summary: dev-python/aiohttp-3.10.9 fails tests
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: UNCONFIRMED ---    
Severity: normal CC: kingjon3377, mgorny, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-python:aiohttp-3.10.9:20241012-172653.log
emerge-info.txt

Description Jonathan Lovelace 2024-10-12 19:12:35 UTC
Created attachment 905387 [details]
dev-python:aiohttp-3.10.9:20241012-172653.log

All versions of dev-python/aiohttp currently in the tree fail their test phase for me. Version 3.10.5, which was included in my current @world update on this mostly-stable machine, looks to me like just timeouts (though if this package provides any way to increase the timeout limits I didn't find it), but in version 3.10.8 and 3.10.9 there are some that look more complicated. Here's the shortlog from 3.10.9:

=========================================================================== short test summary info ============================================================================
SKIPPED [1] tests/test_urldispatch.py:978: aiohttp folder is not placed in user's HOME
SKIPPED [1] tests/test_web_app.py:365: The check is applied in DEBUG mode only
SKIPPED [1] tests/test_web_runner.py:121: Proactor Event loop present only in Windows
SKIPPED [1] tests/test_web_runner.py:133: Proactor Event loop present only in Windows
SKIPPED [1] tests/test_multipart_helpers.py:99: need more smart parser which respects quoted text
SKIPPED [1] tests/test_multipart_helpers.py:446: should raise decoding error: %82 is invalid for latin1
SKIPPED [1] tests/test_multipart_helpers.py:455: should raise decoding error: %E4 is invalid for utf-8
SKIPPED [1] tests/test_multipart_helpers.py:510: urllib.parse.unquote is tolerate to standalone % chars
SKIPPED [1] tests/test_multipart_helpers.py:519: urllib.parse.unquote is tolerate to standalone % chars
SKIPPED [1] tests/test_resolver.py:353: aiodns <3.2.0 required
SKIPPED [1] tests/test_client_session.py:902: The check is applied in DEBUG mode only
SKIPPED [1] tests/test_connector.py:2417: Proactor Event loop present only in Windows
SKIPPED [1] tests/test_connector.py:2425: Proactor Event loop present only in Windows
SKIPPED [1] tests/test_connector.py:2436: Proactor Event loop present only in Windows
SKIPPED [1] tests/test_connector.py:2628: Proactor Event loop present only in Windows
XFAIL tests/test_http_parser.py::test_parse_unusual_request_line[c-parser-pyloop] - Regression test for Py parser. May match C behaviour later.
XFAIL tests/test_web_functional.py::test_http10_keep_alive_default[pyloop]
XFAIL tests/test_http_parser.py::test_http_request_parser_utf8_request_line[c-parser-pyloop] - Regression test for Py parser. May match C behaviour later.
XFAIL tests/test_client_functional.py::test_broken_connection[pyloop]
XFAIL tests/test_http_parser.py::test_parse_uri_utf8[c-parser-pyloop] - reason: Not valid HTTP. Maybe update py-parser to reject later.
XFAIL tests/test_connector.py::test_del_with_scheduled_cleanup[pyloop]
FAILED tests/test_client_request.py::test_host_header_ipv6[pyloop-True] - AttributeError: 'URL' object has no attribute 'host_subcomponent'
FAILED tests/test_web_server.py::test_handler_cancellation - AssertionError: Request handler hasn't been cancelled
assert False
 +  where False = is_set()
 +    where is_set = <asyncio.locks.Event object at 0x7f27d874e060 [unset]>.is_set
FAILED tests/test_run_app.py::TestShutdown::test_shutdown_wait_for_handler - assert False is True
FAILED tests/test_run_app.py::TestShutdown::test_shutdown_timeout_handler - AttributeError: 'NoneType' object has no attribute 'done'
FAILED tests/test_web_server.py::test_no_handler_cancellation - assert False
FAILED tests/test_run_app.py::TestShutdown::test_shutdown_timeout_not_reached - assert False is True
FAILED tests/test_run_app.py::TestShutdown::test_shutdown_new_conn_rejected - assert False is True
=========================================== 7 failed, 3234 passed, 15 skipped, 6 xfailed, 10 warnings, 37 rerun in 123.59s (0:02:03) ===========================================
Comment 1 Jonathan Lovelace 2024-10-12 19:13:17 UTC
Created attachment 905388 [details]
emerge-info.txt
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-10-13 14:24:56 UTC
The second arg to self.run_app() is a timeout, though it looks like there is some other "internal" timeout somewhere too.