Skip to content

[Serve] [CI] Add health check grace period to deflake single_deployment_1k_noop_replica - #22651

Merged
edoakes merged 1 commit into
ray-project:masterfrom
architkulkarni:deflaky-serve-1k
Feb 25, 2022
Merged

edoakes merged 1 commit into
ray-project:masterfrom
architkulkarni:deflaky-serve-1k

Conversation

@architkulkarni

@architkulkarni architkulkarni commented Feb 25, 2022 •

Copy link
Copy Markdown
Contributor

Why are these changes needed?

Related issue number

In #22297 a change was made that requires a deployment to be healthy (all replicas healthy) before .deploy() returns, and raises an exception if this doesn't happen. In the 1k replica release test, about 30% of the tim, 5-10 replicas would crash (the reasons are still unknown). This caused the test to fail.

This PR adds a 10 minute grace period, which allows enough time for any crashed actors to restart.

Checks

@architkulkarni architkulkarni changed the title [WIP] [Serve] [CI] Add health check grace period to deflake single_deployment_1k_noop_replica [Serve] [CI] Add health check grace period to deflake single_deployment_1k_noop_replica Feb 25, 2022
@architkulkarni

Copy link
Copy Markdown
Contributor Author

test_client and rllib:learning_tests_pendulum_sac flaky on master and unrelated to this PR.

@edoakes edoakes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, did you validate it works manually?

Comment on lines +86 to +87
except RuntimeError:
time.sleep(1)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

log something here for transparency please

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.

2 participants