Skip to content
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

[release] Improve handle_result in case of empty fetched result. #32055

Merged
merged 8 commits into from
Feb 8, 2023

Conversation

xwjiang2010
Copy link
Contributor

@xwjiang2010 xwjiang2010 commented Jan 30, 2023

Improve handle_result (result alert logic) for release tests in case when the fetched result is empty due to infra issues. For example if job server on the cluster is down (which we rely on to get files back to buildkite runners).

Without this, the error code indicates application error, which is misleading.
See an example here: https://buildkite.com/ray-project/release-tests-branch/builds/1318#0185fc29-1d4c-483a-999b-ede500781c7a

Signed-off-by: xwjiang2010 xwjiang2010@gmail.com

Why are these changes needed?

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
Copy link
Contributor

@krfricke krfricke left a comment

Choose a reason for hiding this comment

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

Thanks! Couple of comments

release/ray_release/result.py Outdated Show resolved Hide resolved
release/ray_release/alerts/handle.py Outdated Show resolved Hide resolved
release/ray_release/alerts/handle.py Outdated Show resolved Hide resolved
release/ray_release/alerts/long_running_tests.py Outdated Show resolved Hide resolved
release/ray_release/glue.py Outdated Show resolved Hide resolved
release/ray_release/glue.py Outdated Show resolved Hide resolved
Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
Copy link
Contributor

@krfricke krfricke left a comment

Choose a reason for hiding this comment

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

LG, last nit is just about naming and the global variable. Can land it afterwards

release/ray_release/alerts/handle.py Outdated Show resolved Hide resolved
release/ray_release/alerts/handle.py Outdated Show resolved Hide resolved
@xwjiang2010 xwjiang2010 changed the title [release][no_ci] Improve handle_result in case of empty fetched result. [release] Improve handle_result in case of empty fetched result. Feb 1, 2023
xwjiang2010 and others added 4 commits January 31, 2023 17:29
Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
@krfricke krfricke merged commit bae61d9 into ray-project:master Feb 8, 2023
edoakes pushed a commit to edoakes/ray that referenced this pull request Mar 22, 2023
…-project#32055)

Improve handle_result (result alert logic) for release tests in case when the fetched result is empty due to infra issues. For example if job server on the cluster is down (which we rely on to get files back to buildkite runners).

Without this, the error code indicates application error, which is misleading.
See an example here: https://buildkite.com/ray-project/release-tests-branch/builds/1318#0185fc29-1d4c-483a-999b-ede500781c7a

Signed-off-by: xwjiang2010 <xwjiang2010@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@xwjiang2010 xwjiang2010 deleted the improve_handle_result branch July 26, 2023 19:52
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