Commit Graph
39 Commits
Author SHA1 Message Date
Tullio SebastianiandGitHub 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 SebastianiandNaga Ravi Chaitanya Elluri 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 SebastianiandGitHub a1cf9e2c00 fixed typo on funtests (#582)
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com>
2024-03-01 17:09:19 +01:00
Tullio SebastianiandNaga Ravi Chaitanya Elluri 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 SebastianiandNaga Ravi Chaitanya Elluri 1e1015e6e7 added new WS configuration to funtests
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com>
2024-02-29 11:35:00 -05:00
Tullio SebastianiandGitHub 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 SebastianiandGitHub 1067d5ec8d changed telemetry endpoint for funtests (#571)
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com>
2024-02-13 17:06:20 +01:00
Tullio SebastianiandGitHub 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 SebastianiandNaga Ravi Chaitanya Elluri 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 SebastianiandNaga Ravi Chaitanya Elluri 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 SebastianiandGitHub 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 SebastianiandNaga Ravi Chaitanya Elluri 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 SebastianiandGitHub c2431d548f functional tests adapted to newer version of crc-cloud + OCP 4.14.1 (#532) 2023-12-11 12:48:42 -05:00
Paige RubendallandNaga Ravi Chaitanya Elluri b03511850b taking out more litmus references 2023-12-03 13:10:52 +05:30
Tullio SebastianiandGitHub 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 ShahandGitHub fccd701dee Changed the image in volume_scenario.yml to a public one (#458) 2023-08-02 00:11:38 -04:00
13fa711c9b adding privileged namespace (#399)
Co-authored-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com>
2023-04-06 16:18:57 -04:00
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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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 BonazzolaandSandro 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
gsteedsandSanja 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-subramanianandNaga Ravi Chaitanya Elluri 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 RubendallandGitHub f17ad062cf Ci tests (#184)
* Adding in working ci tests

* spacing in readme
2021-11-24 15:12:47 -05:00
Alejandro GullónandGitHub 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 SagtaniandGitHub 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 SureshandNaga Ravi Chaitanya Elluri 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