Skip to content

Releases: litmuschaos/litmus-go

2.2.0

13 Oct 19:33
Compare
Choose a tag to compare
[Cherrypick for 2.2.0] (#456)

* Bug(Experiment Generator): Add AuxiliaryAppInfo to template (#455)

Signed-off-by: dravog7 <[email protected]>

* chore(charts): update readme, contributor guide and github actions (#454)

* chore(charts): update readme, contributor guide and github actions

Signed-off-by: shubham chaudhary <[email protected]>

* chore(repo-health): adding cii best practices

Signed-off-by: shubham chaudhary <[email protected]>

* chore(synk): Adding snyk to check the vulnerabilities

Signed-off-by: shubham chaudhary <[email protected]>

* chore(trivy): remove trivy check from push and release actions

Signed-off-by: shubham chaudhary <[email protected]>

* resolved conflicts

Signed-off-by: shubham chaudhary <[email protected]>

Co-authored-by: John Abraham <[email protected]>

2.1.1

01 Oct 10:23
0ffc453
Compare
Choose a tag to compare
[cherrypick for 2.1.1] (#453)

* update(version): updating kubernetes version (#450)

Signed-off-by: shubham chaudhary <[email protected]>

* Chore(secured-image): Add litmus hardened alpine image as base image (#448)

Signed-off-by: udit <[email protected]>

* Chore(helper): Add termination grace period seconds to the helper pods and tolerationSeconds in kubelet and docker svc kill experiment helper (#433)

* Chore(helper): Add termination grace period seconds to the helper pods

Signed-off-by: udit <[email protected]>

* Add tolerationSeconds in kubelet and docker svc kill experiment

Signed-off-by: udit <[email protected]>

* chore(labels): passing labels to the helper pod (#451)

Signed-off-by: shubham chaudhary <[email protected]>

* resolved conflicts

Signed-off-by: shubham chaudhary <[email protected]>

* VMWare VM-Poweroff Experiment Enhancements (#449)

* stopVM and startVM moved to vm-operations.go,added error check in api calls, modified function signatures to remove dependency on expexperiment specific types.go

Signed-off-by: neelanjan00 <[email protected]>

* added chaos injection functionality for multiple VMs; added chaos parallel and serial chaos injection

Signed-off-by: neelanjan00 <[email protected]>

* added functionality for waiting through the duration of fully starting and fully stopping the VM

Co-authored-by: Udit Gaurav <[email protected]>
Co-authored-by: Neelanjan Manna <[email protected]>

2.1.0

14 Sep 10:17
b32b2e4
Compare
Choose a tag to compare
Merge pull request #446 from ispeakc0de/2.1.0-tracker

[Cherrypick for 2.1.0]

2.0.0

14 Aug 08:05
6ad9db0
Compare
Choose a tag to compare
[Cherry-pick for 2.0.0] (#435)

* Auxiliary Application Check for node-memory-hog Experiment and Multiple Target Node Functionality Fix for three Node-Level Experiments (#424)

* Fixed multiple node selection functionality in nodes.go

Signed-off-by: neelanjan00 <[email protected]>

* Added Auxiliary Application Status Check to node-memory-hog experiment

Signed-off-by: neelanjan00 <[email protected]>

* Pod experiment fixes (#429)

* Fixed issue with pod affected percentage > 100

Signed-off-by: Akash Shrivastava <[email protected]>

* resolve conflict

Signed-off-by: udit <[email protected]>

* fixing bugs (#418)

Signed-off-by: Oum Kale <[email protected]>

Co-authored-by: Shubham Chaudhary <[email protected]>

* feat(helper-status): fix helper status timeout when helper pod failed (#421)

Signed-off-by: shubham chaudhary <[email protected]>

* resolve conflict

Signed-off-by: udit <[email protected]>

* feat(exec-chaos): handle the abort signal (#425)

Signed-off-by: shubham chaudhary <[email protected]>

* feat(target-pods: validating target pods env (#430)

Signed-off-by: shubham chaudhary <[email protected]>

* feat(experiment): derive parent name in pod-delete only (#434)

Signed-off-by: shubham chaudhary <[email protected]>

Co-authored-by: Neelanjan Manna <[email protected]>
Co-authored-by: Akash Shrivastava <[email protected]>
Co-authored-by: OUM NIVRATHI KALE <[email protected]>
Co-authored-by: Shubham Chaudhary <[email protected]>

2.0.0-RC1

05 Aug 17:30
f67b15d
Compare
Choose a tag to compare
2.0.0-RC1 Pre-release
Pre-release
[Cherry Pick for v2.0.0-RC1] (#419)

* Chore(Azure): Update and Shift Azure instance stop chaos to master (#377)

* Chore(new_exp): Add Azure instance terminate chaos (#296)

* Chore(new_exp): Add Azure instance terminate chaos

Signed-off-by: udit <[email protected]>

* Added support for multiple instance id in azure instance terminate| Added abortwatcher code for azure instance terminate experiment

Signed-off-by: Akash Shrivastava <[email protected]>

* Fix minor filename issue

Signed-off-by: Akash Shrivastava <[email protected]>

* Removed vendors

Signed-off-by: Akash Shrivastava <[email protected]>

* Made changes as per suggestion in PR

Signed-off-by: Akash Shrivastava <[email protected]>

* Changed instance status display logic to not use loop

* Reverted experiment.go values to default

Signed-off-by: Akash Shrivastava <[email protected]>

* Improved logs

Signed-off-by: Akash Shrivastava <[email protected]>

Co-authored-by: Udit Gaurav <[email protected]>

* GCP VM Instance Stop Experiment (#388)

* Bootstrap project created; GCP compute engine library, context library and option library added

* VM instance status methods and VM instance operation methods added

* Defined types.go; removed default template code for chaoslib>litmus>vm-instance-stop>lib>vm-instance-stop.go and experiments>gcp>vm-instance-stop>experiment>vm-instance-stop.go

* updated function parameter names and varaible names in vm-instance-status.go

* vm-instance-stop experiment chaoslib methods PrepareGCPTerminateByName, injectChaosInSerialMode, injectChaosInParallelMode, and abortWatcher added

* AuxiliaryAppInfo field added in types.go and correspondingly in environment.go

* Modified function PrepareGCPTerminateByName identifier to PrepareVMTerminateByName

* Modified function PrepareVMTerminateByName to PrepareVMStop

* VMInstanceStop experiment added

* Added VMInstanceStop experiment to the main function

* engine.yaml, experiment.yaml, and rbac.yaml charts updated

* Corrected mount path in experiment.yaml

* Functionality for fetching secret files from Kubernetes secret volume for the purpose of auth added

* Updated engine.yaml chart

* Initialized default value for TOTAL_CHAOS_DURATION, CHAOS_INTERVAL, and RAMP_TIME in experiment.yaml

* Updated function VMInstanceStop GetENV and corresponding logs; Updated GetServiceAccountJSONFromSecret to return proper credentials

* removed default comments from experiment.go

* corrected yaml syntax in experiment.yaml

* renamed ChaosEngine name to gcp-vm-chaos in engine.yaml

* updated expirement description message in experiment.yaml

* Replaced logo for GCP and VM Instance Delete experiment

* terminate replaced to stop in a log in vm-instance-stop.go

* Updated comments in vm-instance-stop.go

* Updated comments in vm-instance-stop.go

* Updated comments in vm-instance-stop.go

* Removed attributes.yaml

* removed the charts directory

* comment added to VMInstanceStop function in vm-instance-stop.go

* AbortWatcherWithoutExit function call removed as it was called twice in vm-instance-stop.go

* Event generation of Result as Awaited shifted after SetResultUID function call in vm-instance-stop.go

* post chaos vm instance status log moved outside the loop

* test.yml updated

* VM_INSTANCE_NAME and INSTANCE_ZONE replaced with their plurals

* removed ActiveNodes from types.go

* ManagedNodegroup replaced by AutoScalingGroup

* added getFileContent function to get-credentials-json.go; implemented marshalling for creating json byte slice credentials

* Modified log statement in vm-instance-status.go

* Signing the commit for vm-instance-stop experiment

* renamed the experiment to gcp-vm-instance-stop

* Replaced the revert chaos status

* Replaced PreChaosNodeStatusCheck, PostChaosActiveNodeCountCheck, and getActiveNodeCount functions to nodes.go; updated the gcp-vm-instance-stop experiment for the same.

* Replaced PreChaosNodeStatusCheck, PostChaosActiveNodeCountCheck, and getActiveNodeCount functions to nodes.go; updated the ec2-terminate-by-id and ec2-terminate-by-tag.go experiments for the same.

* Implemented the WaitForDuration method for waiting through the chaos interval in serial and parallel mode

* Replaced Sequence with Zone in experiment log

* Updated error statement

* Removed redundant chaos setTarget

* error message updated

* Updated ramp time and chaos interval default values in environment.go

* Added default ramp time of 0 in environment.go

* cleaned unused dependencies

* removed unused go dependencies

Co-authored-by: Shubham Chaudhary <[email protected]>
Co-authored-by: Udit Gaurav <[email protected]>

* resolve conflict

Signed-off-by: udit <[email protected]>

* Chore(Azure): Azure Instance Stop experiment (support for: virtual machine scale sets) (#403)

* Added support for virtual machine scale sets (for aks nodes)

Signed-off-by: Akash Shrivastava <[email protected]>

* update branch on litmus-go

Signed-off-by: udit <[email protected]>

Co-authored-by: Akash Shrivastava <[email protected]>
Co-authored-by: Neelanjan Manna <[email protected]>
Co-authored-by: Shubham Chaudhary <[email protected]>

1.13.8

15 Jul 17:38
ecd75a5
Compare
Choose a tag to compare
Cherry-Pick for 1.13.8 (#402)

* Chore(New_Exp): Add AWS SSM Chaos Experiment (#376)

* Chore(New_Exp): Add aws ssm chaos experiment

Signed-off-by: uditgaurav <[email protected]>

* Chore(New_Exp): Add AWS SSM Chaos Experiment

Signed-off-by: udit <[email protected]>

* Add minor fix

Signed-off-by: udit <[email protected]>

* update ENV name for cpu and default docs path

Signed-off-by: udit <[email protected]>

* Chore(New_Exp): Add stress chaos experiments and split out the exec stress experiments (#368)

* Rename pod-cpu-hog and pod-memory-hog experiment with pod-cpu-hog-exec and pod-memory-hog-exec respectively

Signed-off-by: uditgaurav <[email protected]>

* Add stress chaos without execing into the target container

Signed-off-by: uditgaurav <[email protected]>

* add helper logs

Signed-off-by: uditgaurav <[email protected]>

* update the abort logic

Signed-off-by: udit <[email protected]>

* refactor and update the code

Signed-off-by: udit <[email protected]>

* update Dockerfile

Signed-off-by: udit <[email protected]>

Co-authored-by: Shubham Chaudhary <[email protected]>

* Chore(stress-chaos): Remove extra previlages and update io stressors and timeout (#391)

* Chore(stress-chaos): Remove extra privileges and update io stressors and timeout

Signed-off-by: udit <[email protected]>

Co-authored-by: Shubham Chaudhary <[email protected]>

* Add option to change default container registry for image build (#390)

* Add option to change default container registry during image build

Signed-off-by: Jakub Stejskal <[email protected]>

* fix(ec2): removing the duplicate function calls (#393)

Signed-off-by: shubhamchaudhary <[email protected]>

* github actions(resolved conflicts)

Signed-off-by: shubham chaudhary <[email protected]>

* chore(nonchaos-pods): filter all the nonchaos-pods for target pod selection (#401)

Signed-off-by: shubham chaudhary <[email protected]>

Co-authored-by: Udit Gaurav <[email protected]>

* fix(stress-chaos): fixing the stress chaos for abort cases and target details (#399)

Signed-off-by: shubhamchaudhary <[email protected]>

Co-authored-by: Udit Gaurav <[email protected]>

Co-authored-by: Udit Gaurav <[email protected]>
Co-authored-by: Jakub Stejskal <[email protected]>

1.13.7

29 Jun 04:39
2fd1479
Compare
Choose a tag to compare
[Cherrypick for 1.13.7] (#392)

* fix(log): fixed the comparator logs (#384)

Signed-off-by: shubhamchaudhary <[email protected]>

* Fix: Populate total chaos duration to helper in dns experiments (#389)

Signed-off-by: udit <[email protected]>

* feat(annotation): skipping parent resources listing, if annotationCheck is false (#387)

Signed-off-by: shubhamchaudhary <[email protected]>

Co-authored-by: Udit Gaurav <[email protected]>

1.13.6

15 Jun 14:27
9c58d22
Compare
Choose a tag to compare
[Cherrypick for 1.13.6] (#381)

* chore(dns): adding spoofmap env in helper pod (#363)

Signed-off-by: shubhamchaudhary <[email protected]>

* Fix sequence env in kafka broker pod experiment (#369)

* Fix sequence env in kafka broker pod experiment

Signed-off-by: uditgaurav <[email protected]>

* add pod affected percentage env

Signed-off-by: uditgaurav <[email protected]>

* chore(contribution): Adding contribution guide, bch check, issue & PR templates (#367)

Signed-off-by: shubhamchaudhary <[email protected]>

* fix: vendor/golang.org/x/net/http2/Dockerfile to reduce vulnerabilities (#361)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UBUNTU1404-OPENSSL-1049144
- https://snyk.io/vuln/SNYK-UBUNTU1404-SUDO-1065770
- https://snyk.io/vuln/SNYK-UBUNTU1404-SUDO-406981
- https://snyk.io/vuln/SNYK-UBUNTU1404-SUDO-473059
- https://snyk.io/vuln/SNYK-UBUNTU1404-SUDO-546522

Co-authored-by: Karthik Satchitanand <[email protected]>

* fix: vendor/golang.org/x/net/http2/Dockerfile to reduce vulnerabilities (#364)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UBUNTU1404-OPENSSL-1049144
- https://snyk.io/vuln/SNYK-UBUNTU1404-SUDO-1065770
- https://snyk.io/vuln/SNYK-UBUNTU1404-SUDO-406981
- https://snyk.io/vuln/SNYK-UBUNTU1404-SUDO-473059
- https://snyk.io/vuln/SNYK-UBUNTU1404-SUDO-546522

Co-authored-by: Karthik Satchitanand <[email protected]>

* chore(env): : updated the env setter function (#365)

Signed-off-by: shubhamchaudhary <[email protected]>

* rm(vendor): removing the vendor directory from litmus-go (#366)

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(image): reduce the go-runner image size (#371)

Signed-off-by: shubhamchaudhary <[email protected]>

* Chore(e2e): Update e2e workflows and add more node level tests (#372)

* Chore(e2e): Update e2e workflows and add more node level tests

Signed-off-by: uditgaurav <[email protected]>

* add kind config

Signed-off-by: uditgaurav <[email protected]>

* chore(probe): adding probe abort (#370)

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(helper): Adding statusCheckTimeouts for the helper status check (#373)

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(chaosresult): updating verdict and status in chaosengine and chaosresult (#375)

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(sdk): updating sdk (#378)

* chore(sdk): updating sdk

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(pod-delete): Adding target details inside chaosresult (#336)

* chore(pod-delete): Adding target details inside chaosresult

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(pod-delete): Adding target details inside chaosresult for pod-autoscaler

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(experiment): Adding target details inside chaosresult for the experiments which contains helper pod (#342)

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(experiment): Adding target details inside chaosresult for the experiments which doesn't contain helper pod (#341)

* chore(experiment): Adding target details inside chaosresult for the experiments which doesn't contain helper pod

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(experiment): Adding target details inside chaosresult for the pumba helper

Signed-off-by: shubhamchaudhary <[email protected]>

* Added docker-service-kill experiment implementation in litmus-go. (#379)

* Added docker-svc-kill implementation in litmus-go.

Signed-off-by: Jonsy13 <[email protected]>

* Chore(Dockerfile): Update Dockerfile to take binaries from test-tool release build (#380)

Signed-off-by: udit <[email protected]>

* chore(1.13.x): updating branch to 1.13.x in github actions

Signed-off-by: shubhamchaudhary <[email protected]>

Co-authored-by: Udit Gaurav <[email protected]>
Co-authored-by: Snyk bot <[email protected]>
Co-authored-by: Karthik Satchitanand <[email protected]>
Co-authored-by: VEDANT SHROTRIA <[email protected]>

1.13.5

15 May 14:54
118e25e
Compare
Choose a tag to compare
[Cherrypick for 1.13.5] (#362)

* chore(helper): updating the helper pod status check (#355)

Signed-off-by: shubhamchaudhary <[email protected]>

* Chore(EC2-checks): Update the ec2 terminate with tags experiment to target only running instances (#350)

Signed-off-by: uditgaurav <[email protected]>

* rm(README): Removed the outdated readme (#358)

Signed-off-by: shubhamchaudhary <[email protected]>

* Updated DNS chaos (#357)

* added dns spoof chaos

Signed-off-by: Soumya Ghosh Dastidar <[email protected]>

* Chore(New_exp): Add EBS Loss experiment using Tags (#354)

* Chore(New_exp): Add EBS Loss experiment using Tags

Signed-off-by: uditgaurav <[email protected]>

* Chore(abort): Add abort chaos support for kube-aws experiments (#347)

* Chore(abort): Add abort chaos support for kube-aws experiments

Signed-off-by: uditgaurav <[email protected]>

* Add abort signals

Signed-off-by: uditgaurav <[email protected]>

* Update abort logic and also include WaitForDown before the actual recovery

Signed-off-by: uditgaurav <[email protected]>

* Resolve conflict

Signed-off-by: uditgaurav <[email protected]>

* Update ec2-terminate-by-id.go

* Resolve Conflict

Signed-off-by: uditgaurav <[email protected]>

* Resolve Conflict

Signed-off-by: uditgaurav <[email protected]>

* Make common abort for ebs

Signed-off-by: uditgaurav <[email protected]>

Co-authored-by: Shubham Chaudhary <[email protected]>

* refactor(chaoslibs): Refactored generic node experiments (#351)

Signed-off-by: shubhamchaudhary <[email protected]>

* refactor(chaoslibs): Refactored pumba chaoslibs and utils (#352)

Signed-off-by: shubhamchaudhary <[email protected]>

* refactor(chaoslibs): Refactored all the chaoslibs (#349)

Signed-off-by: shubhamchaudhary <[email protected]>

* refactor(chaoslibs): Refactored aws & vmware  experiments (#353)

Signed-off-by: shubhamchaudhary <[email protected]>

* refactor(chaoslibs): Refactored aws & vmware  experiments (#353) (#359)

Signed-off-by: shubhamchaudhary <[email protected]>

Co-authored-by: Udit Gaurav <[email protected]>
Co-authored-by: Soumya Ghosh Dastidar <[email protected]>

1.13.4

30 Apr 19:41
b4b8934
Compare
Choose a tag to compare
[ Cherrypick for 1.13.4] (#348)

* chore(node-restart): updating the node-restart experiment (#335)

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(disk-fill): Adding Block size as tunable in disk-fill (#344)

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(exec): execing inside target pod only if it is in ready state (#343)

Signed-off-by: shubhamchaudhary <[email protected]>

* Core(New_exp): Adding VMWare VMPowerOff Experiment (#346)

* Core(New_exp): Adding VMWare VMPowerOff Experiment

Signed-off-by: DelphineJoyneer <[email protected]>

* Adding events for chaosinjection

Signed-off-by: DelphineJoyneer <[email protected]>

* Added abort and some minor fixes

Signed-off-by: DelphineJoyneer <[email protected]>

* Added a note for VSphere Version

Signed-off-by: DelphineJoyneer <[email protected]>

Co-authored-by: DelphineJoyneer <[email protected]>

* Chore(update): Enhance pod-autoscaler logs and update helper pod name (#337)

* Chore(update): Enhance pod-autoscaler logs and update helper pod name

Signed-off-by: uditgaurav <[email protected]>

* chore(node-label): Adding ability to filter target node by label (#345)

Signed-off-by: shubhamchaudhary <[email protected]>

* chore(stress): fixing 137 error in cpu & memory chaos (#339)

Signed-off-by: shubhamchaudhary <[email protected]>

Co-authored-by: iassurewipro <[email protected]>
Co-authored-by: DelphineJoyneer <[email protected]>
Co-authored-by: Udit Gaurav <[email protected]>