-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout during test_download_torrent_from_url
#6606
Comments
This behavior could be caused by parallel Jobs executions. UPD: it doesn't help. Jenkins' settings have been reverted back. |
Encountered again in https://github.com/Tribler/tribler/actions/runs/6942446753/job/18885431246?pr=7705 Raw logs: One noteworthy thing is that the test before this also slows down a lot, taking 60.342s:
In comparison, in a normal run it takes 0.561s:
|
The good news is that faulthandler is working for this type of freezes Timeout (0:01:10)!
Thread 0x00007f72103ff640 (most recent call first):
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 870 in run
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 70 in run
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f71fe57d640 (most recent call first):
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 302 in wait
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/sentry_sdk/_queue.py", line 240 in get
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/sentry_sdk/worker.py", line 127 in _target
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 870 in run
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 70 in run
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f720057f640 (most recent call first):
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/sentry_sdk/monitor.py", line 50 in _thread
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 870 in run
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 70 in run
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f72195abb80 (most recent call first):
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/base_events.py", line 1823 in _run_once
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/base_events.py", line 570 in run_forever
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/base_events.py", line 603 in run_until_complete
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pytest_asyncio/plugin.py", line 532 in inner
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/python.py", line 194 in pytest_pyfunc_call
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/python.py", line 1792 in runtest
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/runner.py", line 169 in pytest_runtest_call
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/runner.py", line 262 in <lambda>
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/runner.py", line 341 in from_call
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/runner.py", line 261 in call_runtest_hook
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/runner.py", line 222 in call_and_report
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/runner.py", line 133 in runtestprotocol
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/runner.py", line 114 in pytest_runtest_protocol
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/main.py", line 350 in pytest_runtestloop
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/main.py", line 325 in _main
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/main.py", line 271 in wrap_session
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/main.py", line 318 in pytest_cmdline_main
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/config/__init__.py", line 169 in main
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/_pytest/config/__init__.py", line 192 in console_main
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/pytest/__main__.py", line 5 in <module>
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/coverage/execfile.py", line 211 in run
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/coverage/cmdline.py", line 861 in do_run
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/coverage/cmdline.py", line 684 in command_line
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/coverage/cmdline.py", line 973 in main
File "/home/runner/.virtualenvs/.venv/bin/coverage", line 8 in <module> |
This could be a potential deadlock: Thread 0x00007f71fe57d640 (most recent call first):
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 302 in wait
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/sentry_sdk/_queue.py", line 240 in get
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/sentry_sdk/worker.py", line 127 in _target
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 870 in run
File "/home/runner/.virtualenvs/.venv/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 70 in run
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/threading.py", line 890 in _bootstrap As we don't initialize Sentry during tests, the only likely candidate for Sentry initialization is Line 9 in e44679b
Perhaps we could try removing this integration to see if it makes a difference. |
Encountered a timeout during
test_download_torrent_from_url
(see here).IIRC, this test setups a local file server and seeder, and then downloads a torrent.
Logs:
The text was updated successfully, but these errors were encountered: