Skip to content

end-to-end integration tests#3077

Merged
google-oss-prow[bot] merged 67 commits intokubeflow:masterfrom
kunal-511:fix#3070/kubeflow-full-integration-test
Apr 8, 2025
Merged

end-to-end integration tests#3077
google-oss-prow[bot] merged 67 commits intokubeflow:masterfrom
kunal-511:fix#3070/kubeflow-full-integration-test

Conversation

@kunal-511
Copy link
Copy Markdown
Contributor

@kunal-511 kunal-511 commented Mar 28, 2025

Pull Request Template for Kubeflow Manifests

✏️ Summary of Changes

This PR ensures Katib and KServe are properly installed in the GitHub Actions workflow before testing. It adds dedicated installation steps, removes conditional installs.

🐛 Related Issues

Fix #3054

✅ Contributor Checklist


You can join the CNCF Slack and access our meetings at the Kubeflow Community website. Our channel on the CNCF Slack is here #kubeflow-platform.

@kunal-511 kunal-511 force-pushed the fix#3070/kubeflow-full-integration-test branch from 57a42c9 to dde758f Compare March 28, 2025 18:55
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
@kunal-511 kunal-511 force-pushed the fix#3070/kubeflow-full-integration-test branch from adbf0ab to 090e2d2 Compare March 28, 2025 19:04
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
@google-oss-prow google-oss-prow Bot added size/L and removed size/M labels Mar 29, 2025
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
… waiting for Knative-specific pods to be ready, rather than waiting for all pods across all namespaces

Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
… handling

Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
@kunal-511
Copy link
Copy Markdown
Contributor Author

@juliusvonkohout
Is there a typo error in the spark_install.sh file because there is no directory with spark-operator/overlays/standalone instead it should be apps/spark-operator/overlays/standalone ?

Comment thread .github/workflows/full_kubeflow_integration_test.yaml
Comment thread .github/workflows/full_kubeflow_integration_test.yaml Outdated
@juliusvonkohout
Copy link
Copy Markdown
Member

In general please.make sure that is is elegant and in line with the individual tests. They should have the same naming and structure. You can also alter the individual tests to achieve consistency. Before duplicating to much you should rather create a script under /tests/gh-actions and use it for the individual gha rest and this large end-to-end test here. We must avoid code duplication and encofce reusability.

Comment thread .github/workflows/full_kubeflow_integration_test.yaml Outdated
Comment thread .github/workflows/full_kubeflow_integration_test.yaml Outdated
@juliusvonkohout
Copy link
Copy Markdown
Member

juliusvonkohout commented Mar 29, 2025

This gha is meant to be an orchestrator of the same scripts that are used for the individual gha workflows. It must be synchronized and rely on reusable scripts shared across multiple workflows.

@juliusvonkohout
Copy link
Copy Markdown
Member

And you need to install spark as well. Please rely on the scripts and make the gha workflows consistent.

@kunal-511
Copy link
Copy Markdown
Contributor Author

kunal-511 commented Mar 29, 2025

In general please.make sure that is is elegant and in line with the individual tests. They should have the same naming and structure. You can also alter the individual tests to achieve consistency. Before duplicating to much you should rather create a script under /tests/gh-actions and use it for the individual gha rest and this large end-to-end test here. We must avoid code duplication and encofce reusability.

I am thinking to make 4 separate files for install components, test utils, run test, verify components under the test/gh-actions. Is this the correct way to address the problem ??

@juliusvonkohout
Copy link
Copy Markdown
Member

In general please.make sure that is is elegant and in line with the individual tests. They should have the same naming and structure. You can also alter the individual tests to achieve consistency. Before duplicating to much you should rather create a script under /tests/gh-actions and use it for the individual gha rest and this large end-to-end test here. We must avoid code duplication and encofce reusability.

I am thinking to make 4 separate files for install components, test utils, run test, verify components under the test/gh-actions. Is this the correct way to address the problem ??

For now please use the existing files. Modify the existing scripts as needed.

Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
…vice instead of trying to access the non-existent constant constants.KSERVE_KIND

Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
Comment thread tests/gh-actions/port_forward_gateway.sh Outdated
Comment thread tests/gh-actions/port_forward_gateway.sh Outdated
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
@google-oss-prow google-oss-prow Bot added size/XL and removed size/XXL labels Apr 8, 2025
kunal-511 and others added 3 commits April 8, 2025 23:24
Co-authored-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
Signed-off-by: Kunal Dugar <yoyokvunal@gmail.com>
Co-authored-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
Signed-off-by: Kunal Dugar <yoyokvunal@gmail.com>
Co-authored-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
Signed-off-by: Kunal Dugar <yoyokvunal@gmail.com>
Comment thread tests/gh-actions/install_kserve.sh Outdated
Signed-off-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
Comment thread .github/workflows/dex_oauth2-proxy_test.yaml
Comment thread .github/workflows/dex_oauth2-proxy_test.yaml
Signed-off-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
Comment thread tests/gh-actions/test_dex_login.py
Comment on lines +76 to +77
sudo apt-get install -y apparmor-profiles
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
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.

I think these 2 lines belong to - name: Install Katib

Comment thread .github/workflows/full_kubeflow_integration_test.yaml
Comment thread .github/workflows/full_kubeflow_integration_test.yaml Outdated
Comment thread .github/workflows/full_kubeflow_integration_test.yaml Outdated
Comment thread .github/workflows/full_kubeflow_integration_test.yaml Outdated
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
Signed-off-by: kunal-511 <yoyokvunal@gmail.com>
@juliusvonkohout
Copy link
Copy Markdown
Member

juliusvonkohout commented Apr 8, 2025

  1. tests/gh-actions/install_central_dashboard.sh newest set -euxo pipefail
  2. Please also apply the same changes to install_knative-cni.sh
    Both can be done in a follow up PR
  3. Katib installation https://github.com/kubeflow/manifests/pull/3077/files/9d000044a0cfdc204b07ec0c4cc58c0dc95e422d#diff-4b30362af611e6ae2066d386c023437935b203936c034dd13c0fa669056c5175 and it should be in its own reusable script
    /lgtm
    /approve

@google-oss-prow google-oss-prow Bot added the lgtm label Apr 8, 2025
@google-oss-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: juliusvonkohout

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@google-oss-prow google-oss-prow Bot merged commit 4b750ba into kubeflow:master Apr 8, 2025
26 checks passed
@kunal-511 kunal-511 deleted the fix#3070/kubeflow-full-integration-test branch July 18, 2025 19:28
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.

end-to-end integration tests and restructuring

3 participants