Skip to content

Conversation

@bebound
Copy link
Contributor

@bebound bebound commented Oct 29, 2025

# Conflicts:
#	azure-pipelines-full-tests.yml
#	doc/command_guidelines.md
#	doc/extensions/authoring.md
#	doc/install_linux_prerequisites.md
#	scripts/regression_test/regression_test.yml
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Oct 29, 2025

❌AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.13
🔄acs
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
🔄latest
🔄3.12
🔄3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
🔄ams
🔄latest
️✔️3.12
🔄3.13
🔄apim
🔄latest
️✔️3.12
🔄3.13
❌appconfig
❌latest
️✔️3.12
❌3.13
Type Test Case Error Message Line
Failed test_azconfig_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/appconfig/tests/latest/test_appconfig_commands.py:33
🔄appservice
🔄latest
️✔️3.12
🔄3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
❌backup
❌latest
️✔️3.12
❌3.13
Type Test Case Error Message Line
Failed test_afs_backup_container self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fb2de35b110>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fb2e4c48e10>
command = 'storage account show-connection-string -n clitest000003 -g clitest.rg000001'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = TypeError("'NoneType' object is not iterable"), args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:
src/azure-cli-testsdk/azure/cli/testsdk/scenario_tests/preparers.py:50: in preparer_wrapper
    fn(test_class_instance, **kwargs)
src/azure-cli-testsdk/azure/cli/testsdk/scenario_tests/preparers.py:50: in preparer_wrapper
    fn(test_class_instance, **kwargs)
src/azure-cli-testsdk/azure/cli/testsdk/scenario_tests/preparers.py:50: in preparer_wrapper
    fn(test_class_instance, **kwargs)
