You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test test_distribution from tests/test_datasets.py is timing out on CircleCI. When starting the test with ssh enabled on CircleCI the test passes. I also added some print statements in the test and then the test would run through. with faulthandler_timeout I got the following traceback:
Thread 0x00007fb4aa15a740 (most recent call first):
File "/root/repo/tiktorch/server/datasets.py", line 140 in __iter__
File "/root/repo/tests/test_server/test_datasets.py", line 138 in <genexpr>
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/collections/__init__.py", line 679 in update
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/collections/__init__.py", line 593 in __init__
File "/root/repo/tests/test_server/test_datasets.py", line 138 in test_distribution
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/python.py", line 183 in pytest_pyfunc_call
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/python.py", line 1641 in runtest
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/runner.py", line 162 in pytest_runtest_call
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/runner.py", line 255 in <lambda>
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/runner.py", line 311 in from_call
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/runner.py", line 254 in call_runtest_hook
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/runner.py", line 215 in call_and_report
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/runner.py", line 126 in runtestprotocol
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/runner.py", line 109 in pytest_runtest_protocol
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/main.py", line 348 in pytest_runtestloop
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/main.py", line 323 in _main
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/main.py", line 269 in wrap_session
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/config/__init__.py", line 162 in main
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/_pytest/config/__init__.py", line 185 in console_main
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/site-packages/pytest/__main__.py", line 5 in <module>
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/runpy.py", line 87 in _run_code
File "/opt/conda/envs/tiktorch-server-env/lib/python3.9/runpy.py", line 197 in _run_module_as_main
The environment on CI (linux, same as on my local machine):
The test
test_distribution
fromtests/test_datasets.py
is timing out on CircleCI. When starting the test with ssh enabled on CircleCI the test passes. I also added some print statements in the test and then the test would run through. withfaulthandler_timeout
I got the following traceback:The environment on CI (linux, same as on my local machine):
for now I opted to skip this test in CI, which is of course bad. Need to look into this.
The text was updated successfully, but these errors were encountered: