chaos monkey tests
This commit is contained in:
936
.experiments/tapas-tasks/chaostoolkit.log
Normal file
936
.experiments/tapas-tasks/chaostoolkit.log
Normal file
@@ -0,0 +1,936 @@
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:35:02 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [secret:104][39m Done loading secrets
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[31m[2021-11-27 11:35:02 ERROR] [cli:251][39m hypothesis requires a title
|
||||
[36m[2021-11-27 11:35:02 DEBUG] [cli:252][39m hypothesis requires a title
|
||||
[36m[2021-11-27 11:35:57 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:35:57 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:35:57 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:35:58 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:35:58 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:35:58 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:35:58 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:35:58 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:35:58 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:35:58 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[31m[2021-11-27 11:35:58 ERROR] [cli:251][39m experiment requires a description
|
||||
[36m[2021-11-27 11:35:58 DEBUG] [cli:252][39m experiment requires a description
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:36:18 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:36:18 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:36:18 INFO] [run:319][39m Running experiment: Testing kill & restart
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:36:18 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:36:18 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:36:18 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:36:18 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:36:18 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-27 11:36:18 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-27T10:36:19.060458Z"}'
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:36:19 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:36:19 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:36:19 INFO] [rollback:30][39m Rollback: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:36:19 INFO] [activity:188][39m Action: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [python:33][39m Activity 'disable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [activity:260][39m Activity failed
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
|
||||
conn = connection.create_connection(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
|
||||
raise err
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
|
||||
sock.connect(sa)
|
||||
ConnectionRefusedError: [Errno 61] Connection refused
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
|
||||
httplib_response = self._make_request(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
|
||||
conn.request(method, url, **httplib_request_kw)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
|
||||
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1279, in request
|
||||
self._send_request(method, url, body, headers, encode_chunked)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1325, in _send_request
|
||||
self.endheaders(body, encode_chunked=encode_chunked)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1274, in endheaders
|
||||
self._send_output(message_body, encode_chunked=encode_chunked)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1034, in _send_output
|
||||
self.send(msg)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 974, in send
|
||||
self.connect()
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
|
||||
conn = self._new_conn()
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
|
||||
raise NewConnectionError(
|
||||
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x106688100>: Failed to establish a new connection: [Errno 61] Connection refused
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
|
||||
resp = conn.urlopen(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
|
||||
retries = retries.increment(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
|
||||
raise MaxRetryError(_pool, url, error or ResponseError(cause))
|
||||
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x106688100>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/provider/python.py", line 56, in run_python_activity
|
||||
return func(**arguments)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py", line 53, in disable_chaosmonkey
|
||||
response = api.call_api(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/api.py", line 56, in call_api
|
||||
return requests.request(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/api.py", line 61, in request
|
||||
return session.request(method=method, url=url, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
|
||||
resp = self.send(prep, **send_kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
|
||||
r = adapter.send(request, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
|
||||
raise ConnectionError(e, request=request)
|
||||
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x106688100>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/activity.py", line 253, in run_activity
|
||||
result = run_python_activity(activity, configuration, secrets)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/provider/python.py", line 58, in run_python_activity
|
||||
raise ActivityFailed(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/provider/python.py", line 56, in run_python_activity
|
||||
return func(**arguments)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py", line 53, in disable_chaosmonkey
|
||||
response = api.call_api(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/api.py", line 56, in call_api
|
||||
return requests.request(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/api.py", line 61, in request
|
||||
return session.request(method=method, url=url, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
|
||||
resp = self.send(prep, **send_kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
|
||||
r = adapter.send(request, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
|
||||
raise ConnectionError(e, request=request)
|
||||
chaoslib.exceptions.ActivityFailed: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x106688100>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
[31m[2021-11-27 11:36:19 ERROR] [activity:213][39m => failed: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x106688100>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:36:19 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:36:19 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:36:54 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:36:54 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:36:54 INFO] [run:319][39m Running experiment: Testing kill & restart
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:36:54 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:36:54 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:36:54 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:36:54 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:36:54 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-27T10:36:54.668324Z"}'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:36:54 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:36:54 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:36:54 INFO] [rollback:30][39m Rollback: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:36:54 INFO] [activity:188][39m Action: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [python:33][39m Activity 'disable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [activity:260][39m Activity failed
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
|
||||
conn = connection.create_connection(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
|
||||
raise err
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
|
||||
sock.connect(sa)
|
||||
ConnectionRefusedError: [Errno 61] Connection refused
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
|
||||
httplib_response = self._make_request(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
|
||||
conn.request(method, url, **httplib_request_kw)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
|
||||
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1279, in request
|
||||
self._send_request(method, url, body, headers, encode_chunked)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1325, in _send_request
|
||||
self.endheaders(body, encode_chunked=encode_chunked)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1274, in endheaders
|
||||
self._send_output(message_body, encode_chunked=encode_chunked)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1034, in _send_output
|
||||
self.send(msg)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 974, in send
|
||||
self.connect()
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
|
||||
conn = self._new_conn()
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
|
||||
raise NewConnectionError(
|
||||
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x104be0100>: Failed to establish a new connection: [Errno 61] Connection refused
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
|
||||
resp = conn.urlopen(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
|
||||
retries = retries.increment(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
|
||||
raise MaxRetryError(_pool, url, error or ResponseError(cause))
|
||||
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x104be0100>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/provider/python.py", line 56, in run_python_activity
|
||||
return func(**arguments)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py", line 53, in disable_chaosmonkey
|
||||
response = api.call_api(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/api.py", line 56, in call_api
|
||||
return requests.request(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/api.py", line 61, in request
|
||||
return session.request(method=method, url=url, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
|
||||
resp = self.send(prep, **send_kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
|
||||
r = adapter.send(request, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
|
||||
raise ConnectionError(e, request=request)
|
||||
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x104be0100>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/activity.py", line 253, in run_activity
|
||||
result = run_python_activity(activity, configuration, secrets)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/provider/python.py", line 58, in run_python_activity
|
||||
raise ActivityFailed(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/provider/python.py", line 56, in run_python_activity
|
||||
return func(**arguments)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py", line 53, in disable_chaosmonkey
|
||||
response = api.call_api(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/api.py", line 56, in call_api
|
||||
return requests.request(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/api.py", line 61, in request
|
||||
return session.request(method=method, url=url, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
|
||||
resp = self.send(prep, **send_kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
|
||||
r = adapter.send(request, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
|
||||
raise ConnectionError(e, request=request)
|
||||
chaoslib.exceptions.ActivityFailed: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x104be0100>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
[31m[2021-11-27 11:36:54 ERROR] [activity:213][39m => failed: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x104be0100>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:36:54 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:36:54 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:36:59 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:36:59 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:36:59 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:37:00 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:37:00 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:37:00 INFO] [run:319][39m Running experiment: Testing kill & restart
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:37:00 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:37:00 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:37:00 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:37:00 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:37:00 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-27T10:37:00.591716Z"}'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:37:00 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:37:00 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:37:00 INFO] [rollback:30][39m Rollback: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:37:00 INFO] [activity:188][39m Action: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [python:33][39m Activity 'disable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is disabled","disabledAt":"2021-11-27T10:37:00.650024Z"}'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:37:00 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:37:00 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:38:39 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:38:39 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:38:39 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:38:40 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:38:40 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:38:40 INFO] [run:319][39m Running experiment: Testing kill & restart
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:38:40 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:38:40 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:38:40 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:38:40 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:38:40 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-27 11:38:40 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-27T10:38:40.795245Z"}'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:38:41 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:38:41 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:38:41 INFO] [rollback:30][39m Rollback: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:38:41 INFO] [activity:188][39m Action: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [python:33][39m Activity 'disable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is disabled","disabledAt":"2021-11-27T10:38:41.923689Z"}'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:38:41 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:38:41 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:42:14 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:42:14 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:42:14 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:42:15 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:42:15 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:42:15 INFO] [run:319][39m Running experiment: Testing kill & restart
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:42:15 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:42:15 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:42:15 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:42:15 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:42:15 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-27T10:42:15.310527Z"}'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:42:15 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:42:15 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:42:15 INFO] [rollback:27][39m No declared rollbacks, let's move on.
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:42:15 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:42:15 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:43:22 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:43:22 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:43:22 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:43:23 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:43:23 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:43:23 INFO] [run:319][39m Running experiment: What is the impact of an expired certificate on our application chain?
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:43:23 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:43:23 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:43:23 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:43:23 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:43:23 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-27T10:43:23.565576Z"}'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:43:23 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:43:23 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:43:23 INFO] [rollback:27][39m No declared rollbacks, let's move on.
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:43:23 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:43:23 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:43:50 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:43:50 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:43:50 INFO] [run:319][39m Running experiment: What is the impact of an expired certificate on our application chain?
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:43:50 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:43:50 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:43:50 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:43:50 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:43:50 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-27T10:43:50.888054Z"}'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:43:50 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:43:50 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:43:50 INFO] [rollback:27][39m No declared rollbacks, let's move on.
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:43:50 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:43:50 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:47:20 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:47:20 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:47:20 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [caching:35][39m Cached 0 activities
|
||||
[32m[2021-11-27 11:47:21 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:47:21 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [caching:35][39m Cached 0 activities
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:47:21 INFO] [run:319][39m Running experiment: Disable chaos monkey
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:47:21 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:47:21 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:47:21 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:47:21 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:47:21 INFO] [activity:113][39m No declared activities, let's move on.
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:47:21 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:47:21 INFO] [rollback:30][39m Rollback: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:47:21 INFO] [activity:188][39m Action: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [python:33][39m Activity 'disable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [activity:260][39m Activity failed
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
|
||||
conn = connection.create_connection(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
|
||||
raise err
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
|
||||
sock.connect(sa)
|
||||
ConnectionRefusedError: [Errno 61] Connection refused
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
|
||||
httplib_response = self._make_request(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
|
||||
conn.request(method, url, **httplib_request_kw)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
|
||||
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1279, in request
|
||||
self._send_request(method, url, body, headers, encode_chunked)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1325, in _send_request
|
||||
self.endheaders(body, encode_chunked=encode_chunked)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1274, in endheaders
|
||||
self._send_output(message_body, encode_chunked=encode_chunked)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1034, in _send_output
|
||||
self.send(msg)
|
||||
File "/opt/homebrew/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 974, in send
|
||||
self.connect()
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
|
||||
conn = self._new_conn()
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
|
||||
raise NewConnectionError(
|
||||
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x1024bf220>: Failed to establish a new connection: [Errno 61] Connection refused
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
|
||||
resp = conn.urlopen(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
|
||||
retries = retries.increment(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
|
||||
raise MaxRetryError(_pool, url, error or ResponseError(cause))
|
||||
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1024bf220>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/provider/python.py", line 56, in run_python_activity
|
||||
return func(**arguments)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py", line 53, in disable_chaosmonkey
|
||||
response = api.call_api(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/api.py", line 56, in call_api
|
||||
return requests.request(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/api.py", line 61, in request
|
||||
return session.request(method=method, url=url, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
|
||||
resp = self.send(prep, **send_kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
|
||||
r = adapter.send(request, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
|
||||
raise ConnectionError(e, request=request)
|
||||
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1024bf220>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/activity.py", line 253, in run_activity
|
||||
result = run_python_activity(activity, configuration, secrets)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/provider/python.py", line 58, in run_python_activity
|
||||
raise ActivityFailed(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaoslib/provider/python.py", line 56, in run_python_activity
|
||||
return func(**arguments)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py", line 53, in disable_chaosmonkey
|
||||
response = api.call_api(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/api.py", line 56, in call_api
|
||||
return requests.request(
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/api.py", line 61, in request
|
||||
return session.request(method=method, url=url, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
|
||||
resp = self.send(prep, **send_kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
|
||||
r = adapter.send(request, **kwargs)
|
||||
File "/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
|
||||
raise ConnectionError(e, request=request)
|
||||
chaoslib.exceptions.ActivityFailed: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1024bf220>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
[31m[2021-11-27 11:47:21 ERROR] [activity:213][39m => failed: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /actuator/chaosmonkey/disable (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1024bf220>: Failed to establish a new connection: [Errno 61] Connection refused'))
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:47:21 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:47:21 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:47:29 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:47:29 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:47:29 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [caching:35][39m Cached 0 activities
|
||||
[32m[2021-11-27 11:47:30 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:47:30 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [caching:35][39m Cached 0 activities
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:47:30 INFO] [run:319][39m Running experiment: Disable chaos monkey
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:47:30 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:47:30 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:47:30 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:47:30 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:47:30 INFO] [activity:113][39m No declared activities, let's move on.
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:47:30 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:47:30 INFO] [rollback:30][39m Rollback: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:47:30 INFO] [activity:188][39m Action: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [python:33][39m Activity 'disable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is disabled","disabledAt":"2021-11-27T10:47:30.172107Z"}'
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:47:30 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:47:30 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-27 11:49:33 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:49:33 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:49:33 INFO] [run:319][39m Running experiment: What is the impact of an expired certificate on our application chain?
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:49:33 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:49:33 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:49:33 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:49:33 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:49:33 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-27T10:49:33.912573Z"}'
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:49:33 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-27 11:49:33 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:49:34 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-27 11:49:34 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:49:34 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:49:34 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:49:34 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:49:34 INFO] [rollback:27][39m No declared rollbacks, let's move on.
|
||||
[36m[2021-11-27 11:49:34 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:49:34 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:49:34 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:49:34 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:49:34 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:50:00 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-27 11:50:00 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-27 11:50:00 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [caching:35][39m Cached 0 activities
|
||||
[32m[2021-11-27 11:50:01 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:50:01 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [caching:35][39m Cached 0 activities
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-27 11:50:01 INFO] [run:319][39m Running experiment: Disable chaos monkey
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-27 11:50:01 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-27 11:50:01 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-27 11:50:01 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-27 11:50:01 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:50:01 INFO] [activity:113][39m No declared activities, let's move on.
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-27 11:50:01 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:50:01 INFO] [rollback:30][39m Rollback: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-27 11:50:01 INFO] [activity:188][39m Action: disable_chaosmonkey
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [python:33][39m Activity 'disable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is disabled","disabledAt":"2021-11-27T10:50:01.207712Z"}'
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-27 11:50:01 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-27 11:50:01 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-28 18:00:15 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-28 18:00:15 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-28 18:00:15 INFO] [run:319][39m Running experiment: Testing latency
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-28 18:00:15 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-28 18:00:15 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-28 18:00:15 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-28 18:00:15 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-28 18:00:15 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-28 18:00:15 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-28 18:00:17 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-28T17:00:16.734825Z"}'
|
||||
[36m[2021-11-28 18:00:17 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-28 18:00:17 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-28 18:00:17 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-28 18:00:17 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-28 18:00:19 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-28 18:00:19 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-28 18:00:19 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-28 18:00:19 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-28 18:00:19 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-28 18:00:19 INFO] [rollback:27][39m No declared rollbacks, let's move on.
|
||||
[36m[2021-11-28 18:00:19 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-28 18:00:19 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-28 18:00:19 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-28 18:00:19 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-28 18:00:19 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[32m[2021-11-28 18:07:50 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-28 18:07:50 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [caching:35][39m Cached 2 activities
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-28 18:07:50 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-28 18:07:51 INFO] [run:319][39m Running experiment: Testing latency
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-28 18:07:51 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-28 18:07:51 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-28 18:07:51 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-28 18:07:51 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-28 18:07:51 INFO] [activity:188][39m Action: enable_chaosmonkey
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [python:33][39m Activity 'enable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is enabled","enabledAt":"2021-11-28T17:07:51.182021Z"}'
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-28 18:07:51 INFO] [activity:188][39m Action: configure_assaults
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [python:33][39m Activity 'configure_assaults' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [activity:205][39m => succeeded with 'Assault config has changed'
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-28 18:07:51 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-28 18:07:51 INFO] [rollback:27][39m No declared rollbacks, let's move on.
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-28 18:07:51 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-28 18:07:51 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-28 18:09:39 DEBUG] [cli:103][39m ###############################################################################
|
||||
[36m[2021-11-28 18:09:39 DEBUG] [cli:104][39m Running command 'run'
|
||||
[36m[2021-11-28 18:09:39 DEBUG] [cli:108][39m Using settings file '/Users/maece/.chaostoolkit/settings.yaml'
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [settings:30][39m The Chaos Toolkit settings file could not be found at '/Users/maece/.chaostoolkit/settings.yaml'.
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'loader'
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [caching:35][39m Cached 0 activities
|
||||
[32m[2021-11-28 18:09:40 INFO] [experiment:58][39m Validating the experiment's syntax
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-28 18:09:40 INFO] [experiment:109][39m Experiment looks valid
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [caching:42][39m Clearing activities cache
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [caching:24][39m Building activity cache...
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [caching:35][39m Cached 0 activities
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [configuration:54][39m Loading configuration...
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [secret:78][39m Loading secrets...
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [secret:104][39m Done loading secrets
|
||||
[32m[2021-11-28 18:09:40 INFO] [run:319][39m Running experiment: Disable chaos monkey
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:49][39m Initializing controls
|
||||
[32m[2021-11-28 18:09:40 INFO] [run:336][39m Steady-state strategy: default
|
||||
[32m[2021-11-28 18:09:40 INFO] [run:340][39m Rollbacks strategy: default
|
||||
[32m[2021-11-28 18:09:40 INFO] [run:345][39m No steady state hypothesis defined. That's ok, just exploring.
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[32m[2021-11-28 18:09:40 INFO] [run:599][39m Playing your experiment's method now...
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-28 18:09:40 INFO] [activity:113][39m No declared activities, let's move on.
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'method'
|
||||
[32m[2021-11-28 18:09:40 INFO] [run:885][39m Let's rollback...
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-28 18:09:40 INFO] [rollback:30][39m Rollback: disable_chaosmonkey
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[32m[2021-11-28 18:09:40 INFO] [activity:188][39m Action: disable_chaosmonkey
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [python:33][39m Activity 'disable_chaosmonkey' loaded from '/Users/maece/.venvs/chaostk/lib/python3.9/site-packages/chaosspring/actions.py'
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [activity:205][39m => succeeded with '{"status":"Chaos Monkey is disabled","disabledAt":"2021-11-28T17:09:40.443253Z"}'
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'activity'
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'rollback'
|
||||
[32m[2021-11-28 18:09:40 INFO] [run:450][39m Experiment ended with status: completed
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:389][39m No controls to apply on 'experiment'
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [__init__:82][39m Cleaning up controls
|
||||
[36m[2021-11-28 18:09:40 DEBUG] [caching:42][39m Clearing activities cache
|
24
.experiments/tapas-tasks/disable.json
Normal file
24
.experiments/tapas-tasks/disable.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"title": "Disable chaos monkey",
|
||||
"description": "Disable",
|
||||
"tags": [],
|
||||
"steady-state-hypothesis": {
|
||||
"title": "Hypothesis",
|
||||
"probes": []
|
||||
},
|
||||
"method": [],
|
||||
"rollbacks": [
|
||||
{
|
||||
"name": "disable_chaosmonkey",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator"
|
||||
},
|
||||
"func": "disable_chaosmonkey",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
}
|
||||
]
|
||||
}
|
54
.experiments/tapas-tasks/exception.json
Normal file
54
.experiments/tapas-tasks/exception.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"title": "Testing exceptions",
|
||||
"description": "Testing exceptions!",
|
||||
"tags": [],
|
||||
"steady-state-hypothesis": {
|
||||
"title": "Hypothesis",
|
||||
"probes": []
|
||||
},
|
||||
"method": [
|
||||
{
|
||||
"name": "enable_chaosmonkey",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator"
|
||||
},
|
||||
"func": "enable_chaosmonkey",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
},
|
||||
{
|
||||
"name": "configure_assaults",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator",
|
||||
"assaults_configuration": {
|
||||
"level": 5,
|
||||
"latencyRangeStart": 2000,
|
||||
"latencyRangeEnd": 15000,
|
||||
"latencyActive": false,
|
||||
"killApplicationActive": false,
|
||||
"restartApplicationActive": false,
|
||||
"exceptionsActive": true,
|
||||
"exception": {
|
||||
"type": "java.lang.RuntimeException",
|
||||
"arguments": [
|
||||
{
|
||||
"className": "java.lang.String",
|
||||
"value": "Exception assault has been carried out"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"func": "change_assaults_configuration",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
}
|
||||
],
|
||||
"rollbacks": []
|
||||
}
|
62
.experiments/tapas-tasks/journal.json
Normal file
62
.experiments/tapas-tasks/journal.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"chaoslib-version": "1.23.0",
|
||||
"platform": "macOS-12.0-arm64-arm-64bit",
|
||||
"node": "Marcels-MBP-M1",
|
||||
"experiment": {
|
||||
"title": "Disable chaos monkey",
|
||||
"description": "Disable",
|
||||
"tags": [],
|
||||
"steady-state-hypothesis": {
|
||||
"title": "Hypothesis",
|
||||
"probes": []
|
||||
},
|
||||
"method": [],
|
||||
"rollbacks": [
|
||||
{
|
||||
"name": "disable_chaosmonkey",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator"
|
||||
},
|
||||
"func": "disable_chaosmonkey",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
}
|
||||
],
|
||||
"dry": null
|
||||
},
|
||||
"start": "2021-11-28T17:09:40.224824",
|
||||
"status": "completed",
|
||||
"deviated": false,
|
||||
"steady_states": {
|
||||
"before": null,
|
||||
"after": null,
|
||||
"during": []
|
||||
},
|
||||
"run": [],
|
||||
"rollbacks": [
|
||||
{
|
||||
"activity": {
|
||||
"name": "disable_chaosmonkey",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator"
|
||||
},
|
||||
"func": "disable_chaosmonkey",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
},
|
||||
"output": "{\"status\":\"Chaos Monkey is disabled\",\"disabledAt\":\"2021-11-28T17:09:40.443253Z\"}",
|
||||
"status": "succeeded",
|
||||
"start": "2021-11-28T17:09:40.226419",
|
||||
"end": "2021-11-28T17:09:40.531586",
|
||||
"duration": 0.305167
|
||||
}
|
||||
],
|
||||
"end": "2021-11-28T17:09:40.531671",
|
||||
"duration": 0.33724117279052734
|
||||
}
|
45
.experiments/tapas-tasks/kill-restart.json
Normal file
45
.experiments/tapas-tasks/kill-restart.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"title": "Testing kill & restart",
|
||||
"description": "Testing behavoir when killing and restarting the application",
|
||||
"tags": [],
|
||||
"steady-state-hypothesis": {
|
||||
"title": "Hypothesis",
|
||||
"probes": []
|
||||
},
|
||||
"method": [
|
||||
{
|
||||
"name": "enable_chaosmonkey",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator"
|
||||
},
|
||||
"func": "enable_chaosmonkey",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
},
|
||||
{
|
||||
"name": "configure_assaults",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator",
|
||||
"assaults_configuration": {
|
||||
"level": 5,
|
||||
"latencyRangeStart": 2000,
|
||||
"latencyRangeEnd": 5000,
|
||||
"latencyActive": false,
|
||||
"exceptionsActive": false,
|
||||
"killApplicationActive": true,
|
||||
"restartApplicationActive": true
|
||||
}
|
||||
},
|
||||
"func": "change_assaults_configuration",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
}
|
||||
],
|
||||
"rollbacks": []
|
||||
}
|
45
.experiments/tapas-tasks/latency.json
Normal file
45
.experiments/tapas-tasks/latency.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"title": "Testing latency",
|
||||
"description": "Testing latency!",
|
||||
"tags": [],
|
||||
"steady-state-hypothesis": {
|
||||
"title": "Hypothesis",
|
||||
"probes": []
|
||||
},
|
||||
"method": [
|
||||
{
|
||||
"name": "enable_chaosmonkey",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator"
|
||||
},
|
||||
"func": "enable_chaosmonkey",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
},
|
||||
{
|
||||
"name": "configure_assaults",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator",
|
||||
"assaults_configuration": {
|
||||
"level": 5,
|
||||
"latencyRangeStart": 2000,
|
||||
"latencyRangeEnd": 15000,
|
||||
"latencyActive": true,
|
||||
"exceptionsActive": false,
|
||||
"killApplicationActive": false,
|
||||
"restartApplicationActive": false
|
||||
}
|
||||
},
|
||||
"func": "change_assaults_configuration",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
}
|
||||
],
|
||||
"rollbacks": []
|
||||
}
|
49
.experiments/tapas-tasks/memory.json
Normal file
49
.experiments/tapas-tasks/memory.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"title": "Testing memory",
|
||||
"description": "Testing memory!",
|
||||
"tags": [],
|
||||
"steady-state-hypothesis": {
|
||||
"title": "Hypothesis",
|
||||
"probes": []
|
||||
},
|
||||
"method": [
|
||||
{
|
||||
"name": "enable_chaosmonkey",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator"
|
||||
},
|
||||
"func": "enable_chaosmonkey",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
},
|
||||
{
|
||||
"name": "configure_assaults",
|
||||
"provider": {
|
||||
"arguments": {
|
||||
"base_url": "http://localhost:8081/actuator",
|
||||
"assaults_configuration": {
|
||||
"level": 5,
|
||||
"latencyActive": false,
|
||||
"killApplicationActive": false,
|
||||
"restartApplicationActive": false,
|
||||
"exceptionsActive": false,
|
||||
"memoryActive": true,
|
||||
"memoryMillisecondsHoldFilledMemory": 90000,
|
||||
"memoryMillisecondsWaitNextIncrease": 100,
|
||||
"memoryFillIncrementFraction": 0.9,
|
||||
"memoryFillTargetFraction": 0.95,
|
||||
"runtimeAssaultCronExpression": "*/1 * * * * ?"
|
||||
}
|
||||
},
|
||||
"func": "change_assaults_configuration",
|
||||
"module": "chaosspring.actions",
|
||||
"type": "python"
|
||||
},
|
||||
"type": "action"
|
||||
}
|
||||
],
|
||||
"rollbacks": []
|
||||
}
|
Reference in New Issue
Block a user