Skip to content

[core] Remove test_get_locations_timeout - #54367

Merged
edoakes merged 4 commits into
ray-project:masterfrom
edoakes:eoakes/deflake-locations
Jul 7, 2025
Merged

[core] Remove test_get_locations_timeout#54367
edoakes merged 4 commits into
ray-project:masterfrom
edoakes:eoakes/deflake-locations

Conversation

@edoakes

@edoakes edoakes commented Jul 7, 2025

Copy link
Copy Markdown
Collaborator

This test sometimes fails because the location info is available: https://buildkite.com/ray-project/postmerge/builds/11255#0197d1e5-5ee0-4b16-b852-4ee17b39cc10

The entire implementation is problematic, and after data migrates to get_local_object_locations, get_object_locations will be deleted. So for now deleting the flaky test.

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label Jul 7, 2025
@edoakes
edoakes requested a review from a team July 7, 2025 13:16
@edoakes
edoakes enabled auto-merge (squash) July 7, 2025 13:16

@dayshah dayshah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is actually extra busted and this won't help

The put will add to the reference counter synchronously from the python thread. So it's actually always there by the time you call get_object_locations

get_object_locations will actually make an rpc to itself and if that self rpc finishes before the future.wait_for(0), the test will fail

See CoreWorker::Put and CoreWorker::GetLocationFromOwner

I have this draft i made a while ago to avoid the self rpc #53322. Also want to combine get_local_object_locations and get_object_locations

edoakes added 3 commits July 7, 2025 12:49
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@github-actions
github-actions Bot disabled auto-merge July 7, 2025 19:53
@edoakes edoakes changed the title [core] Deflake test_get_locations [core] Remove test_get_locations_timeout Jul 7, 2025
@edoakes
edoakes enabled auto-merge (squash) July 7, 2025 20:09
@edoakes
edoakes merged commit e769b22 into ray-project:master Jul 7, 2025
6 checks passed
ccmao1130 pushed a commit to ccmao1130/ray that referenced this pull request Jul 29, 2025
This test sometimes fails because the location info _is_ available:
https://buildkite.com/ray-project/postmerge/builds/11255#0197d1e5-5ee0-4b16-b852-4ee17b39cc10

The entire implementation is problematic, and after data
[migrates](ray-project#53942) to
`get_local_object_locations`, `get_object_locations` will be deleted. So
for now deleting the flaky test.

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: ChanChan Mao <chanchanmao1130@gmail.com>
dstrodtman pushed a commit to dstrodtman/ray that referenced this pull request Oct 6, 2025
This test sometimes fails because the location info _is_ available:
https://buildkite.com/ray-project/postmerge/builds/11255#0197d1e5-5ee0-4b16-b852-4ee17b39cc10

The entire implementation is problematic, and after data
[migrates](ray-project#53942) to
`get_local_object_locations`, `get_object_locations` will be deleted. So
for now deleting the flaky test.

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Douglas Strodtman <douglas@anyscale.com>
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.

2 participants