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

Updating CI build with AMD Roc images #51945

Merged
merged 1 commit into from May 21, 2024

Conversation

dibryant
Copy link
Contributor

FIxes for https://issues.redhat.com/browse/RHOAIENG-4608

Updated the CI build to include AMD Roc images

@openshift-ci-robot
Copy link
Contributor

@dibryant, pj-rehearse: unable to determine affected jobs. This could be due to a branch that needs to be rebased. ERROR:

could not load configuration from candidate revision of release repo: failed to load ci-operator configuration from release repo: invalid ci-operator config: invalid configuration: tests: found duplicated test: (notebook-base-ubi9-python-3-9-image-mirror)
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 13, 2024
Copy link
Contributor

openshift-ci bot commented May 13, 2024

Hi @dibryant. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@openshift-ci-robot
Copy link
Contributor

@dibryant, pj-rehearse: unable to determine affected jobs. This could be due to a branch that needs to be rebased. ERROR:

could not load configuration from candidate revision of release repo: failed to load ci-operator configuration from release repo: invalid ci-operator config: invalid configuration: tests: found duplicated test: (notebook-base-ubi9-python-3-9-image-mirror)
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

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

good work
some changes are required

Comment on lines 58 to 65
- context_dir: amd/ubi8-python-3.8
dockerfile_path: Dockerfile
from: base-ubi8-python-3.8
to: amd-ubi8-python-3.8
- context_dir: jupyter/minimal/ubi8-python-3.8
dockerfile_path: Dockerfile
from: amd-ubi8-python-3.8
to: amd-jupyter-minimal-ubi8-python-3.8
Copy link
Member

Choose a reason for hiding this comment

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

can drop the ubi8, as we would only be building for ubi9 or c9s.

Comment on lines 458 to 487
- as: notebook-amd-jupyter-minimal-ubi8-python-3-8-image-mirror
postsubmit: true
steps:
dependencies:
SOURCE_IMAGE_REF: amd-jupyter-minimal-ubi8-python-3.8
env:
IMAGE_REPO: workbench-images
IMAGE_TAG: YearIndex
RELEASE_VERSION: amd-jupyter-minimal-ubi8-python-3.8
workflow: opendatahub-io-ci-image-mirror
- as: notebook-amd-jupyter-minimal-ubi8-python-3-8-pr-image-mirror
run_if_changed: (amd\/ubi8-python-3.8\/*)|(base\/ubi8-python-3.8\/*)|(jupyter\/minimal\/ubi8-python-3.8\/*)
steps:
dependencies:
SOURCE_IMAGE_REF: amd-jupyter-minimal-ubi8-python-3.8
env:
IMAGE_REPO: workbench-images
IMAGE_TAG: YearIndex
RELEASE_VERSION: amd-jupyter-minimal-ubi8-python-3.8
workflow: opendatahub-io-ci-image-mirror
- as: notebook-base-ubi9-python-3-9-image-mirror
postsubmit: true
steps:
dependencies:
SOURCE_IMAGE_REF: base-ubi9-python-3.9
env:
IMAGE_REPO: workbench-images
IMAGE_TAG: YearIndex
RELEASE_VERSION: base-ubi9-python-3.9
workflow: opendatahub-io-ci-image-mirror
Copy link
Member

Choose a reason for hiding this comment

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

can drop the ubi8, as we would only be building for ubi9 or c9s.

@atheo89
Copy link
Contributor

atheo89 commented May 17, 2024

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 17, 2024
@atheo89
Copy link
Contributor

atheo89 commented May 20, 2024

Hey Diamond, to resolve the issue you need to run make jobs on your fork, this will create some new files that are needed to be commited.

If you press on details button on the failed job, it redirects you on the logs page so you may see what it suggest you to fix the test. https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/51945/pull-ci-openshift-release-master-generated-config/1791465803057467392

@@ -169,6 +177,10 @@ images:
dockerfile_path: Dockerfile
from: cuda-c9s-python-3.9
to: cuda-rstudio-c9s-python-3.9
- context_dir: amd/c9s-python-3.9
Copy link
Contributor

Choose a reason for hiding this comment

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

Shall we build also the minimal version amd-jupyter-minimal-c9s-python-3.9?

@dibryant dibryant changed the title Updating CI buils with AMD Roc images Updating CI build with AMD Roc images May 20, 2024
Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

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

Thanks for the work,
some changes are needed

Comment on lines 153 to 160
- context_dir: amd/ubi9-python-3.9
dockerfile_path: Dockerfile
from: base-ubi9-python-3.9
to: amd-ubi9-python-3.9
- context_dir: jupyter/minimal/ubi9-python-3.9
dockerfile_path: Dockerfile
from: amd-ubi9-python-3.9
to: amd-jupyter-minimal-ubi9-python-3.9
Copy link
Member

Choose a reason for hiding this comment

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

As we are not building UBI based image in the first interaction, we can remove these.

- context_dir: amd/c9s-python-3.9
dockerfile_path: Dockerfile
from: base-c9s-python-3.9
to: amd-c9s-python-3.9
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
to: amd-c9s-python-3.9
to: amd-c9s-python-3.9
- context_dir: jupyter/minimal/ubi9-python-3.9
dockerfile_path: Dockerfile
from: amd-c9s-python-3.9
to: amd-jupyter-minimal-c9s-python-3.9

based on the suggestion, we could actually us the minimal for testing

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@dibryant: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-opendatahub-io-notebooks-main-notebook-amd-c9s-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Presubmit changed
pull-ci-opendatahub-io-notebooks-main-notebook-amd-jupyter-minimal-c9s-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Presubmit changed
pull-ci-opendatahub-io-notebooks-main-habana-notebooks-e2e-tests opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-images opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-jupyter-datascience-anaconda-python-3-8-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-base-c9s-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-base-ubi8-python-3-8-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-base-ubi9-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-codeserver-ubi9-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-cuda-c9s-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-ds-ubi8-python-3-8-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-ds-ubi9-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-minimal-ubi8-python-3-8-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-minimal-ubi9-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-cuda-jupyter-tf-ubi9-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-cuda-rstudio-c9s-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-cuda-ubi8-python-3-8-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-cuda-ubi9-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-habana-1-10-0-ubi8-python-3-8-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-habana-1-13-0-ubi8-python-3-8-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-datascience-ubi8-python-3-8-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-datascience-ubi9-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-intel-ml-ubi9-python-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-intel-pyt-cpu-ubi9-py-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed
pull-ci-opendatahub-io-notebooks-main-notebook-jupyter-intel-pyt-xpu-ubi9-py-3-9-pr-image-mirror opendatahub-io/notebooks presubmit Ci-operator config changed

A total of 47 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

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

/lgtm

thanks 💯

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 21, 2024
Copy link
Contributor

openshift-ci bot commented May 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dibryant, harshad16

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 21, 2024
dockerfile_path: Dockerfile
from: base-c9s-python-3.9
to: amd-c9s-python-3.9
- context_dir: jupyter/minimal/ubi9-python-3.9
Copy link
Contributor

@atheo89 atheo89 May 21, 2024

Choose a reason for hiding this comment

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

I'm not sure if this will be successful, but we can give it a shot.

@atheo89
Copy link
Contributor

atheo89 commented May 21, 2024

/pj-rehearse pull-ci-opendatahub-io-notebooks-main-notebook-amd-c9s-python-3-9-pr-image-mirror
/pj-rehearse pull-ci-opendatahub-io-notebooks-main-notebook-amd-jupyter-minimal-c9s-python-3-9-pr-image-mirror

@openshift-ci-robot
Copy link
Contributor

@atheo89: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot
Copy link
Contributor

@atheo89: requesting more than one rehearsal in one comment is not supported. If you would like to rehearse multiple specific jobs, please separate the job names by a space in a single command.

@atheo89
Copy link
Contributor

atheo89 commented May 21, 2024

/pj-rehearse pull-ci-opendatahub-io-notebooks-main-notebook-amd-jupyter-minimal-c9s-python-3-9-pr-image-mirror

@openshift-ci-robot
Copy link
Contributor

@atheo89: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@harshad16
Copy link
Member

As this is merged: opendatahub-io/notebooks#507
we can re-run the pj-rehearse

@harshad16
Copy link
Member

/pj-rehearse pull-ci-opendatahub-io-notebooks-main-notebook-amd-c9s-python-3-9-pr-image-mirror

@openshift-ci-robot
Copy link
Contributor

@harshad16: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@harshad16
Copy link
Member

/pj-rehearse pull-ci-opendatahub-io-notebooks-main-notebook-amd-jupyter-minimal-c9s-python-3-9-pr-image-mirror

@openshift-ci-robot
Copy link
Contributor

@harshad16: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@harshad16
Copy link
Member

The rehearse seems to be working:
Screenshot from 2024-05-21 15-09-18

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@harshad16: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label May 21, 2024
Copy link
Contributor

openshift-ci bot commented May 21, 2024

@dibryant: all tests passed!

Full PR test history. Your PR dashboard.

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.

@openshift-merge-bot openshift-merge-bot bot merged commit 84fc0fc into openshift:master May 21, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. rehearsals-ack Signifies that rehearsal jobs have been acknowledged
Projects
None yet
4 participants