Tullio Sebastiani
a17e16390c
cluster events check removed from funtest (deprecated krkn-lib v4.0.0)
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-10-09 10:19:24 -04:00
Tullio Sebastiani
7e5bdfd5cf
disabled elastic ( #708 )
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-10-04 12:42:34 -04:00
Tullio Sebastiani
d91172d9b2
Core Refactoring, Krkn Scenario Plugin API ( #694 )
...
* relocated shared libraries from `kraken` to `krkn` folder
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* AbstractScenarioPlugin and ScenarioPluginFactory
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* application_outage porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* arcaflow_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* managedcluster_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* network_chaos porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* node_actions porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* plugin_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* pvc_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* service_disruption porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* service_hijacking porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* cluster_shut_down_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* syn_flood porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* time_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* zone_outages porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* ScenarioPluginFactory tests
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* unit tests update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* pod_scenarios and post actions deprecated
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
scenarios post_actions
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* funtests and config update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* run_krkn.py update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* utils porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* API Documentation
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* container_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* funtest fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* document gif update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* Documentation + tests update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* removed example plugin
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* global renaming
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* config.yaml typos
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
typos
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* removed `plugin_scenarios` from NativScenarioPlugin class
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* pod_network_scenarios type added
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* documentation update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* krkn-lib update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
typo
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-10-03 20:48:04 +02:00
Tullio Sebastiani
6186555c15
Elastic search krkn-lib integration ( #658 )
...
* Elastic search krkn-lib integration
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
removed default urls
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* Fix alerts bug on prometheus
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* fixed prometheus object initialization bug
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* updated requirements to krkn-lib 2.1.8
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* disabled alerts and metrics by default
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* reverted requirement to elastic branch on krkn-lib
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* numpy downgrade
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* maximium retries added to hijacking funtest
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* added elastic settings to funtest config
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* krkn-lib 3.0.0 update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-08-28 10:46:42 -04:00
Tullio Sebastiani
a142f6e7a4
Service hijacking scenario ( #617 )
...
* WIP: service hijacking scenario
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* wip
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* error handling
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
adapted run_raken.py
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* restored config.yaml
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* added funtest
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fixed test
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix test
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fixed funtest
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
funtest fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
minor nit
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
added explicit curl method
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
push
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
restored all funtests
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
added mime type test
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fixed pipeline
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
commented unit
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
utf-8
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test restored
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix test pipeline
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* documentation
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* krkn-lib 2.1.3
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* added other funtests to main merge to collect coverage
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-05-13 10:04:06 +02:00
Tullio Sebastiani
ab98e416a6
Integration of the new pod recovery monitoring strategy implemented in krkn-lib ( #609 )
...
* pod monitoring integration in plugin scenario
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* pod monitoring integration in container scenario
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* removed wait-for-pod step from plugin scenario config files
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* introduced global pod recovery time
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
nit
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* introduced krkn_pod_recovery_time in plugin scenario and removed all the references to wait-for-pods
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* functional test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* main branch functional test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* increased recovery times
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-04-23 10:49:01 +02:00
Tullio Sebastiani
85f76e9193
do not consider exit code 2 as an error in funtests
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-03-17 23:07:46 -04:00
Tullio Sebastiani
a1cf9e2c00
fixed typo on funtests ( #582 )
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-03-01 17:09:19 +01:00
Tullio Sebastiani
0f5dfcb823
fixed the telemetry funtest according to the new telemetry API
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-03-01 09:48:56 -05:00
Tullio Sebastiani
1e1015e6e7
added new WS configuration to funtests
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-02-29 11:35:00 -05:00
Tullio Sebastiani
1298f220a6
Critical alerts collection and upload ( #577 )
...
* added prometheus client method for critical alerts
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* adapted run_kraken to the new plugin method for critical_alerts collection + telemetry upload
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* requirements.txt pointing temporarly to git
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* fixed severity level
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* added functional tests
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* exit on post chaos critical alerts
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
log moved
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* removed noisy log
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fixed log
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* updated requirements.txt to krkn-lib 1.4.13
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* krkn lib
* added check on variable that makes kraken return 1 whether post critical alerts are > 0
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-02-28 09:48:29 -05:00
Tullio Sebastiani
1067d5ec8d
changed telemetry endpoint for funtests ( #571 )
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-02-13 17:06:20 +01:00
Tullio Sebastiani
2e38b8b033
Kubernetes prometheus telemetry + functional tests ( #566 )
...
added comment on the node selector input.yaml
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-02-09 16:38:12 +01:00
Tullio Sebastiani
f801dfce54
functional tests pointing to real scenario config files
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
typo
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
app_outage fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
typo
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
typo
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-01-18 12:54:39 -05:00
Tullio Sebastiani
967753489b
arcaflow hog scenarios + app outage functional tests
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-01-17 10:40:33 -05:00
Tullio Sebastiani
ac47e215d8
Functional Tests porting to kubernetes ( #553 )
...
* Functional Tests porting to kubernetes
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-01-17 09:48:43 +01:00
Tullio Sebastiani
f2d7f88cb8
Krkn lib prometheus client + kube_burner references removed
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-01-09 10:43:32 -05:00
Tullio Sebastiani
c2431d548f
functional tests adapted to newer version of crc-cloud + OCP 4.14.1 ( #532 )
2023-12-11 12:48:42 -05:00
Paige Rubendall
b03511850b
taking out more litmus references
2023-12-03 13:10:52 +05:30
Tullio Sebastiani
39c0152b7b
Krkn telemetry integration ( #435 )
...
* adapted config.yaml to the new feature
* temporarly pointing requirement.txt to the lib feature branch
* run_kraken.py + arcaflow scenarios refactoring
typo
* plugin scenario
* node scenarios
return failed scenarios
* container scenarios
fix
* time scenarios
* cluster shutdown scenarios
* namespace scenarios
* zone outage scenarios
* app outage scenarios
* pvc scenarios
* network chaos scenarios
* run_kraken.py adaptation to telemetry
* prometheus telemetry upload + config.yaml
some fixes
typos and logs
max retries in config
telemetry id with run_uuid
safe_logger
* catch send_telemetry exception
* scenario collection bug fixes
* telemetry enabled check
* telemetry run tag
* requirements pointing to main + archive_size
* requirements.txt and config.yaml update
* added telemetry config to common config
* fixed scenario array elements for telemetry
2023-08-10 14:42:53 -04:00
Sahil Shah
fccd701dee
Changed the image in volume_scenario.yml to a public one ( #458 )
2023-08-02 00:11:38 -04:00
Paige Rubendall
13fa711c9b
adding privileged namespace ( #399 )
...
Co-authored-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2023-04-06 16:18:57 -04:00
Tullio Sebastiani
8b18fa8a35
Github Action + functional tests (no *hog tests) ( #382 )
...
* Github Action + functional tests (no *hog tests)
* changed the trigger keyword to /test
* removed deprecated kill_pod scenario + added namespace to app_outage (new kill_pod)
* #365 : renamed ingress_namespace scenario to network_diagnostrcs
* requested team filter added
---------
Co-authored-by: Tullio Sebastiani <tullio.sebastiani@x3solutions.it >
2023-02-16 09:42:33 +01:00
Sandro Bonazzola
09069211c4
CI: drop namespace test
...
as it requires openshift
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
19e65f5e60
CI: drop cpu hog test
...
as it requires litmus on openshift
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
a3ffa1d0ff
CI: drop mem hog test
...
as it requires litmus on openshift
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
b4d987461b
CI: drop io hog
...
as it requires litmus on openshift
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
90b3fc9106
CI: drop container test
...
as it requries openshift
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
aecaaf286f
CI: drop app outages as it requires openshift
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
19d24e3d46
CI: drop nodes as it requires AWS nodes
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
0731b32397
CI: drop pods test
...
As it says:
Pod scenarios have been removed, please use plugin_scenarios
with the kill-pods configuration instead.
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
cfef92e177
CI: drop shutdown test
...
shutdown test requires AWS nodes
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
134069a1fa
CI: drop test time as it requires etcd
...
etcd pod is not available in KinD
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
34124c705d
CI: drop zone test as it requires AWS
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-15 15:29:49 +02:00
Sandro Bonazzola
0c36903fff
config: really default to ~ instead of /root
...
Documentation says we default to ~ for looking up the kubernetes config
but then we set everywhere /root. Fixed the config to really look for ~.
Should solve #327 .
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-13 12:01:16 +02:00
Sandro Bonazzola
51a2fbd77d
automation: add coverage report
...
Add coverage report for performed tests.
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-13 07:35:58 +02:00
Janos Bonic
ccd902565e
Fixes #265 : Replace Powerfulseal and introduce Wolkenwalze SDK for plugin system
2022-08-02 16:25:03 +01:00
gsteeds
6280a39250
Fixed links within docs, as well as read through docs files and corrected some spelling and grammer issues.
2022-05-04 09:35:50 +02:00
Paige Rubendall
c6a22e2434
Adding check to be sure label or namesapce is not none first
2021-12-20 09:49:09 -05:00
yogananth-subramanian
50dd9873c1
Node egress traffic shaping
...
Patch adds a scenario to create variations in egress traffic of a Node's interface using the tc and Netem.
2021-12-16 12:54:53 -05:00
Paige Rubendall
f17ad062cf
Ci tests ( #184 )
...
* Adding in working ci tests
* spacing in readme
2021-11-24 15:12:47 -05:00
Alejandro Gullón
baa812b7f0
Added new scenario to fill up a given volumen ( #182 )
...
* Added new scenario to fill up a given volumen
* fixing small issues and style
* adding PVC as input param instead of pod name
* small fix
* get container name and volumen name
replace oc with kubectl commands
* adding yaml file to create a pv, pvc and pod to run pvc_scenario
* adding support to match both string for describe command when looking for pod_name
* added support to find the pvc from a given pod
* small fix
* small fix
2021-11-24 12:18:49 -05:00
Amit Sagtani
d00d6ec69e
Install pre-commit and use GitHub Actions ( #94 )
...
* added pre-commit and code-cleaning
* removed tox and TravisCI
2021-05-05 09:53:45 -04:00
Yashashree Suresh
aac254ce45
Adding Kraken to PerfScale Pipeline
...
This commit adds kraken to CI pipeline and thereby enabling chaos
scenarios to be injected on specified jump host.
2020-08-27 11:09:29 -04:00