From b93002235cae1538a8938f9cade51ec7a8b146d0 Mon Sep 17 00:00:00 2001 From: Vishnu Challa Date: Thu, 27 Feb 2025 21:26:19 -0500 Subject: [PATCH 1/2] Adding egressip to e2e-ci Signed-off-by: Vishnu Challa --- ...oud-bulldozer-e2e-benchmarking-master.yaml | 23 ++++++ ...er-e2e-benchmarking-master-presubmits.yaml | 75 +++++++++++++++++++ .../step-registry/cloud-bulldozer/OWNERS | 6 -- ...rking-cluster-density-v2-ref.metadata.json | 6 -- ...benchmarking-conc-builds-ref.metadata.json | 6 -- .../e2e-benchmarking/egressip/OWNERS | 1 + ...ozer-e2e-benchmarking-egressip-commands.sh | 25 +++++++ ...2e-benchmarking-egressip-ref.metadata.json | 27 +++++++ ...lldozer-e2e-benchmarking-egressip-ref.yaml | 15 ++++ ...enchmarking-ingress-perf-ref.metadata.json | 6 -- ...chmarking-network-policy-ref.metadata.json | 6 -- ...nchmarking-network-smoke-ref.metadata.json | 6 -- ...marking-node-density-cni-ref.metadata.json | 6 -- ...rking-node-density-heavy-ref.metadata.json | 6 -- ...enchmarking-node-density-ref.metadata.json | 6 -- ...benchmarking-router-perf-ref.metadata.json | 6 -- ...marking-udn-density-pods-ref.metadata.json | 6 -- 17 files changed, 166 insertions(+), 66 deletions(-) create mode 120000 ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/OWNERS create mode 100644 ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-commands.sh create mode 100644 ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.metadata.json create mode 100644 ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.yaml diff --git a/ci-operator/config/cloud-bulldozer/e2e-benchmarking/cloud-bulldozer-e2e-benchmarking-master.yaml b/ci-operator/config/cloud-bulldozer/e2e-benchmarking/cloud-bulldozer-e2e-benchmarking-master.yaml index 8b9ff285e6f30..3e5e0920dd1b6 100644 --- a/ci-operator/config/cloud-bulldozer/e2e-benchmarking/cloud-bulldozer-e2e-benchmarking-master.yaml +++ b/ci-operator/config/cloud-bulldozer/e2e-benchmarking/cloud-bulldozer-e2e-benchmarking-master.yaml @@ -288,6 +288,29 @@ tests: test: - ref: cloud-bulldozer-e2e-benchmarking-udn-density-pods workflow: openshift-qe-installer-aws +- always_run: false + as: e2e-egressip-single-node + steps: + allow_skip_on_success: true + cluster_profile: aws-perfscale + dependencies: + OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:arm64-latest + env: + BASE_DOMAIN: perfscale.devcluster.openshift.com + COMPUTE_NODE_REPLICAS: "1" + COMPUTE_NODE_TYPE: m6g.xlarge + CONTROL_PLANE_INSTANCE_TYPE: m6g.xlarge + IF_INSTALL_INFRA_WORKLOAD: "false" + IF_MOVE_INGRESS: "false" + IF_MOVE_MONITORING: "false" + IF_MOVE_REGISTRY: "false" + OCP_ARCH: arm64 + SPOT_INSTANCES: "true" + USER_TAGS: | + TicketId 382 + test: + - ref: cloud-bulldozer-e2e-benchmarking-egressip + workflow: openshift-qe-installer-aws zz_generated_metadata: branch: master org: cloud-bulldozer diff --git a/ci-operator/jobs/cloud-bulldozer/e2e-benchmarking/cloud-bulldozer-e2e-benchmarking-master-presubmits.yaml b/ci-operator/jobs/cloud-bulldozer/e2e-benchmarking/cloud-bulldozer-e2e-benchmarking-master-presubmits.yaml index 04a4e0633cf06..e7a2740487dfb 100644 --- a/ci-operator/jobs/cloud-bulldozer/e2e-benchmarking/cloud-bulldozer-e2e-benchmarking-master-presubmits.yaml +++ b/ci-operator/jobs/cloud-bulldozer/e2e-benchmarking/cloud-bulldozer-e2e-benchmarking-master-presubmits.yaml @@ -150,6 +150,81 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )(e2e-conc-builds-single-node|remaining-required),?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^master$ + - ^master- + cluster: build11 + context: ci/prow/e2e-egressip-single-node + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws-perfscale + ci.openshift.io/generator: prowgen + job-release: "4.18" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-cloud-bulldozer-e2e-benchmarking-master-e2e-egressip-single-node + rerun_command: /test e2e-egressip-single-node + 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=e2e-egressip-single-node + 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 + trigger: (?m)^/test( | .* )(e2e-egressip-single-node|remaining-required),?($|\s.*) - agent: kubernetes always_run: false branches: diff --git a/ci-operator/step-registry/cloud-bulldozer/OWNERS b/ci-operator/step-registry/cloud-bulldozer/OWNERS index 9884bf051bdba..d65f26cc20979 100644 --- a/ci-operator/step-registry/cloud-bulldozer/OWNERS +++ b/ci-operator/step-registry/cloud-bulldozer/OWNERS @@ -1,26 +1,20 @@ approvers: - jtaleric - rsevilla87 -- dry923 - venkataanil - afcollins -- krishvoor - mukrishn - mohit-sheth - morenod - chentex -- mrbojangles3 - vishnuchalla reviewers: - jtaleric - rsevilla87 -- dry923 - venkataanil - afcollins -- krishvoor - mukrishn - mohit-sheth - morenod - chentex -- mrbojangles3 - vishnuchalla \ No newline at end of file diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/cluster-density-v2/cloud-bulldozer-e2e-benchmarking-cluster-density-v2-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/cluster-density-v2/cloud-bulldozer-e2e-benchmarking-cluster-density-v2-ref.metadata.json index 99a1913c129fc..48c18f5f1ce88 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/cluster-density-v2/cloud-bulldozer-e2e-benchmarking-cluster-density-v2-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/cluster-density-v2/cloud-bulldozer-e2e-benchmarking-cluster-density-v2-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/conc-builds/cloud-bulldozer-e2e-benchmarking-conc-builds-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/conc-builds/cloud-bulldozer-e2e-benchmarking-conc-builds-ref.metadata.json index 989218c8b22db..599856612dda8 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/conc-builds/cloud-bulldozer-e2e-benchmarking-conc-builds-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/conc-builds/cloud-bulldozer-e2e-benchmarking-conc-builds-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/OWNERS b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/OWNERS new file mode 120000 index 0000000000000..ec405d65a79df --- /dev/null +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/OWNERS @@ -0,0 +1 @@ +../OWNERS \ No newline at end of file diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-commands.sh b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-commands.sh new file mode 100644 index 0000000000000..2c62984e4d599 --- /dev/null +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-commands.sh @@ -0,0 +1,25 @@ +#!/bin/bash +set -o errexit +set -o nounset +set -o pipefail +set -x +cat /etc/os-release +oc config view +oc projects +pushd /tmp + + +git clone https://github.com/vishnuchalla/e2e-benchmarking --branch v0.0.1 --depth 1 +pushd e2e-benchmarking +pushd workloads/kube-burner-ocp-wrapper +AWSCRED="${CLUSTER_PROFILE_DIR}/.awscred" +if [[ -f "${AWSCRED}" ]]; then + export AWS_SHARED_CREDENTIALS_FILE="${AWSCRED}" + export AWS_DEFAULT_REGION="${LEASED_RESOURCE}" +else + echo "Did not find compatible cloud provider cluster_profile" + exit 1 +fi +export WORKLOAD=egressip +current_worker_count=$(oc get nodes --no-headers -l node-role.kubernetes.io/worker=,node-role.kubernetes.io/infra!=,node-role.kubernetes.io/workload!= --output jsonpath="{.items[?(@.status.conditions[-1].type=='Ready')].status.conditions[-1].type}" | wc -w | xargs) +ES_SERVER="" ITERATIONS=${current_worker_count} CHURN=false ./run.sh diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.metadata.json new file mode 100644 index 0000000000000..393f685302b4f --- /dev/null +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.metadata.json @@ -0,0 +1,27 @@ +{ + "path": "cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.yaml", + "owners": { + "approvers": [ + "jtaleric", + "rsevilla87", + "venkataanil", + "afcollins", + "mukrishn", + "mohit-sheth", + "morenod", + "chentex", + "vishnuchalla" + ], + "reviewers": [ + "jtaleric", + "rsevilla87", + "venkataanil", + "afcollins", + "mukrishn", + "mohit-sheth", + "morenod", + "chentex", + "vishnuchalla" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.yaml b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.yaml new file mode 100644 index 0000000000000..f52af87c0bae8 --- /dev/null +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-ref.yaml @@ -0,0 +1,15 @@ +ref: + as: cloud-bulldozer-e2e-benchmarking-egressip + from_image: + namespace: e2e + name: e2e-benchmarking + tag: latest + cli: latest + commands: cloud-bulldozer-e2e-benchmarking-egressip-commands.sh + timeout: 6h + resources: + requests: + cpu: 100m + memory: 100Mi + documentation: >- + This step runs the perfscale configmap-scale workload in the deployed cluster \ No newline at end of file diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/ingress-perf/cloud-bulldozer-e2e-benchmarking-ingress-perf-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/ingress-perf/cloud-bulldozer-e2e-benchmarking-ingress-perf-ref.metadata.json index edb769c757b5b..af5b9a60dc14f 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/ingress-perf/cloud-bulldozer-e2e-benchmarking-ingress-perf-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/ingress-perf/cloud-bulldozer-e2e-benchmarking-ingress-perf-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/network-policy/cloud-bulldozer-e2e-benchmarking-network-policy-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/network-policy/cloud-bulldozer-e2e-benchmarking-network-policy-ref.metadata.json index 468d664ad5907..ba0a5438ad73c 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/network-policy/cloud-bulldozer-e2e-benchmarking-network-policy-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/network-policy/cloud-bulldozer-e2e-benchmarking-network-policy-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/network-smoke/cloud-bulldozer-e2e-benchmarking-network-smoke-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/network-smoke/cloud-bulldozer-e2e-benchmarking-network-smoke-ref.metadata.json index e256a95547d06..82a9545a75aba 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/network-smoke/cloud-bulldozer-e2e-benchmarking-network-smoke-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/network-smoke/cloud-bulldozer-e2e-benchmarking-network-smoke-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density-cni/cloud-bulldozer-e2e-benchmarking-node-density-cni-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density-cni/cloud-bulldozer-e2e-benchmarking-node-density-cni-ref.metadata.json index 1dfb6f3614a76..ec2a9716b3b83 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density-cni/cloud-bulldozer-e2e-benchmarking-node-density-cni-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density-cni/cloud-bulldozer-e2e-benchmarking-node-density-cni-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density-heavy/cloud-bulldozer-e2e-benchmarking-node-density-heavy-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density-heavy/cloud-bulldozer-e2e-benchmarking-node-density-heavy-ref.metadata.json index 4cc5651bf2acf..e88546c635792 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density-heavy/cloud-bulldozer-e2e-benchmarking-node-density-heavy-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density-heavy/cloud-bulldozer-e2e-benchmarking-node-density-heavy-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density/cloud-bulldozer-e2e-benchmarking-node-density-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density/cloud-bulldozer-e2e-benchmarking-node-density-ref.metadata.json index f78539ee5b886..8269a4bb5bcbf 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density/cloud-bulldozer-e2e-benchmarking-node-density-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/node-density/cloud-bulldozer-e2e-benchmarking-node-density-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/router-perf/cloud-bulldozer-e2e-benchmarking-router-perf-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/router-perf/cloud-bulldozer-e2e-benchmarking-router-perf-ref.metadata.json index 823761a139274..e5cef422101fc 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/router-perf/cloud-bulldozer-e2e-benchmarking-router-perf-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/router-perf/cloud-bulldozer-e2e-benchmarking-router-perf-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/udn-density-pods/cloud-bulldozer-e2e-benchmarking-udn-density-pods-ref.metadata.json b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/udn-density-pods/cloud-bulldozer-e2e-benchmarking-udn-density-pods-ref.metadata.json index 9f5d4b5dbcb15..66ed37ebe3f07 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/udn-density-pods/cloud-bulldozer-e2e-benchmarking-udn-density-pods-ref.metadata.json +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/udn-density-pods/cloud-bulldozer-e2e-benchmarking-udn-density-pods-ref.metadata.json @@ -4,29 +4,23 @@ "approvers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ], "reviewers": [ "jtaleric", "rsevilla87", - "dry923", "venkataanil", "afcollins", - "krishvoor", "mukrishn", "mohit-sheth", "morenod", "chentex", - "mrbojangles3", "vishnuchalla" ] } From 6119e7090bfec175ddca49ba5e49176a0b36aae5 Mon Sep 17 00:00:00 2001 From: Vishnu Challa Date: Mon, 3 Mar 2025 18:40:58 -0500 Subject: [PATCH 2/2] Setting pprof to false Signed-off-by: Vishnu Challa --- ...ozer-e2e-benchmarking-egressip-commands.sh | 33 +++++++++++-------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-commands.sh b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-commands.sh index 2c62984e4d599..ebcb0eb6cfbc1 100644 --- a/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-commands.sh +++ b/ci-operator/step-registry/cloud-bulldozer/e2e-benchmarking/egressip/cloud-bulldozer-e2e-benchmarking-egressip-commands.sh @@ -8,18 +8,25 @@ oc config view oc projects pushd /tmp - -git clone https://github.com/vishnuchalla/e2e-benchmarking --branch v0.0.1 --depth 1 -pushd e2e-benchmarking -pushd workloads/kube-burner-ocp-wrapper -AWSCRED="${CLUSTER_PROFILE_DIR}/.awscred" -if [[ -f "${AWSCRED}" ]]; then - export AWS_SHARED_CREDENTIALS_FILE="${AWSCRED}" - export AWS_DEFAULT_REGION="${LEASED_RESOURCE}" +if [[ "$JOB_TYPE" == "presubmit" ]] && [[ "$REPO_OWNER" = "cloud-bulldozer" ]] && [[ "$REPO_NAME" = "e2e-benchmarking" ]]; then + git clone https://github.com/${REPO_OWNER}/${REPO_NAME} + pushd ${REPO_NAME} + git config --global user.email "ocp-perfscale@redhat.com" + git config --global user.name "ocp-perfscale" + git pull origin pull/${PULL_NUMBER}/head:${PULL_NUMBER} --rebase + git switch ${PULL_NUMBER} + pushd workloads/kube-burner-ocp-wrapper + AWSCRED="${CLUSTER_PROFILE_DIR}/.awscred" + if [[ -f "${AWSCRED}" ]]; then + export AWS_SHARED_CREDENTIALS_FILE="${AWSCRED}" + export AWS_DEFAULT_REGION="${LEASED_RESOURCE}" + else + echo "Did not find compatible cloud provider cluster_profile" + exit 1 + fi + export WORKLOAD=egressip + current_worker_count=$(oc get nodes --no-headers -l node-role.kubernetes.io/worker=,node-role.kubernetes.io/infra!=,node-role.kubernetes.io/workload!= --output jsonpath="{.items[?(@.status.conditions[-1].type=='Ready')].status.conditions[-1].type}" | wc -w | xargs) + ES_SERVER="" PPROF=false ITERATIONS=${current_worker_count} CHURN=false ./run.sh else - echo "Did not find compatible cloud provider cluster_profile" - exit 1 + echo "We are sorry, this job is only meant for cloud-bulldozer/e2e-benchmarking repo PR testing" fi -export WORKLOAD=egressip -current_worker_count=$(oc get nodes --no-headers -l node-role.kubernetes.io/worker=,node-role.kubernetes.io/infra!=,node-role.kubernetes.io/workload!= --output jsonpath="{.items[?(@.status.conditions[-1].type=='Ready')].status.conditions[-1].type}" | wc -w | xargs) -ES_SERVER="" ITERATIONS=${current_worker_count} CHURN=false ./run.sh