[azcli 2.48.1] Warning messages are considered as errors #26330
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Installation
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Related command
All azcli commands that generate warnings
Describe the bug
Warning messages are considered as errors and fail all our pipelines with the failOnStandardError parameter set to true. In workaround, we are forced to go back over all our pipelines and set the parameter to false to resolve the problem. Already stated in this issue on version 2.45.0: #25406
To Reproduce
Expected behavior
Environment summary
Pipeline azure devops
Agent pool : ubuntu-latest
azcli version : 2.48.1
Additional context
Ex logs :
WARNING: Readonly attribute name will be ignored in class <class 'azure.mgmt.resource.locks.v2016_09_01.models._models_py3.ManagementLockObject'>
##[error]WARNING: Readonly attribute name will be ignored in class <class 'azure.mgmt.resource.locks.v2016_09_01.models._models_py3.ManagementLockObject'>
WARNING: Readonly attribute name will be ignored in class <class 'azure.mgmt.resource.locks.v2016_09_01.models._models_py3.ManagementLockObject'>
##[error]Script has output to stderr. Failing as failOnStdErr is set to true.
The text was updated successfully, but these errors were encountered: