Skip to content

[ACR] Fix Azure/azure-cli#33698: az acr login: Fix ARM token exchange fallback for AzureML MSI/SSO#33699

Draft
a0x1ab with Copilot wants to merge 5 commits into
devfrom
copilot/fix-az-acr-login-regression
Draft

[ACR] Fix Azure/azure-cli#33698: az acr login: Fix ARM token exchange fallback for AzureML MSI/SSO#33699
a0x1ab with Copilot wants to merge 5 commits into
devfrom
copilot/fix-az-acr-login-regression

Conversation

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Related command
az acr login

Description

In AzureML Compute Instance environments using az login --identity (MSI/SSO), az acr login fails because acquiring an AAD token scoped to https://containerregistry.azure.net returns an SSO error. ACR's /oauth2/exchange endpoint accepts ARM management tokens (https://management.azure.com/) equally well, and that token is available in these environments — this path worked in 2.81.0.

The regression was introduced in #31798, which removed the conditional ARM-token fallback and hardcoded the ACR audience as the only option.

Fix: In _get_aad_token_after_challenge, catch CLIError from profile.get_raw_token(resource=<acr-scope>) and retry with no resource (ARM management endpoint). The ACR-specific audience is still preferred; ARM is only used when the scoped request fails.

# Before: always used ACR audience — breaks MSI/SSO environments
creds, _, tenant = profile.get_raw_token(subscription=..., resource=scope)

# After: falls back to ARM token if ACR audience acquisition fails
try:
    creds, _, tenant = profile.get_raw_token(subscription=..., resource=scope)
except CLIError as e:
    logger.debug("Failed to get AAD token for ACR scope '%s' (%s). "
                 "Falling back to ARM management token.", scope, str(e))
    creds, _, tenant = profile.get_raw_token(subscription=...)

Testing Guide

On an AzureML Compute Instance with MSI login:

az login --identity
az acr login -n $ACR            # previously failed with SSO error; now succeeds
az acr login -n $ACR --expose-token  # also succeeds

Unit test test_get_docker_credentials_arm_token_fallback added: mocks get_raw_token to raise CLIError on the ACR-scope call and verifies login succeeds via the ARM fallback.

History Notes

[ACR] az acr login: Fix ARM token exchange fallback for AzureML MSI/SSO environments


This checklist is used to make sure that common guidelines for a pull request are followed.

@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Jul 3, 2026

Copy link
Copy Markdown
️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.14
️✔️acs
️✔️latest
️✔️3.12
️✔️3.14
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.14
️✔️ams
️✔️latest
️✔️3.12
️✔️3.14
️✔️apim
️✔️latest
️✔️3.12
️✔️3.14
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.14
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️aro
️✔️latest
️✔️3.12
️✔️3.14
️✔️backup
️✔️latest
️✔️3.12
️✔️3.14
️✔️batch
️✔️latest
️✔️3.12
️✔️3.14
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.14
️✔️billing
️✔️latest
️✔️3.12
️✔️3.14
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.14
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.14
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.14
️✔️config
️✔️latest
️✔️3.12
️✔️3.14
️✔️configure
️✔️latest
️✔️3.12
️✔️3.14
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.14
️✔️container
️✔️latest
️✔️3.12
️✔️3.14
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.14
️✔️core
️✔️latest
️✔️3.12
️✔️3.14
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.14
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.14
️✔️dls
️✔️latest
️✔️3.12
️✔️3.14
️✔️dms
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.14
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.14
️✔️find
️✔️latest
️✔️3.12
️✔️3.14
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.14
️✔️identity
️✔️latest
️✔️3.12
️✔️3.14
️✔️iot
️✔️latest
️✔️3.12
️✔️3.14
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.14
️✔️lab
️✔️latest
️✔️3.12
️✔️3.14
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️maps
️✔️latest
️✔️3.12
️✔️3.14
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.14
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.14
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.14
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.14
️✔️network
️✔️latest
️✔️3.12
️✔️3.14
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.14
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.14
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.14
️✔️profile
️✔️latest
️✔️3.12
️✔️3.14
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.14
️✔️redis
️✔️latest
️✔️3.12
️✔️3.14
️✔️relay
️✔️latest
️✔️3.12
️✔️3.14
️✔️resource
️✔️latest
️✔️3.12
️✔️3.14
️✔️role
️✔️latest
️✔️3.12
️✔️3.14
️✔️search
️✔️latest
️✔️3.12
️✔️3.14
️✔️security
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.14
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.14
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.14
️✔️sql
️✔️latest
️✔️3.12
️✔️3.14
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.14
️✔️storage
️✔️latest
️✔️3.12
️✔️3.14
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.14
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.14
️✔️util
️✔️latest
️✔️3.12
️✔️3.14
️✔️vm
️✔️latest
️✔️3.12
️✔️3.14

@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Jul 3, 2026

Copy link
Copy Markdown
️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

Copilot AI linked an issue Jul 3, 2026 that may be closed by this pull request
@microsoft-github-policy-service microsoft-github-policy-service Bot added Auto-Assign Auto assign by bot ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group act-identity-squad Account az login/account Installation act-platform-engineering-squad AAD labels Jul 3, 2026
Copilot AI changed the title [WIP] Fix az acr login regression in Azure CLI 2.87.0 [ACR] Fix Azure/azure-cli#33698: az acr login: Fix ARM token exchange fallback for AzureML MSI/SSO Jul 3, 2026
Copilot finished work on behalf of a0x1ab July 3, 2026 11:00
Copilot AI requested a review from a0x1ab July 3, 2026 11:00

@a0x1ab a0x1ab left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI Review — PR #33699

Live test (Tester): No changed test files were detected in this PR (tests/**/test_*.py), so the azdev test --live step had nothing to run. This is informational only — not a blocker.

CI failure — action required:

Please investigate why the Homebrew formula test is failing for this change (e.g. formula/checksum generation, packaging metadata, or a dependency pinned incorrectly) and push a fix. Note the companion Build Homebrew Formula step succeeded, so the regression is specific to the formula test step — check the linked Azure DevOps build log for the exact assertion/error before making changes.

All other completed checks are currently passing (71/72 completed checks green); several packaging checks are still in progress and will be re-evaluated on the next pass.


Posted by agent-assist (autonomous bug-fix pipeline).

@a0x1ab

a0x1ab commented Jul 3, 2026

Copy link
Copy Markdown
Member

@copilot the automated CI and live-test review on this PR found failures. Please look into the requested changes here: #33699 (review) and push a fix.


Posted by agent-assist (autonomous bug-fix pipeline).

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

@copilot the automated CI and live-test review on this PR found failures. Please look into the requested changes here: #33699 (review) and pu...

Investigated the Test Homebrew Formula failure. Summary of findings:

Root cause analysis:

  • My code changes are confined to src/azure-cli/azure/cli/command_modules/acr/_docker_utils.py (adding a try/except for ARM token fallback) and a new unit test file. Neither affects formula generation, packaging, checksums, or the az self-test command loading path.
  • az self-test (which loads all CLI commands and help text) passes locally with no errors related to my changes.
  • All 27 ACR unit tests pass.

What I found:

  • The TestHomebrewFormula job uses Python 3.14 (python_version=3.14). There is a pre-existing SyntaxWarning: invalid escape sequence '\C' in src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/network_watcher/packet_capture/_create.py line 21 (a Windows path C:\Captures\testByCli.cap in a docstring). In Python 3.14, invalid escape sequences in strings became SyntaxErrors, which would cause az self-test to fail when loading the network module. This is unrelated to my ACR changes.

Fix pushed: Added the HISTORY.rst changelog entry for this PR (commit Add HISTORY.rst entry for ARM token fallback fix), which also resolves the azdev linter action_required flag.

Copilot finished work on behalf of a0x1ab July 3, 2026 11:43
Copilot AI requested a review from a0x1ab July 3, 2026 11:43
@yonzhan

yonzhan commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

ACR

@a0x1ab a0x1ab left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review summary — PR #33699

CI status: ✅ All 48 checks passed, no failures, nothing pending.

