diff --git a/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.14-nightly.yaml b/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.14-nightly.yaml index 0cf37cec76f1..89c292b4389f 100644 --- a/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.14-nightly.yaml +++ b/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.14-nightly.yaml @@ -41,8 +41,7 @@ tests: - chain: create-infra-move-ingress-monitoring-registry test: - chain: redhat-chaos-krkn-hub-tests - - chain: redhat-chaos-hog-scenarios -- as: krkn-hub-cloud-api-tests +- as: krkn-hub-node-tests cron: 0 4 2,16 * * steps: cluster_profile: aws-chaos @@ -54,7 +53,8 @@ tests: pre: - chain: ipi-aws-pre - chain: create-infra-move-ingress-monitoring-registry - workflow: redhat-chaos-krkn-hub-cloud-tests + workflow: redhat-chaos-krkn-hub-node-tests + timeout: 6h0m0s zz_generated_metadata: branch: main org: redhat-chaos diff --git a/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.15-nightly.yaml b/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.15-nightly.yaml index 31b11142f360..6eb983890673 100644 --- a/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.15-nightly.yaml +++ b/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.15-nightly.yaml @@ -52,15 +52,14 @@ tests: - chain: create-infra-move-ingress-monitoring-registry test: - chain: redhat-chaos-krkn-hub-tests - - chain: redhat-chaos-hog-scenarios timeout: 6h0m0s -- as: krkn-hub-tests-415-hog - cron: 0 1 8,24 * * +- as: krkn-hub-node-tests-415 + cron: 0 4 * * 1 steps: cluster_profile: aws-chaos env: BASE_DOMAIN: aws.rhperfscale.org - SPOT_INSTANCES: "true" + SPOT_INSTANCES: "false" TELEMETRY_GROUP: prow-ocp-4.15 observers: enable: @@ -70,8 +69,8 @@ tests: pre: - chain: ipi-aws-pre - chain: create-infra-move-ingress-monitoring-registry - test: - - chain: redhat-chaos-hog-scenarios + workflow: redhat-chaos-krkn-hub-node-tests + timeout: 6h0m0s - as: krkn-hub-tests-415-azure cron: 29 5 * * 2 steps: @@ -96,19 +95,6 @@ tests: - chain: redhat-chaos-hog-scenarios workflow: openshift-qe-installer-gcp timeout: 6h0m0s -- as: krkn-hub-cloud-api-tests - cron: 0 4 8,24 * * - steps: - cluster_profile: aws-chaos - env: - BASE_DOMAIN: aws.rhperfscale.org - SPOT_INSTANCES: "false" - post: - - chain: ipi-aws-post - pre: - - chain: ipi-aws-pre - - chain: create-infra-move-ingress-monitoring-registry - workflow: redhat-chaos-krkn-hub-cloud-tests zz_generated_metadata: branch: main org: redhat-chaos diff --git a/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.16-nightly.yaml b/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.16-nightly.yaml index 9b162f08253b..e2e6f06ba86f 100644 --- a/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.16-nightly.yaml +++ b/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.16-nightly.yaml @@ -52,9 +52,8 @@ tests: - chain: create-infra-move-ingress-monitoring-registry test: - chain: redhat-chaos-krkn-hub-tests - - chain: redhat-chaos-hog-scenarios timeout: 6h0m0s -- as: krkn-hub-cloud-api-tests +- as: krkn-hub-node-tests cron: 0 4 * * 1 steps: cluster_profile: aws-chaos @@ -66,21 +65,8 @@ tests: pre: - chain: ipi-aws-pre - chain: create-infra-move-ingress-monitoring-registry - workflow: redhat-chaos-krkn-hub-cloud-tests -- as: krkn-hub-zone-tests - cron: 0 4 * * 1 - steps: - cluster_profile: aws-chaos - env: - BASE_DOMAIN: aws.rhperfscale.org - SPOT_INSTANCES: "false" - post: - - chain: ipi-aws-post - pre: - - chain: ipi-aws-pre - - chain: create-infra-move-ingress-monitoring-registry - test: - - ref: redhat-chaos-zone-outage + workflow: redhat-chaos-krkn-hub-node-tests + timeout: 6h0m0s zz_generated_metadata: branch: main org: redhat-chaos diff --git a/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.17-nightly.yaml b/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.17-nightly.yaml index 9f326db32f99..e6400be0a45c 100644 --- a/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.17-nightly.yaml +++ b/ci-operator/config/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main__4.17-nightly.yaml @@ -34,7 +34,7 @@ resources: cpu: 100m memory: 200Mi tests: -- as: krkn-hub-tests-417 +- as: krkn-hub-tests cron: 0 4 * * 1 steps: cluster_profile: aws-chaos @@ -52,21 +52,25 @@ tests: - chain: create-infra-move-ingress-monitoring-registry test: - chain: redhat-chaos-krkn-hub-tests - - chain: redhat-chaos-hog-scenarios timeout: 6h0m0s -- as: krkn-hub-cloud-api-tests +- as: krkn-hub-node-tests cron: 0 4 * * 1 steps: cluster_profile: aws-chaos env: BASE_DOMAIN: aws.rhperfscale.org SPOT_INSTANCES: "false" + TELEMETRY_GROUP: prow-ocp-4.17 + observers: + enable: + - redhat-chaos-cerberus post: - chain: ipi-aws-post pre: - chain: ipi-aws-pre - chain: create-infra-move-ingress-monitoring-registry - workflow: redhat-chaos-krkn-hub-cloud-tests + workflow: redhat-chaos-krkn-hub-node-tests + timeout: 6h0m0s zz_generated_metadata: branch: main org: redhat-chaos diff --git a/ci-operator/jobs/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main-periodics.yaml b/ci-operator/jobs/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main-periodics.yaml index b50fb23ab3da..9453c1a0df89 100644 --- a/ci-operator/jobs/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main-periodics.yaml +++ b/ci-operator/jobs/redhat-chaos/prow-scripts/redhat-chaos-prow-scripts-main-periodics.yaml @@ -15,6 +15,17 @@ periodics: job-release: "4.14" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-4.14-nightly-arm-krkn-hub-tests-arm + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -82,6 +93,8 @@ periodics: cluster: build03 cron: 0 4 2,16 * * decorate: true + decoration_config: + timeout: 6h0m0s extra_refs: - base_ref: main org: redhat-chaos @@ -93,7 +106,18 @@ periodics: ci.openshift.io/generator: prowgen job-release: "4.14" pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-redhat-chaos-prow-scripts-main-4.14-nightly-krkn-hub-cloud-api-tests + name: periodic-ci-redhat-chaos-prow-scripts-main-4.14-nightly-krkn-hub-node-tests + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -102,8 +126,8 @@ periodics: - --lease-server-credentials-file=/etc/boskos/credentials - --report-credentials-file=/etc/report/credentials - --secret-dir=/secrets/ci-pull-credentials - - --secret-dir=/usr/local/krkn-hub-cloud-api-tests-cluster-profile - - --target=krkn-hub-cloud-api-tests + - --secret-dir=/usr/local/krkn-hub-node-tests-cluster-profile + - --target=krkn-hub-node-tests - --variant=4.14-nightly command: - ci-operator @@ -120,7 +144,7 @@ periodics: - mountPath: /secrets/ci-pull-credentials name: ci-pull-credentials readOnly: true - - mountPath: /usr/local/krkn-hub-cloud-api-tests-cluster-profile + - mountPath: /usr/local/krkn-hub-node-tests-cluster-profile name: cluster-profile - mountPath: /secrets/gcs name: gcs-credentials @@ -173,6 +197,17 @@ periodics: job-release: "4.14" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-4.14-nightly-krkn-hub-tests-414 + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -238,8 +273,10 @@ periodics: secretName: result-aggregator - agent: kubernetes cluster: build03 - cron: 0 4 8,24 * * + cron: 0 4 * * 1 decorate: true + decoration_config: + timeout: 6h0m0s extra_refs: - base_ref: main org: redhat-chaos @@ -251,7 +288,18 @@ periodics: ci.openshift.io/generator: prowgen job-release: "4.15" pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-redhat-chaos-prow-scripts-main-4.15-nightly-krkn-hub-cloud-api-tests + name: periodic-ci-redhat-chaos-prow-scripts-main-4.15-nightly-krkn-hub-node-tests-415 + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -260,8 +308,8 @@ periodics: - --lease-server-credentials-file=/etc/boskos/credentials - --report-credentials-file=/etc/report/credentials - --secret-dir=/secrets/ci-pull-credentials - - --secret-dir=/usr/local/krkn-hub-cloud-api-tests-cluster-profile - - --target=krkn-hub-cloud-api-tests + - --secret-dir=/usr/local/krkn-hub-node-tests-415-cluster-profile + - --target=krkn-hub-node-tests-415 - --variant=4.15-nightly command: - ci-operator @@ -278,7 +326,7 @@ periodics: - mountPath: /secrets/ci-pull-credentials name: ci-pull-credentials readOnly: true - - mountPath: /usr/local/krkn-hub-cloud-api-tests-cluster-profile + - mountPath: /usr/local/krkn-hub-node-tests-415-cluster-profile name: cluster-profile - mountPath: /secrets/gcs name: gcs-credentials @@ -333,6 +381,17 @@ periodics: job-release: "4.15" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-4.15-nightly-krkn-hub-tests-415 + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -414,6 +473,17 @@ periodics: job-release: "4.15" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-4.15-nightly-krkn-hub-tests-415-azure + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -569,89 +639,12 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator -- agent: kubernetes - cluster: build03 - cron: 0 1 8,24 * * - decorate: true - extra_refs: - - base_ref: main - org: redhat-chaos - repo: prow-scripts - labels: - ci-operator.openshift.io/cloud: aws - ci-operator.openshift.io/cloud-cluster-profile: aws-chaos - ci-operator.openshift.io/variant: 4.15-nightly - ci.openshift.io/generator: prowgen - job-release: "4.15" - pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-redhat-chaos-prow-scripts-main-4.15-nightly-krkn-hub-tests-415-hog - 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 - - --secret-dir=/usr/local/krkn-hub-tests-415-hog-cluster-profile - - --target=krkn-hub-tests-415-hog - - --variant=4.15-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: /usr/local/krkn-hub-tests-415-hog-cluster-profile - name: cluster-profile - - 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: cluster-profile - secret: - secretName: cluster-secrets-aws-chaos - - 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: build03 cron: 0 4 * * 1 decorate: true + decoration_config: + timeout: 6h0m0s extra_refs: - base_ref: main org: redhat-chaos @@ -663,7 +656,18 @@ periodics: ci.openshift.io/generator: prowgen job-release: "4.16" pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-redhat-chaos-prow-scripts-main-4.16-nightly-krkn-hub-cloud-api-tests + name: periodic-ci-redhat-chaos-prow-scripts-main-4.16-nightly-krkn-hub-node-tests + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -672,8 +676,8 @@ periodics: - --lease-server-credentials-file=/etc/boskos/credentials - --report-credentials-file=/etc/report/credentials - --secret-dir=/secrets/ci-pull-credentials - - --secret-dir=/usr/local/krkn-hub-cloud-api-tests-cluster-profile - - --target=krkn-hub-cloud-api-tests + - --secret-dir=/usr/local/krkn-hub-node-tests-cluster-profile + - --target=krkn-hub-node-tests - --variant=4.16-nightly command: - ci-operator @@ -690,7 +694,7 @@ periodics: - mountPath: /secrets/ci-pull-credentials name: ci-pull-credentials readOnly: true - - mountPath: /usr/local/krkn-hub-cloud-api-tests-cluster-profile + - mountPath: /usr/local/krkn-hub-node-tests-cluster-profile name: cluster-profile - mountPath: /secrets/gcs name: gcs-credentials @@ -819,85 +823,6 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator -- agent: kubernetes - cluster: build03 - cron: 0 4 * * 1 - decorate: true - extra_refs: - - base_ref: main - org: redhat-chaos - repo: prow-scripts - labels: - ci-operator.openshift.io/cloud: aws - ci-operator.openshift.io/cloud-cluster-profile: aws-chaos - ci-operator.openshift.io/variant: 4.16-nightly - ci.openshift.io/generator: prowgen - job-release: "4.16" - pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-redhat-chaos-prow-scripts-main-4.16-nightly-krkn-hub-zone-tests - 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 - - --secret-dir=/usr/local/krkn-hub-zone-tests-cluster-profile - - --target=krkn-hub-zone-tests - - --variant=4.16-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: /usr/local/krkn-hub-zone-tests-cluster-profile - name: cluster-profile - - 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: cluster-profile - secret: - secretName: cluster-secrets-aws-chaos - - 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: build03 cron: 0 12 * * 1 @@ -916,6 +841,17 @@ periodics: job-release: "4.16" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-4.16-nightly-upgrade-chaos-aws-loaded-upgrade-415to416 + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -997,6 +933,17 @@ periodics: job-release: "4.16" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-4.16-nightly-upgrade-chaos-gcp-loaded-upgrade-415to416 + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -1076,6 +1023,17 @@ periodics: job-release: "4.17" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-4.17-nightly-component-readiness-krkn-hub-component-readiness-417 + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -1143,6 +1101,8 @@ periodics: cluster: build03 cron: 0 4 * * 1 decorate: true + decoration_config: + timeout: 6h0m0s extra_refs: - base_ref: main org: redhat-chaos @@ -1154,7 +1114,18 @@ periodics: ci.openshift.io/generator: prowgen job-release: "4.17" pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-redhat-chaos-prow-scripts-main-4.17-nightly-krkn-hub-cloud-api-tests + name: periodic-ci-redhat-chaos-prow-scripts-main-4.17-nightly-krkn-hub-node-tests + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -1163,8 +1134,8 @@ periodics: - --lease-server-credentials-file=/etc/boskos/credentials - --report-credentials-file=/etc/report/credentials - --secret-dir=/secrets/ci-pull-credentials - - --secret-dir=/usr/local/krkn-hub-cloud-api-tests-cluster-profile - - --target=krkn-hub-cloud-api-tests + - --secret-dir=/usr/local/krkn-hub-node-tests-cluster-profile + - --target=krkn-hub-node-tests - --variant=4.17-nightly command: - ci-operator @@ -1181,7 +1152,7 @@ periodics: - mountPath: /secrets/ci-pull-credentials name: ci-pull-credentials readOnly: true - - mountPath: /usr/local/krkn-hub-cloud-api-tests-cluster-profile + - mountPath: /usr/local/krkn-hub-node-tests-cluster-profile name: cluster-profile - mountPath: /secrets/gcs name: gcs-credentials @@ -1235,7 +1206,18 @@ periodics: ci.openshift.io/generator: prowgen job-release: "4.17" pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-redhat-chaos-prow-scripts-main-4.17-nightly-krkn-hub-tests-417 + name: periodic-ci-redhat-chaos-prow-scripts-main-4.17-nightly-krkn-hub-tests + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -1244,8 +1226,8 @@ periodics: - --lease-server-credentials-file=/etc/boskos/credentials - --report-credentials-file=/etc/report/credentials - --secret-dir=/secrets/ci-pull-credentials - - --secret-dir=/usr/local/krkn-hub-tests-417-cluster-profile - - --target=krkn-hub-tests-417 + - --secret-dir=/usr/local/krkn-hub-tests-cluster-profile + - --target=krkn-hub-tests - --variant=4.17-nightly command: - ci-operator @@ -1262,7 +1244,7 @@ periodics: - mountPath: /secrets/ci-pull-credentials name: ci-pull-credentials readOnly: true - - mountPath: /usr/local/krkn-hub-tests-417-cluster-profile + - mountPath: /usr/local/krkn-hub-tests-cluster-profile name: cluster-profile - mountPath: /secrets/gcs name: gcs-credentials @@ -1317,6 +1299,17 @@ periodics: job-release: "4.14" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-rosa-4.14-nightly-ocp-qe-perfscale-ci-tests-rosa + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -1398,6 +1391,17 @@ periodics: job-release: "4.14" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-rosa-4.14-nightly-ocp-qe-perfscale-ci-tests-rosa-hog + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -1480,6 +1484,17 @@ periodics: job-release: "4.15" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-rosa-4.15-nightly-krkn-rosa-hcp-hog + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -1561,6 +1576,17 @@ periodics: job-release: "4.15" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-rosa-4.15-nightly-krkn-tests-rosa + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -1643,6 +1669,17 @@ periodics: job-release: "4.15" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-rosa-4.15-nightly-krkn-tests-rosa-hcp + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: @@ -1724,6 +1761,17 @@ periodics: job-release: "4.15" pj-rehearse.openshift.io/can-be-rehearsed: "true" name: periodic-ci-redhat-chaos-prow-scripts-main-rosa-4.15-nightly-krkn-tests-rosa-hog + reporter_config: + slack: + channel: '#chaos-ci-results' + job_states_to_report: + - success + - failure + - error + report_template: '{{if eq .Status.State "success"}} :white_check_mark: Job *{{.Spec.Job}}* + ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :white_check_mark: + {{else}} :warning: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View + logs> :warning: {{end}}' spec: containers: - args: diff --git a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/OWNERS similarity index 100% rename from ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/OWNERS rename to ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/OWNERS diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-chain.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-chain.metadata.json new file mode 100644 index 000000000000..e32bd64edebd --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-chain.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-chain.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-chain.yaml new file mode 100644 index 000000000000..f0b8f8f10fe1 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-chain.yaml @@ -0,0 +1,8 @@ + +chain: + as: redhat-chaos-krkn-hub-cluster-disruption + steps: + - ref: redhat-chaos-power-outage + - ref: redhat-chaos-zone-outage + documentation: |- + This workflow executes power outage/cluster shutdown to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-workflow.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-workflow.metadata.json new file mode 100644 index 000000000000..8ba9888e9f19 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-workflow.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-workflow.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-workflow.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-workflow.yaml new file mode 100644 index 000000000000..3aae42da5745 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-workflow.yaml @@ -0,0 +1,8 @@ + +workflow: + as: redhat-chaos-krkn-hub-cluster-disruption + steps: + test: + - chain: redhat-chaos-krkn-hub-cluster-disruption + documentation: |- + This workflow executes power outage/cluster shutdown under load to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/OWNERS new file mode 120000 index 000000000000..ec405d65a79d --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/OWNERS @@ -0,0 +1 @@ +../OWNERS \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-workflow.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-chain.metadata.json similarity index 69% rename from ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-workflow.metadata.json rename to ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-chain.metadata.json index 1d7e725c3c6d..9416ca84a13a 100644 --- a/ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-workflow.metadata.json +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-chain.metadata.json @@ -1,5 +1,5 @@ { - "path": "redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-workflow.yaml", + "path": "redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-chain.yaml", "owners": { "approvers": [ "chaitanyaenr", diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-chain.yaml new file mode 100644 index 000000000000..429a662a73d3 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-chain.yaml @@ -0,0 +1,7 @@ + +chain: + as: redhat-chaos-krkn-hub-console-tests + steps: + - ref: redhat-chaos-application-outages-console + documentation: |- + This workflow executes console chaos scenarios to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-workflow.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-workflow.metadata.json new file mode 100644 index 000000000000..9b565c99ffc7 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-workflow.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-workflow.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-workflow.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-workflow.yaml new file mode 100644 index 000000000000..7c847a1c7fa5 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-workflow.yaml @@ -0,0 +1,8 @@ + +workflow: + as: redhat-chaos-krkn-hub-console-tests + steps: + test: + - chain: redhat-chaos-krkn-hub-console-tests + documentation: |- + This workflow executes console chaos scenarios under load to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/OWNERS new file mode 120000 index 000000000000..ec405d65a79d --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/OWNERS @@ -0,0 +1 @@ +../OWNERS \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-chain.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-chain.metadata.json new file mode 100644 index 000000000000..8e6db10957fa --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-chain.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-chain.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-chain.yaml new file mode 100644 index 000000000000..7555a93b8a36 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-chain.yaml @@ -0,0 +1,9 @@ + +chain: + as: redhat-chaos-krkn-hub-control-plane-tests + steps: + - ref: redhat-chaos-node-disruptions-master-outage + - ref: redhat-chaos-network-chaos + - ref: redhat-chaos-pod-network-chaos + documentation: |- + This workflow executes control plane chaos scenarios to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-workflow.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-workflow.metadata.json new file mode 100644 index 000000000000..007723ab4b72 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-workflow.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-workflow.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-workflow.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-workflow.yaml new file mode 100644 index 000000000000..7930287b2e46 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-workflow.yaml @@ -0,0 +1,8 @@ + +workflow: + as: redhat-chaos-krkn-hub-control-plane-tests + steps: + test: + - chain: redhat-chaos-krkn-hub-control-plane-tests + documentation: |- + This workflow executes control plane chaos scenarios under load to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/OWNERS deleted file mode 100644 index e77027836588..000000000000 --- a/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/OWNERS +++ /dev/null @@ -1,10 +0,0 @@ -approvers: - - chaitanyaenr - - yogananth-subramanian - - paigerube14 - - tsebastiani -reviewers: - - mffiedler - - paigerube14 - - chaitanyaenr - - shahsahil264 diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/OWNERS new file mode 120000 index 000000000000..ec405d65a79d --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/OWNERS @@ -0,0 +1 @@ +../OWNERS \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/redhat-chaos-krkn-hub-etcd-tests-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/redhat-chaos-krkn-hub-etcd-tests-chain.yaml index f25f06a3a04a..d878a278c58e 100644 --- a/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/redhat-chaos-krkn-hub-etcd-tests-chain.yaml +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/redhat-chaos-krkn-hub-etcd-tests-chain.yaml @@ -1,18 +1,9 @@ chain: as: redhat-chaos-krkn-hub-etcd-tests - env: - - name: GC - default: "False" - - name: ITERATION_MULTIPLIER_ENV - default: "4" - - name: CHURN - default: "False" - - name: PROFILE_TYPE - default: "reporting" steps: - - ref: openshift-qe-cluster-density-v2 - ref: redhat-chaos-pod-scenarios-etcd-disruption - ref: redhat-chaos-container-scenarios-etcd-hangup + - ref: redhat-chaos-time-scenarios documentation: |- This workflow executes etcd chaos scenarios to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/OWNERS similarity index 100% rename from ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/OWNERS rename to ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/OWNERS diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-chain.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-chain.metadata.json similarity index 70% rename from ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-chain.metadata.json rename to ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-chain.metadata.json index 4c428edb638e..8a2b2354e85f 100644 --- a/ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-chain.metadata.json +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-chain.metadata.json @@ -1,5 +1,5 @@ { - "path": "redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-chain.yaml", + "path": "redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-chain.yaml", "owners": { "approvers": [ "chaitanyaenr", diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-chain.yaml similarity index 64% rename from ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-chain.yaml rename to ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-chain.yaml index 2d6010690f8d..e814cabcb664 100644 --- a/ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-chain.yaml +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-chain.yaml @@ -1,6 +1,6 @@ chain: - as: redhat-chaos-krkn-hub-cloud-tests + as: redhat-chaos-krkn-hub-node-tests env: - name: GC default: "False" @@ -12,7 +12,8 @@ chain: default: "reporting" steps: - ref: openshift-qe-cluster-density-v2 - - ref: redhat-chaos-power-outage - - ref: redhat-chaos-node-disruptions-master-outage + - chain: redhat-chaos-krkn-hub-cluster-disruption + - chain: redhat-chaos-krkn-hub-control-plane-tests + - chain: redhat-chaos-krkn-hub-worker-node-tests documentation: |- This workflow executes chaos scenarios to ensure OpenShift is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-ref.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-workflow.metadata.json similarity index 70% rename from ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-ref.metadata.json rename to ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-workflow.metadata.json index 418b18bfc79f..4df709067716 100644 --- a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-ref.metadata.json +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-workflow.metadata.json @@ -1,5 +1,5 @@ { - "path": "redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-ref.yaml", + "path": "redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-workflow.yaml", "owners": { "approvers": [ "chaitanyaenr", diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-workflow.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-workflow.yaml similarity index 63% rename from ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-workflow.yaml rename to ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-workflow.yaml index 98285226f7c3..1813d485e21f 100644 --- a/ci-operator/step-registry/redhat-chaos/krkn-hub-cloud-tests/redhat-chaos-krkn-hub-cloud-tests-workflow.yaml +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-workflow.yaml @@ -1,8 +1,8 @@ workflow: - as: redhat-chaos-krkn-hub-cloud-tests + as: redhat-chaos-krkn-hub-node-tests steps: test: - - chain: redhat-chaos-krkn-hub-cloud-tests + - chain: redhat-chaos-krkn-hub-node-tests documentation: |- This workflow executes chaos scenarios under load to ensure OpenShift is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/OWNERS new file mode 120000 index 000000000000..ec405d65a79d --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/OWNERS @@ -0,0 +1 @@ +../OWNERS \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-workflow.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-chain.metadata.json similarity index 68% rename from ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-workflow.metadata.json rename to ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-chain.metadata.json index 54981207c661..d7fd904d1a88 100644 --- a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-workflow.metadata.json +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-chain.metadata.json @@ -1,5 +1,5 @@ { - "path": "redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-workflow.yaml", + "path": "redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-chain.yaml", "owners": { "approvers": [ "chaitanyaenr", diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-chain.yaml new file mode 100644 index 000000000000..59a3276c4bce --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-chain.yaml @@ -0,0 +1,7 @@ + +chain: + as: redhat-chaos-krkn-hub-ovn-disruption + steps: + - ref: redhat-chaos-pod-scenarios-ovn-disruption + documentation: |- + This workflow executes ovn chaos scenarios to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-workflow.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-workflow.metadata.json new file mode 100644 index 000000000000..dc87156c7d1b --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-workflow.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-workflow.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-workflow.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-workflow.yaml new file mode 100644 index 000000000000..e8565e97abe3 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-workflow.yaml @@ -0,0 +1,8 @@ + +workflow: + as: redhat-chaos-krkn-hub-ovn-disruption + steps: + test: + - chain: redhat-chaos-krkn-hub-ovn-disruption + documentation: |- + This workflow executes ovn chaos scenarios under load to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/OWNERS new file mode 120000 index 000000000000..ec405d65a79d --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/OWNERS @@ -0,0 +1 @@ +../OWNERS \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-chain.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-chain.metadata.json new file mode 100644 index 000000000000..82408a8041c6 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-chain.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-chain.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-chain.yaml new file mode 100644 index 000000000000..9754ffde62d8 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-chain.yaml @@ -0,0 +1,8 @@ + +chain: + as: redhat-chaos-krkn-hub-prometheus-tests + steps: + - chain: redhat-chaos-pvc-scenarios + - ref: redhat-chaos-pod-scenarios-prometheus-disruption + documentation: |- + This workflow executes prometheus chaos scenarios to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-workflow.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-workflow.metadata.json new file mode 100644 index 000000000000..9889e1249fb2 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-workflow.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-workflow.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-workflow.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-workflow.yaml new file mode 100644 index 000000000000..076178c4a3a2 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-workflow.yaml @@ -0,0 +1,8 @@ + +workflow: + as: redhat-chaos-krkn-hub-prometheus-tests + steps: + test: + - chain: redhat-chaos-krkn-hub-prometheus-tests + documentation: |- + This workflow executes prometheus chaos scenarios under load to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/OWNERS new file mode 120000 index 000000000000..ec405d65a79d --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/OWNERS @@ -0,0 +1 @@ +../OWNERS \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-chain.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-chain.metadata.json new file mode 100644 index 000000000000..039e1bc695a2 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-chain.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-chain.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-chain.yaml new file mode 100644 index 000000000000..7b593c652e01 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-chain.yaml @@ -0,0 +1,7 @@ + +chain: + as: redhat-chaos-krkn-hub-random-system-pods-disruption + steps: + - ref: redhat-chaos-pod-scenarios-random-system-pods + documentation: |- + This workflow executes disruptions for random system pods to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-workflow.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-workflow.metadata.json new file mode 100644 index 000000000000..54560912b7c0 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-workflow.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-workflow.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-workflow.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-workflow.yaml new file mode 100644 index 000000000000..a05b345093d4 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-random-system-pods-disruption/redhat-chaos-krkn-hub-random-system-pods-disruption-workflow.yaml @@ -0,0 +1,8 @@ + +workflow: + as: redhat-chaos-krkn-hub-random-system-pods-disruption + steps: + test: + - chain: redhat-chaos-krkn-hub-random-system-pods-disruption + documentation: |- + This workflow executes disruptions for random system pods under load to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-tests/redhat-chaos-krkn-hub-tests-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-tests/redhat-chaos-krkn-hub-tests-chain.yaml index 19b943b03728..79c2671ff520 100644 --- a/ci-operator/step-registry/redhat-chaos/krkn-hub-tests/redhat-chaos-krkn-hub-tests-chain.yaml +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-tests/redhat-chaos-krkn-hub-tests-chain.yaml @@ -45,14 +45,11 @@ chain: - name: TELEMETRY_EVENTS_BACKUP default: "True" steps: - - ref: redhat-chaos-time-scenarios - ref: openshift-qe-cluster-density-v2 - - ref: redhat-chaos-application-outages-console - - ref: redhat-chaos-network-chaos - - ref: redhat-chaos-pod-network-chaos - - chain: redhat-chaos-pod-scenarios - - ref: redhat-chaos-container-scenarios-etcd-hangup - - ref: redhat-chaos-service-disruption-etcd - - ref: redhat-chaos-service-disruption-regex + - chain: redhat-chaos-krkn-hub-etcd-tests + - chain: redhat-chaos-krkn-hub-console-tests + - chain: redhat-chaos-krkn-hub-ovn-disruption + - chain: redhat-chaos-krkn-hub-prometheus-tests + - chain: redhat-chaos-krkn-hub-random-system-pods-disruption documentation: |- This workflow executes chaos scenarios to ensure OpenShift is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/OWNERS b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/OWNERS new file mode 120000 index 000000000000..ec405d65a79d --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/OWNERS @@ -0,0 +1 @@ +../OWNERS \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-chain.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-chain.metadata.json new file mode 100644 index 000000000000..9fe8fef0518c --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-chain.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-chain.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-chain.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-chain.yaml new file mode 100644 index 000000000000..854d2a063489 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-chain.yaml @@ -0,0 +1,8 @@ + +chain: + as: redhat-chaos-krkn-hub-worker-node-tests + steps: + - chain: redhat-chaos-hog-scenarios + - ref: redhat-chaos-node-disruptions-worker-outage + documentation: |- + This workflow executes worker node chaos scenarios under load including hog ( cpu, memory, io ) and node disruption to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-workflow.metadata.json b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-workflow.metadata.json new file mode 100644 index 000000000000..de28f8bef8e3 --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-workflow.metadata.json @@ -0,0 +1,17 @@ +{ + "path": "redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-workflow.yaml", + "owners": { + "approvers": [ + "chaitanyaenr", + "yogananth-subramanian", + "paigerube14", + "tsebastiani" + ], + "reviewers": [ + "mffiedler", + "paigerube14", + "chaitanyaenr", + "shahsahil264" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-workflow.yaml b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-workflow.yaml new file mode 100644 index 000000000000..e8ab12b6903e --- /dev/null +++ b/ci-operator/step-registry/redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-workflow.yaml @@ -0,0 +1,8 @@ + +workflow: + as: redhat-chaos-krkn-hub-worker-node-tests + steps: + test: + - chain: redhat-chaos-krkn-hub-worker-node-tests + documentation: |- + This workflow executes worker node chaos scenarios under load including hog ( cpu, memory, io ) and node disruption to ensure it is resilient and performant. diff --git a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-commands.sh b/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-commands.sh deleted file mode 100644 index fdab84ffc61c..000000000000 --- a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-commands.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -set -o errexit -set -o nounset -set -o pipefail -set -x -cat /etc/os-release -oc config view -oc projects -python3 --version -ls -la /root/kraken - -ES_PASSWORD=$(cat "/secret/es/password") -ES_USERNAME=$(cat "/secret/es/username") - -export ES_SERVER="https://$ES_USERNAME:$ES_PASSWORD@search-ocp-qe-perf-scale-test-elk-hcm7wtsqpxy7xogbu72bor4uve.us-east-1.es.amazonaws.com" -wget -O volume_scenario.yaml https://raw.githubusercontent.com/krkn-chaos/krkn/main/CI/legacy/scenarios/volume_scenario.yaml - -oc create -f volume_scenario.yaml - -echo "kubeconfig loc $$KUBECONFIG" -echo "Using the flattened version of kubeconfig" -oc config view --flatten > /tmp/config - -export KUBECONFIG=/tmp/config -export PVC_NAME=$PVC_NAME -export POD_NAME=$POD_NAME -export FILL_PERCENTAGE=$FILL_PERCENTAGE -export DURATION=$DURATION -export KRKN_KUBE_CONFIG=$KUBECONFIG -export NAMESPACE=$TARGET_NAMESPACE -export ENABLE_ALERTS=False -telemetry_password=$(cat "/secret/telemetry/telemetry_password") -export TELEMETRY_PASSWORD=$telemetry_password - -./pvc-scenario/prow_run.sh -rc=$? -echo "Finished running pvc scenario" -echo "Return code: $rc" \ No newline at end of file diff --git a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-ref.yaml b/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-ref.yaml deleted file mode 100644 index ff58de6f9da2..000000000000 --- a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-ref.yaml +++ /dev/null @@ -1,61 +0,0 @@ -ref: - as: redhat-chaos-pvc-scenarios-new-pod - from_image: - namespace: chaos - name: prow-scripts - tag: latest - commands: redhat-chaos-pvc-scenarios-new-pod-commands.sh - credentials: - - namespace: test-credentials - name: cluster-secrets-aws-chaos - mount_path: /secret/telemetry - - namespace: test-credentials - name: ocp-qe-perfscale-es - mount_path: /secret/es - env: - - name: TARGET_NAMESPACE - default: "kraken" - - name: PVC_NAME - default: "kraken-test-pvc" - - name: POD_NAME - default: "kraken-test-pod" - - name: FILL_PERCENTAGE - default: "75" - - name: DURATION - default: "60" - - name: RETRY_WAIT - default: "60" - - name: ENABLE_ALERTS - default: "True" - - name: ALERTS_PATH - default: "/home/krkn/kraken/config/alerts_openshift.yaml" - - name: CHECK_CRITICAL_ALERTS - default: "True" - - name: WAIT_DURATION - default: "100" - - name: TELEMETRY_ENABLED - default: "True" - - name: TELEMETRY_API_URL - default: "https://ulnmf9xv7j.execute-api.us-west-2.amazonaws.com/production" - - name: TELEMETRY_USERNAME - default: "redhat-chaos" - - name: TELEMETRY_RUN_TAG - default: "prow-pvc-fill" - - name: TELEMETRY_PROMETHEUS_BACKUP - default: "True" - - name: TELEMETRY_FULL_PROMETHEUS_BACKUP - default: "True" - - name: TELEMTRY_BACKUP_THREADS - default: "5" - - name: TELEMETRY_ARCHIVE_PATH - default: "/tmp" - - name: TELEMETRY_MAX_RETRIES - default: "0" - - name: TELEMETRY_ARCHIVE_SIZE - default: "1000000" - resources: - requests: - cpu: 100m - memory: 100Mi - documentation: >- - This workflow runs the krkn-hub config workload in the deployed cluster and fills up a given PersistenVolumeClaim by creating a temp file on the PVC from a pod associated to fill up a volume to understand faults cause by the application using this volume. diff --git a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-workflow.yaml b/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-workflow.yaml deleted file mode 100644 index dccf68bfe58f..000000000000 --- a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/new-pod/redhat-chaos-pvc-scenarios-new-pod-workflow.yaml +++ /dev/null @@ -1,28 +0,0 @@ -workflow: - as: redhat-chaos-pvc-scenarios-new-pod - steps: - test: - - ref: redhat-chaos-pvc-scenarios-new-pod - env: - TARGET_NAMESPACE: "kraken" - PVC_NAME: "kraken-test-pvc" - POD_NAME: "kraken-test-pod" - FILL_PERCENTAGE: "75" - DURATION: "60" - RETRY_WAIT: "60" - ENABLE_ALERTS: "True" - ALERTS_PATH: "/home/krkn/kraken/config/alerts_openshift.yaml" - CHECK_CRITICAL_ALERTS: "True" - WAIT_DURATION: "100" - TELEMETRY_ENABLED: "True" - TELEMETRY_API_URL: "https://ulnmf9xv7j.execute-api.us-west-2.amazonaws.com/production" - TELEMETRY_USERNAME: "redhat-chaos" - TELEMETRY_RUN_TAG: "prow-pvc-fill" - TELEMETRY_PROMETHEUS_BACKUP: "True" - TELEMETRY_FULL_PROMETHEUS_BACKUP: "True" - TELEMTRY_BACKUP_THREADS: "5" - TELEMETRY_ARCHIVE_PATH: "/tmp" - TELEMETRY_MAX_RETRIES: "0" - TELEMETRY_ARCHIVE_SIZE: "1000000" - documentation: |- - This workflow runs the krkn-hub config workload in the deployed cluster and fills up a given PersistenVolumeClaim by creating a temp file on the PVC from a pod associated to fill up a volume to understand faults cause by the application using this volume. diff --git a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/prometheus-pod/redhat-chaos-pvc-scenarios-prometheus-pod-commands.sh b/ci-operator/step-registry/redhat-chaos/pvc-scenarios/prometheus-pod/redhat-chaos-pvc-scenarios-prometheus-pod-commands.sh index 7dcd10a22c03..d7db25fb28d1 100644 --- a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/prometheus-pod/redhat-chaos-pvc-scenarios-prometheus-pod-commands.sh +++ b/ci-operator/step-registry/redhat-chaos/pvc-scenarios/prometheus-pod/redhat-chaos-pvc-scenarios-prometheus-pod-commands.sh @@ -28,10 +28,10 @@ data: EOF } -ls -la /root/kraken - #Create PV and PVC for prometheus cluster_monitoring_config +echo "Sleeping for 60 seconds for the PV and PVC to be bound" +sleep 60 echo "kubeconfig loc $$KUBECONFIG" echo "Using the flattened version of kubeconfig" diff --git a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/redhat-chaos-pvc-scenarios-chain.yaml b/ci-operator/step-registry/redhat-chaos/pvc-scenarios/redhat-chaos-pvc-scenarios-chain.yaml index 9b5dad743a9d..879e5da36064 100644 --- a/ci-operator/step-registry/redhat-chaos/pvc-scenarios/redhat-chaos-pvc-scenarios-chain.yaml +++ b/ci-operator/step-registry/redhat-chaos/pvc-scenarios/redhat-chaos-pvc-scenarios-chain.yaml @@ -3,6 +3,5 @@ chain: as: redhat-chaos-pvc-scenarios steps: - ref: redhat-chaos-pvc-scenarios-prometheus-pod - - ref: redhat-chaos-pvc-scenarios-new-pod documentation: |- This workflow executes chaos scenarios to ensure OpenShift is resilient and performant.