chaostoolkit-incubator / chaostoolkit-azure

Chaos Toolkit Extension for Azure
https://chaostoolkit.org/
Apache License 2.0
22 stars 28 forks source link

Experiment ended with status completed even if auth failed #122

Open YanumVlad opened 3 years ago

YanumVlad commented 3 years ago

Team,

Please find the next issue. When AUTH is not valid - I stil get Experiment ended with status completed. Hence, my DevOps pipeline is green. I have to explicitly grep output for ERROR pattern to ensure no issues are in place. Could you please fix it?

[2020-11-01 14:26:33 INFO] Invalid Azure cloud 'AZURE_PUBLIC_CLOUD123'. Please provide a proper cloud value [2020-11-01 14:26:33 ERROR] => failed: chaoslib.exceptions.InterruptExecution: Invalid Azure cloud 'AZURE_PUBLIC_CLOUD123'. Please provide a proper cloud value [2020-11-01 14:26:37 INFO] Experiment ended with status: completed