Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ chaos run experiment.json
[2018-07-18 16:21:46 INFO] Validating the experiment's syntax
[2018-07-18 16:21:47 INFO] Experiment looks valid
[2018-07-18 16:21:47 INFO] Running experiment: My application is resilient to admin-instrigated node drainage
[2018-07-18 16:21:47 INFO] Steady state hypothesis: Services are all available and healthy
[2018-07-18 16:21:47 INFO] Probe: application-must-respond-normally
[2018-07-18 16:21:47 INFO] Probe: pods_in_phase
[2018-07-18 16:21:47 INFO] Steady state hypothesis is met!
[2018-07-18 16:21:47 INFO] Action: drain_node
[2018-07-18 16:23:08 INFO] Steady state hypothesis: Services are all available and healthy
[2018-07-18 16:23:08 INFO] Probe: application-must-respond-normally
[2018-07-18 16:23:08 INFO] Probe: pods_in_phase
[2018-07-18 16:23:09 ERROR] => failed: chaoslib.exceptions.FailedActivity: pod 'biz-app-id=retail' is in phase 'Pending' but should be 'Running'
[2018-07-18 16:23:09 WARNING] Probe terminated unexpectedly, so its tolerance could not be validated
[2018-07-18 16:23:09 CRITICAL] Steady state probe 'pods_in_phase' is not in the given tolerance so failing this experiment
[2018-07-18 16:23:09 INFO] Let's rollback...
[2018-07-18 16:23:09 INFO] Rollback: uncordon_node
[2018-07-18 16:23:09 INFO] Action: uncordon_node
[2018-07-18 16:23:09 INFO] Experiment ended with status: failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.