Commit Graph
808 Commits
Author SHA1 Message Date
Paige PattonandClaude Sonnet 4.6 cae6ce979a bump vulnerable transitive dependencies to patched versions (#1266)
- kubernetes: ==34.1.0 → >=35.0.0 (unlocks urllib3 v2.x support)
- urllib3: >=2.1.0,<2.4.0 → >=2.6.3 (CVEs: decompression bombs, redirect bypass)
- cryptography: >=42.0.4 → >=46.0.7 (subgroup attack, buffer overflow, DNS CVEs)
- requests: stays <2.32; blocked by docker-py 6.x Unix socket dependency
  (fix: upgrade docker to >=7.0 and requests to >=2.33.0 in a follow-up)

Signed-off-by: Paige Patton <prubenda@redhat.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 09:38:31 -04:00
Semih702andsemih702 e296565e4b fix: handle Alibaba request error logging (#1262)
Signed-off-by: semih702 <semih702@users.noreply.github.com>
Co-authored-by: semih702 <semih702@users.noreply.github.com>
2026-05-04 09:10:22 -04:00
95530dfe55 fix(rollback): resolve signal handler race condition by clearing context after execution (#1245)
- Fixed race condition in signal handler
- Cleared context after execution instead of before
- Improved rollback stability

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-04-30 08:14:55 -04:00
Semih702andsemih702 9d06239341 docs: align Python requirement with 3.11 (#1258)
Signed-off-by: semih702 <semih702@users.noreply.github.com>
Co-authored-by: semih702 <semih702@users.noreply.github.com>
2026-04-29 08:29:22 -04:00
dependabot[bot]andlnx01 3adb03140b build(deps): bump gitpython from 3.1.41 to 3.1.47 (#1255)
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.41 to 3.1.47.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.41...3.1.47)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-version: 3.1.47
  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-04-27 08:26:21 -04:00
bba40179fa Bump lxml from 5.1.0 to 6.1.0 (#1243)
Bumps [lxml](https://github.com/lxml/lxml) from 5.1.0 to 6.1.0.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.1.0...lxml-6.1.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-version: 6.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com>
2026-04-22 10:24:09 -04:00
Nitesh KumarandNitesh a912f958e5 fix(security): replace yaml.full_load with yaml.safe_load to prevent RCE (#1242)
Signed-off-by: Nitesh <nitesh@example.com>
Co-authored-by: Nitesh <nitesh@example.com>
2026-04-22 09:50:56 -04:00
e1d4f1edbb Bump pytest from 8.0.0 to 9.0.3 (#1229)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.0 to 9.0.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.0.0...9.0.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com>
2026-04-21 15:50:55 -04:00
Paige PattonandClaude Sonnet 4.6 c759a98f9a fix(needs-rebase): retry mergeable check on push events to catch conflicting PRs (#1240)
With maxAttempts=1, all PRs have mergeable=null immediately after a push
and are skipped. PRs that are never subsequently updated (no new commits,
no re-opens) never get rechecked. Increasing to 3 attempts (5s + 10s backoff)
gives GitHub ~15s to compute mergeability before giving up.

Signed-off-by: Paige Patton <prubenda@redhat.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 14:09:46 -04:00
Paige Patton 7ba07f142f Rebase fix (#1239)
* fixing rebase warning

Signed-off-by: Paige Patton <prubenda@redhat.com>

* workflow

Signed-off-by: Paige Patton <prubenda@redhat.com>

---------

Signed-off-by: Paige Patton <prubenda@redhat.com>
2026-04-21 14:03:42 -04:00
Paige Patton 7614ce9fd5 fixing rebase warning (#1238)
Signed-off-by: Paige Patton <prubenda@redhat.com>
2026-04-21 13:49:42 -04:00
Paige PattonandClaude Sonnet 4.6 a099a4674d feat(ci): add needs-rebase bot workflow (#1232)
Automatically detects merge conflicts on PRs, adds the `needs-rebase`
label, and posts a comment with rebase instructions. Cleans up both
the label and comment automatically once conflicts are resolved.

Triggers on PR open/sync and on push to main (to re-check all open PRs
when the base branch moves). Each PR check is wrapped in try/catch so
a single failure logs a warning and continues to the next PR.

Signed-off-by: Paige Patton <prubenda@redhat.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 13:45:45 -04:00
Sahil Shah dfc3a1d716 Adding http load scenario (#1160)
Signed-off-by: Sahil Shah <sahshah@redhat.com>
v5.0.3
2026-04-09 10:47:50 -04:00
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 SINGHandPaige Patton 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 SINGHandPaige Patton 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
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 YadavandPaige Patton 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 RajandPaige Patton 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 RajandPaige Patton 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 PattonandAbhinav Sharma 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 RajandPaige Patton 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 JainandCursor 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