Paige Patton
0777ef924f
changing pod recovery to vmi recovery
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-04-08 16:37:25 -04:00
Arpit Raj
1623dbac53
fix: resolve Python version mismatch in container entrypoint ( #1222 )
...
Signed-off-by: 1PoPTRoN <vrxn.arp1traj@gmail.com >
2026-04-08 09:00:37 -04:00
Arpit Raj
daa6dc4df9
fix: replace hardcoded /tmp paths with secure tempfile.mkdtemp() ( #1223 )
...
Signed-off-by: 1PoPTRoN <vrxn.arp1traj@gmail.com >
2026-04-07 10:55:46 -04:00
NITESH SINGH
9c064d888a
fix(scenarios): fix network_chaos_ng variable shadowing and instance_count condition ( #1219 )
...
Signed-off-by: NETIZEN-11 <niteshkumar121411@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-04-01 08:54:29 -04:00
NITESH SINGH
b3e9ea1c3b
fix(utils): fix HealthChecker bool comparisons and add missing return value ( #1216 )
...
- Replace '!= False' with 'is not False' and '== True' with 'is True'
for idiomatic Python bool identity checks
- Add missing 'return self.ret_value' so callers receive the exit code
instead of always getting None
- Add Apache 2.0 license header
Signed-off-by: NETIZEN-11 <niteshkumar121411@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-04-01 08:53:21 -04:00
Arpit Raj
9f417d8f1a
fix: log exception details in delete_job to surface get_job_pods errors ( #1220 )
...
Signed-off-by: 1PoPTRoN <vrxn.arp1traj@gmail.com >
2026-04-01 08:52:51 -04:00
Paige Patton
ef50aa8c83
adding licsense to files ( #1215 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-31 15:19:19 -04:00
Paige Patton
357889196a
Adding node interface down/up scenario' ( #1192 )
...
* Adding node interface down/up scenario'
Signed-off-by: Paige Patton <prubenda@redhat.com >
* Trigger CI
---------
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-31 13:59:41 -04:00
Paige Patton
35ee9d7bae
adding changes to properly pass/fail a scenario if errors occur ( #1065 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-31 12:31:25 -04:00
Paige Patton
626e203d33
removing kubernetes functions ( #1205 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-31 08:46:40 -04:00
NITESH SINGH
8c57b0956b
fix(rollback): use == instead of is for boolean check in execute_roll… ( #1207 )
...
* fix(rollback): use == instead of is for boolean check in execute_rollback_version_files
Signed-off-by: Nitesh <nitesh@example.com >
* fix(rollback): fix indentation in execute_rollback_version_files and add license header
Signed-off-by: Nitesh <nitesh@example.com >
---------
Signed-off-by: Nitesh <nitesh@example.com >
Co-authored-by: Nitesh <nitesh@example.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-03-30 10:56:36 -04:00
Paige Patton
d55695f7c4
adding pre commit hook ( #1206 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-30 09:49:16 -04:00
Paige Patton
71bd34b020
adding better logging for when sceanrio file cant be found ( #1203 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-27 13:47:49 -04:00
Paige Patton
6da7c9dec6
adding governance template from cncf ( #926 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-27 09:33:00 -04:00
Tullio Sebastiani
4d5aea146d
Run method fixes ( #1202 )
...
* kubevirt plugin fixes
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* managed_cluster plugin fixes
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* unit tests fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2026-03-27 14:31:19 +01:00
Yashasvi Yadav
62f500fb2e
feat: add GCP zone outage rollback support ( #1200 )
...
Add rollback functionality for GCP zone outage scenarios following the
established rollback pattern (Service Hijacking, PVC, Syn Flood).
- Add @set_rollback_context_decorator to run()
- Set rollback callable before stopping nodes with base64/JSON encoded data
- Add rollback_gcp_zone_outage() static method with per-node error handling
- Fix missing poll_interval argument in starmap calls
- Add unit tests for rollback and run methods
Closes #915
Signed-off-by: YASHASVIYADAV30 <yashasviydv30@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-03-26 14:42:45 -04:00
Arpit Raj
ec241d35d6
fix: improve logging reliability and code quality ( #1199 )
...
- Fix typo 'wating' -> 'waiting' in scenario wait log message
- Replace print() with logging.debug() for pod metrics in prometheus client
- Replace star import with explicit imports in utils/__init__.py
- Remove unnecessary global declaration in main()
- Log VM status exceptions at ERROR level with exception details
Include unit tests in tests/test_logging_and_code_quality.py covering all fixes.
Signed-off-by: 1PoPTRoN <vrxn.arp1traj@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-03-26 13:08:56 -04:00
Arpit Raj
59e10d5a99
fix: bind exception variable in except handlers to prevent NameError ( #1198 )
...
Signed-off-by: 1PoPTRoN <vrxn.arp1traj@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-03-26 09:43:37 -04:00
Paige Patton
c8aa959df2
controller -> detailed ( #1201 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-26 08:47:06 -04:00
Paige Patton
3db5e1abbe
no rebuild image ( #1197 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
v5.0.2
2026-03-20 12:54:45 -04:00
Paige Patton
1e699c6cc9
different quay users ( #1196 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-20 17:30:42 +01:00
Paige Patton
0ebda3e101
test multi platform ( #1194 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-20 11:09:33 -04:00
Tullio Sebastiani
8a5be0dd2f
Resiliency Score krknctl compatibility fixes ( #1195 )
...
* added console log of the resiliency score when mode is "detailed"
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* base image krknctl input
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
resiliency score flag
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* removed json print in run_krkn.py
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* unit test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2026-03-20 11:09:07 -04:00
Tullio Sebastiani
62dadfe25c
Resiliency Score krknctl compatibility fixes ( #1195 )
...
* added console log of the resiliency score when mode is "detailed"
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* base image krknctl input
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
resiliency score flag
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* removed json print in run_krkn.py
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* unit test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2026-03-20 11:08:56 -04:00
Paige Patton
cb368a2f5c
adding tests coverage for resiliency scoring ( #1161 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
v5.0.1
2026-03-19 14:16:51 -04:00
Paige Patton
bb636cd3a9
Custom weight to resiliency ( #1173 )
...
* feat(resiliency): implement comprehensive resiliency scoring system
- Added resiliency scoring engine
- Implemented scenario-wise scoring with telemetry
- Added configurable SLOs and detailed reporting
Signed-off-by: Abhinav Sharma <abhinavs1920bpl@gmail.com >
Signed-off-by: Paige Patton <prubenda@redhat.com >
* fix: check prometheus url after openshift prometheus check
Signed-off-by: Abhinav Sharma <abhinavs1920bpl@gmail.com >
Signed-off-by: Paige Patton <prubenda@redhat.com >
* custom weight
Signed-off-by: Paige Patton <prubenda@redhat.com >
---------
Signed-off-by: Abhinav Sharma <abhinavs1920bpl@gmail.com >
Signed-off-by: Paige Patton <prubenda@redhat.com >
Co-authored-by: Abhinav Sharma <abhinavs1920bpl@gmail.com >
2026-03-19 13:14:08 -04:00
Arpit Raj
f241b2b62f
fix: prevent script injection in require-docs workflow ( #1187 )
...
- replace shell interpolation of PR body with jq + $GITHUB_EVENT_PATH
- replace shell interpolation of branch name with actions/github-script
- remove unused actions/checkout step
- add 27 unit tests covering checkbox detection, docs PR search, and
security regression checks to prevent re-introduction of the bug
Signed-off-by: Arpit Raj <vrxn.arp1traj@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-03-17 09:37:35 -04:00
Paige Patton
2a60a519cd
adding run tag ( #1179 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-16 16:18:50 -04:00
Naga Ravi Chaitanya Elluri
31756e6d9b
Add Beta features governance policy ( #1185 )
...
Introduce documentation defining Beta feature expectations, lifecycle,
user guidance, and promotion criteria to GA. This helps users understand
that Beta features are experimental and intended for early feedback.
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2026-03-12 23:39:14 -04:00
Paige Patton
8c9bce6987
sed change ( #1186 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-03-11 12:34:12 -04:00
Arpit Raj
5608482f1b
fix: use sorted() instead of .sort() for key validation ( #1182 ) ( #1184 )
...
Signed-off-by: Arpit Raj <vrxn.arp1traj@gmail.com >
2026-03-10 10:58:12 -04:00
Darshan Jain
a14d3955a6
feat(ci): add pytest-based CI test framework v2 with ephemeral namespace isolation ( #1172 ) ( #1171 )
...
* feat: add pytest-based CI test framework v2 with ephemeral namespace isolation
Signed-off-by: ddjain <darjain@redhat.com >
* feat(ci): add tests_v2 pytest functional test framework
Signed-off-by: ddjain <darjain@redhat.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
* feat: improve naming convention
Signed-off-by: ddjain <darjain@redhat.com >
* improve local setup script.
Signed-off-by: ddjain <darjain@redhat.com >
* added CI job for v2 test
Signed-off-by: ddjain <darjain@redhat.com >
* disabled broken test
Signed-off-by: ddjain <darjain@redhat.com >
* improved CI pipeline execution time
Signed-off-by: ddjain <darjain@redhat.com >
* chore: remove unwanted/generated files from PR
Signed-off-by: ddjain <darjain@redhat.com >
* clean up gitignore file
Signed-off-by: ddjain <darjain@redhat.com >
* fix copilot comments
Signed-off-by: ddjain <darjain@redhat.com >
* fixed copilot suggestion
Signed-off-by: ddjain <darjain@redhat.com >
* uncommented out test upload stage
Signed-off-by: ddjain <darjain@redhat.com >
* exclude CI/tests_v2 from test coverage reporting
Signed-off-by: ddjain <darjain@redhat.com >
* uploading style.css to fix broken report artifacts
Signed-off-by: ddjain <darjain@redhat.com >
* added openshift supported labels in namespace creatation api
Signed-off-by: ddjain <darjain@redhat.com >
---------
Signed-off-by: ddjain <darjain@redhat.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-03-06 08:44:07 -05:00
Arpit Raj
f655ec1a73
fix: accumulate failed scenarios across all scenario types instead of overwriting ( #1178 )
...
Signed-off-by: Arpit Raj <vrxn.arp1traj@gmail.com >
2026-03-05 14:06:56 -05:00
Paige Patton
dfc350ac03
adding set run tag ( #1174 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-02-27 15:05:05 -05:00
Paige Patton
c474b810b2
updating to use krkn-lib virt functions ( #989 )
...
Assisted By: Claude Code
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-02-27 14:45:31 -05:00
Paige Patton
072e8d0e87
changing pod ( #1175 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-02-27 14:40:49 -05:00
Nesar Kavri
aee61061ac
Fix: make entrypoint fail fast if setup-ssh.sh fails ( #1170 )
...
Signed-off-by: Nesar976 <kavrinesar@gmail.com >
2026-02-27 14:18:01 -05:00
Paige Patton
544cac8bbb
merge ( #710 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-02-27 14:10:08 -05:00
SurbhiAgarwal
49b1affdb8
Improve error message clarity for setuptools version requirement ( #1162 )
...
Fixes #1143 - Updated error message to clearly state that version 38.3 or newer is required
Signed-off-by: Surbhi <agarwalsurbhi1807@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-02-24 10:59:22 -05:00
Darshan Jain
c1dd43fe87
DevConf Pune 2026 feedback ( #1169 )
...
Signed-off-by: ddjain <darjain@redhat.com >
2026-02-23 19:54:06 +05:30
Ashish Mahajan
8dad2a3996
fix: use per-URL status_code in HealthChecker telemetry ( #1091 )
...
Signed-off-by: AR21SM <mahajanashishar21sm@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-02-19 09:25:03 -05:00
Tullio Sebastiani
cebc60f5a8
Network chaos NG porting - pod network chaos node network chaos ( #991 )
...
* fix ibm
Signed-off-by: Paige Patton <prubenda@redhat.com >
* type hint fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* pod network chaos plugin structure + utils method refactoring
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* Pod network chaos plugin
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* Node network chaos plugin
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* default config files
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* config.yaml
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* all field optional
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* minor fixes
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* minor nit on config
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* utils unit tests
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* PodNetworkChaos unit tests
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* NodeNetworkChaos unit test
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* PodNetworkChaos functional test
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* NodeNetworkChaso functional test
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* added funtests to the gh action
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* unit test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* changed test order + resource rename
* functional tests fix
smallchange
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix requirements
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* changed pod test target
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* added kind port mapping and removed portforwarding
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test fixes
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test fixes
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Paige Patton <prubenda@redhat.com >
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
Co-authored-by: Paige Patton <prubenda@redhat.com >
2026-02-18 16:20:16 +01:00
Darshan Jain
2065443622
collect ERROR and CRITICAL logs and send to elastic search ( #1147 ) ( #1150 )
...
* collect ERROR and CRITICAL logs and send to elastic search
Signed-off-by: ddjain <darjain@redhat.com >
* bump up krkn-lib to 6.0.3
Signed-off-by: ddjain <darjain@redhat.com >
---------
Signed-off-by: ddjain <darjain@redhat.com >
2026-02-18 18:26:14 +05:30
Ashish Mahajan
b6ef7fa052
fix: use list comprehension to avoid skipping nodes during exclusion ( #1059 )
...
Fixes #1058
Signed-off-by: AR21SM <mahajanashishar21sm@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-02-17 15:20:10 -05:00
Paige Patton
4f305e78aa
remove chaos ai
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-02-11 13:44:13 -05:00
dependabot[bot]
b17e933134
Bump pillow from 10.3.0 to 12.1.1 in /utils/chaos_ai ( #1157 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 10.3.0 to 12.1.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/10.3.0...12.1.1 )
---
updated-dependencies:
- dependency-name: pillow
dependency-version: 12.1.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-11 10:08:42 -05:00
Paige Patton
beea484597
adding vm ware tests ( #1133 )
...
Signed-off-by: Paige Patton <paigepatton@Paiges-MacBook-Air.local >
Signed-off-by: Paige Patton <prubenda@redhat.com >
Co-authored-by: Paige Patton <paigepatton@Paiges-MacBook-Air.local >
2026-02-10 16:24:26 -05:00
Paige Patton
0222b0f161
fix ibm ( #1155 )
...
Signed-off-by: Paige Patton <prubenda@redhat.com >
2026-02-10 10:09:28 -05:00
Ashish Mahajan
f7e674d5ad
docs: fix typos in logs, comments, and documentation ( #1079 )
...
Signed-off-by: AR21SM <mahajanashishar21sm@gmail.com >
2026-02-09 09:48:51 -05:00
Ashish Mahajan
7aea12ce6c
fix(VirtChecker): handle empty VMI interfaces list ( #1072 )
...
Signed-off-by: AR21SM <mahajanashishar21sm@gmail.com >
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com >
2026-02-09 08:29:48 -05:00