-
Notifications
You must be signed in to change notification settings - Fork 3.4k
ACR self.cmd did not detect command failure #30478
Copy link
Copy link
Open
Labels
Container Registryaz acraz acrService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-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.
Metadata
Metadata
Assignees
Labels
Container Registryaz acraz acrService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-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.
Describe the bug
ACR team uses the self.cmd command to confirm that our command successfully runs with no errors. However, we have noticed that our test using self.cmd still passes even though our
acr agentpool deletecommand returns an errorazure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_agentpool_commands.py
Line 67 in f92f723
Related command
acr agentpool delete -n {agents2_name} -r {registry_name}
Errors
NA
Issue script & Debug output
NA
Expected behavior
Test fail when command returns an error message
Environment Summary
{ "auzre-cli": "2.67.0", "azure-cli-core": "2.67.0", "azure-cli-telemetry": "1.1.0", "extensions": { "acrtransfer": "1.1.0" } }Additional context
No response