Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mysql] Fix default value of acclog parameter for mysql felxible server #30188

Closed
wants to merge 10 commits into from

Conversation

linyudoa
Copy link
Contributor

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


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

@linyudoa linyudoa requested a review from evelyn-ys as a code owner October 25, 2024 07:17
Copy link

azure-client-tools-bot-prd bot commented Oct 25, 2024

❌AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️acs
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.9
️✔️ams
️✔️latest
️✔️3.12
️✔️3.9
️✔️apim
️✔️latest
️✔️3.12
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️aro
️✔️latest
️✔️3.12
️✔️3.9
️✔️backup
️✔️latest
️✔️3.12
️✔️3.9
️✔️batch
️✔️latest
️✔️3.12
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.9
️✔️billing
️✔️latest
️✔️3.12
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.9
️✔️config
️✔️latest
️✔️3.12
️✔️3.9
️✔️configure
️✔️latest
️✔️3.12
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.9
️✔️container
️✔️latest
️✔️3.12
️✔️3.9
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.9
️✔️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.9
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.9
️✔️databoxedge
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️dla
️✔️latest
️✔️3.12
️✔️3.9
️✔️dls
️✔️latest
️✔️3.12
️✔️3.9
️✔️dms
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.9
️✔️find
️✔️latest
️✔️3.12
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.9
️✔️identity
️✔️latest
️✔️3.12
️✔️3.9
️✔️iot
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️keyvault
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️kusto
️✔️latest
️✔️3.12
️✔️3.9
️✔️lab
️✔️latest
️✔️3.12
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️maps
️✔️latest
️✔️3.12
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.9
❌mysql
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_mysql_flexible_server_byok_mgmt self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f8623b378c0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f8624c88f50>
command = 'mysql flexible-server create -g clitest.rg000001 -n azuredbclitest-000008 --public-access none --tier GeneralPurpose ...icrosoft.ManagedIdentity/userAssignedIdentities/identity000005  --location northeurope --geo-redundant-backup Disabled'
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.12/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 = NameError("name 'mysql_flexibleservers' is not defined"), 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 NameError 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.mysql.tests.latest.test_mysql_scenario.FlexibleServerMgmtScenarioTest testMethod=test_mysql_flexible_server_byok_mgmt>
resource_group = 'clitest.rg000001', vault_name = 'rdbmsvault000002'
backup_vault_name = 'rdbmsvault000003'

    @AllowLargeResponse()
    @ResourceGroupPreparer(location=DEFAULT_LOCATION)
    @KeyVaultPreparer(name_prefix='rdbmsvault', parameter_name='vault_name', location=DEFAULT_PAIRED_LOCATION, additional_params='--enable-purge-protection true --retention-days 90 --enable-rbac-authorization false')
    @KeyVaultPreparer(name_prefix='rdbmsvault', parameter_name='backup_vault_name', location=DEFAULT_LOCATION, additional_params='--enable-purge-protection true --retention-days 90 --enable-rbac-authorization false')
    def test_mysql_flexible_server_byok_mgmt(self, resource_group, vault_name, backup_vault_name):
>       self.test_flexible_server_byok_mgmt('mysql', resource_group, vault_name, backup_vault_name)

src/azure-cli/azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:133: 
 
 
                                      
src/azure-cli/azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:937: in test_flexible_server_byok_mgmt
    main_tests(False)
