Skip to content

[Core] Deflake test_advanced_9 - #34410

Merged
scv119 merged 2 commits into
ray-project:masterfrom
cadedaniel:fix-test-advanced-9
Apr 19, 2023
Merged

scv119 merged 2 commits into
ray-project:masterfrom
cadedaniel:fix-test-advanced-9

Conversation

@cadedaniel

@cadedaniel cadedaniel commented Apr 14, 2023 •

Copy link
Copy Markdown
Member

Looks like gcs server proc doesn't go back to original num_fds; it goes lower.

output from my machine:

>> 222 # before starting worker procs
(A pid=28851) HELLO
['WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD']
>> 250 # with worker procs
>> 217
>> 216
>> 213
>> 212
>> 207
>> 206 # after work procs die.
>> 206
>> 208 # Not sure why it goes up again 
>> 208 # Remains at 208, times out

This PR deflakes the test, but I don't know enough about gcs server to say if this is a good fix or not.

Signed-off-by: Cade Daniel <[email protected]>
@cadedaniel
cadedaniel marked this pull request as ready for review April 17, 2023 18:57
@cadedaniel
cadedaniel requested a review from fishbone April 17, 2023 20:34

@fishbone fishbone 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.

LGTM.

@rickyyx

rickyyx commented Apr 19, 2023

Copy link
Copy Markdown
Member

Is this ready to merge?

@scv119

scv119 commented Apr 19, 2023

Copy link
Copy Markdown
Contributor

doesn't seem like it.

@cadedaniel

Copy link
Copy Markdown
Member Author

Should be ready to go unless @iycheng has comment otherwise

@scv119
scv119 merged commit e7f7b9a into ray-project:master Apr 19, 2023
elliottower pushed a commit to elliottower/ray that referenced this pull request Apr 22, 2023
Looks like gcs server proc doesn't go back to original num_fds; it goes lower.

output from my machine:

>> 222 # before starting worker procs
(A pid=28851) HELLO
['WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD']
>> 250 # with worker procs
>> 217
>> 216
>> 213
>> 212
>> 207
>> 206 # after work procs die.
>> 206
>> 208 # Not sure why it goes up again
>> 208 # Remains at 208, times out
This PR deflakes the test, but I don't know enough about gcs server to say if this is a good fix or not.

Signed-off-by: elliottower <[email protected]>
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request May 4, 2023
Looks like gcs server proc doesn't go back to original num_fds; it goes lower.

output from my machine:

>> 222 # before starting worker procs
(A pid=28851) HELLO
['WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD']
>> 250 # with worker procs
>> 217
>> 216
>> 213
>> 212
>> 207
>> 206 # after work procs die.
>> 206
>> 208 # Not sure why it goes up again
>> 208 # Remains at 208, times out
This PR deflakes the test, but I don't know enough about gcs server to say if this is a good fix or not.

Signed-off-by: Jack He <[email protected]>
architkulkarni pushed a commit to architkulkarni/ray that referenced this pull request May 16, 2023
Looks like gcs server proc doesn't go back to original num_fds; it goes lower.

output from my machine:

>> 222 # before starting worker procs
(A pid=28851) HELLO
['WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD', 'WORLD']
>> 250 # with worker procs
>> 217
>> 216
>> 213
>> 212
>> 207
>> 206 # after work procs die.
>> 206
>> 208 # Not sure why it goes up again 
>> 208 # Remains at 208, times out
This PR deflakes the test, but I don't know enough about gcs server to say if this is a good fix or not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] linux://python/ray/tests:test_advanced_9 is failing/flaky on master.

4 participants