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

telcov10n: hcp: add tier2 tests and adjust timeout and cron #60827

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rshemtov13
Copy link
Contributor

This PR will fix the NODEPOOL_NAME after #60670 has been merged for running the test cases. Here we're adjusting the hcp-cnf jobs cron jobs and putting the maximum timeout which is 8 hours per job, so we will be able to execute also the additional test cases

@openshift-ci openshift-ci bot requested review from cplacani and shaior January 21, 2025 12:28
@@ -9,7 +9,7 @@ echo "************ telco5g cnf-tests commands ************"

# Environment Variables required for running the test
export KUBECONFIG="${SHARED_DIR}"/mgmt-kubeconfig
NODEPOOL_NAME=$(oc get np -n clusters -o name | cut -d "/" -f 2)
NODEPOOL_NAME=$(oc get np -n clusters -o name | cut -d "/" -f 2 | sed 's/-secondary$//' | sort | uniq | head -n 1)
Copy link
Contributor

Choose a reason for hiding this comment

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

it's better to use jq for such a kind of requests, not multiple piped bash - both for clarity and stability and readability

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 np, I addressed it

This PR will fix the NODEPOOL_NAME after openshift#60670 has been merged for running the test cases.
Here we're adjusting the hcp-cnf jobs cron jobs and putting the maximum timeout which is 8 hours per job, so we will be able to execute also the additional test cases

Signed-off-by: Roy Shemtov <[email protected]>
@rshemtov13 rshemtov13 force-pushed the telcov10n-hcp-cnf-adjust-tests branch from e3adf88 to 4be50b8 Compare January 21, 2025 14:55
@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@rshemtov13: 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
periodic-ci-openshift-kni-eco-ci-cd-main-hcp-cnf-4.17-e2e-telcov10n-functional-hcp-cnf-stable N/A periodic Ci-operator config changed
periodic-ci-openshift-kni-eco-ci-cd-main-hcp-cnf-4.18-e2e-telcov10n-functional-hcp-cnf-candidate N/A periodic Ci-operator config changed
periodic-ci-openshift-kni-eco-ci-cd-main-hcp-cnf-4.18-e2e-telcov10n-functional-hcp-cnf-nightly N/A periodic Ci-operator config changed
periodic-ci-openshift-kni-eco-ci-cd-main-hcp-cnf-4.19-e2e-telcov10n-functional-hcp-cnf-nightly N/A periodic Ci-operator config changed
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
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.

Copy link
Contributor

openshift-ci bot commented Jan 21, 2025

@rshemtov13: 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.

@shaior
Copy link
Contributor

shaior commented Jan 22, 2025

/lgtm

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

openshift-ci bot commented Jan 22, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rshemtov13, shaior

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 Jan 22, 2025
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants