GetAllJobInfo is_running_tasks
is not returning the correct value when driver starts ray
#44459
Labels
bug
Something that is supposed to be working; but isn't
core
Issues that should be addressed in Ray Core
observability
Issues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profiling
P0
Issues that should be fixed in short order
What happened + What you expected to happen
The
is_running_tasks
attribute onGetAllJobInfo
is not returning the expected value (True) when no ray cluster is started, but it returns the correct value when a cluster is already started.e.g.
to reproduce:
ray stop -f
Actual: while the task are in progress, the
is_running_tasks
flag should be True but it is False.Expected: It should be True. If you repeat the steps above after pre-starting ray with
ray start --head
. The expected value is returned.Versions / Dependencies
2.10
Reproduction script
import ray
@ray.remote
def f(x):
import time
time.sleep(5)
return 0
ray.get([f.remote(i) for i in range(4)])
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered: