From 2daf90bf9e3d4a3b8760bff5d260c6680c164dcd Mon Sep 17 00:00:00 2001 From: Prachiti Talgulkar Date: Fri, 5 Sep 2025 12:26:12 +0530 Subject: [PATCH] to get bm cluster --- ...s-private-release-4.19__amd64-nightly.yaml | 12 +++ ...-tests-private-release-4.19-periodics.yaml | 83 +++++++++++++++++++ ...ift-extended-test-longduration-commands.sh | 9 ++ .../test/openshift-extended-test-commands.sh | 10 +++ 4 files changed, 114 insertions(+) diff --git a/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml b/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml index 8e6d38415deb0..e612b849cc042 100644 --- a/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml +++ b/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml @@ -2423,6 +2423,18 @@ tests: test: - chain: openshift-e2e-test-qe workflow: baremetal-lab-upi +- as: baremetalds-ipi-ovn-f7-longrun-tp-mco-abc + cluster: build05 + cron: 21 4 1,10,17,24 * * + steps: + cluster_profile: equinix-ocp-metal-qe + env: + TEST_FILTERS: ~ChkUpgrade&;~DisconnectedOnly&;~MicroShiftOnly&;P1& + TEST_SCENARIOS: MCO + TEST_TIMEOUT: "140" + test: + - chain: openshift-e2e-test-mco-qe-longrun + workflow: cucushift-installer-rehearse-baremetalds-ipi-ovn - as: baremetalds-ipi-ovn-dualstack-primaryv6-f28-destructive cluster: build05 cron: 24 17 6 * * diff --git a/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19-periodics.yaml b/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19-periodics.yaml index 0efda16f53db2..3ecc281201237 100644 --- a/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19-periodics.yaml +++ b/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19-periodics.yaml @@ -30217,6 +30217,89 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build05 + cron: 21 4 1,10,17,24 * * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.19 + org: openshift + repo: openshift-tests-private + labels: + ci-operator.openshift.io/cloud: equinix-ocp-metal + ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal-qe + ci-operator.openshift.io/cluster: build05 + ci-operator.openshift.io/variant: amd64-nightly + ci.openshift.io/generator: prowgen + job-release: "4.19" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-baremetalds-ipi-ovn-f7-longrun-tp-mco-abc + 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 + - --oauth-token-path=/usr/local/github-credentials/oauth + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=baremetalds-ipi-ovn-f7-longrun-tp-mco-abc + - --variant=amd64-nightly + 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: /usr/local/github-credentials + name: github-credentials-openshift-ci-robot-private-git-cloner + 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: github-credentials-openshift-ci-robot-private-git-cloner + secret: + secretName: github-credentials-openshift-ci-robot-private-git-cloner + - 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: build05 cron: 33 8 7,23 * * 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 373680243599e..751c04968acb1 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 ba79b6432d346..c65564b2132aa 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 @@ -160,6 +160,16 @@ then 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