-
Notifications
You must be signed in to change notification settings - Fork 700
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
Add E2E test for gang-scheduling #1736
Add E2E test for gang-scheduling #1736
Conversation
Pull Request Test Coverage Report for Build 3994952641
💛 - Coveralls |
db995b5
to
a976ca6
Compare
a976ca6
to
eb319db
Compare
Blocked by #1737. /hold |
306e607
to
9a7a3ac
Compare
Args: | ||
namespace: Namespace to list the MPIJobs. | ||
timeout: Optional, Kubernetes API server timeout in seconds | ||
to execute the request. | ||
|
||
Returns: | ||
list[KubeflowOrgV1MPIJob]: List of MPIJobs objects. It returns | ||
empty list if MPIJobs cannot be found. | ||
timeout: Optional, Kubernetes API server timeout in seconds | ||
to execute the request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The timeout
seems to be Args
, not Returns
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
9a7a3ac
to
0912922
Compare
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding these parameters, when we push commits to the same PR, the already running Jobs are forcefully stopped, and new Jobs are started.
So we can reduce CI run times.
30afcaa
to
977d2f9
Compare
The mxjob-controller watches Pods created by other FrameworkJob resources and updates MXJob Status :( |
Ah, this is my misunderstanding. |
977d2f9
to
6d90d36
Compare
50c3004
to
4f4c0da
Compare
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
4f4c0da
to
758c31d
Compare
@johnugeorge This PR is ready for review, and all tests were passed. Please take a look. |
/hold cancel |
jobs: | ||
integration-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
kubernetes-version: ["v1.23.12", "v1.24.6", "v1.25.2"] | ||
# TODO (tenzen-y): Add volcano. | ||
gang-scheduler-name: ["none", "scheduler-plugins"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea to extend to volcano in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we should run E2E with volcano. Although, we can follow up on other PRs.
So, I will create an issue to keep tracking this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created #1738.
Great work @tenzen-y for adding this e2e-test /cc @andreyvelich PTAL at SDK changes |
@johnugeorge: GitHub didn't allow me to request PR reviews from the following users: PTAL, at, SDK, changes. Note that only kubeflow members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this feature @tenzen-y !
I left few comments.
Args: | ||
namespace: Namespace to list the MPIJobs. | ||
timeout: Optional, Kubernetes API server timeout in seconds | ||
to execute the request. | ||
|
||
Returns: | ||
list[KubeflowOrgV1MPIJob]: List of MPIJobs objects. It returns | ||
empty list if MPIJobs cannot be found. | ||
timeout: Optional, Kubernetes API server timeout in seconds | ||
to execute the request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Thanks for the updates @tenzen-y! |
Thanks @tenzen-y |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnugeorge, tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Yuki Iwai yuki.iwai.tz@gmail.com
What this PR does / why we need it:
I added the E2E test for gang-scheduling.
Also, I added functions to apply patches to CustomJob resources to Python SDK.
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Follow up on #1724.
Checklist: