Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@russmiles
Created July 18, 2018 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save russmiles/ab232dbce7ef98d4cc7e210fb91da19d to your computer and use it in GitHub Desktop.
Save russmiles/ab232dbce7ef98d4cc7e210fb91da19d to your computer and use it in GitHub Desktop.
$ 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