Live test (Tester): ⚠️ Could not run — the live-test.yml workflow run
(https://github.com/Azure/issue-sentinel/actions/runs/28658380150) failed
before any test code executed, due to an infrastructure/auth issue: the
classic PAT stored in the azclibotfinegrainedpat Key Vault
(azclibot-pat) is being rejected by the Microsoft Open Source enterprise
policy (HTTP 403: ... forbids access via a personal access tokens (classic) if the token's lifetime is greater than 8 days). This happened while the
job was simply trying to fetch the PR's head SHA via gh api, so no live
test selectors were ever resolved or run.

This is not a code issue in this PR and is outside the scope of what the
Copilot coding agent can fix (it requires rotating/shortening the lifetime
of the azclibot-pat secret in Key Vault, a maintainer/infra action).
Given all CI checks are green, this PR is not being blocked on the tester
step; a maintainer should confirm live-test coverage manually before merge,
and the azclibot-pat secret should be refreshed to restore automated live
testing for this and future PRs.


Posted by agent-assist (autonomous bug-fix pipeline).

@azure-client-tools-agent azure-client-tools-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Review — CI/Tester Failures

This PR's checks did not pass at the current head commit (a0cd2077).

Failed checks:

  1. Azure.azure-cli (Azure Pipelines build) — FAILED
    https://github.com/Azure/azure-cli/runs/85025911191
    Build #20260703.10 failed with 1 error / 1 warning. The build log annotation
    points to a failing step around line 70 (Bash exited with code '1'),
    which likely indicates a lint/style/unit-test failure introduced by this
    change to _get_aad_token_after_challenge in the ACR module.

  2. Azure.azure-cli (Test Homebrew Formula) — FAILED
    https://github.com/Azure/azure-cli/runs/85009162758

  3. Live test (issue-sentinel azdev test --live) — FAILED
    https://github.com/Azure/issue-sentinel/actions/runs/28658380150
    The live test run for the changed ACR test file(s) did not pass; the
    az acr login fallback fix likely needs adjustment or additional test
    updates to reflect the new behavior.

Requested action: Please investigate the build failure first (check the
full Azure Pipelines log at the link above for the exact error, since GitHub's
annotation only shows the line number), fix the root cause, and update/adjust
the ACR live test as needed so all three checks pass. Once pushed, this PR
will be re-reviewed automatically.


Posted by agent-assist (autonomous bug-fix pipeline).

@a0x1ab

a0x1ab commented Jul 20, 2026

Copy link
Copy Markdown
Member

@copilot the automated CI and live-test review on this PR found failures. Please look into the requested changes here: #33699 (review) and push a fix.


Posted by agent-assist (autonomous bug-fix pipeline).

Copilot AI commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

@copilot the automated CI and live-test review on this PR found failures. Please look into the requested changes here: #33699 (review) and pu...

Investigated the CI failure. The Test Homebrew Formula job installs the CLI and runs az self-test using Python 3.14. It was failing because of an invalid escape sequence \C in a docstring in src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/network_watcher/packet_capture/_create.py — in Python 3.14, this is a SyntaxError (promoted from SyntaxWarning in 3.12), which prevents the network module from loading.

Fixed in commit that escapes the Windows path backslashes in the example: C:\Captures\C:\\Captures\\.

Copilot AI requested a review from a0x1ab July 20, 2026 00:39
@azure-client-tools-agent

Copy link
Copy Markdown

Live test results — azdev test --live --series (changed test files only)

PASS

Selectors: test_acr_commands_mock (module)
PR head ref: copilot/fix-az-acr-login-regression
PR head sha: 4de0b25a6f4622822855ea666ca2c4b2e099642c
PR base ref: dev
New test files in PR: false

Changed test files run
src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py

Workflow run: https://github.com/Azure/issue-sentinel/actions/runs/29710043432

Last 80 lines of azdev output

=============
| Run Tests |
=============


=====================
| Discovering Tests |
=====================

/home/runner/work/issue-sentinel/issue-sentinel/azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:13533: SyntaxWarning: invalid escape sequence '\]'
  self.cmd('vmss application set -g {rg} -n {vmss} --app-version-ids {vid1} {vid2} --enable-automatic-upgrade True\]', checks=[
/home/runner/work/issue-sentinel/issue-sentinel/azure-cli/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py:18: SyntaxWarning: invalid escape sequence '\{'
  'resource_restriction_compute': '\{"providers":\["Microsoft.Compute"\]\}',
/home/runner/work/issue-sentinel/issue-sentinel/azure-cli/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py:19: SyntaxWarning: invalid escape sequence '\{'
  'resource_restriction_empty': '\{"providers":\[\]\}'

test index updated: /home/runner/.azdev/env_config/home/runner/work/issue-sentinel/issue-sentinel/.venv/test_index/latest.json

Test on modules: test_acr_commands_mock

WARNING: RUNNING TESTS LIVE
The tests are set to run against current profile "latest"
============================= test session starts ==============================
platform linux -- Python 3.12.13, pytest-9.1.1, pluggy-1.6.0 -- /home/runner/work/issue-sentinel/issue-sentinel/.venv/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/issue-sentinel/issue-sentinel/azure-cli/src/azure-cli
plugins: forked-1.6.0, xdist-3.8.0
collecting ... collected 27 items

azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_get_docker_credentials PASSED [  3%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_get_docker_credentials_arm_token_fallback PASSED [  7%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_helm_delete PASSED [ 11%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_helm_list PASSED [ 14%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_helm_push PASSED [ 18%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_helm_show PASSED [ 22%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_delete PASSED [ 25%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_deleted_list PASSED [ 29%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_deleted_restore PASSED [ 33%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_deleted_tags_list PASSED [ 37%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_list PASSED [ 40%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_list_referrers PASSED [ 44%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_metadata_list PASSED [ 48%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_metadata_show PASSED [ 51%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_metadata_update PASSED [ 55%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_show PASSED [ 59%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_delete PASSED [ 62%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_list PASSED [ 66%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_list_deleted PASSED [ 70%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_show PASSED [ 74%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_show_manifests PASSED [ 77%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_show_tags PASSED [ 81%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_update PASSED [ 85%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::ResolveAcrScopeTests::test_config_exception_falls_back_to_default PASSED [ 88%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::ResolveAcrScopeTests::test_default_when_unset PASSED [ 92%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::ResolveAcrScopeTests::test_full_url_is_used_verbatim PASSED [ 96%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::ResolveAcrScopeTests::test_short_name_is_expanded PASSED [100%]

- generated xml file: /home/runner/work/issue-sentinel/issue-sentinel/test-output/results.xml -
============================== 27 passed in 0.87s ==============================

Posted by agent-assist live-test workflow.

@azure-client-tools-agent

Copy link
Copy Markdown

Live test results — azdev test --live --series (changed test files only)

PASS

Selectors: test_acr_commands_mock (module)
PR head ref: copilot/fix-az-acr-login-regression
PR head sha: 5052677db14636faee504a2163c673642e011b21
PR base ref: dev
New test files in PR: false

Changed test files run
src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py

Workflow run: https://github.com/Azure/issue-sentinel/actions/runs/29711156739

Last 80 lines of azdev output

=============
| Run Tests |
=============


=====================
| Discovering Tests |
=====================

/home/runner/work/issue-sentinel/issue-sentinel/azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:13533: SyntaxWarning: invalid escape sequence '\]'
  self.cmd('vmss application set -g {rg} -n {vmss} --app-version-ids {vid1} {vid2} --enable-automatic-upgrade True\]', checks=[
/home/runner/work/issue-sentinel/issue-sentinel/azure-cli/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py:18: SyntaxWarning: invalid escape sequence '\{'
  'resource_restriction_compute': '\{"providers":\["Microsoft.Compute"\]\}',
/home/runner/work/issue-sentinel/issue-sentinel/azure-cli/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py:19: SyntaxWarning: invalid escape sequence '\{'
  'resource_restriction_empty': '\{"providers":\[\]\}'

test index updated: /home/runner/.azdev/env_config/home/runner/work/issue-sentinel/issue-sentinel/.venv/test_index/latest.json

Test on modules: test_acr_commands_mock

WARNING: RUNNING TESTS LIVE
The tests are set to run against current profile "latest"
============================= test session starts ==============================
platform linux -- Python 3.12.13, pytest-9.1.1, pluggy-1.6.0 -- /home/runner/work/issue-sentinel/issue-sentinel/.venv/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/issue-sentinel/issue-sentinel/azure-cli/src/azure-cli
plugins: forked-1.6.0, xdist-3.8.0
collecting ... collected 27 items

azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_get_docker_credentials PASSED [  3%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_get_docker_credentials_arm_token_fallback PASSED [  7%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_helm_delete PASSED [ 11%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_helm_list PASSED [ 14%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_helm_push PASSED [ 18%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_helm_show PASSED [ 22%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_delete PASSED [ 25%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_deleted_list PASSED [ 29%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_deleted_restore PASSED [ 33%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_deleted_tags_list PASSED [ 37%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_list PASSED [ 40%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_list_referrers PASSED [ 44%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_metadata_list PASSED [ 48%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_metadata_show PASSED [ 51%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_metadata_update PASSED [ 55%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_manifest_show PASSED [ 59%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_delete PASSED [ 62%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_list PASSED [ 66%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_list_deleted PASSED [ 70%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_show PASSED [ 74%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_show_manifests PASSED [ 77%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_show_tags PASSED [ 81%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::AcrMockCommandsTests::test_repository_update PASSED [ 85%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::ResolveAcrScopeTests::test_config_exception_falls_back_to_default PASSED [ 88%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::ResolveAcrScopeTests::test_default_when_unset PASSED [ 92%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::ResolveAcrScopeTests::test_full_url_is_used_verbatim PASSED [ 96%]
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands_mock.py::ResolveAcrScopeTests::test_short_name_is_expanded PASSED [100%]

- generated xml file: /home/runner/work/issue-sentinel/issue-sentinel/test-output/results.xml -
============================== 27 passed in 1.25s ==============================

Posted by agent-assist live-test workflow.

@azure-client-tools-agent azure-client-tools-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Review Summary

Live test (Tester): Passed
CI checks: All 20 checks passed, none pending or failed

This PR looks good from an automated verification standpoint — all live tests and CI checks are green for the current head commit.


Posted by agent-assist (autonomous bug-fix pipeline).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AAD Account az login/account act-identity-squad act-platform-engineering-squad ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Auto-Assign Auto assign by bot Installation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

az acr login regression in 2.87.0 on AzureML compute MSI/SSO

3 participants