-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az ml component create progress indicator should log to stderr, not stdout #27424
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botMachine Learningaz mlaz mlService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Labels
Auto-AssignAuto assign by botAuto assign by botMachine Learningaz mlaz mlService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
When creating a component using
az ml component create, it prints dots..indicating that the process is running. These are printed to stdout and not stderr. This becomes a problem when using--queryargument to capture e.g. the id of the created component--query "id" -o tsv. Since both are using stdout, one gets dtos at the beginning of theidRelated command
az ml component create
Errors
The command does not fail, but any attempt to use the output from
--querywillIssue script & Debug output
Not applicable
Expected behavior
The dots indicating progress should log to stderr as all the other logging output.
Environment Summary
azure-cli 2.52.0
core 2.52.0
telemetry 1.1.0
Extensions:
ml 2.19.1
Dependencies:
msal 1.24.0b1
azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/home/toera/.azure/cliextensions'
Python (Linux) 3.10.10 (main, Aug 31 2023, 09:13:53) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response