src/azure-cli-testsdk/azure/cli/testsdk/scenario_tests/preparers.py:39: in preparer_wrapper
    parameter_update = self.create_resource(
src/azure-cli/azure/cli/command_modules/backup/tests/latest/preparers.py:476: in create_resource
    connection_string = execute(self.cli_ctx, connection_string_command).get_output_in_json()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:564: in execute
    self.commands_loader.load_arguments(command)
src/azure-cli-core/azure/cli/core/init.py:527: in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/storage/init.py:42: in load_arguments
    load_arguments(self, command)
src/azure-cli/azure/cli/command_modules/storage/params.py:2202: in load_arguments
    help=sas_help.format(get_permission_help_string(t_queue_permissions)),
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
                               _ 

permission_class = None

    def get_permission_help_string(permission_class):
        allowed_values = get_permission_allowed_values(permission_class)
>       return ' '.join(['({}){}'.format(x[0], x[1:]) for x in allowed_values])
                                                               ^^^^^^^^^^^^^^
E       TypeError: 'NoneType' object is not iterable

src/azure-cli/azure/cli/command_modules/storage/_validators.py:895: TypeError
azure/cli/command_modules/backup/tests/latest/test_afs_commands.py:59
Failed test_afs_backup_item self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fb2de4ebed0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fb2e4c4b250>
command = 'storage account show-connection-string -n clitest000003 -g clitest.rg000001'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = TypeError("'NoneType' object is not iterable"), args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:
src/azure-cli-testsdk/azure/cli/testsdk/scenario_tests/preparers.py:50: in preparer_wrapper
    fn(test_class_instance, **kwargs)
src/azure-cli-testsdk/azure/cli/testsdk/scenario_tests/preparers.py:50: in preparer_wrapper
    fn(test_class_instance, **kwargs)
src/azure-cli-testsdk/azure/cli/testsdk/scenario_tests/preparers.py:50: in preparer_wrapper
    fn(test_class_instance, **kwargs)
src/azure-cli-testsdk/azure/cli/testsdk/scenario_tests/preparers.py:39: in preparer_wrapper
    parameter_update = self.create_resource(
src/azure-cli/azure/cli/command_modules/backup/tests/latest/preparers.py:476: in create_resource
    connection_string = execute(self.cli_ctx, connection_string_command).get_output_in_json()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:564: in execute
    self.commands_loader.load_arguments(command)
src/azure-cli-core/azure/cli/core/init.py:527: in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/storage/init.py:42: in load_arguments
    load_arguments(self, command)
src/azure-cli/azure/cli/command_modules/storage/params.py:2202: in load_arguments
    help=sas_help.format(get_permission_help_string(t_queue_permissions)),
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
                               _ 

permission_class = None

    def get_permission_help_string(permission_class):
        allowed_values = get_permission_allowed_values(permission_class)
>       return ' '.join(['({}){}'.format(x[0], x[1:]) for x in allowed_values])
                                                               ^^^^^^^^^^^^^^
E       TypeError: 'NoneType' object is not iterable

src/azure-cli/azure/cli/command_modules/storage/_validators.py:895: TypeError
azure/cli/command_modules/backup/tests/latest/test_afs_commands.py:107
Failed test_afs_backup_policy The error message is too long, please check the pipeline log for details. azure/cli/command_modules/backup/tests/latest/test_afs_commands.py:408
Failed test_afs_backup_protection The error message is too long, please check the pipeline log for details. azure/cli/command_modules/backup/tests/latest/test_afs_commands.py:355
Failed test_afs_backup_restore The error message is too long, please check the pipeline log for details. azure/cli/command_modules/backup/tests/latest/test_afs_commands.py:216
Failed test_afs_backup_rp The error message is too long, please check the pipeline log for details. azure/cli/command_modules/backup/tests/latest/test_afs_commands.py:175
Failed test_afs_backup_scenario The error message is too long, please check the pipeline log for details. azure/cli/command_modules/backup/tests/latest/test_afs_commands.py:26
Failed test_afs_unregister_container The error message is too long, please check the pipeline log for details. azure/cli/command_modules/backup/tests/latest/test_afs_commands.py:465
Failed test_backup_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/backup/tests/latest/test_backup_commands.py:1264
Failed test_backup_restore The error message is too long, please check the pipeline log for details. azure/cli/command_modules/backup/tests/latest/test_backup_commands.py:666
Failed test_backup_restore_when_storage_in_different_rg The error message is too long, please check the pipeline log for details. azure/cli/command_modules/backup/tests/latest/test_backup_commands.py:779
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
🔄batchai
🔄latest
️✔️3.12
🔄3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
🔄botservice
🔄latest
🔄3.12
🔄3.13
🔄cdn
🔄latest
️✔️3.12
🔄3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
🔄cognitiveservices
🔄latest
️✔️3.12
🔄3.13
🔄compute_recommender
🔄latest
️✔️3.12
🔄3.13
🔄config
🔄latest
️✔️3.12
🔄3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
🔄consumption
🔄latest
️✔️3.12
🔄3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
🔄containerapp
🔄latest
️✔️3.12
🔄3.13
🔄core
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
🔄latest
️✔️3.12
🔄3.13
🔄cosmosdb
🔄latest
🔄3.12
🔄3.13
️✔️databoxedge
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.13
️✔️dla
️✔️latest
️✔️3.12
️✔️3.13
🔄dls
🔄latest
️✔️3.12
🔄3.13
🔄dms
🔄latest
️✔️3.12
🔄3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
🔄eventhubs
🔄latest
🔄3.12
🔄3.13
🔄feedback
🔄latest
️✔️3.12
🔄3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
🔄hdinsight
🔄latest
️✔️3.12
🔄3.13
🔄identity
🔄latest
️✔️3.12
🔄3.13
🔄iot
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
🔄latest
️✔️3.12
🔄3.13
🔄keyvault
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
🔄latest
🔄3.12
🔄3.13
🔄kusto
🔄latest
️✔️3.12
🔄3.13
🔄lab
🔄latest
️✔️3.12
🔄3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
🔄maps
🔄latest
️✔️3.12
🔄3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
❌network
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
❌latest
️✔️3.12
❌3.13
Type Test Case Error Message Line
Failed test_network_private_endpoint_asg self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f51badfb490>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f51c0a7cb90>
command = 'storage account private-link-resource list --account-name asg000002 -g cli_test_network_private_endpoint_000001'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = TypeError("'NoneType' object is not iterable"), args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.network.tests.latest.test_network_commands.NetworkPrivateEndpoints testMethod=test_network_private_endpoint_asg>
storage_account = 'asg000002'

    @ResourceGroupPreparer(name_prefix="cli_test_network_private_endpoint
", location="eastus")
    @StorageAccountPreparer(name_prefix="asg", kind="StorageV2")
    def test_network_private_endpoint_asg(self, storage_account):
        self.kwargs.update({
            "sa": storage_account,
            "loc": "eastus",
            "vnet": self.create_random_name("vnet-", 24),
            "subnet": self.create_random_name("subnet-", 24),
            "pe": self.create_random_name("pe-", 24),
            "connection": self.create_random_name("connection-", 24),
            "asg1": "asg1",
            "asg2": "asg2",
        })
    
        # prepare network
        self.cmd("network vnet create -n {vnet} -l {loc} -g {rg} --address-prefixes 10.0.0.0/16 --subnet-name {subnet} --subnet-prefixes 10.0.0.0/24")
        self.cmd("network vnet subnet update -n {subnet} -g {rg} --vnet-name {vnet} --disable-private-endpoint-network-policies true")
    
        # create private endpoint connection
>       pl_resources = self.cmd("storage account private-link-resource list --account-name {sa} -g {rg}").get_output_in_json()
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:236: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:564: in execute
    self.commands_loader.load_arguments(command)
src/azure-cli-core/azure/cli/core/init.py:527: in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/storage/init.py:42: in load_arguments
    load_arguments(self, command)
src/azure-cli/azure/cli/command_modules/storage/params.py:2202: in load_arguments
    help=sas_help.format(get_permission_help_string(t_queue_permissions)),
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 
 
                                     

permission_class = None

    def get_permission_help_string(permission_class):
        allowed_values = get_permission_allowed_values(permission_class)
>       return ' '.join(['({}){}'.format(x[0], x[1:]) for x in allowed_values])
                                                               ^^^^^^^^^^^^^^
E       TypeError: 'NoneType' object is not iterable

src/azure-cli/azure/cli/command_modules/storage/_validators.py:895: TypeError
azure/cli/command_modules/network/tests/latest/test_network_commands.py:216
Failed test_network_private_endpoint_ip_config self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f51badea060>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f51c0a7d450>
command = 'storage account private-link-resource list --account-name ipconfig000002 -g cli_test_network_private_endpoint_000001'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = TypeError("'NoneType' object is not iterable"), args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.network.tests.latest.test_network_commands.NetworkPrivateEndpoints testMethod=test_network_private_endpoint_ip_config>
storage_account = 'ipconfig000002'

    @ResourceGroupPreparer(name_prefix="cli_test_network_private_endpoint
", location="eastus")
    @StorageAccountPreparer(name_prefix="ipconfig", kind="StorageV2")
    def test_network_private_endpoint_ip_config(self, storage_account):
        self.kwargs.update({
            "sa": storage_account,
            "loc": "eastus",
            "vnet": self.create_random_name("vnet-", 24),
            "subnet": self.create_random_name("subnet-", 24),
            "pe": self.create_random_name("pe-", 24),
            "connection": self.create_random_name("connection-", 24),
            "ipconfig1": "ipconfig1",
            "ipconfig2": "ipconfig2",
        })
    
        # prepare network
        self.cmd("network vnet create -n {vnet} -l {loc} -g {rg} --address-prefixes 10.0.0.0/16 --subnet-name {subnet} --subnet-prefixes 10.0.0.0/24")
        self.cmd("network vnet subnet update -n {subnet} -g {rg} --vnet-name {vnet} --disable-private-endpoint-network-policies true")
    
        # create private endpoint connection
>       pl_resources = self.cmd("storage account private-link-resource list --account-name {sa} -g {rg}").get_output_in_json()
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:171: 
                                        
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:564: in execute
    self.commands_loader.load_arguments(command)
src/azure-cli-core/azure/cli/core/init.py:527: in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/storage/init.py:42: in load_arguments
    load_arguments(self, command)
src/azure-cli/azure/cli/command_modules/storage/params.py:2202: in load_arguments
    help=sas_help.format(get_permission_help_string(t_queue_permissions)),
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 
 
                                     

permission_class = None

    def get_permission_help_string(permission_class):
        allowed_values = get_permission_allowed_values(permission_class)
>       return ' '.join(['({}){}'.format(x[0], x[1:]) for x in allowed_values])
                                                               ^^^^^^^^^^^^^^
E       TypeError: 'NoneType' object is not iterable

src/azure-cli/azure/cli/command_modules/storage/_validators.py:895: TypeError
azure/cli/command_modules/network/tests/latest/test_network_commands.py:151
Failed test_network_private_endpoint_private_dns_zone_group self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f51badab100>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f51c0a7cf50>
command = 'storage account private-link-resource list --account-name saplr000002 -g fanqiu_cli_test_network_private_endpoints000001'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = TypeError("'NoneType' object is not iterable"), args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.network.tests.latest.test_network_commands.NetworkPrivateEndpoints testMethod=test_network_private_endpoint_private_dns_zone_group>
resource_group = 'fanqiu_cli_test_network_private_endpoints000001'
storage_account = 'saplr000002'

    @ResourceGroupPreparer(name_prefix='fanqiu_cli_test_network_private_endpoints', location='CentralUSEuap')
    @StorageAccountPreparer(name_prefix='saplr', kind='StorageV2')
    def test_network_private_endpoint_private_dns_zone_group(self, resource_group, storage_account):
        self.kwargs.update({
            'sa': storage_account,
            'loc': 'CentralUSEuap',
            'vnet': self.create_random_name('cli-vnet-', 24),
            'subnet': self.create_random_name('cli-subnet-', 24),
            'pe': self.create_random_name('cli-pe-', 24),
            'pe_connection': self.create_random_name('cli-pec-', 24),
            'zone_name1': 'www.clizone1.com',
            'zone_name2': 'www.clizone2.com',
            'private_dns_zone_group_name': 'clidnsgroup',
            'private_zone_name1': 'clizone1',
            'private_zone_name2': 'clizone2'
        })
    
        # Prepare network
        self.cmd('network vnet create -n {vnet} -g {rg} -l {loc} --subnet-name {subnet}',
                 checks=self.check('length(newVNet.subnets)', 1))
        self.cmd('network vnet subnet update -n {subnet} --vnet-name {vnet} -g {rg} '
                 '--disable-private-endpoint-network-policies true',
                 checks=self.check('privateEndpointNetworkPolicies', 'Disabled'))
    
        # Create a private endpoint connection
>       pr = self.cmd('storage account private-link-resource list --account-name {sa} -g {rg}').get_output_in_json()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:309: 
 
                                       
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:564: in execute
    self.commands_loader.load_arguments(command)
src/azure-cli-core/azure/cli/core/init.py:527: in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/storage/init.py:42: in load_arguments
    load_arguments(self, command)
src/azure-cli/azure/cli/command_modules/storage/params.py:2202: in load_arguments
    help=sas_help.format(get_permission_help_string(t_queue_permissions)),
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 
                                     _ 

permission_class = None

    def get_permission_help_string(permission_class):
        allowed_values = get_permission_allowed_values(permission_class)
>       return ' '.join(['({}){}'.format(x[0], x[1:]) for x in allowed_values])
                                                               ^^^^^^^^^^^^^^
E       TypeError: 'NoneType' object is not iterable

src/azure-cli/azure/cli/command_modules/storage/_validators.py:895: TypeError
azure/cli/command_modules/network/tests/latest/test_network_commands.py:283
Failed test_network_app_gateway_with_cert_name self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f51baf41480>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f51c0b68550>
command = 'keyvault set-policy -g cli_test_ag_cert_name_000001 -n cli-test-keyvault-000002 --object-id 2e02e6ad-06f5-4982-bf73-1eca17af85e6 --secret-permissions get list set'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = ImportError('/mnt/vss/work/1/s/env/lib/python3.13/site-packages/cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: PyErr_WriteUnraisableMsg')
args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception ImportError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.network.tests.latest.test_network_commands.NetworkAppGatewayIndentityScenarioTest testMethod=test_network_app_gateway_with_cert_name>
resource_group = 'cli_test_ag_cert_name_000001'

    @ResourceGroupPreparer(name_prefix='cli_test_ag_cert_name
')
    @KeyVaultPreparer(name_prefix='cli-test-keyvault-', sku='premium')
    def test_network_app_gateway_with_cert_name(self, resource_group):
        self.kwargs.update({
            'rg': resource_group,
            'gw': 'gateway',
            'access_identity': 'id1',
            'ip': 'ip1',
            'cert': 'MyCertificate',
            'ssl_cert_name': 'TestCertName'
        })
    
        # create a managed identity
        access_identity_result = self.cmd('identity create -g {rg} -n {access_identity}').get_output_in_json()
        self.kwargs.update({
            'access_identity_principal': access_identity_result['principalId']
        })
    
>       self.cmd('keyvault set-policy -g {rg} -n {kv} '
                 '--object-id {access_identity_principal} --secret-permissions get list set')

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:962: 
 
 
 
                                     
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:564: in execute
    self.commands_loader.load_arguments(command)
src/azure-cli-core/azure/cli/core/init.py:526: in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:321: in load_arguments
    super(AzCliCommand, self).load_arguments()
env/lib/python3.13/site-packages/knack/commands.py:104: in load_arguments
    cmd_args = self.arguments_loader()
               ^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:125: in arguments_loader
    op = self.get_op_handler(self.op_path)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:59: in get_op_handler
    handler = import_module(mod_to_import)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/importlib/init.py:88: in import_module
    return bootstrap.gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib.bootstrap>:1387: in gcd_import
    ???
<frozen importlib.bootstrap>:1360: in find_and_load
    ???
<frozen importlib.bootstrap>:1331: in find_and_load_unlocked
    ???
<frozen importlib.bootstrap>:935: in load_unlocked
    ???
<frozen importlib.bootstrap_external>:1027: in exec_module
    ???
<frozen importlib.bootstrap>:488: in call_with_frames_removed
    ???
src/azure-cli/azure/cli/command_modules/keyvault/custom.py:20: in 
    from azure.cli.command_modules.keyvault.security_domain.jwe import JWE
src/azure-cli/azure/cli/command_modules/keyvault/security_domain/jwe.py:13: in 
    from cryptography.hazmat.primitives import hashes, padding
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                         _ 

    # This file is dual licensed under the terms of the Apache License, Version
    # 2.0, and the BSD License. See the LICENSE file in the root of this repository
    # for complete details.
    
    from future import annotations
    
    import abc
    
>   from cryptography.hazmat.bindings._rust import openssl as rust_openssl
E   ImportError: /mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg

env/lib/python3.13/site-packages/cryptography/hazmat/primitives/hashes.py:9: ImportError
azure/cli/command_modules/network/tests/latest/test_network_commands.py:943
Failed test_network_ag_listener_with_host_names The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_network_commands.py:1980
Failed test_network_express_route_port The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_network_commands.py:3392
Failed test_network_active_active_vnet_connection The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_network_commands.py:5913
Failed test_network_vpn_gateway_package_capture The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_network_commands.py:6185
Failed test_network_watcher_packet_capture_vmss_as_target The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_network_commands.py:6467
Failed test_network_watcher_troubleshooting The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_network_commands.py:6496
Failed test_nw_connection_monitor_output The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_nw_connection_monitor.py:278
Failed test_nw_connection_monitor_output_type_as_workspace The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_nw_connection_monitor.py:300
Failed test_nw_connection_monitor_v2_creation The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_nw_connection_monitor.py:58
Failed test_nw_connection_monitor_v2_endpoint The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_nw_connection_monitor.py:81
Failed test_hsm_private_endpoint_connection2 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:175
Failed test_private_endpoint_connection_keyvault The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:70
Failed test_private_endpoint_connection_storage_account The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:282
Failed test_private_endpoint_connection_webapp The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:1182
Failed test_private_link_resource_webapp The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:1167
Failed test_abs_privatendpoint_with_default The error message is too long, please check the pipeline log for details. azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:2858
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
❌rdbms
❌latest
️✔️3.12
❌3.13
Type Test Case Error Message Line
Failed test_postgres_flexible_server_byok_mgmt self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fb2e5aa9fd0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fb2e4dcdbd0>
command = 'keyvault key create --name rdbmskey000004 -p software --vault-name rdbmsvault000002'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = ImportError('/mnt/vss/work/1/s/env/lib/python3.13/site-packages/cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: PyErr_WriteUnraisableMsg')
args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception ImportError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.rdbms.tests.latest.test_rdbms_flexible_commands.FlexibleServerMgmtScenarioTest testMethod=test_postgres_flexible_server_byok_mgmt>
resource_group = 'clitest.rg000001', vault_name = 'rdbmsvault000002'
backup_vault_name = 'rdbmsvault000003'

    @AllowLargeResponse()
    @ResourceGroupPreparer(location=postgres_location)
    @KeyVaultPreparer(name_prefix='rdbmsvault', parameter_name='vault_name', location=postgres_location, additional_params='--enable-purge-protection true --retention-days 90')
    @KeyVaultPreparer(name_prefix='rdbmsvault', parameter_name='backup_vault_name', location=postgres_backup_location, additional_params='--enable-purge-protection true --retention-days 90')
    def test_postgres_flexible_server_byok_mgmt(self, resource_group, vault_name, backup_vault_name):
>       self.test_flexible_server_byok_mgmt(resource_group, vault_name, backup_vault_name)

src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_flexible_commands.py:116: 
 
 
 
 
 
                                   
src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_flexible_commands.py:601: in test_flexible_server_byok_mgmt
    key = self.cmd('keyvault key create --name {} -p software --vault-name {}'
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:564: in execute
    self.commands_loader.load_arguments(command)
src/azure-cli-core/azure/cli/core/init.py:526: in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:321: in load_arguments
    super(AzCliCommand, self).load_arguments()
env/lib/python3.13/site-packages/knack/commands.py:104: in load_arguments
    cmd_args = self.arguments_loader()
               ^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/keyvault/command_type.py:72: in keyvault_arguments_loader
    op = get_op_handler()
         ^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/keyvault/command_type.py:69: in get_op_handler
    return self.command_loader.get_op_handler(operations_tmpl.format(method_name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:911: in get_op_handler
    op = import_module(mod_to_import)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/importlib/init.py:88: in import_module
    return bootstrap.gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib.bootstrap>:1387: in gcd_import
    ???
<frozen importlib.bootstrap>:1360: in find_and_load
    ???
<frozen importlib.bootstrap>:1331: in find_and_load_unlocked
    ???
<frozen importlib.bootstrap>:935: in load_unlocked
    ???
<frozen importlib.bootstrap_external>:1027: in exec_module
    ???
<frozen importlib.bootstrap>:488: in call_with_frames_removed
    ???
src/azure-cli/azure/cli/command_modules/keyvault/custom.py:20: in 
    from azure.cli.command_modules.keyvault.security_domain.jwe import JWE
src/azure-cli/azure/cli/command_modules/keyvault/security_domain/jwe.py:13: in 
    from cryptography.hazmat.primitives import hashes, padding
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                       

    # This file is dual licensed under the terms of the Apache License, Version
    # 2.0, and the BSD License. See the LICENSE file in the root of this repository
    # for complete details.
    
    from future import annotations
    
    import abc
    
>   from cryptography.hazmat.bindings._rust import openssl as rust_openssl
E   ImportError: /mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg

env/lib/python3.13/site-packages/cryptography/hazmat/primitives/hashes.py:9: ImportError
azure/cli/command_modules/rdbms/tests/latest/test_rdbms_flexible_commands.py:110
Failed test_postgres_flexible_server_public_revivedropped_mgmt self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fb2e5aa9fd0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fb2e4dcf250>
command = 'keyvault key create --name rdbmskey000004 -p software --vault-name rdbmsvault000002'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = ImportError('/mnt/vss/work/1/s/env/lib/python3.13/site-packages/cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: PyErr_WriteUnraisableMsg')
args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception ImportError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.rdbms.tests.latest.test_rdbms_flexible_commands.FlexibleServerMgmtScenarioTest testMethod=test_postgres_flexible_server_public_revivedropped_mgmt>
resource_group = 'clitest.rg000001', vault_name = 'rdbmsvault000002'
backup_vault_name = 'rdbmsvault000003'

    @AllowLargeResponse()
    @ResourceGroupPreparer(location=postgres_location)
    @KeyVaultPreparer(name_prefix='rdbmsvault', parameter_name='vault_name', location=postgres_location, additional_params='--enable-purge-protection true --retention-days 90 --no-self-perms')
    @KeyVaultPreparer(name_prefix='rdbmsvault', parameter_name='backup_vault_name', location=postgres_backup_location, additional_params='--enable-purge-protection true --retention-days 90 --no-self-perms')
    def test_postgres_flexible_server_public_revivedropped_mgmt(self, resource_group, vault_name, backup_vault_name):
>       self.test_flexible_server_revivedropped_mgmt(resource_group, vault_name, backup_vault_name)

src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_flexible_commands.py:123: 
 
 
 
 
 
                                   
src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_flexible_commands.py:881: in test_flexible_server_revivedropped_mgmt
    key = self.cmd('keyvault key create --name {} -p software --vault-name {}'
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:564: in execute
    self.commands_loader.load_arguments(command)
src/azure-cli-core/azure/cli/core/init.py:526: in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:321: in load_arguments
    super(AzCliCommand, self).load_arguments()
env/lib/python3.13/site-packages/knack/commands.py:104: in load_arguments
    cmd_args = self.arguments_loader()
               ^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/keyvault/command_type.py:72: in keyvault_arguments_loader
    op = get_op_handler()
         ^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/keyvault/command_type.py:69: in get_op_handler
    return self.command_loader.get_op_handler(operations_tmpl.format(method_name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:911: in get_op_handler
    op = import_module(mod_to_import)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/importlib/init.py:88: in import_module
    return bootstrap.gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib.bootstrap>:1387: in gcd_import
    ???
<frozen importlib.bootstrap>:1360: in find_and_load
    ???
<frozen importlib.bootstrap>:1331: in find_and_load_unlocked
    ???
<frozen importlib.bootstrap>:935: in load_unlocked
    ???
<frozen importlib.bootstrap_external>:1027: in exec_module
    ???
<frozen importlib.bootstrap>:488: in call_with_frames_removed
    ???
src/azure-cli/azure/cli/command_modules/keyvault/custom.py:20: in 
    from azure.cli.command_modules.keyvault.security_domain.jwe import JWE
src/azure-cli/azure/cli/command_modules/keyvault/security_domain/jwe.py:13: in 
    from cryptography.hazmat.primitives import hashes, padding
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                       

    # This file is dual licensed under the terms of the Apache License, Version
    # 2.0, and the BSD License. See the LICENSE file in the root of this repository
    # for complete details.
    
    from future import annotations
    
    import abc
    
>   from cryptography.hazmat.bindings._rust import openssl as rust_openssl
E   ImportError: /mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg

env/lib/python3.13/site-packages/cryptography/hazmat/primitives/hashes.py:9: ImportError
azure/cli/command_modules/rdbms/tests/latest/test_rdbms_flexible_commands.py:117
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
🔄relay
🔄latest
🔄3.12
🔄3.13
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.13
🔄role
🔄latest
️✔️3.12
🔄3.13
🔄search
🔄latest
🔄3.12
🔄3.13
❌security
❌latest
️✔️3.12
❌3.13
Type Test Case Error Message Line
Failed test_security_iot The error message is too long, please check the pipeline log for details. azure/cli/command_modules/security/tests/latest/test_iot_scenario.py:11
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
🔄serviceconnector
🔄latest
️✔️3.12
🔄3.13
🔄servicefabric
🔄latest
️✔️3.12
🔄3.13
🔄signalr
🔄latest
️✔️3.12
🔄3.13
🔄sql
🔄latest
️✔️3.12
🔄3.13
🔄sqlvm
🔄latest
️✔️3.12
🔄3.13
🔄storage
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
🔄latest
🔄3.12
🔄3.13
🔄synapse
🔄latest
️✔️3.12
🔄3.13
🔄telemetry
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
🔄latest
️✔️3.12
🔄3.13
🔄util
🔄latest
️✔️3.12
🔄3.13
❌vm
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
❌latest
️✔️3.12
❌3.13
Type Test Case Error Message Line
Failed test_image_build_managed_image self = <azure.cli.core.commands.AzCliCommandInvoker object at 0x7f0d44a18a70>
parsed_ns = Namespace(log_verbosity_verbose=False, log_verbosity_debug=False, log_verbosity_only_show_errors=False, output_for...usage=None, description='', formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True))

    def validation(self, parsed_ns):
        try:
            cmd_validator = getattr(parsed_ns, 'command_validator', None)
            if cmd_validator:
>               self.validate_cmd_level(parsed_ns, cmd_validator)

env/lib/python3.13/site-packages/knack/invocation.py:111: 
 
 
 
 
 
 
                                  
src/azure-cli-core/azure/cli/core/commands/init.py:911: in validate_cmd_level
    cmd_validator(**self.build_kwargs(cmd_validator, ns))
src/azure-cli/azure/cli/command_modules/vm/validators.py:1541: in process_vm_create_namespace
    validate_vm_vmss_create_auth(namespace, cmd)
src/azure-cli/azure/cli/command_modules/vm/validators.py:1167: in validate_vm_vmss_create_auth
    validate_ssh_key(namespace, cmd)
src/azure-cli/azure/cli/command_modules/vm/validators.py:1271: in validate_ssh_key
    namespace.ssh_key_value = [validate_ssh_key_helper("",
src/azure-cli/azure/cli/command_modules/vm/validators.py:1300: in validate_ssh_key_helper
    content = keys.generate_ssh_keys(private_key_filepath, public_key_filepath)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/keys.py:38: in generate_ssh_keys
    from cryptography.hazmat.primitives.asymmetric import rsa
 
 
 
 
 
 
 
 
 
 
                              

    # This file is dual licensed under the terms of the Apache License, Version
    # 2.0, and the BSD License. See the LICENSE file in the root of this repository
    # for complete details.
    
    from future import annotations
    
    import abc
    import random
    import typing
    from math import gcd
    
>   from cryptography.hazmat.bindings.rust import openssl as rust_openssl
E   ImportError: /mnt/vss/work/1/s/env/lib/python3.13/site-packages/cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: PyErr_WriteUnraisableMsg

env/lib/python3.13/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py:12: ImportError

During handling of the above exception, another exception occurred:

self = <latest.test_image_builder_commands.ImageTemplateTest testMethod=test_image_build_managed_image>
resource_group = 'img_tmpl_managed000001', resource_group_location = 'westus'

    @ResourceGroupPreparer(name_prefix='img_tmpl_managed')
    def test_image_build_managed_image(self, resource_group, resource_group_location):
        self.identity_role(resource_group)
    
        self.kwargs.update({
            'tmpl_1': 'template01',
            'tmpl_2': 'template02',
            'img_src': LINUX_IMAGE_SOURCE,
            'script': TEST_SHELL_SCRIPT_URL,
            'loc': resource_group_location,
            'vm': 'testvm',
            'img_1': 'img_1',
            'img_2': 'img_2'
        })
    
        # create and build image template
        self.cmd('image builder create -n {tmpl_1} -g {rg} --image-source {img_src} --managed-image-destinations '
                 '{img_1}={loc} --scripts {script} --identity {ide}')
        self.cmd('image builder run -n {tmpl_1} -g {rg}')
    
        # get the run output
        output = self.cmd('image builder show-runs -n {tmpl_1} -g {rg} --output-name {img_1}',
                          checks=self.check('provisioningState', 'Succeeded')
                          ).get_output_in_json()
    
        self.kwargs['image_id'] = output['artifactId']
    
        # check that vm successfully created from template.
>       self.cmd('vm create --name {vm} -g {rg} --image {image_id} --generate-ssh-keys --admin-username azureuser')

src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py:500: 
 
 
 
 
 
                                   
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:654: in execute
    self.validation(expanded_arg)
env/lib/python3.13/site-packages/knack/invocation.py:118: in validation
    getattr(parsed_ns, 'parser', self.parser).validation_error(str(err))
src/azure-cli-core/azure/cli/core/parser.py:150: in validation_error
    self.exit(2)
 
 
 
 
                                   _ 

self = AzCliCommandParser(prog='az vm create', usage=None, description='', formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/argparse.py:2645: SystemExit
azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py:471
Failed test_image_build_shared_image self = <azure.cli.core.commands.AzCliCommandInvoker object at 0x7f0d44991f50>
parsed_ns = Namespace(log_verbosity_verbose=False, log_verbosity_debug=False, log_verbosity_only_show_errors=False, output_for...usage=None, description='', formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True))

    def validation(self, parsed_ns):
        try:
            cmd_validator = getattr(parsed_ns, 'command_validator', None)
            if cmd_validator:
>               self.validate_cmd_level(parsed_ns, cmd_validator)

env/lib/python3.13/site-packages/knack/invocation.py:111: 
 
 
 
 
 
 
                                  
src/azure-cli-core/azure/cli/core/commands/init.py:911: in validate_cmd_level
    cmd_validator(**self.build_kwargs(cmd_validator, ns))
src/azure-cli/azure/cli/command_modules/vm/validators.py:1541: in process_vm_create_namespace
    validate_vm_vmss_create_auth(namespace, cmd)
src/azure-cli/azure/cli/command_modules/vm/validators.py:1167: in validate_vm_vmss_create_auth
    validate_ssh_key(namespace, cmd)
src/azure-cli/azure/cli/command_modules/vm/validators.py:1271: in validate_ssh_key
    namespace.ssh_key_value = [validate_ssh_key_helper("",
src/azure-cli/azure/cli/command_modules/vm/validators.py:1300: in validate_ssh_key_helper
    content = keys.generate_ssh_keys(private_key_filepath, public_key_filepath)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/keys.py:38: in generate_ssh_keys
    from cryptography.hazmat.primitives.asymmetric import rsa
 
 
 
 
 
 
 
 
 
 
                              

    # This file is dual licensed under the terms of the Apache License, Version
    # 2.0, and the BSD License. See the LICENSE file in the root of this repository
    # for complete details.
    
    from future import annotations
    
    import abc
    import random
    import typing
    from math import gcd
    
>   from cryptography.hazmat.bindings.rust import openssl as rust_openssl
E   ImportError: /mnt/vss/work/1/s/env/lib/python3.13/site-packages/cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: PyErr_WriteUnraisableMsg

env/lib/python3.13/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py:12: ImportError

During handling of the above exception, another exception occurred:

self = <latest.test_image_builder_commands.ImageTemplateTest testMethod=test_image_build_shared_image>
resource_group = 'img_tmpl_sig000001', resource_group_location = 'eastus'

    @ResourceGroupPreparer(name_prefix='img_tmpl_sig', location='eastus')
    def test_image_build_shared_image(self, resource_group, resource_group_location):
        self.identity_role(resource_group)
    
        self.kwargs.update({
            'loc': resource_group_location,
            'img_src': LINUX_IMAGE_SOURCE,
            'gallery': self.create_random_name("ib_sig", 10),
            'sig1': 'image1',
            'tmpl': 'template01',
            'tmpl_2': 'template02',
            'script': TEST_SHELL_SCRIPT_URL,
            'vm': 'custom-vm'
        })
    
        self.cmd('sig create -g {rg} --gallery-name {gallery}', checks=self.check('name', self.kwargs['gallery']))
        self.cmd('sig image-definition create -g {rg} --gallery-name {gallery} --gallery-image-definition {sig1} '
                 '--os-type linux -p publisher1 -f offer1 -s sku1')
    
        self.cmd('image builder create -n {tmpl} -g {rg} --scripts {script} --image-source {img_src} --identity {ide} --defer')
        self.cmd('image builder output add -n {tmpl} -g {rg} --gallery-name {gallery} --gallery-image-definition {sig1}'
                 ' --gallery-replication-regions eastus --defer',
                 checks=[
                     self.check('properties.distribute[0].replicationRegions[0]', 'eastus'),
                     self.check('properties.distribute[0].runOutputName', '{sig1}')
                 ])
    
        # send put request using cached template object
        self.cmd('image builder update -n {tmpl} -g {rg}', checks=[
            self.check('distribute[0].replicationRegions[0]', 'eastus'),
            self.check('distribute[0].runOutputName', '{sig1}')
        ])
    
        # Takes a long time to build a SIG based image template.
        self.cmd('image builder run -n {tmpl} -g {rg}')
    
        output = self.cmd('image builder show-runs -n {tmpl} -g {rg} --output-name {sig1}',
                          checks=self.check('provisioningState', 'Succeeded')
                          ).get_output_in_json()
    
        self.kwargs['image_id'] = output['artifactId']
    
        # check that vm successfully created from template.
>       self.cmd('vm create --name {vm} -g {rg} --image {image_id} --generate-ssh-keys --admin-username azureuser')

src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py:553: 
 
 
 
 
 
                                   
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:654: in execute
    self.validation(expanded_arg)
env/lib/python3.13/site-packages/knack/invocation.py:118: in validation
    getattr(parsed_ns, 'parser', self.parser).validation_error(str(err))
src/azure-cli-core/azure/cli/core/parser.py:150: in validation_error
    self.exit(2)
 
 
 
 
                                   _ 

self = AzCliCommandParser(prog='az vm create', usage=None, description='', formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2, message = None

    def exit(self, status=0, message=None):
        if message:
            self._print_message(message, _sys.stderr)
>       _sys.exit(status)
E       SystemExit: 2

/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/argparse.py:2645: SystemExit
azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py:509
Failed test_image_template_outputs self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f0d457c3390>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f0d47fe1bd0>
command = 'storage container create -g img_tmpl_outputs000001 --account-name clitestoutputs000002 -n container000004 --public-access blob'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:302: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = TypeError("'NoneType' object is not iterable"), args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <latest.test_image_builder_commands.ImageTemplateTest testMethod=test_image_template_outputs>
resource_group = 'img_tmpl_outputs000001', resource_group_location = 'westus2'
storage_account = 'clitestoutputs000002'

    @ResourceGroupPreparer(name_prefix='img_tmpl_outputs', location='westus2')
    @StorageAccountPreparer(name_prefix='clitestoutputs', sku='Standard_LRS')
    def test_image_template_outputs(self, resource_group, resource_group_location, storage_account):
        self.identity_role(resource_group)
    
        self.kwargs.update({
            'tmpl_01': 'template01',
            'img_src': LINUX_IMAGE_SOURCE,
            'script': TEST_SHELL_SCRIPT_URL,
            'loc': resource_group_location,
            'img_1': 'managed_img_1',
            'img_2': 'managed_img_2',
            'vhd_out': 'vhd_1',
            'container': self.create_random_name('container', 15),
        })
>       self.cmd(
            'storage container create -g {rg} --account-name {sa} -n {container} --public-access blob')

src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py:845: 
 
 
                                      
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:564: in execute
    self.commands_loader.load_arguments(command)
src/azure-cli-core/azure/cli/core/init.py:527: in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/storage/init.py:42: in load_arguments
    load_arguments(self, command)
src/azure-cli/azure/cli/command_modules/storage/params.py:2202: in load_arguments
    help=sas_help.format(get_permission_help_string(t_queue_permissions)),
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 
 
                                     

permission_class = None

    def get_permission_help_string(permission_class):
        allowed_values = get_permission_allowed_values(permission_class)
>       return ' '.join(['({}){}'.format(x[0], x[1:]) for x in allowed_values])
                                                               ^^^^^^^^^^^^^^
E       TypeError: 'NoneType' object is not iterable

src/azure-cli/azure/cli/command_modules/storage/_validators.py:895: TypeError
azure/cli/command_modules/vm/tests/latest/test_image_builder_commands.py:829
Failed test_generate_specfied_ssh_key_files self = <latest.test_vm_actions.TestActions testMethod=test_generate_specfied_ssh_key_files>

    def test_generate_specfied_ssh_key_files(self):
        temp_dir_name = tempfile.mkdtemp(prefix="ssh_dir_")
    
        # cleanup temporary directory and its contents
        self.addCleanup(shutil.rmtree, path=temp_dir_name)
    
        # first create file paths for the keys to be generated
        fd, private_key_file = tempfile.mkstemp(dir=temp_dir_name)
        os.close(fd)
        public_key_file = private_key_file + '.pub'
        os.remove(private_key_file)
    
        args = mock.MagicMock()
        args.ssh_key_name = None
        args.ssh_key_value = [public_key_file]
        args.generate_ssh_keys = True
    
        # 1 verify we generate key files if not existing
>       validate_ssh_key(args)

src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_actions.py:71: 
                                        
src/azure-cli/azure/cli/command_modules/vm/validators.py:1265: in validate_ssh_key
    processed_ssh_key_values.append(validate_ssh_key_helper(ssh_key_value,
src/azure-cli/azure/cli/command_modules/vm/validators.py:1300: in validate_ssh_key_helper
    content = keys.generate_ssh_keys(private_key_filepath, public_key_filepath)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/keys.py:38: in generate_ssh_keys
    from cryptography.hazmat.primitives.asymmetric import rsa
 
 
 
                                     

    # This file is dual licensed under the terms of the Apache License, Version
    # 2.0, and the BSD License. See the LICENSE file in the root of this repository
    # for complete details.
    
    from future import annotations
    
    import abc
    import random
    import typing
    from math import gcd
    
>   from cryptography.hazmat.bindings._rust import openssl as rust_openssl
E   ImportError: /mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg

env/lib/python3.13/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py:12: ImportError
azure/cli/command_modules/vm/tests/latest/test_vm_actions.py:52
Failed test_snapshot_create_with_source_blob_uri The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:977
Failed test_vm_create_data_disk_delete_option The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:1089
Failed test_vm_set_os_disk_size The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:1153
Failed test_create_disk_from_diff_gallery_image_version The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:1513
Failed test_vm_data_disk_creation_from_copy_and_restore The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:1323
Failed test_vm_disk_from_restore_point The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:1266
Failed test_vm_create_state_modifications The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:1672
Failed test_vm_size_properties The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:1778
Failed test_vm_create_with_workspace_linux The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:2693
Failed test_vm_create_custom_ip The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:3369
Failed test_vm_hibernation_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:3767
Failed test_vmss_scale_in_policy The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4092
Failed test_vmss_create_ephemeral_os_disk_placement The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4309
Failed test_vmss_with_max_surge The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4201
Failed test_vmss_create_default_app_gateway The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4459
Failed test_vmss_create_with_nat_rule_v2 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4498
Failed test_vmss_public_ip_per_vm_custom_domain_name The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4561
Failed test_flexible_vmss_set_automatic_upgrade_policy_during_creation The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4681
Failed test_vmss_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4594
Failed test_vmss_update_ephemeral_os_disk_placement The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4853
Failed test_vmss_update_security_type The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4759
Failed test_vmss_update_vm_sku The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4807
Failed test_vm_accelerated_networking The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4906
Failed test_vmss_asg The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4928
Failed test_vm_create_linux_secrets The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4946
Failed test_vm_create_windows_secrets The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:4982
Failed test_vmss_create_linux_secrets The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:5023
Failed test_vmss_create_with_delete_option The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:5087
Failed test_vmss_vms The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:5163
Failed test_vmss_vms_debian The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:5207
Failed test_spot_restore_policy The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:5298
Failed test_vmss_simulate_eviction The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:5254
Failed test_vm_explicit_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:5678
Failed test_vmss_explicit_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:5749
Failed test_vmss_update_zones The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:5978
Failed test_run_command_v2 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6042
Failed test_vmss_run_command_v2 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6151
Failed test_vmss_run_command_with_parameters The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6141
Failed test_vm_disk_encryption_with_key The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6249
Failed test_vm_encryption_at_host The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6265
Failed test_vm_create_existing_nic The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6417
Failed test_vm_secret_e2e_test The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6434
Failed test_vm_os_disk_swap The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6463
Failed test_vm_generic_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6491
Failed test_community_gallery_operations The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:7535
Failed test_create_image_version_with_allow_replicated_location_deletion The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:7004
Failed test_create_image_version_with_region_cvm_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6939
Failed test_create_vm_with_community_gallery_image The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:7604
Failed test_create_vm_with_shared_gallery_image The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:7323
Failed test_gallery_e2e The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6708
Failed test_gallery_image_version_vhd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6857
Failed test_gallery_soft_delete The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:7388
Failed test_image_update_add_set The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6806
Failed test_image_version_create_for_diff_source The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6628
Failed test_image_version_create_os_vhd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6896
Failed test_image_version_with_target_extended_locations_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:7121
Failed test_replication_mode The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:7489
Failed test_shared_gallery The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:6520
Failed test_gallery_application_version The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:7728
Failed test_dedicated_host_e2e The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8055
Failed test_update_dedicated_host_e2e The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8151
Failed test_vmss_os_image_notification The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8422
Failed test_vmss_scheduled_events_policy The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8435
Failed test_vmss_terminate_notification The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8370
Failed test_confidential_disk_encryption_set The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9075
Failed test_disk_controller_type The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9251
Failed test_disk_encryption_set The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8586
Failed test_disk_encryption_set_disk_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8907
Failed test_disk_encryption_set_identity The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8674
Failed test_disk_encryption_set_snapshot The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8963
Failed test_disk_encryption_set_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:8818
Failed test_os_disk_security_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9144
Failed test_vmss_create_disk_iops_mbps The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9427
Failed test_vmss_create_automatic_repairs_with_health_probe The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9499
Failed test_vmss_update_automatic_repairs_with_health_extension The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9571
Failed test_vmss_update_automatic_repairs_with_health_probe The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9529
Failed test_vmss_create_sku_profile The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9610
Failed test_vmss_create_sku_profile_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9623
Failed test_vmss_set_orchestration_service_state The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9666
Failed test_create_flexible_vmss_by_default The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9954
Failed test_create_flexible_vmss_with_priority_mix_policy The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9938
Failed test_quick_create_flexible_vmss The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9914
Failed test_vmss_complex_orchestration_mode The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9779
Failed test_vmss_simple_orchestration_mode The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9736
Failed test_vmss_simple_placement The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:9766
Failed test_linux_vm_patch_mode The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10139
Failed test_vmss_linux_patch_mode The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10179
Failed test_vmss_security_posture_reference The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10211
Failed test_vmss_reimage The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10240
Failed test_vm_ssh_key The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10273
Failed test_vm_ssh_key_ed25519 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10309
Failed test_guest_attestation_extension_and_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10537
Failed test_vm_trusted_launch The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10356
Failed test_vm_vmss_extension_autoupgrade The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10702
Failed test_vm_vmss_proxy_agent The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10760
Failed test_vm_create_count The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10829
Failed test_vm_list_filter The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10859
Failed test_vm_extended_location The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10886
Failed test_vmss_extended_location The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10910
Failed test_disk_zrs The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10951
Failed test_copy_vm_restore_point The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:11747
Failed test_restore_point_collection The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:11689
Failed test_restore_point_encryption_local The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:11790
Failed test_restore_point_encryption_remote The error message is too long, please check the pipeline log for details. azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:11861

@azure-client-tools-bot-prd
Copy link

Hi @bebound,
Usually we only allow pull requests to be submitted to the dev branch, please double check your pull request target branch dev-lts-2.66.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Oct 29, 2025

️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 29, 2025

LTS


jobs:
- job: AutomationTest20200901
displayName: Automation Test (Profile 2020-09-01)
Copy link
Member

Choose a reason for hiding this comment

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

I think these tests should be kept for LTS which still supports Azure Stack.

Copy link
Contributor Author

@bebound bebound Nov 17, 2025

Choose a reason for hiding this comment

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

You're right, I removed them because the tests have been removed in dev branch. Didn't realize they're part of Azure Stack.

These tests are removed in azdev: Azure/azure-cli-dev-tools#524. Not sure if these are necessary.

Copy link
Member

Choose a reason for hiding this comment

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

#30874 pins azdev to 0.1.90. #32346 pins azdev to 0.1.91 (https://github.com/Azure/azure-cli-dev-tools/blame/lts-2.66/azdev/__init__.py).

Azure/azure-cli-dev-tools#524 was included since azdev 0.2.4.

Copy link
Contributor Author

@bebound bebound Nov 24, 2025

Choose a reason for hiding this comment

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

I used to backport Azure/azure-cli-dev-tools#524 and remove the test profiles.

I've recovered the test profile in azdev LTS branch. Let me trigger the CI again to see if the tests passed.

@bebound bebound mentioned this pull request Nov 17, 2025
29 tasks
- job: AutomationFullTestPython39ProfileLatest
displayName: Automation Full Test Python39 Profile Latest
- job: AutomationFullTestPython312ProfileLatest
displayName: Automation Full Test Python312 Profile Latest
Copy link
Member

Choose a reason for hiding this comment

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

We keep the test for Python 3.12 because RHEL only has Python 3.12, right? (#32381 (comment))

Copy link
Contributor Author

@bebound bebound Nov 24, 2025

Choose a reason for hiding this comment

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

Yes. 3.12 is the latest version on RHEL.

@bebound
Copy link
Contributor Author

bebound commented Nov 24, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@bebound bebound merged commit 0a7bd73 into Azure:dev-lts-2.66 Dec 2, 2025
35 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants