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 6, 2024
1 parent bde6654 commit fa94606
Show file tree
Hide file tree
Showing 40 changed files with 366 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ 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
cron: 0 4 * * 1
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-cloud-tests
zz_generated_metadata:
branch: main
org: redhat-chaos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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-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
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-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,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
@@ -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"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-etcd-tests/redhat-chaos-krkn-hub-etcd-tests-workflow.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Loading

0 comments on commit fa94606

Please sign in to comment.