-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
bugneeds-infoIssue is lacking sufficient information and will be closed if not providedIssue is lacking sufficient information and will be closed if not provided
Description
Describe the bug
Hi all, thanks for maintaining this useful library! While packaging stuff for openSUSE we found out that the testsuite hangs with with pycares 4.9. After some triage I located the hanging test(s) to test_leaks.py. Sadly, that is all I know, pytest-timeout doesn't help me as your testsuite is already using (and overriding) it.
As pycares 4.9.0 is somewhat "special", I hope there isn't similar "specialty" also in aiohtp.
To Reproduce
Run tests in test_leaks.py
Expected behavior
Tests should finish.
Logs/tracebacks
[ 57s] + pytest-3.11 --ignore=_build.python311 --ignore=_build.python312 --ignore=_build.python313 -v --timeout=10 tests/test_leaks.py
[ 58s] ============================= test session starts ==============================
[ 58s] platform linux -- Python 3.11.13, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3.11
[ 58s] cachedir: .pytest_cache
[ 58s] rootdir: /home/abuild/rpmbuild/BUILD/python-aiohttp-3.12.13-build/aiohttp-3.12.13
[ 58s] configfile: setup.cfg
[ 58s] plugins: cov-5.0.0, mock-3.14.0, timeout-2.3.1, xdist-3.6.1, time-machine-2.16.0
[ 58s] timeout: 10.0s
[ 58s] timeout method: signal
[ 58s] timeout func_only: False
[ 58s] created: 4/4 workers
[ 58s] 4 workers [2 items]
[ 58s]
[ 58s] scheduling tests via LoadScheduling
[ 58s]
[ 58s] tests/test_leaks.py::test_leak[check_for_client_response_leak.py-ClientResponse leaked]
[ 59s] tests/test_leaks.py::test_leak[check_for_request_leak.py-Request leaked]
(after a long long time the VM would be killed for inactivity, no useful logs)
Python Version
3.11.13, 3.12.11, 3.13.5
aiohttp Version
3.12.13
multidict Version
6.1.0
propcache Version
0.3.1
yarl Version
1.20.1
OS
openSUSE Tumbleweed, latest
Related component
Server
Additional context
No response
Code of Conduct
- I agree to follow the aio-libs Code of Conduct
Metadata
Metadata
Assignees
Labels
bugneeds-infoIssue is lacking sufficient information and will be closed if not providedIssue is lacking sufficient information and will be closed if not provided