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

[CI][Bisect][4] Add pre-sanity check to avoid infra or external change root causes #34553

Merged
merged 58 commits into from
Apr 21, 2023

Conversation

can-anyscale
Copy link
Collaborator

@can-anyscale can-anyscale commented Apr 18, 2023

Why are these changes needed?

Many time tests can fail due to a non-code-change issue (external or infra issues). Before running a bisect, run a pre-sanity check to make sure that the provided passing and failing revision is valid. Otherwise, terminate bisect early and let the users know that the test is flaky.

Checks

@can-anyscale can-anyscale requested a review from a team as a code owner April 18, 2023 23:40
@can-anyscale can-anyscale changed the base branch from master to can-ci-bisect-03 April 18, 2023 23:50
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
release/ray_release/scripts/ray_bisect.py Outdated Show resolved Hide resolved
release/ray_release/scripts/ray_bisect.py Outdated Show resolved Hide resolved
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Cuong Nguyen <[email protected]>
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.

LGTM, ping me for merge when @aslonnie's comments are addressed

release/ray_release/scripts/ray_bisect.py Outdated Show resolved Hide resolved
release/ray_release/scripts/ray_bisect.py Show resolved Hide resolved
@ollie-iterators
Copy link

Link errors should be fixed by merging in recent changes.

Why are these changes needed?
This PR makes it so that, for every bisect step, we can run X test jobs in parallel.

Speed up bisect 2, 3 times.

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 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 - found blame PR too https://buildkite.com/ray-project/release-tests-bisect/builds/77
@can-anyscale
Copy link
Collaborator Author

w00t, can you help merge this too CC: @scv119

@scv119 scv119 merged commit 04e3c08 into master Apr 21, 2023
@scv119 scv119 deleted the can-ci-bisect-04 branch April 21, 2023 23:55
@can-anyscale
Copy link
Collaborator Author

w00h00

elliottower pushed a commit to elliottower/ray that referenced this pull request Apr 22, 2023
…e root causes (ray-project#34553)

Why are these changes needed?
Many time tests can fail due to a non-code-change issue (external or infra issues). Before running a bisect, run a pre-sanity check to make sure that the provided passing and failing revision is valid. Otherwise, terminate bisect early and let the users know that the test is flaky.

Signed-off-by: elliottower <[email protected]>
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request May 4, 2023
…e root causes (ray-project#34553)

Why are these changes needed?
Many time tests can fail due to a non-code-change issue (external or infra issues). Before running a bisect, run a pre-sanity check to make sure that the provided passing and failing revision is valid. Otherwise, terminate bisect early and let the users know that the test is flaky.

Signed-off-by: Jack He <[email protected]>
architkulkarni pushed a commit to architkulkarni/ray that referenced this pull request May 16, 2023
…e root causes (ray-project#34553)

Why are these changes needed?
Many time tests can fail due to a non-code-change issue (external or infra issues). Before running a bisect, run a pre-sanity check to make sure that the provided passing and failing revision is valid. Otherwise, terminate bisect early and let the users know that the test is flaky.
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.

5 participants