Skip to content

CI test linux://python/ray/tests:test_job is flaky #51738

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

Closed
can-anyscale opened this issue Mar 27, 2025 · 20 comments · Fixed by #51765
Closed

CI test linux://python/ray/tests:test_job is flaky #51738

can-anyscale opened this issue Mar 27, 2025 · 20 comments · Fixed by #51765
Labels
bug Something that is supposed to be working; but isn't ci-test core Issues that should be addressed in Ray Core flaky-tracker Issue created via Flaky Test Tracker https://flaky-tests.ray.io/ ray-test-bot Issues managed by OSS test policy stability triage Needs triage (eg: priority, bug/not-bug, and owning component) weekly-release-blocker Issues that will be blocking Ray weekly releases

Comments

@can-anyscale
Copy link
Collaborator

CI test linux://python/ray/tests:test_job is consistently_failing. Recent failures:
- https://buildkite.com/ray-project/postmerge/builds/9155#0195d534-485f-4665-ae08-54d07342ee34
- https://buildkite.com/ray-project/postmerge/builds/9155#0195d4eb-0746-4d88-acf2-2031f6adb822
- https://buildkite.com/ray-project/postmerge/builds/9143#0195d450-f32f-4248-b353-5df3b5e1ced5
- https://buildkite.com/ray-project/postmerge/builds/9143#0195d410-6d53-47c9-a686-535d956b8be9

DataCaseName-linux://python/ray/tests:test_job-END
Managed by OSS Test Policy

@can-anyscale can-anyscale added bug Something that is supposed to be working; but isn't ci-test core Issues that should be addressed in Ray Core flaky-tracker Issue created via Flaky Test Tracker https://flaky-tests.ray.io/ ray-test-bot Issues managed by OSS test policy stability triage Needs triage (eg: priority, bug/not-bug, and owning component) weekly-release-blocker Issues that will be blocking Ray weekly releases labels Mar 27, 2025
@can-anyscale
Copy link
Collaborator Author

@can-anyscale can-anyscale changed the title CI test linux://python/ray/tests:test_job is consistently_failing CI test linux://python/ray/tests:test_job is flaky Mar 27, 2025
@can-anyscale can-anyscale reopened this Mar 27, 2025
@can-anyscale
Copy link
Collaborator Author

@can-anyscale
Copy link
Collaborator Author

@can-anyscale can-anyscale reopened this Mar 27, 2025
@kevin85421
Copy link
Member

I am on the issue.

@kevin85421
Copy link
Member

#51765 is out.

@can-anyscale
Copy link
Collaborator Author

@can-anyscale
Copy link
Collaborator Author

@can-anyscale
Copy link
Collaborator Author

@can-anyscale
Copy link
Collaborator Author

@can-anyscale
Copy link
Collaborator Author

This test is now considered as flaky because it has been failing on postmerge for too long. Flaky tests do not run on premerge.

@can-anyscale
Copy link
Collaborator Author

@can-anyscale can-anyscale reopened this Mar 31, 2025
edoakes pushed a commit that referenced this issue Mar 31, 2025
…ixing `test_job_isolation` (#51765)

This PR fixes #51738.

I found that `sys.path` is different when we run `test_job.py` with
`pytest` and `bazel test //python/ray/tests:test_job` in CI runners (at
least the one for Python 3.12).

For the bazel command, `tmpdir/v1` is not in `sys.path`, so `import lib`
fails.

---------

Signed-off-by: kaihsun <[email protected]>
@can-anyscale
Copy link
Collaborator Author

@can-anyscale can-anyscale reopened this Apr 1, 2025
@can-anyscale
Copy link
Collaborator Author

pavelkushtia pushed a commit to pavelkushtia/ray that referenced this issue Apr 6, 2025
…ixing `test_job_isolation` (ray-project#51765)

This PR fixes ray-project#51738.

I found that `sys.path` is different when we run `test_job.py` with
`pytest` and `bazel test //python/ray/tests:test_job` in CI runners (at
least the one for Python 3.12).

For the bazel command, `tmpdir/v1` is not in `sys.path`, so `import lib`
fails.

---------

Signed-off-by: kaihsun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't ci-test core Issues that should be addressed in Ray Core flaky-tracker Issue created via Flaky Test Tracker https://flaky-tests.ray.io/ ray-test-bot Issues managed by OSS test policy stability triage Needs triage (eg: priority, bug/not-bug, and owning component) weekly-release-blocker Issues that will be blocking Ray weekly releases
Projects
None yet
2 participants