From 64a8a9e92a9e7b4966302023f1656e2a5f631a4f Mon Sep 17 00:00:00 2001 From: Prachiti Talgulkar Date: Mon, 19 May 2025 11:41:07 +0530 Subject: [PATCH 1/2] to get the cluster --- ...verification-tests-main__installer-rehearse-4.15.yaml | 5 +++++ .../openshift-extended-test-longduration-commands.sh | 9 +++++++++ .../test/openshift-extended-test-commands.sh | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.15.yaml b/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.15.yaml index b7e262e2be667..6e836923b2aec 100644 --- a/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.15.yaml +++ b/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.15.yaml @@ -86,6 +86,11 @@ tests: env: FEATURE_SET: TechPreviewNoUpgrade workflow: cucushift-installer-rehearse-gcp-ipi-user-labels-tags-filestore-csi +- as: installer-rehearse-vsphere + cron: '@yearly' + steps: + cluster_profile: vsphere-connected-2 + workflow: cucushift-installer-rehearse-vsphere-ipi-customized-resource zz_generated_metadata: branch: main org: openshift diff --git a/ci-operator/step-registry/openshift-extended/test/longduration/openshift-extended-test-longduration-commands.sh b/ci-operator/step-registry/openshift-extended/test/longduration/openshift-extended-test-longduration-commands.sh index d4702d7ca1cf1..1e7f02034190c 100755 --- a/ci-operator/step-registry/openshift-extended/test/longduration/openshift-extended-test-longduration-commands.sh +++ b/ci-operator/step-registry/openshift-extended/test/longduration/openshift-extended-test-longduration-commands.sh @@ -4,6 +4,15 @@ set -o nounset set -o errexit set -o pipefail +export PATH=/tmp/:$PATH +which extended-platform-tests + +echo "WAITING FOR DEBUG..." +while [ ! -f "/tmp/continue" ] +do + sleep 10 +done + function warn_0_case_executed { local count count="$(ls ${ARTIFACT_DIR} | wc -l)" diff --git a/ci-operator/step-registry/openshift-extended/test/openshift-extended-test-commands.sh b/ci-operator/step-registry/openshift-extended/test/openshift-extended-test-commands.sh index d482788325da8..85b529009edd3 100755 --- a/ci-operator/step-registry/openshift-extended/test/openshift-extended-test-commands.sh +++ b/ci-operator/step-registry/openshift-extended/test/openshift-extended-test-commands.sh @@ -159,7 +159,14 @@ then CLUSTER_ID=$(cat "${SHARED_DIR}/cluster-id") || true export CLUSTER_ID fi +export PATH=/tmp/:$PATH +which extended-platform-tests +echo "WAITING FOR DEBUG..." +while [ ! -f "/tmp/continue" ] +do + sleep 10 +done # configure environment for different cluster echo "CLUSTER_TYPE is ${CLUSTER_TYPE}" case "${CLUSTER_TYPE}" in From 597115c9bad554671914ecf6712e57970c59d8ba Mon Sep 17 00:00:00 2001 From: Prachiti Talgulkar Date: Fri, 25 Jul 2025 14:02:06 +0530 Subject: [PATCH 2/2] vsphere --- ...n-tests-main__installer-rehearse-4.14.yaml | 4 + ...n-tests-main__installer-rehearse-4.15.yaml | 4 + ...ift-verification-tests-main-periodics.yaml | 75 +++++++++++++++++++ 3 files changed, 83 insertions(+) diff --git a/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.14.yaml b/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.14.yaml index 5026e19486d41..ca47f6d7de703 100644 --- a/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.14.yaml +++ b/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.14.yaml @@ -103,6 +103,10 @@ tests: cron: '@yearly' steps: cluster_profile: vsphere-connected-2 + env: + SLEEP_DURATION: 5h + test: + - ref: cucushift-installer-wait workflow: cucushift-installer-rehearse-vsphere-ipi-template zz_generated_metadata: branch: main diff --git a/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.15.yaml b/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.15.yaml index 6e836923b2aec..6fa30a28e325a 100644 --- a/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.15.yaml +++ b/ci-operator/config/openshift/verification-tests/openshift-verification-tests-main__installer-rehearse-4.15.yaml @@ -90,6 +90,10 @@ tests: cron: '@yearly' steps: cluster_profile: vsphere-connected-2 + env: + SLEEP_DURATION: 5h + test: + - ref: cucushift-installer-wait workflow: cucushift-installer-rehearse-vsphere-ipi-customized-resource zz_generated_metadata: branch: main diff --git a/ci-operator/jobs/openshift/verification-tests/openshift-verification-tests-main-periodics.yaml b/ci-operator/jobs/openshift/verification-tests/openshift-verification-tests-main-periodics.yaml index a5464826e29ef..de040edc3759c 100644 --- a/ci-operator/jobs/openshift/verification-tests/openshift-verification-tests-main-periodics.yaml +++ b/ci-operator/jobs/openshift/verification-tests/openshift-verification-tests-main-periodics.yaml @@ -34045,6 +34045,81 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: vsphere02 + cron: '@yearly' + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: main + org: openshift + repo: verification-tests + labels: + ci-operator.openshift.io/cloud: vsphere + ci-operator.openshift.io/cloud-cluster-profile: vsphere-connected-2 + ci-operator.openshift.io/variant: installer-rehearse-4.15 + ci.openshift.io/generator: prowgen + job-release: "4.15" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-verification-tests-main-installer-rehearse-4.15-installer-rehearse-vsphere + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=installer-rehearse-vsphere + - --variant=installer-rehearse-4.15 + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator - agent: kubernetes cluster: build01 cron: '@yearly'