8000 [BUG] `test_k_means.py::test_elkan_results` crash · Issue #2800 · mars-project/mars · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
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

[BUG] test_k_means.py::test_elkan_results crash #2800

Closed
chaokunyang opened this issue Mar 8, 2022 · 0 comments · Fixed by #2824
Closed

[BUG] test_k_means.py::test_elkan_results crash #2800

chaokunyang opened this issue Mar 8, 2022 · 0 comments · Fixed by #2824
Assignees
Labels
mod: learn type: bug Something isn't working
Milestone

Comments

@chaokunyang
Copy link
Contributor

Describe the bug
test_k_means.py::test_elkan_results crash
To Reproduce
To help us reproducing this bug, please provide information below:

  1. Your Python version: Python 3.8.5
  2. The version of Mars you use
  3. Versions of crucial packages, such as numpy, scipy and pandas
  4. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod: learn type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0