Skip to content

[RayService][Test] Stop propagating proc.returncode in locust_runner.py - #5117

Open
justinyeh1995 wants to merge 1 commit into
ray-project:masterfrom
justinyeh1995:flaky-locust-exit-code-sigInt-race
Open

[RayService][Test] Stop propagating proc.returncode in locust_runner.py#5117
justinyeh1995 wants to merge 1 commit into
ray-project:masterfrom
justinyeh1995:flaky-locust-exit-code-sigInt-race

Conversation

@justinyeh1995

Copy link
Copy Markdown
Contributor

Why are these changes needed?

Per the conclusion in #5109, we stop the propagation of proc.returncode in locust_runner.py, because a race between gevent's greenlet scheduling and SIGINT delivery can cause the Locust master to exit with code 2 even when the run itself succeeded with no failed requests. Propagating exit code 2 today fails the e2e test despite the run being correct.

Related issue number

Related to #5109 & #5098

Labels

  • If this PR has user-facing changes that require documentation updates at release time, I have added the doc-updates-required label.
  • If this PR contains breaking changes, I have added the breaking-change label.

Checks

  • Testing Strategy
    • Unit tests
    • Manual tests

Manual test instructions

Ran the experiment in commits db7b78d & 8acb8c2: 0/50 runs failed.

…#5109

Signed-off-by: justinyeh1995 <justinyeh1995@gmail.com>

@win5923 win5923 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the detailed explanation!

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.

3 participants