You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--log-level leaks into experiment flags and breaks experiments on master #1402
On current master (c40c0a7) most experiments fail or silently do nothing. #1395 re-enabled the root --log-level flag with a default of info. createExpModel copies every flag of the command into ActionFlags, including inherited persistent flags, so every experiment now carries log-level=info even if the flag is never used. Executors treat it as an experiment parameter:
chaos_os parses its arguments with flag.ExitOnError and does not define log-level, so it exits with status 2.
The flag is stored in the experiment record, so blade destroy fails the same way.
The java agent uses parameters it does not know as matchers, so JVM faults report success but never fire.
The latest release, v1.8.2, is not affected because it was tagged before #1395.
Describe what you expected to happen
--log-level only configures the logging of the blade CLI and does not reach the executors.
How to reproduce it (as minimally and precisely as possible)
Build master and run it with the bin/ and lib/ directories of the v1.8.2 release:
Activity