src/azure-cli/azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:811: in main_tests
    self.cmd('{} flexible-server create -g {} -n {} --public-access none --tier {} --sku-name {} --key {} --identity {} {} --location {} --geo-redundant-backup {}'.format(
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.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:733: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
src/azure-cli-core/azure/cli/core/commands/command_operation.py:121: in handler
    return op(**command_args)
 
 
 
 
 
 
                                 _ 

cmd = <azure.cli.core.commands.AzCliCommand object at 0x7f8623e18fe0>
client = <azure.mgmt.mysqlflexibleservers.operations._servers_operations.ServersOperations object at 0x7f8623e004a0>
resource_group_name = 'clitest.rg000001', server_name = 'azuredbclitest-000008'
location = 'northeurope', backup_retention = 7, sku_name = 'Standard_D2ds_v4'
tier = 'GeneralPurpose', storage_gb = 32
administrator_login = 'pleaseddunnock5', administrator_login_password = None
version = '5.7', tags = None, database_name = None, database_port = None
subnet = None, subnet_address_prefix = None, vnet = None
vnet_address_prefix = None, private_dns_zone_arguments = None
public_access = 'none', high_availability = 'Disabled', zone = None
standby_availability_zone = None, iops = 396, auto_grow = 'Enabled'
auto_scale_iops = 'Disabled', accelerated_logs = 'Disabled'
geo_redundant_backup = 'Disabled'
byok_identity = '/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity000005'
backup_byok_identity = None
byok_key = 'https://rdbmsvault000002.vault.azure.net/keys/rdbmskey000004/8ece6a5dc20d41e985145c424101a6d3'
backup_byok_key = None, maintenance_policy_patch_strategy = None, yes = False

    def flexible_server_create(cmd, client,
                               resource_group_name=None, server_name=None,
                               location=None, backup_retention=None,
                               sku_name=None, tier=None,
                               storage_gb=None, administrator_login=None,
                               administrator_login_password=None, version=None,
                               tags=None, database_name=None, database_port=None,
                               subnet=None, subnet_address_prefix=None, vnet=None, vnet_address_prefix=None,
                               private_dns_zone_arguments=None, public_access=None,
                               high_availability=None, zone=None, standby_availability_zone=None,
                               iops=None, auto_grow=None, auto_scale_iops=None, accelerated_logs=None, geo_redundant_backup=None,
                               byok_identity=None, backup_byok_identity=None, byok_key=None, backup_byok_key=None,
                               maintenance_policy_patch_strategy=None, yes=False):
        # Generate missing parameters
        location, resource_group_name, server_name = generate_missing_parameters(cmd, location, resource_group_name, server_name)
        db_context = DbContext(
            cmd=cmd, cf_firewall=cf_mysql_flexible_firewall_rules, cf_db=cf_mysql_flexible_db,
            cf_availability=cf_mysql_check_resource_availability,
            cf_availability_without_location=cf_mysql_check_resource_availability_without_location,
            cf_private_dns_zone_suffix=cf_mysql_flexible_private_dns_zone_suffix_operations,
            logging_name='MySQL', command_group='mysql', server_client=client, location=location)
    
        # Process parameters
        server_name = server_name.lower()
    
        # MySQL chnged MemoryOptimized tier to BusinessCritical (only in client tool not in list-skus return)
        if tier == 'BusinessCritical':
            tier = 'MemoryOptimized'
        mysql_arguments_validator(db_context,
                                  server_name=server_name,
                                  location=location,
                                  tier=tier,
                                  sku_name=sku_name,
                                  storage_gb=storage_gb,
                                  backup_retention=backup_retention,
                                  high_availability=high_availability,
                                  standby_availability_zone=standby_availability_zone,
                                  zone=zone,
                                  subnet=subnet,
                                  public_access=public_access,
                                  auto_grow=auto_grow,
                                  version=version,
                                  geo_redundant_backup=geo_redundant_backup,
                                  byok_identity=byok_identity,
                                  backup_byok_identity=backup_byok_identity,
                                  byok_key=byok_key,
                                  backup_byok_key=backup_byok_key,
                                  auto_io_scaling=auto_scale_iops,
                                  accelerated_logs=accelerated_logs,
                                  iops=iops)
        list_skus_info = get_mysql_list_skus_info(db_context.cmd, location)
        iops_info = list_skus_info['iops_info']
    
        server_result = firewall_name = None
    
        network, start_ip, end_ip = flexible_server_provision_network_resource(cmd=cmd,
                                                                               resource_group_name=resource_group_name,
                                                                               server_name=server_name,
                                                                               location=location,
                                                                               db_context=db_context,
                                                                               private_dns_zone_arguments=private_dns_zone_arguments,
                                                                               public_access=public_access,
                                                                               vnet=vnet,
                                                                               subnet=subnet,
                                                                               vnet_address_prefix=vnet_address_prefix,
                                                                               subnet_address_prefix=subnet_address_prefix,
                                                                               yes=yes)
    
        # determine IOPS
        iops = _determine_iops(storage_gb=storage_gb,
                               iops_info=iops_info,
                               iops_input=iops,
                               tier=tier,
                               sku_name=sku_name)
    
        accelerated_logs = _determine_acceleratedLogs(accelerated_logs, tier)
    
>       storage = mysql_flexibleservers.models.Storage(storage_size_gb=storage_gb,
                                                       iops=iops,
                                                       auto_grow=auto_grow,
                                                       auto_io_scaling=auto_scale_iops,
                                                       log_on_disk=accelerated_logs)
E       NameError: name 'mysql_flexibleservers' is not defined

src/azure-cli/azure/cli/command_modules/mysql/custom.py:407: NameError
azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:127
Failed test_mysql_flexible_server_check_name_availability_fallback_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:103
Failed test_mysql_flexible_server_georestore_mgmt self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f862415bad0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f8624c60a40>
command = 'group create --location northeurope --name clitest.rgyw4oohxklrk77tovfdewhf4pdjrafawxenm6wlfh2fpvlnaep4awqatz4n2dqdfq...=azurecli cause=automation test date=2024-10-25T07:26:39Z test=test_mysql_flexible_server_georestore_mgmt module=mysql'
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.12/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 = CLIError("Please run 'az login' to setup account."), 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 CLIError 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/decorators.py:40: 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-testsdk/azure/cli/testsdk/preparers.py:99: in create_resource
    self.live_only_execute(self.cli_ctx, template.format(self.location, name))
src/azure-cli-testsdk/azure/cli/testsdk/preparers.py:39: in live_only_execute
    return self.raw_execute(cli_ctx, command, expect_failure)
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.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:733: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
src/azure-cli-core/azure/cli/core/commands/command_operation.py:121: in handler
    return op(**command_args)
src/azure-cli/azure/cli/command_modules/resource/custom.py:1651: in create_resource_group
    rcf = resource_client_factory(cmd.cli_ctx)
src/azure-cli/azure/cli/command_modules/resource/client_factory.py:10: in resource_client_factory
    return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES)
src/azure-cli-core/azure/cli/core/commands/client_factory.py:83: in get_mgmt_service_client
    client, 
 = get_mgmt_service_client(cli_ctx, client_type, subscription_id=subscription_id,
src/azure-cli-core/azure/cli/core/commands/client_factory.py:236: in get_mgmt_service_client
    credential, subscription_id, 
 = profile.get_login_credentials(
src/azure-cli-core/azure/cli/core/profile.py:350: in get_login_credentials
    account = self.get_subscription(subscription_id)
 
 
 
 
 
 
 
 
 
 
 
 
 
                           

self = <azure.cli.core._profile.Profile object at 0x7f8623ec5730>
subscription = None

    def get_subscription(self, subscription=None):  # take id or name
        subscriptions = self.load_cached_subscriptions()
        if not subscriptions:
>           raise CLIError(_AZ_LOGIN_MESSAGE)
E           knack.util.CLIError: Please run 'az login' to setup account.

src/azure-cli-core/azure/cli/core/_profile.py:582: CLIError
azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:112
Failed test_mysql_flexible_server_georestore_update_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:117
Failed test_mysql_flexible_server_gtid_reset The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:122
Failed test_mysql_flexible_server_iops_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:81
Failed test_mysql_flexible_server_mgmt self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f862415bad0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f8624b47ad0>
command = 'group create --location northeurope --name clitest.rg4rpyotr7d7cc3yw6gtuwe5ucarzn7zzwzui7kturuzrcwx7fpic3rzzmri67zsvu...tag product=azurecli cause=automation test date=2024-10-25T07:26:41Z test=test_mysql_flexible_server_mgmt module=mysql'
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.12/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 = CLIError("Please run 'az login' to setup account."), 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 CLIError 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/decorators.py:40: 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-testsdk/azure/cli/testsdk/preparers.py:99: in create_resource
    self.live_only_execute(self.cli_ctx, template.format(self.location, name))
src/azure-cli-testsdk/azure/cli/testsdk/preparers.py:39: in live_only_execute
    return self.raw_execute(cli_ctx, command, expect_failure)
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.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:733: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
src/azure-cli-core/azure/cli/core/commands/command_operation.py:121: in handler
    return op(**command_args)
src/azure-cli/azure/cli/command_modules/resource/custom.py:1651: in create_resource_group
    rcf = resource_client_factory(cmd.cli_ctx)
src/azure-cli/azure/cli/command_modules/resource/client_factory.py:10: in resource_client_factory
    return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES)
src/azure-cli-core/azure/cli/core/commands/client_factory.py:83: in get_mgmt_service_client
    client, 
 = get_mgmt_service_client(cli_ctx, client_type, subscription_id=subscription_id,
src/azure-cli-core/azure/cli/core/commands/client_factory.py:236: in get_mgmt_service_client
    credential, subscription_id, 
 = profile.get_login_credentials(
src/azure-cli-core/azure/cli/core/profile.py:350: in get_login_credentials
    account = self.get_subscription(subscription_id)
 
 
 
 
 
 
 
 
 
 
 
 
 
                           

self = <azure.cli.core._profile.Profile object at 0x7f8623d46480>
subscription = None

    def get_subscription(self, subscription=None):  # take id or name
        subscriptions = self.load_cached_subscriptions()
        if not subscriptions:
>           raise CLIError(_AZ_LOGIN_MESSAGE)
E           knack.util.CLIError: Please run 'az login' to setup account.

src/azure-cli-core/azure/cli/core/_profile.py:582: CLIError
azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:91
Failed test_mysql_flexible_server_paid_iops_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:86
Failed test_mysql_flexible_server_restore_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:107
Failed test_mysql_flexible_server_proxy_resource The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:976
Failed test_mysql_flexible_server_mgmt_update_validator The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1128
Failed test_mysql_flexible_server_cross_region_replica_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1260
Failed test_mysql_flexible_server_replica_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1255
Failed test_mysql_flexible_server_public_access_custom The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1457
Failed test_mysql_flexible_server_public_access_georestore The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1467
Failed test_mysql_flexible_server_public_access_restore The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1462
Failed test_mysql_flexible_server_vnet_mgmt_supplied_subnet_id_in_different_rg The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1451
Failed test_mysql_flexible_server_vnet_mgmt_supplied_subnetid The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1440
Failed test_mysql_flexible_server_vnet_mgmt_supplied_vname_and_subnetname The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1446
Failed test_mysql_flexible_server_existing_private_dns_zone The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1698
Failed test_mysql_flexible_server_new_private_dns_zone The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1704
Failed test_mysql_flexible_server_backups_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:2005
Failed test_mysql_flexible_server_identity_aad_admin_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:2031
Failed test_mysql_advanced_threat_protection_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:2198
❌3.9
Type Test Case Error Message Line
Failed test_mysql_flexible_server_byok_mgmt self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f83aa9bfb50>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f83abf2ca90>
command = 'mysql flexible-server create -g clitest.rg000001 -n azuredbclitest-000008 --public-access none --tier GeneralPurpose ...icrosoft.ManagedIdentity/userAssignedIdentities/identity000005  --location northeurope --geo-redundant-backup Disabled'
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.9/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 = NameError("name 'mysql_flexibleservers' is not defined"), 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 NameError 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.mysql.tests.latest.test_mysql_scenario.FlexibleServerMgmtScenarioTest testMethod=test_mysql_flexible_server_byok_mgmt>
resource_group = 'clitest.rg000001', vault_name = 'rdbmsvault000002'
backup_vault_name = 'rdbmsvault000003'

    @AllowLargeResponse()
    @ResourceGroupPreparer(location=DEFAULT_LOCATION)
    @KeyVaultPreparer(name_prefix='rdbmsvault', parameter_name='vault_name', location=DEFAULT_PAIRED_LOCATION, additional_params='--enable-purge-protection true --retention-days 90 --enable-rbac-authorization false')
    @KeyVaultPreparer(name_prefix='rdbmsvault', parameter_name='backup_vault_name', location=DEFAULT_LOCATION, additional_params='--enable-purge-protection true --retention-days 90 --enable-rbac-authorization false')
    def test_mysql_flexible_server_byok_mgmt(self, resource_group, vault_name, backup_vault_name):
>       self.test_flexible_server_byok_mgmt('mysql', resource_group, vault_name, backup_vault_name)

src/azure-cli/azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:133: 
 
 
                                      
src/azure-cli/azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:937: in test_flexible_server_byok_mgmt
    main_tests(False)
src/azure-cli/azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:811: in main_tests
    self.cmd('{} flexible-server create -g {} -n {} --public-access none --tier {} --sku-name {} --key {} --identity {} {} --location {} --geo-redundant-backup {}'.format(
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.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:733: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
src/azure-cli-core/azure/cli/core/commands/command_operation.py:121: in handler
    return op(**command_args)
 
 
 
 
 
 
                                 _ 

cmd = <azure.cli.core.commands.AzCliCommand object at 0x7f83aa8c1c10>
client = <azure.mgmt.mysqlflexibleservers.operations._servers_operations.ServersOperations object at 0x7f83aa854dc0>
resource_group_name = 'clitest.rg000001', server_name = 'azuredbclitest-000008'
location = 'northeurope', backup_retention = 7, sku_name = 'Standard_D2ds_v4'
tier = 'GeneralPurpose', storage_gb = 32, administrator_login = 'validhare2'
administrator_login_password = None, version = '5.7', tags = None
database_name = None, database_port = None, subnet = None
subnet_address_prefix = None, vnet = None, vnet_address_prefix = None
private_dns_zone_arguments = None, public_access = 'none'
high_availability = 'Disabled', zone = None, standby_availability_zone = None
iops = 396, auto_grow = 'Enabled', auto_scale_iops = 'Disabled'
accelerated_logs = 'Disabled', geo_redundant_backup = 'Disabled'
byok_identity = '/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity000005'
backup_byok_identity = None
byok_key = 'https://rdbmsvault000002.vault.azure.net/keys/rdbmskey000004/8ece6a5dc20d41e985145c424101a6d3'
backup_byok_key = None, maintenance_policy_patch_strategy = None, yes = False

    def flexible_server_create(cmd, client,
                               resource_group_name=None, server_name=None,
                               location=None, backup_retention=None,
                               sku_name=None, tier=None,
                               storage_gb=None, administrator_login=None,
                               administrator_login_password=None, version=None,
                               tags=None, database_name=None, database_port=None,
                               subnet=None, subnet_address_prefix=None, vnet=None, vnet_address_prefix=None,
                               private_dns_zone_arguments=None, public_access=None,
                               high_availability=None, zone=None, standby_availability_zone=None,
                               iops=None, auto_grow=None, auto_scale_iops=None, accelerated_logs=None, geo_redundant_backup=None,
                               byok_identity=None, backup_byok_identity=None, byok_key=None, backup_byok_key=None,
                               maintenance_policy_patch_strategy=None, yes=False):
        # Generate missing parameters
        location, resource_group_name, server_name = generate_missing_parameters(cmd, location, resource_group_name, server_name)
        db_context = DbContext(
            cmd=cmd, cf_firewall=cf_mysql_flexible_firewall_rules, cf_db=cf_mysql_flexible_db,
            cf_availability=cf_mysql_check_resource_availability,
            cf_availability_without_location=cf_mysql_check_resource_availability_without_location,
            cf_private_dns_zone_suffix=cf_mysql_flexible_private_dns_zone_suffix_operations,
            logging_name='MySQL', command_group='mysql', server_client=client, location=location)
    
        # Process parameters
        server_name = server_name.lower()
    
        # MySQL chnged MemoryOptimized tier to BusinessCritical (only in client tool not in list-skus return)
        if tier == 'BusinessCritical':
            tier = 'MemoryOptimized'
        mysql_arguments_validator(db_context,
                                  server_name=server_name,
                                  location=location,
                                  tier=tier,
                                  sku_name=sku_name,
                                  storage_gb=storage_gb,
                                  backup_retention=backup_retention,
                                  high_availability=high_availability,
                                  standby_availability_zone=standby_availability_zone,
                                  zone=zone,
                                  subnet=subnet,
                                  public_access=public_access,
                                  auto_grow=auto_grow,
                                  version=version,
                                  geo_redundant_backup=geo_redundant_backup,
                                  byok_identity=byok_identity,
                                  backup_byok_identity=backup_byok_identity,
                                  byok_key=byok_key,
                                  backup_byok_key=backup_byok_key,
                                  auto_io_scaling=auto_scale_iops,
                                  accelerated_logs=accelerated_logs,
                                  iops=iops)
        list_skus_info = get_mysql_list_skus_info(db_context.cmd, location)
        iops_info = list_skus_info['iops_info']
    
        server_result = firewall_name = None
    
        network, start_ip, end_ip = flexible_server_provision_network_resource(cmd=cmd,
                                                                               resource_group_name=resource_group_name,
                                                                               server_name=server_name,
                                                                               location=location,
                                                                               db_context=db_context,
                                                                               private_dns_zone_arguments=private_dns_zone_arguments,
                                                                               public_access=public_access,
                                                                               vnet=vnet,
                                                                               subnet=subnet,
                                                                               vnet_address_prefix=vnet_address_prefix,
                                                                               subnet_address_prefix=subnet_address_prefix,
                                                                               yes=yes)
    
        # determine IOPS
        iops = _determine_iops(storage_gb=storage_gb,
                               iops_info=iops_info,
                               iops_input=iops,
                               tier=tier,
                               sku_name=sku_name)
    
        accelerated_logs = _determine_acceleratedLogs(accelerated_logs, tier)
    
>       storage = mysql_flexibleservers.models.Storage(storage_size_gb=storage_gb,
                                                       iops=iops,
                                                       auto_grow=auto_grow,
                                                       auto_io_scaling=auto_scale_iops,
                                                       log_on_disk=accelerated_logs)
E       NameError: name 'mysql_flexibleservers' is not defined

src/azure-cli/azure/cli/command_modules/mysql/custom.py:407: NameError
azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:127
Failed test_mysql_flexible_server_check_name_availability_fallback_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:103
Failed test_mysql_flexible_server_georestore_mgmt self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f83ab2a7d60>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f83ac0d03d0>
command = 'group create --location northeurope --name clitest.rgxwzf2ppu2mdxksgt2csa6iwwju6wx5koxypzhwnxhfn4pz5wuflndtbkh2rkiwft...=azurecli cause=automation test date=2024-10-25T07:26:12Z test=test_mysql_flexible_server_georestore_mgmt module=mysql'
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.9/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 = CLIError("Please run 'az login' to setup account."), 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 CLIError 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/decorators.py:40: 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-testsdk/azure/cli/testsdk/preparers.py:99: in create_resource
    self.live_only_execute(self.cli_ctx, template.format(self.location, name))
src/azure-cli-testsdk/azure/cli/testsdk/preparers.py:39: in live_only_execute
    return self.raw_execute(cli_ctx, command, expect_failure)
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.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:733: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
src/azure-cli-core/azure/cli/core/commands/command_operation.py:121: in handler
    return op(**command_args)
src/azure-cli/azure/cli/command_modules/resource/custom.py:1651: in create_resource_group
    rcf = resource_client_factory(cmd.cli_ctx)
src/azure-cli/azure/cli/command_modules/resource/client_factory.py:10: in resource_client_factory
    return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES)
src/azure-cli-core/azure/cli/core/commands/client_factory.py:83: in get_mgmt_service_client
    client, 
 = get_mgmt_service_client(cli_ctx, client_type, subscription_id=subscription_id,
src/azure-cli-core/azure/cli/core/commands/client_factory.py:236: in get_mgmt_service_client
    credential, subscription_id, 
 = profile.get_login_credentials(
src/azure-cli-core/azure/cli/core/profile.py:350: in get_login_credentials
    account = self.get_subscription(subscription_id)
 
 
 
 
 
 
 
 
 
 
 
 
 
                           

self = <azure.cli.core._profile.Profile object at 0x7f83ab0f4310>
subscription = None

    def get_subscription(self, subscription=None):  # take id or name
        subscriptions = self.load_cached_subscriptions()
        if not subscriptions:
>           raise CLIError(_AZ_LOGIN_MESSAGE)
E           knack.util.CLIError: Please run 'az login' to setup account.

src/azure-cli-core/azure/cli/core/_profile.py:582: CLIError
azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:112
Failed test_mysql_flexible_server_georestore_update_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:117
Failed test_mysql_flexible_server_gtid_reset The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:122
Failed test_mysql_flexible_server_iops_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:81
Failed test_mysql_flexible_server_mgmt self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f83ab29ca00>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f83abf72190>
command = 'group create --location northeurope --name clitest.rgyhycprjdr3rqgcre5u2gy2lg3aeozfwqkkxa3nc3r53wc7cc4igde4c7tibywblr...tag product=azurecli cause=automation test date=2024-10-25T07:26:14Z test=test_mysql_flexible_server_mgmt module=mysql'
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.9/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 = CLIError("Please run 'az login' to setup account."), 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 CLIError 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/decorators.py:40: 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-testsdk/azure/cli/testsdk/preparers.py:99: in create_resource
    self.live_only_execute(self.cli_ctx, template.format(self.location, name))
src/azure-cli-testsdk/azure/cli/testsdk/preparers.py:39: in live_only_execute
    return self.raw_execute(cli_ctx, command, expect_failure)
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.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:733: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
src/azure-cli-core/azure/cli/core/commands/command_operation.py:121: in handler
    return op(**command_args)
src/azure-cli/azure/cli/command_modules/resource/custom.py:1651: in create_resource_group
    rcf = resource_client_factory(cmd.cli_ctx)
src/azure-cli/azure/cli/command_modules/resource/client_factory.py:10: in resource_client_factory
    return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES)
src/azure-cli-core/azure/cli/core/commands/client_factory.py:83: in get_mgmt_service_client
    client, 
 = get_mgmt_service_client(cli_ctx, client_type, subscription_id=subscription_id,
src/azure-cli-core/azure/cli/core/commands/client_factory.py:236: in get_mgmt_service_client
    credential, subscription_id, 
 = profile.get_login_credentials(
src/azure-cli-core/azure/cli/core/profile.py:350: in get_login_credentials
    account = self.get_subscription(subscription_id)
 
 
 
 
 
 
 
 
 
 
 
 
 
                           

self = <azure.cli.core._profile.Profile object at 0x7f83ab1035e0>
subscription = None

    def get_subscription(self, subscription=None):  # take id or name
        subscriptions = self.load_cached_subscriptions()
        if not subscriptions:
>           raise CLIError(_AZ_LOGIN_MESSAGE)
E           knack.util.CLIError: Please run 'az login' to setup account.

src/azure-cli-core/azure/cli/core/_profile.py:582: CLIError
azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:91
Failed test_mysql_flexible_server_paid_iops_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:86
Failed test_mysql_flexible_server_restore_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:107
Failed test_mysql_flexible_server_proxy_resource The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:976
Failed test_mysql_flexible_server_mgmt_update_validator The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1128
Failed test_mysql_flexible_server_cross_region_replica_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1260
Failed test_mysql_flexible_server_replica_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1255
Failed test_mysql_flexible_server_public_access_custom The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1457
Failed test_mysql_flexible_server_public_access_georestore The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1467
Failed test_mysql_flexible_server_public_access_restore The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1462
Failed test_mysql_flexible_server_vnet_mgmt_supplied_subnet_id_in_different_rg The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1451
Failed test_mysql_flexible_server_vnet_mgmt_supplied_subnetid The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1440
Failed test_mysql_flexible_server_vnet_mgmt_supplied_vname_and_subnetname The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1446
Failed test_mysql_flexible_server_existing_private_dns_zone The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1698
Failed test_mysql_flexible_server_new_private_dns_zone The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:1704
Failed test_mysql_flexible_server_backups_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:2005
Failed test_mysql_flexible_server_identity_aad_admin_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:2031
Failed test_mysql_advanced_threat_protection_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/mysql/tests/latest/test_mysql_scenario.py:2198
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.9
❌network
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_private_endpoint_connection_mysql_flexible_server self = <azure.cli.testsdk.base.ExecutionResult object at 0x7ff9ebc5f170>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7ff9ec63aa80>
command = 'mysql flexible-server create -g clitest.rg000001 --name mysql-privatelink-server000002  --public-access none'
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.12/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 = NameError("name 'mysql_flexibleservers' is not defined"), 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 NameError 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_private_endpoint_commands.NetworkPrivateLinkMysqlFlexibleServerScenarioTest testMethod=test_private_endpoint_connection_mysql_flexible_server>
resource_group = 'clitest.rg000001'

    @ResourceGroupPreparer(location='centraluseuap')
    def test_private_endpoint_connection_mysql_flexible_server(self, resource_group):
        self.kwargs.update({
            'resource_group': resource_group,
            'server_name': self.create_random_name('mysql-privatelink-server', 40),
            'plan_name': self.create_random_name('mysql-privatelink-asp', 40),
            'vnet_name': self.create_random_name('mysql-privatelink-vnet', 40),
            'subnet_name': self.create_random_name('mysql-privatelink-subnet', 40),
            'endpoint_name': self.create_random_name('mysql-privatelink-endpoint', 40),
            'endpoint_conn_name': self.create_random_name('mysql-privatelink-endpointconn', 40),
            'second_endpoint_name': self.create_random_name('mysql-privatelink-endpoint2', 40),
            'second_endpoint_conn_name': self.create_random_name('mysql-privatelink-endpointconn2', 40),
            'description_msg': 'somedescription'
        })
    
        #Prepare Network
        self.cmd('network vnet create -n {vnet_name} -g {resource_group} --subnet-name {subnet_name}',
                 checks=self.check('length(newVNet.subnets)', 1))
        self.cmd('network vnet subnet update -n {subnet_name} --vnet-name {vnet_name} -g {resource_group} '
                 '--disable-private-endpoint-network-policies true',
                 checks=self.check('privateEndpointNetworkPolicies', 'Disabled'))
    
        #Create MySQL Server
>       result = self.cmd('mysql flexible-server create -g {rg} --name {server_name}  --public-access none').get_output_in_json()

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:4229: 
 
                                       
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.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:733: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
src/azure-cli-core/azure/cli/core/commands/command_operation.py:121: in handler
    return op(**command_args)
 
 
 
 
                                   _ 

cmd = <azure.cli.core.commands.AzCliCommand object at 0x7ff9eaa960f0>
client = <azure.mgmt.mysqlflexibleservers.operations._servers_operations.ServersOperations object at 0x7ff9eaa96960>
resource_group_name = 'clitest.rg000001'
server_name = 'mysql-privatelink-server000002', location = 'centraluseuap'
backup_retention = 7, sku_name = 'Standard_B1ms', tier = 'Burstable'
storage_gb = 32, administrator_login = 'prudentvenison0'
administrator_login_password = None, version = '5.7', tags = None
database_name = None, database_port = None, subnet = None
subnet_address_prefix = None, vnet = None, vnet_address_prefix = None
private_dns_zone_arguments = None, public_access = 'none'
high_availability = 'Disabled', zone = None, standby_availability_zone = None
iops = 396, auto_grow = 'Enabled', auto_scale_iops = 'Disabled'
accelerated_logs = 'Disabled', geo_redundant_backup = 'Disabled'
byok_identity = None, backup_byok_identity = None, byok_key = None
backup_byok_key = None, maintenance_policy_patch_strategy = None, yes = False

    def flexible_server_create(cmd, client,
                               resource_group_name=None, server_name=None,
                               location=None, backup_retention=None,
                               sku_name=None, tier=None,
                               storage_gb=None, administrator_login=None,
                               administrator_login_password=None, version=None,
                               tags=None, database_name=None, database_port=None,
                               subnet=None, subnet_address_prefix=None, vnet=None, vnet_address_prefix=None,
                               private_dns_zone_arguments=None, public_access=None,
                               high_availability=None, zone=None, standby_availability_zone=None,
                               iops=None, auto_grow=None, auto_scale_iops=None, accelerated_logs=None, geo_redundant_backup=None,
                               byok_identity=None, backup_byok_identity=None, byok_key=None, backup_byok_key=None,
                               maintenance_policy_patch_strategy=None, yes=False):
        # Generate missing parameters
        location, resource_group_name, server_name = generate_missing_parameters(cmd, location, resource_group_name, server_name)
        db_context = DbContext(
            cmd=cmd, cf_firewall=cf_mysql_flexible_firewall_rules, cf_db=cf_mysql_flexible_db,
            cf_availability=cf_mysql_check_resource_availability,
            cf_availability_without_location=cf_mysql_check_resource_availability_without_location,
            cf_private_dns_zone_suffix=cf_mysql_flexible_private_dns_zone_suffix_operations,
            logging_name='MySQL', command_group='mysql', server_client=client, location=location)
    
        # Process parameters
        server_name = server_name.lower()
    
        # MySQL chnged MemoryOptimized tier to BusinessCritical (only in client tool not in list-skus return)
        if tier == 'BusinessCritical':
            tier = 'MemoryOptimized'
        mysql_arguments_validator(db_context,
                                  server_name=server_name,
                                  location=location,
                                  tier=tier,
                                  sku_name=sku_name,
                                  storage_gb=storage_gb,
                                  backup_retention=backup_retention,
                                  high_availability=high_availability,
                                  standby_availability_zone=standby_availability_zone,
                                  zone=zone,
                                  subnet=subnet,
                                  public_access=public_access,
                                  auto_grow=auto_grow,
                                  version=version,
                                  geo_redundant_backup=geo_redundant_backup,
                                  byok_identity=byok_identity,
                                  backup_byok_identity=backup_byok_identity,
                                  byok_key=byok_key,
                                  backup_byok_key=backup_byok_key,
                                  auto_io_scaling=auto_scale_iops,
                                  accelerated_logs=accelerated_logs,
                                  iops=iops)
        list_skus_info = get_mysql_list_skus_info(db_context.cmd, location)
        iops_info = list_skus_info['iops_info']
    
        server_result = firewall_name = None
    
        network, start_ip, end_ip = flexible_server_provision_network_resource(cmd=cmd,
                                                                               resource_group_name=resource_group_name,
                                                                               server_name=server_name,
                                                                               location=location,
                                                                               db_context=db_context,
                                                                               private_dns_zone_arguments=private_dns_zone_arguments,
                                                                               public_access=public_access,
                                                                               vnet=vnet,
                                                                               subnet=subnet,
                                                                               vnet_address_prefix=vnet_address_prefix,
                                                                               subnet_address_prefix=subnet_address_prefix,
                                                                               yes=yes)
    
        # determine IOPS
        iops = _determine_iops(storage_gb=storage_gb,
                               iops_info=iops_info,
                               iops_input=iops,
                               tier=tier,
                               sku_name=sku_name)
    
        accelerated_logs = _determine_acceleratedLogs(accelerated_logs, tier)
    
>       storage = mysql_flexibleservers.models.Storage(storage_size_gb=storage_gb,
                                                       iops=iops,
                                                       auto_grow=auto_grow,
                                                       auto_io_scaling=auto_scale_iops,
                                                       log_on_disk=accelerated_logs)
E       NameError: name 'mysql_flexibleservers' is not defined

src/azure-cli/azure/cli/command_modules/mysql/custom.py:407: NameError
azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:4205
Failed test_private_link_resource_mysql_flexible_server 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:4188
❌3.9
Type Test Case Error Message Line
Failed test_private_endpoint_connection_mysql_flexible_server self = <azure.cli.testsdk.base.ExecutionResult object at 0x7faa8df51f40>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7faa8e4ac310>
command = 'mysql flexible-server create -g clitest.rg000001 --name mysql-privatelink-server000002  --public-access none'
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.9/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 = NameError("name 'mysql_flexibleservers' is not defined"), 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 NameError 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_private_endpoint_commands.NetworkPrivateLinkMysqlFlexibleServerScenarioTest testMethod=test_private_endpoint_connection_mysql_flexible_server>
resource_group = 'clitest.rg000001'

    @ResourceGroupPreparer(location='centraluseuap')
    def test_private_endpoint_connection_mysql_flexible_server(self, resource_group):
        self.kwargs.update({
            'resource_group': resource_group,
            'server_name': self.create_random_name('mysql-privatelink-server', 40),
            'plan_name': self.create_random_name('mysql-privatelink-asp', 40),
            'vnet_name': self.create_random_name('mysql-privatelink-vnet', 40),
            'subnet_name': self.create_random_name('mysql-privatelink-subnet', 40),
            'endpoint_name': self.create_random_name('mysql-privatelink-endpoint', 40),
            'endpoint_conn_name': self.create_random_name('mysql-privatelink-endpointconn', 40),
            'second_endpoint_name': self.create_random_name('mysql-privatelink-endpoint2', 40),
            'second_endpoint_conn_name': self.create_random_name('mysql-privatelink-endpointconn2', 40),
            'description_msg': 'somedescription'
        })
    
        #Prepare Network
        self.cmd('network vnet create -n {vnet_name} -g {resource_group} --subnet-name {subnet_name}',
                 checks=self.check('length(newVNet.subnets)', 1))
        self.cmd('network vnet subnet update -n {subnet_name} --vnet-name {vnet_name} -g {resource_group} '
                 '--disable-private-endpoint-network-policies true',
                 checks=self.check('privateEndpointNetworkPolicies', 'Disabled'))
    
        #Create MySQL Server
>       result = self.cmd('mysql flexible-server create -g {rg} --name {server_name}  --public-access none').get_output_in_json()

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:4229: 
 
                                       
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.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:733: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
src/azure-cli-core/azure/cli/core/commands/command_operation.py:121: in handler
    return op(**command_args)
 
 
 
 
                                   _ 

cmd = <azure.cli.core.commands.AzCliCommand object at 0x7faa8cd07dc0>
client = <azure.mgmt.mysqlflexibleservers.operations._servers_operations.ServersOperations object at 0x7faa8cc9b070>
resource_group_name = 'clitest.rg000001'
server_name = 'mysql-privatelink-server000002', location = 'centraluseuap'
backup_retention = 7, sku_name = 'Standard_B1ms', tier = 'Burstable'
storage_gb = 32, administrator_login = 'starchybaboon0'
administrator_login_password = None, version = '5.7', tags = None
database_name = None, database_port = None, subnet = None
subnet_address_prefix = None, vnet = None, vnet_address_prefix = None
private_dns_zone_arguments = None, public_access = 'none'
high_availability = 'Disabled', zone = None, standby_availability_zone = None
iops = 396, auto_grow = 'Enabled', auto_scale_iops = 'Disabled'
accelerated_logs = 'Disabled', geo_redundant_backup = 'Disabled'
byok_identity = None, backup_byok_identity = None, byok_key = None
backup_byok_key = None, maintenance_policy_patch_strategy = None, yes = False

    def flexible_server_create(cmd, client,
                               resource_group_name=None, server_name=None,
                               location=None, backup_retention=None,
                               sku_name=None, tier=None,
                               storage_gb=None, administrator_login=None,
                               administrator_login_password=None, version=None,
                               tags=None, database_name=None, database_port=None,
                               subnet=None, subnet_address_prefix=None, vnet=None, vnet_address_prefix=None,
                               private_dns_zone_arguments=None, public_access=None,
                               high_availability=None, zone=None, standby_availability_zone=None,
                               iops=None, auto_grow=None, auto_scale_iops=None, accelerated_logs=None, geo_redundant_backup=None,
                               byok_identity=None, backup_byok_identity=None, byok_key=None, backup_byok_key=None,
                               maintenance_policy_patch_strategy=None, yes=False):
        # Generate missing parameters
        location, resource_group_name, server_name = generate_missing_parameters(cmd, location, resource_group_name, server_name)
        db_context = DbContext(
            cmd=cmd, cf_firewall=cf_mysql_flexible_firewall_rules, cf_db=cf_mysql_flexible_db,
            cf_availability=cf_mysql_check_resource_availability,
            cf_availability_without_location=cf_mysql_check_resource_availability_without_location,
            cf_private_dns_zone_suffix=cf_mysql_flexible_private_dns_zone_suffix_operations,
            logging_name='MySQL', command_group='mysql', server_client=client, location=location)
    
        # Process parameters
        server_name = server_name.lower()
    
        # MySQL chnged MemoryOptimized tier to BusinessCritical (only in client tool not in list-skus return)
        if tier == 'BusinessCritical':
            tier = 'MemoryOptimized'
        mysql_arguments_validator(db_context,
                                  server_name=server_name,
                                  location=location,
                                  tier=tier,
                                  sku_name=sku_name,
                                  storage_gb=storage_gb,
                                  backup_retention=backup_retention,
                                  high_availability=high_availability,
                                  standby_availability_zone=standby_availability_zone,
                                  zone=zone,
                                  subnet=subnet,
                                  public_access=public_access,
                                  auto_grow=auto_grow,
                                  version=version,
                                  geo_redundant_backup=geo_redundant_backup,
                                  byok_identity=byok_identity,
                                  backup_byok_identity=backup_byok_identity,
                                  byok_key=byok_key,
                                  backup_byok_key=backup_byok_key,
                                  auto_io_scaling=auto_scale_iops,
                                  accelerated_logs=accelerated_logs,
                                  iops=iops)
        list_skus_info = get_mysql_list_skus_info(db_context.cmd, location)
        iops_info = list_skus_info['iops_info']
    
        server_result = firewall_name = None
    
        network, start_ip, end_ip = flexible_server_provision_network_resource(cmd=cmd,
                                                                               resource_group_name=resource_group_name,
                                                                               server_name=server_name,
                                                                               location=location,
                                                                               db_context=db_context,
                                                                               private_dns_zone_arguments=private_dns_zone_arguments,
                                                                               public_access=public_access,
                                                                               vnet=vnet,
                                                                               subnet=subnet,
                                                                               vnet_address_prefix=vnet_address_prefix,
                                                                               subnet_address_prefix=subnet_address_prefix,
                                                                               yes=yes)
    
        # determine IOPS
        iops = _determine_iops(storage_gb=storage_gb,
                               iops_info=iops_info,
                               iops_input=iops,
                               tier=tier,
                               sku_name=sku_name)
    
        accelerated_logs = _determine_acceleratedLogs(accelerated_logs, tier)
    
>       storage = mysql_flexibleservers.models.Storage(storage_size_gb=storage_gb,
                                                       iops=iops,
                                                       auto_grow=auto_grow,
                                                       auto_io_scaling=auto_scale_iops,
                                                       log_on_disk=accelerated_logs)
E       NameError: name 'mysql_flexibleservers' is not defined

src/azure-cli/azure/cli/command_modules/mysql/custom.py:407: NameError
azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:4205
Failed test_private_link_resource_mysql_flexible_server 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:4188
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.9
️✔️profile
️✔️latest
️✔️3.12
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.9
️✔️redis
️✔️latest
️✔️3.12
️✔️3.9
️✔️relay
️✔️latest
️✔️3.12
️✔️3.9
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️role
️✔️latest
️✔️3.12
️✔️3.9
️✔️search
️✔️latest
️✔️3.12
️✔️3.9
️✔️security
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.9
️✔️sql
️✔️latest
️✔️3.12
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.9
️✔️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.9
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.9
️✔️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.9
️✔️util
️✔️latest
️✔️3.12
️✔️3.9
️✔️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.9

Copy link

Hi @linyudoa,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

Copy link

azure-client-tools-bot-prd bot commented Oct 25, 2024

⚠️AzureCLI-BreakingChangeTest
⚠️mysql
rule cmd_name rule_message suggest_message
⚠️ 1009 - ParaPropRemove mysql flexible-server create cmd mysql flexible-server create update parameter accelerated_logs: removed property default=Disabled
⚠️ 1009 - ParaPropRemove mysql flexible-server geo-restore cmd mysql flexible-server geo-restore update parameter accelerated_logs: removed property default=Disabled
⚠️ 1009 - ParaPropRemove mysql flexible-server restore cmd mysql flexible-server restore update parameter accelerated_logs: removed property default=Disabled

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 25, 2024

Thank you for your contribution! We will review the pull request and get back to you soon.

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Oct 25, 2024
Copy link
Contributor

Thank you for your contribution linyudoa! We will review the pull request and get back to you soon.

@linyudoa linyudoa closed this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants