Repository navigation
Conversation
…r tests Signed-off-by: yicheng <[email protected]>
abrarsheikh
approved these changes
Jul 15, 2026
abrarsheikh
left a comment
Contributor
There was a problem hiding this comment.
why was it working before?
harshit-anyscale
approved these changes
Jul 15, 2026
Member
Author
|
@rueian Could you help merge this? Thanks! |
Sparks0219
pushed a commit
that referenced
this pull request
Jul 22, 2026
…64924) ## Description Exclude `runtime_env_container` tests from the core flaky step: it never builds the image they need, so they fail at setup on every postmerge build and keep the target permanently stuck in FLAKY, even though the actual failure was already fixed in #64762. See https://buildkite.com/ray-project/postmerge/builds/18717#019f864f-ca0e-4241-9d23-a59644e5618b Signed-off-by: yicheng <[email protected]> Co-authored-by: yicheng <[email protected]>
jeffreywang88
pushed a commit
that referenced
this pull request
Jul 27, 2026
…r tests (#64762) ## Description The scripts in `test_runtime_env_container` run inside a Ray image, which does not have pytest installed, so we can't add at the top level file but inside functions which only be called in pytest environment. Signed-off-by: yicheng <[email protected]> Co-authored-by: yicheng <[email protected]>
elliot-barn
added a commit
that referenced
this pull request
Aug 3, 2026
…ime_env_container tests (#64762) (#64972) Cherry-pick of #64762 (934eda2) to `releases/2.57.0`. ## Description Fixes the `runtime env container tests` failure on the release branch (postmerge build [18756](https://buildkite.com/ray-project/postmerge/builds/18756)): `test_serve_telemetry[True/False]` fail with `ModuleNotFoundError: No module named 'pytest'` because `ray/serve/_private/test_utils.py` imports pytest at module level, and the scripts in `test_runtime_env_container` run inside a Ray image which does not have pytest installed. This change moves the import inside the functions that need it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: yicheng <[email protected]> Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Yicheng-Lu-llll <[email protected]> Co-authored-by: yicheng <[email protected]>
400Ping
pushed a commit
to 400Ping/ray
that referenced
this pull request
Aug 18, 2026
…r tests (ray-project#64762) ## Description The scripts in `test_runtime_env_container` run inside a Ray image, which does not have pytest installed, so we can't add at the top level file but inside functions which only be called in pytest environment. Signed-off-by: yicheng <[email protected]> Co-authored-by: yicheng <[email protected]> Signed-off-by: 400Ping <[email protected]>
400Ping
pushed a commit
to 400Ping/ray
that referenced
this pull request
Aug 18, 2026
…ay-project#64924) ## Description Exclude `runtime_env_container` tests from the core flaky step: it never builds the image they need, so they fail at setup on every postmerge build and keep the target permanently stuck in FLAKY, even though the actual failure was already fixed in ray-project#64762. See https://buildkite.com/ray-project/postmerge/builds/18717#019f864f-ca0e-4241-9d23-a59644e5618b Signed-off-by: yicheng <[email protected]> Co-authored-by: yicheng <[email protected]> Signed-off-by: 400Ping <[email protected]>
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.
Description
The scripts in
test_runtime_env_containerrun inside a Ray image, which does not have pytest installed, so we can't add at the top level file but inside functions which only be called in pytest environment.