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

test: Migrate KFP SDK Execution Tests to GHA #10975

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

DharmitD
Copy link
Contributor

@DharmitD DharmitD commented Jul 2, 2024

Description of your changes:
Resolves #10925

Converts the KFP SDK Execution test to a GH Action Workflow.

Here's a working GH Action run on my fork: https://github.com/DharmitD/data-science-pipelines-argo/actions/runs/9751594133/job/26913514655

PR to remove the KFP Execution test from prow config: GoogleCloudPlatform/oss-test-infra#2313

Checklist:

@DharmitD
Copy link
Contributor Author

DharmitD commented Jul 2, 2024

Ready for review.
cc: @hbelmiro @rimolive @chensun

@rimolive
Copy link
Member

rimolive commented Jul 2, 2024

/lgtm

Copy link
Contributor

@hbelmiro hbelmiro left a comment

Choose a reason for hiding this comment

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

/hold

Comment on lines 21 to 32
uses: container-tools/kind-action@v2
with:
cluster_name: kfp
kubectl_version: v1.29.2
version: v0.22.0
node_image: kindest/node:v1.29.2

- name: Build images
run: ./scripts/deploy/github/build-images.sh

- name: Deploy KFP
run: ./scripts/deploy/github/deploy-kfp.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

You can use the kfp-cluster action here. Like

uses: ./.github/actions/kfp-cluster

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, updated to use this action.

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we want to test with the other versions as well?
You can use a matrix for that. See https://github.com/kubeflow/pipelines/pull/10926/files#diff-e842340381d5ec7517ff5c2522b081e6b081cad5701ce9f06af7d088428974eeR17-R24

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the Prow Job used only Python 3.8: https://github.com/GoogleCloudPlatform/oss-test-infra/blob/master/prow/prowjobs/kubeflow/pipelines/kubeflow-pipelines-presubmits.yaml#L238

Do we need this for other versions? I would suggest keeping it simple, to one version, and not adding more jobs / more time to execute tests for every PR.

Copy link
Contributor

@hbelmiro hbelmiro Jul 2, 2024

Choose a reason for hiding this comment

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

Do we need this for other versions?

I don't have a strong opinion, but testing with all supported versions would be nice.

I would suggest keeping it simple, to one version, and not adding more jobs / more time to execute tests for every PR.

The jobs run in parallel, so unless we reach the limit of parallel executions, it shouldn't increase the execution time.

@rimolive any thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

Only 4 jobs run in parallel. I just saw that on my PR.
So yeah, it would increase the execution time.

Screenshot from 2024-07-02 13-22-38

Copy link

@DharmitD: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
kubeflow-pipelines-sdk-execution-tests c9b4bdb link true /test kubeflow-pipelines-sdk-execution-tests

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-sigs/prow repository. I understand the commands that are listed here.

Copy link
Contributor

@hbelmiro hbelmiro left a comment

Choose a reason for hiding this comment

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

/unhold
/lgtm

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hbelmiro

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rimolive
Copy link
Member

rimolive commented Jul 2, 2024

/rerun-all

@rimolive
Copy link
Member

rimolive commented Jul 8, 2024

@zijianjoy Can you help us? PR is already approved but because Prow had failed tests it does not merge. If you take a look, the correspondent GHA workflow with the failed Prow test passed with no issues.

@hbelmiro
Copy link
Contributor

hbelmiro commented Jul 8, 2024

@zijianjoy Can you help us? PR is already approved but because Prow had failed tests it does not merge. If you take a look, the correspondent GHA workflow with the failed Prow test passed with no issues.

@rimolive @zijianjoy just to complement, GoogleCloudPlatform/oss-test-infra#2313 removes the kubeflow-pipelines-sdk-execution-tests test from Prow. Once it get's merged, we just need to rebase this PR.

@hbelmiro
Copy link
Contributor

@james-jwu can you help us to get this PR and GoogleCloudPlatform/oss-test-infra#2313 merged?
The Prow test is failing and blocking other PRs. See: #10979 (comment)

@DharmitD
Copy link
Contributor Author

@james-jwu can you help us to get this PR and GoogleCloudPlatform/oss-test-infra#2313 merged? The Prow test is failing and blocking other PRs. See: #10979 (comment)

@james-jwu @chensun could you please take a look and approve?

@DharmitD
Copy link
Contributor Author

This PR is ready for merge. @hbelmiro @rimolive could you please LGTM?

Copy link
Contributor

@hbelmiro hbelmiro left a comment

Choose a reason for hiding this comment

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

/lgtm

@google-oss-prow google-oss-prow bot added the lgtm label Jul 25, 2024
@google-oss-prow google-oss-prow bot merged commit b274866 into kubeflow:master Jul 25, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate Prow P0 SDK tests to GH Actions
3 participants