-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Revert "Revert "[Job Submission][refactor 1/N] Add AgentInfo to GCSNodeInfo (…" #27308
Changes from all commits
4d5f481
297df27
ca43235
a1bd774
a813f10
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import atexit | ||
import faulthandler | ||
import functools | ||
import grpc | ||
import hashlib | ||
import inspect | ||
import io | ||
|
@@ -756,7 +757,6 @@ def sigterm_handler(signum, frame): | |
|
||
def print_logs(self): | ||
"""Prints log messages from workers on all nodes in the same job.""" | ||
import grpc | ||
|
||
subscriber = self.gcs_log_subscriber | ||
subscriber.subscribe() | ||
|
@@ -1902,6 +1902,11 @@ def connect( | |
if mode == SCRIPT_MODE: | ||
raise e | ||
elif mode == WORKER_MODE: | ||
if isinstance(e, grpc.RpcError) and e.code() in ( | ||
grpc.StatusCode.UNAVAILABLE, | ||
grpc.StatusCode.UNKNOWN, | ||
): | ||
raise e | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if |
||
traceback_str = traceback.format_exc() | ||
ray._private.utils.publish_error_to_driver( | ||
ray_constants.VERSION_MISMATCH_PUSH_ERROR, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,8 @@ py_test_module_list( | |
"test_healthcheck.py", | ||
"test_kill_raylet_signal_log.py", | ||
"test_memstat.py", | ||
"test_protobuf_compatibility.py" | ||
"test_protobuf_compatibility.py", | ||
"test_scheduling_performance.py" | ||
], | ||
size = "medium", | ||
tags = ["exclusive", "medium_size_python_tests_a_to_j", "team:core"], | ||
|
@@ -120,10 +121,8 @@ py_test_module_list( | |
"test_multi_node_2.py", | ||
"test_multinode_failures.py", | ||
"test_multinode_failures_2.py", | ||
"test_multiprocessing.py", | ||
"test_object_assign_owner.py", | ||
"test_placement_group.py", | ||
"test_placement_group_2.py", | ||
"test_placement_group_3.py", | ||
"test_placement_group_4.py", | ||
"test_placement_group_5.py", | ||
|
@@ -184,7 +183,6 @@ py_test_module_list( | |
"test_cross_language.py", | ||
"test_environ.py", | ||
"test_raylet_output.py", | ||
"test_scheduling_performance.py", | ||
"test_get_or_create_actor.py", | ||
], | ||
size = "small", | ||
|
@@ -295,6 +293,7 @@ py_test_module_list( | |
"test_placement_group_mini_integration.py", | ||
"test_scheduling_2.py", | ||
"test_multi_node_3.py", | ||
"test_placement_group_2.py", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the current PR will make There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This actually sounds pretty bad... (I feel like it will increase the runtime of tests too long). Why is this the case? |
||
], | ||
size = "large", | ||
tags = ["exclusive", "large_size_python_tests_shard_1", "team:core"], | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment here.