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
Describe the bug test_k_means.py::test_elkan_results crash To Reproduce
To help us reproducing this bug, please provide information below:
Your Python version: Python 3.8.5
The version of Mars you use
Versions of crucial packages, such as numpy, scipy and pandas
Full stack of the error.
root@af87dd8ccc01:/mars/mars# pytest -v -s mars/learn/cluster/tests/test_k_means.py::test_elkan_results[0.0001-normal]
=========================================================================== test session starts ===========================================================================
platform linux -- Python 3.8.5, pytest-7.0.1, pluggy-1.0.0 -- /mars/bin/python
cachedir: .pytest_cache
rootdir: /mars/mars, configfile: setup.cfg
plugins: asyncio-0.18.2, cov-3.0.0, forked-1.4.0, timeout-2.1.0
asyncio: mode=legacy
collected 1 item
mars/learn/cluster/tests/test_k_means.py::test_elkan_results[0.0001-normal] Fatal Python error: Bus error
Current thread 0x00007f5e8bfff700 (most recent call first):
File "/mars/mars/mars/storage/core.py", line 111 in write
File "/mars/lib/python3.8/concurrent/futures/thread.py", line 57 in run
File "/mars/lib/python3.8/concurrent/futures/thread.py", line 80 in _worker
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5eacffd700 (most recent call first):
File "/mars/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5ee3212700 (most recent call first):
File "/mars/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5f06bec700 (most recent call first):
File "/mars/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5f023eb700 (most recent call first):
File "/mars/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5ee8214700 (most recent call first):
File "/mars/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5ebe7fc700 (most recent call first):
File "/mars/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5ebeffd700 (most recent call first):
File "/mars/lib/python3.8/threading.py", line 302 in wait
File "/mars/lib/python3.8/multiprocessing/queues.py", line 227 in _feed
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5ebf7fe700 (most recent call first):
File "/mars/lib/python3.8/threading.py", line 302 in wait
File "/mars/lib/python3.8/multiprocessing/queues.py", line 227 in _feed
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5ebffff700 (most recent call first):
File "/mars/lib/python3.8/threading.py", line 302 in wait
File "/mars/lib/python3.8/multiprocessing/queues.py", line 227 in _feed
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5ed69a0700 (most recent call first):
File "/mars/mars/mars/lib/aio/isolation.py", line 36 in _run
File "/mars/lib/python3.8/threading.py", line 870 in run
File "/mars/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/mars/lib/python3.8/threading.py", line 890 in _bootstrap
Thread 0x00007f5f0bc73740 (most recent call first):
File "/mars/lib/python3.8/threading.py", line 306 in wait
File "/mars/lib/python3.8/concurrent/futures/_base.py", line 434 in result
File "/mars/mars/mars/deploy/oscar/session.py", line 1601 in execute
File "/mars/mars/mars/deploy/oscar/session.py", line 1803 in execute
File "/mars/mars/mars/core/entity/executable.py", line 221 in execute
File "/mars/mars/mars/learn/cluster/_k_means_common.py", line 378 in _relocate_empty_clusters
File "/mars/mars/mars/learn/cluster/_k_means_elkan_iter.py", line 845 in elkan_iter
File "/mars/mars/mars/learn/cluster/_kmeans.py", line 256 in _kmeans_single_elkan
File "/mars/mars/mars/learn/cluster/_kmeans.py", line 925 in fit
File "/mars/mars/mars/learn/cluster/tests/test_k_means.py", line 117 in test_elkan_results
File "/mars/lib/python3.8/site-packages/_pytest/python.py", line 192 in pytest_pyfunc_call
File "/mars/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/mars/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/mars/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/mars/lib/python3.8/site-packages/_pytest/python.py", line 1718 in runtest
File "/mars/lib/python3.8/site-packages/_pytest/runner.py", line 168 in pytest_runtest_call
File "/mars/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/mars/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/mars/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/mars/lib/python3.8/site-packages/_pytest/runner.py", line 261 in <lambda>
File "/mars/lib/python3.8/site-packages/_pytest/runner.py", line 340 in from_call
File "/mars/lib/python3.8/site-packages/_pytest/runner.py", line 260 in call_runtest_hook
File "/mars/lib/python3.8/site-packages/_pytest/runner.py", line 221 in call_and_report
File "/mars/lib/python3.8/site-packages/_pytest/runner.py", line 132 in runtestprotocol
File "/mars/lib/python3.8/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
File "/mars/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/mars/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/mars/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/mars/lib/python3.8/site-packages/_pytest/main.py", line 347 in pytest_runtestloop
File "/mars/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/mars/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/mars/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/mars/lib/python3.8/site-packages/_pytest/main.py", line 322 in _main
File "/mars/lib/python3.8/site-packages/_pytest/main.py", line 268 in wrap_session
File "/mars/lib/python3.8/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main
File "/mars/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
File "/mars/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
File "/mars/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
File "/mars/lib/python3.8/site-packages/_pytest/config/__init__.py", line 165 in main
File "/mars/lib/python3.8/site-packages/_pytest/config/__init__.py", line 188 in console_main
File "/mars/bin/pytest", line 8 in <module>
Bus error
The text was updated successfully, but these errors were encountered:
Describe the bug
test_k_means.py::test_elkan_results
crashTo Reproduce
To help us reproducing this bug, please provide information below:
The text was updated successfully, but these errors were encountered: