Skip to content

Adding rds-core to e2e-ci #62177

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

Merged
merged 16 commits into from
Mar 23, 2025
Merged

Conversation

vishnuchalla
Copy link
Contributor

@vishnuchalla vishnuchalla commented Feb 27, 2025

Description

Adding rds-core to e2e-ci
JIRA: https://issues.redhat.com/browse/PERFSCALE-3705

Testing

Need to verify it through this PR rehearsal

Signed-off-by: Vishnu Challa <[email protected]>
@openshift-ci openshift-ci bot requested review from chentex and krishvoor February 27, 2025 14:52
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 27, 2025
@vishnuchalla
Copy link
Contributor Author

/pj-rehearse pull-ci-cloud-bulldozer-e2e-benchmarking-master-e2e-rds-core-single-node

@openshift-ci-robot
Copy link
Contributor

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

@vishnuchalla
Copy link
Contributor Author

/assign @josecastillolema

@vishnuchalla
Copy link
Contributor Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 27, 2025
@openshift-ci-robot
Copy link
Contributor

@vishnuchalla: job(s): pull-ci-cloud-bulldozer-e2e-benchmarking-master-e2e-rds-core-single-node either don't exist or were not found to be affected, and cannot be rehearsed

@vishnuchalla
Copy link
Contributor Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 27, 2025
@vishnuchalla
Copy link
Contributor Author

/pj-rehearse pull-ci-cloud-bulldozer-e2e-benchmarking-master-e2e-rds-core-single-node

@openshift-ci-robot
Copy link
Contributor

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

@openshift-ci-robot
Copy link
Contributor

@vishnuchalla: job(s): pull-ci-cloud-bulldozer-e2e-benchmarking-master-e2e-rds-core-single-node either don't exist or were not found to be affected, and cannot be rehearsed

@vishnuchalla
Copy link
Contributor Author

/pj-rehearse network-access-allowed

@openshift-ci-robot
Copy link
Contributor

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

@openshift-ci-robot
Copy link
Contributor

@vishnuchalla: PR author isn't allowed to allow network access rehearsals. This must be done by a different member of the openshift org

@mohit-sheth
Copy link
Member

/pj-rehearse network-access-allowed

@openshift-ci-robot
Copy link
Contributor

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

@openshift-ci-robot
Copy link
Contributor

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

@vishnuchalla
Copy link
Contributor Author

/pj-rehearse pull-ci-cloud-bulldozer-e2e-benchmarking-master_metal-e2e-rds-core-mno

@openshift-ci-robot
Copy link
Contributor

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

@vishnuchalla
Copy link
Contributor Author

/pj-rehearse pull-ci-cloud-bulldozer-e2e-benchmarking-master_metal-e2e-rds-core-mno

@openshift-ci-robot
Copy link
Contributor

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

@vishnuchalla
Copy link
Contributor Author

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@vishnuchalla: 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 Mar 18, 2025
@@ -62,6 +66,7 @@ EOF

sleep 60
kubectl wait --for jsonpath='{.status.updatedMachineCount}'="$(oc get node --no-headers -l node-role.kubernetes.io/worker= | wc -l)" --timeout=30m mcp worker
oc adm wait-for-stable-cluster --minimum-stable-period=2m --timeout=20m
Copy link
Contributor

Choose a reason for hiding this comment

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

@josecastillolema
Copy link
Contributor

# oc get node
NAME                 STATUS   ROLES                                          AGE   VERSION
y37-h17-000-r740xd   Ready    control-plane,master                           18h   v1.31.6
y37-h19-000-r740xd   Ready    control-plane,master                           18h   v1.31.6
y37-h21-000-r740xd   Ready    control-plane,master                           17h   v1.31.6
y37-h23-000-r740xd   Ready    worker,worker-dpdk,worker-metallb,worker-spk   17h   v1.31.6
y37-h25-000-r740xd   Ready    worker                                         17h   v1.31.6

Minor nit, the worker-spk label is not needed here.

@vishnuchalla
Copy link
Contributor Author

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

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

@openshift-ci-robot openshift-ci-robot removed the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Mar 19, 2025
@@ -9,13 +9,17 @@ if [ ${BAREMETAL} == "true" ]; then
SSH_ARGS="-i /bm/jh_priv_ssh_key -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null"
bastion="$(cat /bm/address)"
# Copy over the kubeconfig
ssh ${SSH_ARGS} root@$bastion "cat ${KUBECONFIG_PATH}" > /tmp/kubeconfig
if [ ! -f "${SHARED_DIR}/kubeconfig" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

@vishnuchalla are you confident that this change won't impact the daily jobs that consume the label step?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes we are sure on this. Check bm-deploy step, which copies kubeconfig to shared directory at the end.

@@ -60,7 +64,7 @@ spec:
userLevelNetworking: false
EOF

sleep 60
oc adm wait-for-stable-cluster --minimum-stable-period=2m --timeout=20m
kubectl wait --for jsonpath='{.status.updatedMachineCount}'="$(oc get node --no-headers -l node-role.kubernetes.io/worker= | wc -l)" --timeout=30m mcp worker
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the wait for machineset should go before the wait for cluster operators health.
Also, please just for consistency parametrize the same variables as in: https://github.com/openshift/release/blob/master/ci-operator/step-registry/openshift-qe/cluster-health/openshift-qe-cluster-health-ref.yaml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cluster health doesn't have anything to do with machineset wait right. Do you really think the order matters? I did n't parameterize the health check times as they are used in this single step as an adhoc thing and did not see a value in doing so.

Copy link
Contributor

Choose a reason for hiding this comment

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

The machineset wait will always finish before the CO check, I just think the order doesn't make sense.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay. Updated as suggested.

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@vishnuchalla: 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-cloud-bulldozer-e2e-benchmarking-master-e2e-udn-density-pods-l2-single-node cloud-bulldozer/e2e-benchmarking presubmit Presubmit changed
pull-ci-cloud-bulldozer-e2e-benchmarking-master-e2e-udn-density-pods-l3-single-node cloud-bulldozer/e2e-benchmarking presubmit Presubmit changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.17-latest-x86-data-path-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.17-latest-x86-web-burner-node-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.17-latest-x86-web-burner-cluster-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.16-latest-x86-data-path-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.16-latest-x86-web-burner-node-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.16-latest-x86-web-burner-cluster-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.15-latest-x86-data-path-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.15-latest-x86-web-burner-node-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.15-latest-x86-web-burner-cluster-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-x86-data-path-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-x86-web-burner-node-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-x86-web-burner-cluster-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-x86-day2-label-infra openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-x86-day2-label-webburner openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-dev-latest-x86-data-path-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-dev-latest-x86-data-path-cnv-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-dev-latest-x86-web-burner-node-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-dev-latest-x86-web-burner-cluster-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.14-latest-x86-data-path-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.14-latest-x86-web-burner-node-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.14-latest-x86-web-burner-cluster-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.18-latest-x86-data-path-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed
pull-ci-openshift-eng-ocp-qe-perfscale-ci-main-metal-4.18-latest-x86-web-burner-node-density-6nodes openshift-eng/ocp-qe-perfscale-ci presubmit Registry content changed

A total of 34 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
The following jobs are not rehearsable without the network-access-rehearsals-ok, and approved labels present on this PR. This is due to the restrict_network_access field being set to false. The network-access-rehearsals-ok label can be added by any openshift org member other than the PR's author by commenting: /pj-rehearse network-access-allowed:

Test name
pull-ci-cloud-bulldozer-e2e-benchmarking-master-e2e-rds-core-mno
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 list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

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.

@josecastillolema
Copy link
Contributor

/approve

@josecastillolema
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 23, 2025
Copy link
Contributor

openshift-ci bot commented Mar 23, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: josecastillolema, vishnuchalla

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 Mar 23, 2025
@vishnuchalla
Copy link
Contributor Author

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@vishnuchalla: 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 Mar 23, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 9c8de5f into openshift:master Mar 23, 2025
17 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. rehearsals-ack Signifies that rehearsal jobs have been acknowledged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants