Skip to content

[DO NOT MERGE] Debug spike/verify/core-windows-test-2-60 - #66638

Closed
MortalHappiness wants to merge 3 commits into
ray-project:masterfrom
MortalHappiness:spike/verify/core-windows-test-2-60
Closed

MortalHappiness wants to merge 3 commits into
ray-project:masterfrom
MortalHappiness:spike/verify/core-windows-test-2-60

Conversation

@MortalHappiness

Copy link
Copy Markdown
Member

No description provided.

@MortalHappiness MortalHappiness added the go add ONLY when ready to merge, run all tests label Oct 1, 2026
@rueian rueian closed this in 43cb165 Oct 2, 2026
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…ation on Windows (ray-project#66623)

## Description

Two Windows tests have failed on every Windows postmerge build since
ray-project#66467 (builds 20012, 20016, 20026 and 20040). This PR fixes both.

- `//python/ray/tests/unit:test_runtime_env_image_uri`:
`test_mounts_default_token_file` fails because the `auth_env` fixture
redirects only `HOME`. On Windows, `Path.home()` reads `USERPROFILE` and
ignores `HOME`, so the code looks for the real `~/.ray/auth_token` and
never adds the mount. The fixture now sets `USERPROFILE` too.
- `//python/ray/tests:test_token_auth_integration`: the file times out
at the `medium` limit (300s). Before ray-project#66467 it already took 277-297s on
Windows. ray-project#66467 added `test_ray_init_connect_reuses_existing_token` with
3 parameters, and each one runs `ray start --head`, which pushes the
file past the limit. This PR moves the file to the `large` list (900s).
`test_streaming_generator.py` is already there for the same reason.

## Related issues

Related to ray-project#66467.

## Additional information

Both targets are now in the `FLAKY` state in the CI test database, so
the regular premerge jobs on this PR skip them. To check the fix, I ran
each target 3 times on Windows premerge, once on master and once on
master plus this fix, with retries off and the test database lookup
bypassed.

| Target | master | master + fix |
| --- | --- | --- |
| `test_runtime_env_image_uri` | 3/3 failed (same assertion as
postmerge) | 0/3 failed |
| `test_token_auth_integration` | 3/3 timed out at 300s | 0/3 failed,
324-345s per run |

- master: ray-project#66637,
https://buildkite.com/ray-project/premerge/builds/74235
- master + fix: ray-project#66638,
https://buildkite.com/ray-project/premerge/builds/74236

Signed-off-by: Chi-Sheng Liu <[email protected]>
Co-authored-by: Mengjin Yan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant