mars-project / mars-project/mars

[BUG] test_ownership_when_scale_in hang

Open
#3,042 3 comments 0 reactions 1 assignee Claimed by @chaokunyang View on GitHub
Dominant language
Python
Stars
2.7k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When running test case `DEBUG_OSCAR=1 pytest -v -s mars/deploy/oscar/tests/test_ray.py::test_ownership_when_scale_in`, it hangs occasionally.

**To Reproduce**
To help us reproducing this bug, please provide information below:
1. Your Python version: 3.7.9
2. The version of Mars you use: master
3. Versions of crucial packages, such as numpy, scipy and pandas
4. Full stack of the error.
![image](https://user-images.githubusercontent.com/12445254/168810863-bf50f177-122a-4b65-9d1e-854e10e2a856.png)
![image](https://user-images.githubusercontent.com/12445254/168811055-0967213f-c66e-4a87-be2d-8def936ef04a.png)
![image](https://user-images.githubusercontent.com/12445254/168813637-2ac38641-3ba2-422f-8c4d-9a738d956fcf.png)
![image](https://user-images.githubusercontent.com/12445254/168814776-22cc558d-808f-4156-b63a-e0797df6f851.png)

6. Minimized code to reproduce the error.

**Expected behavior**
`test_ownership_when_scale_in` should finish in less than 120 seconds

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.