Comments (6)
Thank you for opening this issue, we will look into it.
from azure-cli-extensions.
Thanks for bringing this to our attention. Those class messages are not errors, they're log warnings. All of our experimental classes are marked with a decorator to let users know that they are experimental, so that they don't use them in prod builds, or at the very least are cautious about doing so. This handled by a call to Python's logger and Python sends all logs to stderr; however, the --only-show-errors
flag is implemented by Azure CLI (not our ml extension) and Azure CLI's own documentation explicitly says here that experimental warnings should be swallowed by that flag, so I'll assign this back to them to look at.
@yonzhan I've removed the ml labels
from azure-cli-extensions.
@diondrapeck I think from knack.log import get_logger
's logger works with --only-show-errors
.
@eddmik It is not recommended to use failOnStderr
to determine the pipeline failure. See Azure/azure-cli#18372
from azure-cli-extensions.
@bebound thank you for your comment, I have read the comments, however it is only in the case where --debug
is used it does not make sense to use the failOnStderr: true
, in our case my understanding is, it makes sense to use failOnStderr: true
in combination with --only-show-errors
(See. Azure/azure-cli/issues/18372#issuecomment) please correct me if I am wrong. Otherwise how would you see that the job is failed?
from azure-cli-extensions.
@bebound Gotcha. I just checked and knack isn't GA yet, so due to Azure SDK for Python guidelines, we can't depend on it in our GA ML SDK (which the ml CLI extension is built on top of).
from azure-cli-extensions.
@bebound thank you for your comment, I have read the comments, however it is only in the case where
--debug
is used it does not make sense to use thefailOnStderr: true
, in our case my understanding is, it makes sense to usefailOnStderr: true
in combination with--only-show-errors
(See. Azure/azure-cli/issues/18372#issuecomment) please correct me if I am wrong. Otherwise how would you see that the job is failed?
Use $LASTEXITCODE
instead. The --only=show-errors
option may not be reliable as any CLI dependency could write to stderr and interrupt your pipeline.
from azure-cli-extensions.
Related Issues (20)
- [FR] `az network bastion ssh --auth-type ssh-key` Ability to point to Key Vault secret HOT 2
- 'automation' is misspelled or not recognized by the system HOT 2
- az aks mesh get-upgrades fails with a traceback if Istio AKS addon is disabled HOT 4
- az connectedk8s enable-features doesn't check if custom-locations-oid input parameter is valid HOT 1
- az ml 2.24.0 not compatible with mcr.microsoft.com/azure-cli:2.58.0 HOT 5
- Can not create data-collection rule with a custom stream HOT 3
- [az fleet] get-credentials command fails with error with empty kubeconfig HOT 2
- az postgres flexible-server execute.. no longer works HOT 8
- [FR] Bastion tunnel inactivity timeout HOT 3
- Network Manager create/update does not support multiple subs/mgs HOT 1
- [Monitor Control Service] Upgrade to latest API version (2023-03-11) + Fix current gaps HOT 2
- az dataprotection backup-instance create - (UserErrorNoContainersSelectedForOperation) No containers selected for operation HOT 5
- az ml extension shows as installed using official documentation but not working HOT 5
- Compute instance is not getting stopped even after configuring the 'Idle Shutdown Time' HOT 2
- az logic workflow create/update removes existing parameters HOT 2
- Container Apps are always created in the wrong region (az containerapp compose create) HOT 2
- Environment vars aren't applied correctly to some containers as stated in docker-compose file HOT 6
- [connectedk8s] Escaping newlines in python strings produces weird spaces in cli error messages HOT 2
- 'ServicePrincipalCredential' is not defined in 1.7.1 connectedk8s HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-cli-extensions.