Skip to content

Commit

Permalink
Create component based chaos workflows
Browse files Browse the repository at this point in the history
This commit creates workflows for each of the OpenShift components targeted
to make it easy for developers to test a particular component for example etcd,
prometheus, control plane etc. and also to make it easy for debugging, reviewing
results on the sippy/visualization side.

Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com>
  • Loading branch information
chaitanyaenr committed Jul 9, 2024
1 parent bde6654 commit 99b24b4
Show file tree
Hide file tree
Showing 45 changed files with 374 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ tests:
- chain: redhat-chaos-hog-scenarios
workflow: openshift-qe-installer-gcp
timeout: 6h0m0s
- as: krkn-hub-cloud-api-tests
- as: krkn-hub-node-tests
cron: 0 4 8,24 * *
steps:
cluster_profile: aws-chaos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -66,7 +65,8 @@ tests:
pre:
- chain: ipi-aws-pre
- chain: create-infra-move-ingress-monitoring-registry
workflow: redhat-chaos-krkn-hub-cloud-tests
test:
- chain: redhat-chaos-krkn-hub-node-tests
zz_generated_metadata:
branch: main
org: redhat-chaos
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

chain:
as: redhat-chaos-krkn-hub-cluster-disruption
steps:
- ref: redhat-chaos-power-outage
documentation: |-
This workflow executes power outage/cluster shutdown to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
10 changes: 0 additions & 10 deletions ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/OWNERS

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -14,4 +14,4 @@
"shahsahil264"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

chain:
as: redhat-chaos-krkn-hub-cloud-tests
as: redhat-chaos-krkn-hub-node-tests
env:
- name: GC
default: "False"
Expand All @@ -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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-node-tests/redhat-chaos-krkn-hub-node-tests-workflow.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-ovn-disruption/redhat-chaos-krkn-hub-ovn-disruption-chain.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
Loading

0 comments on commit 99b24b4

Please sign in to comment.