[Serve] Skip Windows-incompatible gRPC e2e tests#60356
Merged
aslonnie merged 2 commits intoray-project:masterfrom Jan 21, 2026
Merged
[Serve] Skip Windows-incompatible gRPC e2e tests#60356aslonnie merged 2 commits intoray-project:masterfrom
aslonnie merged 2 commits intoray-project:masterfrom
Conversation
Skip test_no_spammy_errors_in_composed_app and test_no_spammy_errors_in_grpc_proxy on Windows due to: - Signal handling: Windows doesn't support SIGINT for subprocesses - Temp directory cleanup: File handles not released immediately after process termination This follows the existing pattern from test_logging.py which skips similar tests on Windows. Signed-off-by: Seiji Eicher <seiji@anyscale.com>
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
abrarsheikh
approved these changes
Jan 21, 2026
Contributor
abrarsheikh
left a comment
There was a problem hiding this comment.
fine to skip for now
6 tasks
jinbum-kim
pushed a commit
to jinbum-kim/ray
that referenced
this pull request
Jan 29, 2026
## Why are these changes needed? Fixes anyscale#758 Skip `test_no_spammy_errors_in_composed_app` and `test_no_spammy_errors_in_grpc_proxy` on Windows due to: - **Signal handling**: `test_no_spammy_errors_in_grpc_proxy` uses `p.send_signal(signal.SIGINT)` which Windows doesn't support for subprocesses (raises `ValueError: Unsupported signal: 2`) - **Temp directory cleanup**: `test_no_spammy_errors_in_composed_app` writes replica logs to a temp directory, and Windows doesn't release file handles immediately after process termination, causing cleanup failures (`NotADirectoryError: [WinError 267]`) This follows the existing pattern from `test_logging.py:1216` which skips similar tests on Windows: ```python @pytest.mark.skipif(sys.platform == "win32", reason="Fail to look for temp dir.") ``` ## Related issue number anyscale#758 ## Checks - [x] I've signed all my commits - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a temporary directory, causing `NotADirectoryError` on cleanup method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [x] Unit tests - [] Release tests - [ ] This PR is not tested :( Signed-off-by: Seiji Eicher <seiji@anyscale.com> Signed-off-by: jinbum-kim <jinbum9958@gmail.com>
400Ping
pushed a commit
to 400Ping/ray
that referenced
this pull request
Feb 1, 2026
## Why are these changes needed? Fixes anyscale#758 Skip `test_no_spammy_errors_in_composed_app` and `test_no_spammy_errors_in_grpc_proxy` on Windows due to: - **Signal handling**: `test_no_spammy_errors_in_grpc_proxy` uses `p.send_signal(signal.SIGINT)` which Windows doesn't support for subprocesses (raises `ValueError: Unsupported signal: 2`) - **Temp directory cleanup**: `test_no_spammy_errors_in_composed_app` writes replica logs to a temp directory, and Windows doesn't release file handles immediately after process termination, causing cleanup failures (`NotADirectoryError: [WinError 267]`) This follows the existing pattern from `test_logging.py:1216` which skips similar tests on Windows: ```python @pytest.mark.skipif(sys.platform == "win32", reason="Fail to look for temp dir.") ``` ## Related issue number anyscale#758 ## Checks - [x] I've signed all my commits - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a temporary directory, causing `NotADirectoryError` on cleanup method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [x] Unit tests - [] Release tests - [ ] This PR is not tested :( Signed-off-by: Seiji Eicher <seiji@anyscale.com> Signed-off-by: 400Ping <jiekaichang@apache.org>
ryanaoleary
pushed a commit
to ryanaoleary/ray
that referenced
this pull request
Feb 3, 2026
## Why are these changes needed? Fixes anyscale#758 Skip `test_no_spammy_errors_in_composed_app` and `test_no_spammy_errors_in_grpc_proxy` on Windows due to: - **Signal handling**: `test_no_spammy_errors_in_grpc_proxy` uses `p.send_signal(signal.SIGINT)` which Windows doesn't support for subprocesses (raises `ValueError: Unsupported signal: 2`) - **Temp directory cleanup**: `test_no_spammy_errors_in_composed_app` writes replica logs to a temp directory, and Windows doesn't release file handles immediately after process termination, causing cleanup failures (`NotADirectoryError: [WinError 267]`) This follows the existing pattern from `test_logging.py:1216` which skips similar tests on Windows: ```python @pytest.mark.skipif(sys.platform == "win32", reason="Fail to look for temp dir.") ``` ## Related issue number anyscale#758 ## Checks - [x] I've signed all my commits - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a temporary directory, causing `NotADirectoryError` on cleanup method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [x] Unit tests - [] Release tests - [ ] This PR is not tested :( Signed-off-by: Seiji Eicher <seiji@anyscale.com>
peterxcli
pushed a commit
to peterxcli/ray
that referenced
this pull request
Feb 25, 2026
## Why are these changes needed? Fixes anyscale#758 Skip `test_no_spammy_errors_in_composed_app` and `test_no_spammy_errors_in_grpc_proxy` on Windows due to: - **Signal handling**: `test_no_spammy_errors_in_grpc_proxy` uses `p.send_signal(signal.SIGINT)` which Windows doesn't support for subprocesses (raises `ValueError: Unsupported signal: 2`) - **Temp directory cleanup**: `test_no_spammy_errors_in_composed_app` writes replica logs to a temp directory, and Windows doesn't release file handles immediately after process termination, causing cleanup failures (`NotADirectoryError: [WinError 267]`) This follows the existing pattern from `test_logging.py:1216` which skips similar tests on Windows: ```python @pytest.mark.skipif(sys.platform == "win32", reason="Fail to look for temp dir.") ``` ## Related issue number anyscale#758 ## Checks - [x] I've signed all my commits - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a temporary directory, causing `NotADirectoryError` on cleanup method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [x] Unit tests - [] Release tests - [ ] This PR is not tested :( Signed-off-by: Seiji Eicher <seiji@anyscale.com> Signed-off-by: peterxcli <peterxcli@gmail.com>
peterxcli
pushed a commit
to peterxcli/ray
that referenced
this pull request
Feb 25, 2026
## Why are these changes needed? Fixes anyscale#758 Skip `test_no_spammy_errors_in_composed_app` and `test_no_spammy_errors_in_grpc_proxy` on Windows due to: - **Signal handling**: `test_no_spammy_errors_in_grpc_proxy` uses `p.send_signal(signal.SIGINT)` which Windows doesn't support for subprocesses (raises `ValueError: Unsupported signal: 2`) - **Temp directory cleanup**: `test_no_spammy_errors_in_composed_app` writes replica logs to a temp directory, and Windows doesn't release file handles immediately after process termination, causing cleanup failures (`NotADirectoryError: [WinError 267]`) This follows the existing pattern from `test_logging.py:1216` which skips similar tests on Windows: ```python @pytest.mark.skipif(sys.platform == "win32", reason="Fail to look for temp dir.") ``` ## Related issue number anyscale#758 ## Checks - [x] I've signed all my commits - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a temporary directory, causing `NotADirectoryError` on cleanup method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [x] Unit tests - [] Release tests - [ ] This PR is not tested :( Signed-off-by: Seiji Eicher <seiji@anyscale.com> Signed-off-by: peterxcli <peterxcli@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
Fixes anyscale#758
Skip
test_no_spammy_errors_in_composed_appandtest_no_spammy_errors_in_grpc_proxyon Windows due to:test_no_spammy_errors_in_grpc_proxyusesp.send_signal(signal.SIGINT)which Windows doesn't support for subprocesses (raisesValueError: Unsupported signal: 2)test_no_spammy_errors_in_composed_appwrites replica logs to a temp directory, and Windows doesn't release file handles immediately after process termination, causing cleanup failures (NotADirectoryError: [WinError 267])This follows the existing pattern from
test_logging.py:1216which skips similar tests on Windows:@pytest.mark.skipif(sys.platform == "win32", reason="Fail to look for temp dir.")Related issue number
anyscale#758
Checks
scripts/format.shto lint the changes in this PR.temporary directory, causing
NotADirectoryErroron cleanupmethod in Tune, I've added it in
doc/source/tune/api/under thecorresponding
.rstfile.