Skip to content

[AKS] az aks nodepool add/update: Add --enable-managed-dranet - #34003

Open
Evan Baker (rbtr) wants to merge 2 commits into
Azure:devfrom
rbtr:rbtr/dranet-stable-cli
Open

[AKS] az aks nodepool add/update: Add --enable-managed-dranet#34003
Evan Baker (rbtr) wants to merge 2 commits into
Azure:devfrom
rbtr:rbtr/dranet-stable-cli

Conversation

@rbtr

@rbtr Evan Baker (rbtr) commented Aug 27, 2026

Copy link
Copy Markdown

🤖 PR Validation — ❌ Action needed

Breaking Changes Tests
❌ 1 ❌ 128/130
❌AzureCLI-BreakingChangeTest
❌acs
rule cmd_name rule_message suggest_message
1010 - ParaPropUpdate aks nodepool add cmd aks nodepool add update parameter spot_max_price: updated property default from nan to nan please change property default from nan to nan for parameter spot_max_price of cmd aks nodepool add
⚠️ 1006 - ParaAdd aks nodepool add cmd aks nodepool add added parameter enable_managed_dranet
⚠️ 1006 - ParaAdd aks nodepool update cmd aks nodepool update added parameter enable_managed_dranet

Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:

  • Breaking changes can only be merged during the designated breaking change window
  • A pre-announcement must be released at least one month in advance

For more details on how to introduce breaking changes, refer to the documentation: azure-cli/doc/how_to_introduce_breaking_changes.md

❌AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.14
❌acs
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_aks_abort self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f1543218e00>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f1545b634d0>
command = 'aks create --resource-group=clitest000001 --name=cliakstest000002 --ssh-key-value=/tmp/tmpjbwl01yc --no-wait'
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:303: 
                                        
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:153: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
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:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/acs/custom.py:1090: in aks_create
    return aks_create_decorator.create_mc(mc)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py:8484: in create_mc
    cluster = self.put_mc(mc)
              ^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py:8461: in put_mc
    cluster = sdk_no_wait(
src/azure-cli-core/azure/cli/core/util.py:793: in sdk_no_wait
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/containerservice/operations/operations.py:3717: in begin_create_or_update
    raw_result = self.create_or_update_initial(
env/lib/python3.12/site-packages/azure/mgmt/containerservice/operations/operations.py:3539: in create_or_update_initial
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.12/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
          

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_abort.yaml(host='management.azure.com', port=443) at 0x7f1542c4dd90>
 = False, kwargs = {}

    def getresponse(self, 
=False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response, self.vcr_request.uri)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_abort.yaml') in your current record mode (RecordMode.ONCE: 'once').
E               No match for the request (<Request (PUT) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-06-01>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (PUT) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-05-01>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.12/site-packages/vcr/stubs/init.py:279: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.acs.tests.latest.test_aks_commands.AzureKubernetesServiceScenarioTest testMethod=test_aks_abort>
resource_group = 'clitest000001', resource_group_location = 'westus2'

    @AllowLargeResponse()
    @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2')
    def test_aks_abort(self, resource_group, resource_group_location):
        aks_name = self.create_random_name('cliakstest', 16)
        self.kwargs.update({
            'resource_group': resource_group,
            'name': aks_name,
            'ssh_key_value': self.generate_ssh_keys(),
        })
    
        create_cmd = 'aks create --resource-group={resource_group} --name={name} --ssh-key-value={ssh_key_value} --no-wait'
>       self.cmd(create_cmd)

src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6893: 
 
 
 
 
 
 
 
                                 
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:71: in cmd
    return super().cmd(command, checks=checks, expect_failure=expect_failure)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: 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:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
                                       _ 

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f1543218e00>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f1545b634d0>
command = 'aks create --resource-group=clitest000001 --name=cliakstest000002 --ssh-key-value=/tmp/tmpjbwl01yc --no-wait'
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
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_abort.yaml') in your current record mode (RecordMode.ONCE: 'once').
E           No match for the request (<Request (PUT) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-06-01>)&nbsp;was&nbsp;found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (PUT) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-05-01>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6881
Failed test_aks_and_agentpool_with_static_egress_gateway self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f1542e44cb0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f1545c0d010>
command = "aks get-versions -l westus2 --query 'values[].patchVersions.keys(@)[]'"
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:303: 
                                        
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:153: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
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:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/acs/custom.py:2692: in aks_get_versions
    return client.list_kubernetes_versions(location)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/containerservice/operations/operations.py:6692: in list_kubernetes_versions
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.12/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
             

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_and_agentpool_with_static_egress_gateway.yaml(host='management.azure.com', port=443) at 0x7f1542cfbce0>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response, self.vcr_request.uri)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_and_agentpool_with_static_egress_gateway.yaml') in your current record mode (RecordMode.ONCE: 'once').
E               No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/kubernetesVersions?api-version=2026-06-01>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/kubernetesVersions?api-version=2026-05-01>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.12/site-packages/vcr/stubs/init.py:279: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.acs.tests.latest.test_aks_commands.AzureKubernetesServiceScenarioTest testMethod=test_aks_and_agentpool_with_static_egress_gateway>
resource_group = 'clitest000001', resource_group_location = 'westus2'

    @AllowLargeResponse()
    @AKSCustomResourceGroupPreparer(
        random_name_length=17, name_prefix="clitest", location="westus2"
    )
    def test_aks_and_agentpool_with_static_egress_gateway(
            self, resource_group, resource_group_location
    ):
>       
, create_version = self.get_versions(resource_group_location)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15233: 
 
 
 
 
 
 
 
 
                                
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:285: in get_versions
    supported_versions = self.cmd(
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:71: in cmd
    return super().cmd(command, checks=checks, expect_failure=expect_failure)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: 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:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
 
 
                                     _ 

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f1542e44cb0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f1545c0d010>
command = "aks get-versions -l westus2 --query 'values[
].patchVersions.keys(@)[]'"
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
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_and_agentpool_with_static_egress_gateway.yaml') in your current record mode (RecordMode.ONCE: 'once').
E           No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/kubernetesVersions?api-version=2026-06-01>)&nbsp;was&nbsp;found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/kubernetesVersions?api-version=2026-05-01>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15225
Failed test_aks_api_server_authorized_ip_ranges The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:790
Failed test_aks_approuting_enable_disable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12684
Failed test_aks_approuting_enable_with_internal_nginx_then_disable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12746
Failed test_aks_approuting_enable_with_keyvault_secrets_provider_addon_and_keyvault_id The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12794
Failed test_aks_approuting_gateway_istio_enable_disable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16395
Failed test_aks_approuting_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12860
Failed test_aks_approuting_zone_add_delete_list The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13054
Failed test_aks_approuting_zone_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13176
Failed test_aks_availability_zones_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6448
Failed test_aks_azure_cni_overlay_migration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10379
Failed test_aks_azure_service_mesh_canary_upgrade The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2954
Failed test_aks_azure_service_mesh_enable_disable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2495
Failed test_aks_azure_service_mesh_enable_disable_istio_cni The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2541
Failed test_aks_azure_service_mesh_get_revisions The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3136
Failed test_aks_azure_service_mesh_get_upgrades The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3145
Failed test_aks_azure_service_mesh_with_ingress_gateway The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2900
Failed test_aks_azure_service_mesh_with_pluginca The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3073
Failed test_aks_browse The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7361
Failed test_aks_cluster_kata The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3408
Failed test_aks_create_add_nodepool_with_custom_ca_trust_certificates The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14788
Failed test_aks_create_add_nodepool_with_motd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14748
Failed test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9095
Failed test_aks_create_again_should_fail The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11599
Failed test_aks_create_and_update_ipv6_count The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11401
Failed test_aks_create_and_update_with_app_routing_istio The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16101
Failed test_aks_create_and_update_with_blob_csi_driver The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9329
Failed test_aks_create_and_update_with_csi_drivers_extensibility The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9196
Failed test_aks_create_and_update_with_managed_nat_gateway_outbound The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:1386
Failed test_aks_create_and_update_with_nrg_restriction_level The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10258
Failed test_aks_create_autoscaler_then_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7409
Failed test_aks_create_autoscaler_then_update_vms_pool The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15531
Failed test_aks_create_default The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:502
Failed test_aks_create_default_service_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4988
Failed test_aks_create_default_service_with_skip_role_assignment_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5236
Failed test_aks_create_default_setting_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5425
Failed test_aks_create_disable_rbac The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8510
Failed test_aks_create_dualstack_with_default_network The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11330
Failed test_aks_create_edge_zone The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10330
Failed test_aks_create_enable_azure_rbac The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8487
Failed test_aks_create_enable_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8465
Failed test_aks_create_gpu_driver_flow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15147
Failed test_aks_create_loadbalancer_then_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8000
Failed test_aks_create_network_cidr The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8079
Failed test_aks_create_no_ssh_key The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:456
Failed test_aks_create_node_provisioning_profile The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15689
Failed test_aks_create_node_public_ip The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8044
Failed test_aks_create_node_resource_group The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10738
Failed test_aks_create_nonaad_and_update_with_managed_aad The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3731
Failed test_aks_create_nonaad_and_update_with_managed_aad_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6645
Failed test_aks_create_scale_with_custom_nodepool_name_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5149
Failed test_aks_create_service_no_wait_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5080
Failed test_aks_create_slb_vmss_with_default_mgd_outbound_ip_then_update_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5511
Failed test_aks_create_slb_vmss_with_outbound_ip_prefixes_then_update_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5707
Failed test_aks_create_slb_vmss_with_outbound_ip_then_update_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5606
Failed test_aks_create_spot_node_pool The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3991
Failed test_aks_create_spot_node_pool_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6753
Failed test_aks_create_update_fips_flow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3284
Failed test_aks_create_update_secure_boot_flow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13806
Failed test_aks_create_update_vtpm_flow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13890
Failed test_aks_create_with_acns_perf The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14066
Failed test_aks_create_with_acns_transit_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14602
Failed test_aks_create_with_advanced_networkpolicies The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14380
Failed test_aks_create_with_apiserver_vnet_integration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11164
Failed test_aks_create_with_apiserver_vnet_integration_public The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11212
Failed test_aks_create_with_app_routing_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12564
Failed test_aks_create_with_app_routing_enabled_and_nginx_specified The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12600
Failed test_aks_create_with_app_routing_enabled_and_nginx_specified_abbrv The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12642
Failed test_aks_create_with_app_routing_istio_fails_when_asm_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16170
Failed test_aks_create_with_auto_upgrade_channel The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7104
Failed test_aks_create_with_auto_upgrade_channel_and_node_os_upgrade_channel The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7200
Failed test_aks_create_with_azurekeyvaultsecretsprovider_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9067
Failed test_aks_create_with_confcom_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6901
Failed test_aks_create_with_confcom_addon_helper_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6920
Failed test_aks_create_with_crg_id The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12378
Failed test_aks_create_with_enable_acns The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14020
Failed test_aks_create_with_enable_acns_complex The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14185
Failed test_aks_create_with_enable_ai_toolchain_operator The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13636
Failed test_aks_create_with_enable_azure_monitor_app_monitoring The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16006
Failed test_aks_create_with_enable_cost_analysis The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13709
Failed test_aks_create_with_enable_upstream_kubescheduler_user_configuration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16617
Failed test_aks_create_with_ephemeral_disk The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4097
Failed test_aks_create_with_fips The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9472
Failed test_aks_create_with_gateway_api_and_azureservicemesh The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16471
Failed test_aks_create_with_image_cleaner_enabled_with_default_interval_hours The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10937
Failed test_aks_create_with_image_cleaner_enabled_with_interval_hours The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10970
Failed test_aks_create_with_ingress_appgw_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4821
Failed test_aks_create_with_managed_disk The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4078
Failed test_aks_create_with_network_dataplane_cilium The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7307
Failed test_aks_create_with_network_plugin_none The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11139
Failed test_aks_create_with_node_config The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10296
Failed test_aks_create_with_node_os_upgrade_channel The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7144
Failed test_aks_create_with_node_os_upgrade_channel_security_patch The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7175
Failed test_aks_create_with_nsg_control The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11913
Failed test_aks_create_with_oidc_issuer_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6234
Failed test_aks_create_with_openservicemesh_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9003
Failed test_aks_create_with_ossku The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4117
Failed test_aks_create_with_overlay_network_plugin_mode The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11299
Failed test_aks_create_with_paid_sku_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6520
Failed test_aks_create_with_ppg_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6794
Failed test_aks_create_with_standard_blob_csi_driver The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9299
Failed test_aks_create_with_standard_csi_drivers The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9263
Failed test_aks_create_with_standard_sku The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3188
Failed test_aks_create_with_trustedaccess_rolebinding The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12297
Failed test_aks_create_with_vpa The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11532
Failed test_aks_create_with_windows_gmsa The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9716
Failed test_aks_create_with_windows_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6560
Failed test_aks_create_with_workload_identity_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6291
Failed test_aks_custom_headers The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9437
Failed test_aks_disable_addons_confcom_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6964
Failed test_aks_disable_local_accounts The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8969
Failed test_aks_disable_openservicemesh_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9043
Failed test_aks_enable_addon_with_azurekeyvaultsecretsprovider The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9124
Failed test_aks_enable_addons_confcom_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6939
Failed test_aks_enable_openservicemesh_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9020
Failed test_aks_enable_utlra_ssd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7341
Failed test_aks_get_version_table The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:444
Failed test_aks_install_azure_npm The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10561
Failed test_aks_install_calico_npm The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10679
Failed test_aks_kubenet_to_cni_overlay_migration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10421
Failed test_aks_machine_cmds The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2835
Failed test_aks_maintenanceconfiguration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11798
Failed test_aks_maintenancewindow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11676
Failed test_aks_managed_aad The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3658
Failed test_aks_managed_aad_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6610
Failed test_aks_managed_gateway_without_gateway_implementation The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16543
Failed test_aks_managed_identity_without_service_principal The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3564
Failed test_aks_managed_namespace The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7766
Failed test_aks_migrate_cluster_to_cilium_dataplane The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10463
Failed test_aks_nodepool_add_with_disable_windows_outbound_nat The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4489
Failed test_aks_nodepool_add_with_gpu_instance_profile The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11260
Failed test_aks_nodepool_add_with_kata The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3453
Failed test_aks_nodepool_add_with_ossku The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4138
Failed test_aks_nodepool_add_with_ossku_azurelinux3 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4249
Failed test_aks_nodepool_add_with_ossku_ubuntu2204 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4174
Failed test_aks_nodepool_add_with_ossku_ubuntu2404 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4211
Failed test_aks_nodepool_add_with_ossku_windows2022 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4383
Failed test_aks_nodepool_add_with_ossku_windows2025 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4435
Failed test_aks_nodepool_autoscaler_then_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7488
Failed test_aks_nodepool_create_scale_delete_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5810
Failed test_aks_nodepool_create_with_nsg_control The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11999
Failed test_aks_nodepool_delete_with_ignore_pod_disruption_budget The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14692
Failed test_aks_nodepool_drain_timeout The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7529
Failed test_aks_nodepool_max_unavailable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7669
Failed test_aks_nodepool_node_soak_duration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7568
Failed test_aks_nodepool_rollback The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3891
Failed test_aks_nodepool_scale_down_mode The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6365
Failed test_aks_nodepool_snapshot The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9506
Failed test_aks_nodepool_stop_and_start The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7733
Failed test_aks_nodepool_system_pool_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5929
Failed test_aks_nodepool_undrainable_node_behavior The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7607
Failed test_aks_nodepool_update_label_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6042
Failed test_aks_nodepool_update_taints_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6139
Failed test_aks_nodepool_update_with_nsg_control The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12099
Failed test_aks_private_cluster The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:673
Failed test_aks_private_cluster_update_dns_zone The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:756
Failed test_aks_private_cluster_without_public_fqdn The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:720
Failed test_aks_run_command The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10231
Failed test_aks_stop_and_start The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6837
Failed test_aks_stop_and_start_private_cluster The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6860
Failed test_aks_uninstall_azure_npm The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10502
Failed test_aks_uninstall_calico_npm The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10620
Failed test_aks_update_acns_preserves_existing_settings The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14521
Failed test_aks_update_agentpool_os_sku The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13777
Failed test_aks_update_app_routing_istio_fails_when_asm_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16203
Failed test_aks_update_dualstack The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11359
Failed test_aks_update_enable_acns The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13959
Failed test_aks_update_enable_cost_analysis The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13736
Failed test_aks_update_node_provisioning_profile The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15777
Failed test_aks_update_outbound_from_slb_to_natgateway The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:1421
Failed test_aks_update_remove_custom_ca_trust_certificates The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14818
Failed test_aks_update_run_command The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15733
Failed test_aks_update_switch_from_app_routing_istio_to_asm_fails The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16321
Failed test_aks_update_switch_from_asm_to_app_routing_istio_fails The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16248
Failed test_aks_update_upgrade_settings The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11861
Failed test_aks_update_with_acns_transit_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14644
Failed test_aks_update_with_advanced_networkpolicies The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14458
Failed test_aks_update_with_disable_upstream_kubescheduler_user_configuration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16741
Failed test_aks_update_with_enable_ai_toolchain_operator The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13666
Failed test_aks_update_with_enable_upstream_kubescheduler_user_configuration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16673
Failed test_aks_update_with_image_cleaner The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11004
Failed test_aks_update_with_keda The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11491
Failed test_aks_update_with_oidc_issuer_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6260
Failed test_aks_update_with_perf The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14123
Failed test_aks_update_with_vpa The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11558
Failed test_aks_update_with_windows_gmsa The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9763
Failed test_aks_update_with_windows_password The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6990
Failed test_aks_update_with_workload_identity The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6319
Failed test_aks_upgrade_kubernetes_version_nodepool The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3839
Failed test_aks_upgrade_upgrade_settings The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12435
Failed test_aks_upgrade_with_tier_switch The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12495
Failed test_list_trustedaccess_roles The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12289
Failed test_managed_aad_enable_azure_rbac The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3693
Failed test_node_public_ip_tags The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12228
Failed test_vms_agentpool_type The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15403
Failed test_aks_deployment_safeguards The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_safeguards.py:43
❌3.14
Type Test Case Error Message Line
Failed test_aks_abort self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f9a4281fa10>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f9a442625d0>
command = 'aks create --resource-group=clitest000001 --name=cliakstest000002 --ssh-key-value=/tmp/tmp_1b2j4yo --no-wait'
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:303: 
                                        
env/lib/python3.14/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:153: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.14/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/acs/custom.py:1090: in aks_create
    return aks_create_decorator.create_mc(mc)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py:8484: in create_mc
    cluster = self.put_mc(mc)
              ^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py:8461: in put_mc
    cluster = sdk_no_wait(
src/azure-cli-core/azure/cli/core/util.py:793: in sdk_no_wait
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/mgmt/containerservice/operations/operations.py:3717: in begin_create_or_update
    raw_result = self.create_or_update_initial(
env/lib/python3.14/site-packages/azure/mgmt/containerservice/operations/operations.py:3539: in create_or_update_initial
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.14/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.14/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.14/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
          

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_abort.yaml(host='management.azure.com', port=443) at 0x7f9a40ffaad0>
 = False, kwargs = {}

    def getresponse(self, 
=False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response, self.vcr_request.uri)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_abort.yaml') in your current record mode (RecordMode.ONCE: 'once').
E               No match for the request (<Request (PUT) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-06-01>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (PUT) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-05-01>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.14/site-packages/vcr/stubs/init.py:279: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.acs.tests.latest.test_aks_commands.AzureKubernetesServiceScenarioTest testMethod=test_aks_abort>
resource_group = 'clitest000001', resource_group_location = 'westus2'

    @AllowLargeResponse()
    @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2')
    def test_aks_abort(self, resource_group, resource_group_location):
        aks_name = self.create_random_name('cliakstest', 16)
        self.kwargs.update({
            'resource_group': resource_group,
            'name': aks_name,
            'ssh_key_value': self.generate_ssh_keys(),
        })
    
        create_cmd = 'aks create --resource-group={resource_group} --name={name} --ssh-key-value={ssh_key_value} --no-wait'
>       self.cmd(create_cmd)

src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6893: 
 
 
 
 
 
 
 
                                 
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:71: in cmd
    return super().cmd(command, checks=checks, expect_failure=expect_failure)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: 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:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
                                       _ 

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f9a4281fa10>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f9a442625d0>
command = 'aks create --resource-group=clitest000001 --name=cliakstest000002 --ssh-key-value=/tmp/tmp_1b2j4yo --no-wait'
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
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_abort.yaml') in your current record mode (RecordMode.ONCE: 'once').
E           No match for the request (<Request (PUT) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-06-01>)&nbsp;was&nbsp;found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (PUT) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2026-05-01>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6881
Failed test_aks_and_agentpool_with_static_egress_gateway self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f9a4281fa10>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f9a4454d310>
command = "aks get-versions -l westus2 --query 'values[].patchVersions.keys(@)[]'"
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:303: 
                                        
env/lib/python3.14/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:153: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.14/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/acs/custom.py:2692: in aks_get_versions
    return client.list_kubernetes_versions(location)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/mgmt/containerservice/operations/operations.py:6692: in list_kubernetes_versions
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.14/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.14/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.14/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
             

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_and_agentpool_with_static_egress_gateway.yaml(host='management.azure.com', port=443) at 0x7f9a41d95a90>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response, self.vcr_request.uri)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_and_agentpool_with_static_egress_gateway.yaml') in your current record mode (RecordMode.ONCE: 'once').
E               No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/kubernetesVersions?api-version=2026-06-01>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/kubernetesVersions?api-version=2026-05-01>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.14/site-packages/vcr/stubs/init.py:279: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.acs.tests.latest.test_aks_commands.AzureKubernetesServiceScenarioTest testMethod=test_aks_and_agentpool_with_static_egress_gateway>
resource_group = 'clitest000001', resource_group_location = 'westus2'

    @AllowLargeResponse()
    @AKSCustomResourceGroupPreparer(
        random_name_length=17, name_prefix="clitest", location="westus2"
    )
    def test_aks_and_agentpool_with_static_egress_gateway(
            self, resource_group, resource_group_location
    ):
>       
, create_version = self.get_versions(resource_group_location)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15233: 
 
 
 
 
 
 
 
 
                                
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:285: in get_versions
    supported_versions = self.cmd(
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:71: in cmd
    return super().cmd(command, checks=checks, expect_failure=expect_failure)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: 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:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
 
 
                                     _ 

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f9a4281fa10>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f9a4454d310>
command = "aks get-versions -l westus2 --query 'values[
].patchVersions.keys(@)[]'"
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
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_and_agentpool_with_static_egress_gateway.yaml') in your current record mode (RecordMode.ONCE: 'once').
E           No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/kubernetesVersions?api-version=2026-06-01>)&nbsp;was&nbsp;found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/kubernetesVersions?api-version=2026-05-01>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15225
Failed test_aks_api_server_authorized_ip_ranges The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:790
Failed test_aks_approuting_enable_disable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12684
Failed test_aks_approuting_enable_with_internal_nginx_then_disable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12746
Failed test_aks_approuting_enable_with_keyvault_secrets_provider_addon_and_keyvault_id The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12794
Failed test_aks_approuting_gateway_istio_enable_disable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16395
Failed test_aks_approuting_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12860
Failed test_aks_approuting_zone_add_delete_list The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13054
Failed test_aks_approuting_zone_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13176
Failed test_aks_availability_zones_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6448
Failed test_aks_azure_cni_overlay_migration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10379
Failed test_aks_azure_service_mesh_canary_upgrade The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2954
Failed test_aks_azure_service_mesh_enable_disable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2495
Failed test_aks_azure_service_mesh_enable_disable_istio_cni The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2541
Failed test_aks_azure_service_mesh_get_revisions The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3136
Failed test_aks_azure_service_mesh_get_upgrades The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3145
Failed test_aks_azure_service_mesh_with_ingress_gateway The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2900
Failed test_aks_azure_service_mesh_with_pluginca The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3073
Failed test_aks_browse The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7361
Failed test_aks_cluster_kata The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3408
Failed test_aks_create_add_nodepool_with_custom_ca_trust_certificates The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14788
Failed test_aks_create_add_nodepool_with_motd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14748
Failed test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9095
Failed test_aks_create_again_should_fail The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11599
Failed test_aks_create_and_update_ipv6_count The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11401
Failed test_aks_create_and_update_with_app_routing_istio The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16101
Failed test_aks_create_and_update_with_blob_csi_driver The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9329
Failed test_aks_create_and_update_with_csi_drivers_extensibility The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9196
Failed test_aks_create_and_update_with_managed_nat_gateway_outbound The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:1386
Failed test_aks_create_and_update_with_nrg_restriction_level The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10258
Failed test_aks_create_autoscaler_then_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7409
Failed test_aks_create_autoscaler_then_update_vms_pool The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15531
Failed test_aks_create_default The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:502
Failed test_aks_create_default_service_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4988
Failed test_aks_create_default_service_with_skip_role_assignment_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5236
Failed test_aks_create_default_setting_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5425
Failed test_aks_create_disable_rbac The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8510
Failed test_aks_create_dualstack_with_default_network The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11330
Failed test_aks_create_edge_zone The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10330
Failed test_aks_create_enable_azure_rbac The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8487
Failed test_aks_create_enable_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8465
Failed test_aks_create_gpu_driver_flow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15147
Failed test_aks_create_loadbalancer_then_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8000
Failed test_aks_create_network_cidr The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8079
Failed test_aks_create_no_ssh_key The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:456
Failed test_aks_create_node_provisioning_profile The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15689
Failed test_aks_create_node_public_ip The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8044
Failed test_aks_create_node_resource_group The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10738
Failed test_aks_create_nonaad_and_update_with_managed_aad The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3731
Failed test_aks_create_nonaad_and_update_with_managed_aad_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6645
Failed test_aks_create_scale_with_custom_nodepool_name_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5149
Failed test_aks_create_service_no_wait_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5080
Failed test_aks_create_slb_vmss_with_default_mgd_outbound_ip_then_update_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5511
Failed test_aks_create_slb_vmss_with_outbound_ip_prefixes_then_update_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5707
Failed test_aks_create_slb_vmss_with_outbound_ip_then_update_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5606
Failed test_aks_create_spot_node_pool The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3991
Failed test_aks_create_spot_node_pool_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6753
Failed test_aks_create_update_fips_flow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3284
Failed test_aks_create_update_secure_boot_flow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13806
Failed test_aks_create_update_vtpm_flow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13890
Failed test_aks_create_with_acns_perf The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14066
Failed test_aks_create_with_acns_transit_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14602
Failed test_aks_create_with_advanced_networkpolicies The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14380
Failed test_aks_create_with_apiserver_vnet_integration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11164
Failed test_aks_create_with_apiserver_vnet_integration_public The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11212
Failed test_aks_create_with_app_routing_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12564
Failed test_aks_create_with_app_routing_enabled_and_nginx_specified The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12600
Failed test_aks_create_with_app_routing_enabled_and_nginx_specified_abbrv The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12642
Failed test_aks_create_with_app_routing_istio_fails_when_asm_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16170
Failed test_aks_create_with_auto_upgrade_channel The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7104
Failed test_aks_create_with_auto_upgrade_channel_and_node_os_upgrade_channel The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7200
Failed test_aks_create_with_azurekeyvaultsecretsprovider_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9067
Failed test_aks_create_with_confcom_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6901
Failed test_aks_create_with_confcom_addon_helper_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6920
Failed test_aks_create_with_crg_id The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12378
Failed test_aks_create_with_enable_acns The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14020
Failed test_aks_create_with_enable_acns_complex The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14185
Failed test_aks_create_with_enable_ai_toolchain_operator The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13636
Failed test_aks_create_with_enable_azure_monitor_app_monitoring The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16006
Failed test_aks_create_with_enable_cost_analysis The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13709
Failed test_aks_create_with_enable_upstream_kubescheduler_user_configuration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16617
Failed test_aks_create_with_ephemeral_disk The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4097
Failed test_aks_create_with_fips The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9472
Failed test_aks_create_with_gateway_api_and_azureservicemesh The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16471
Failed test_aks_create_with_image_cleaner_enabled_with_default_interval_hours The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10937
Failed test_aks_create_with_image_cleaner_enabled_with_interval_hours The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10970
Failed test_aks_create_with_ingress_appgw_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4821
Failed test_aks_create_with_managed_disk The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4078
Failed test_aks_create_with_network_dataplane_cilium The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7307
Failed test_aks_create_with_network_plugin_none The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11139
Failed test_aks_create_with_node_config The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10296
Failed test_aks_create_with_node_os_upgrade_channel The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7144
Failed test_aks_create_with_node_os_upgrade_channel_security_patch The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7175
Failed test_aks_create_with_nsg_control The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11913
Failed test_aks_create_with_oidc_issuer_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6234
Failed test_aks_create_with_openservicemesh_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9003
Failed test_aks_create_with_ossku The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4117
Failed test_aks_create_with_overlay_network_plugin_mode The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11299
Failed test_aks_create_with_paid_sku_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6520
Failed test_aks_create_with_ppg_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6794
Failed test_aks_create_with_standard_blob_csi_driver The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9299
Failed test_aks_create_with_standard_csi_drivers The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9263
Failed test_aks_create_with_standard_sku The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3188
Failed test_aks_create_with_trustedaccess_rolebinding The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12297
Failed test_aks_create_with_vpa The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11532
Failed test_aks_create_with_windows_gmsa The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9716
Failed test_aks_create_with_windows_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6560
Failed test_aks_create_with_workload_identity_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6291
Failed test_aks_custom_headers The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9437
Failed test_aks_disable_addons_confcom_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6964
Failed test_aks_disable_local_accounts The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:8969
Failed test_aks_disable_openservicemesh_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9043
Failed test_aks_enable_addon_with_azurekeyvaultsecretsprovider The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9124
Failed test_aks_enable_addons_confcom_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6939
Failed test_aks_enable_openservicemesh_addon The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9020
Failed test_aks_enable_utlra_ssd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7341
Failed test_aks_get_version_table The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:444
Failed test_aks_install_azure_npm The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10561
Failed test_aks_install_calico_npm The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10679
Failed test_aks_kubenet_to_cni_overlay_migration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10421
Failed test_aks_machine_cmds The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:2835
Failed test_aks_maintenanceconfiguration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11798
Failed test_aks_maintenancewindow The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11676
Failed test_aks_managed_aad The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3658
Failed test_aks_managed_aad_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6610
Failed test_aks_managed_gateway_without_gateway_implementation The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16543
Failed test_aks_managed_identity_without_service_principal The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3564
Failed test_aks_managed_namespace The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7766
Failed test_aks_migrate_cluster_to_cilium_dataplane The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10463
Failed test_aks_nodepool_add_with_disable_windows_outbound_nat The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4489
Failed test_aks_nodepool_add_with_gpu_instance_profile The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11260
Failed test_aks_nodepool_add_with_kata The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3453
Failed test_aks_nodepool_add_with_ossku The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4138
Failed test_aks_nodepool_add_with_ossku_azurelinux3 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4249
Failed test_aks_nodepool_add_with_ossku_ubuntu2204 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4174
Failed test_aks_nodepool_add_with_ossku_ubuntu2404 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4211
Failed test_aks_nodepool_add_with_ossku_windows2022 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4383
Failed test_aks_nodepool_add_with_ossku_windows2025 The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:4435
Failed test_aks_nodepool_autoscaler_then_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7488
Failed test_aks_nodepool_create_scale_delete_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5810
Failed test_aks_nodepool_create_with_nsg_control The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11999
Failed test_aks_nodepool_delete_with_ignore_pod_disruption_budget The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14692
Failed test_aks_nodepool_drain_timeout The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7529
Failed test_aks_nodepool_max_unavailable The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7669
Failed test_aks_nodepool_node_soak_duration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7568
Failed test_aks_nodepool_rollback The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3891
Failed test_aks_nodepool_scale_down_mode The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6365
Failed test_aks_nodepool_snapshot The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9506
Failed test_aks_nodepool_stop_and_start The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7733
Failed test_aks_nodepool_system_pool_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:5929
Failed test_aks_nodepool_undrainable_node_behavior The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:7607
Failed test_aks_nodepool_update_label_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6042
Failed test_aks_nodepool_update_taints_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6139
Failed test_aks_nodepool_update_with_nsg_control The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12099
Failed test_aks_private_cluster The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:673
Failed test_aks_private_cluster_update_dns_zone The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:756
Failed test_aks_private_cluster_without_public_fqdn The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:720
Failed test_aks_run_command The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10231
Failed test_aks_stop_and_start The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6837
Failed test_aks_stop_and_start_private_cluster The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6860
Failed test_aks_uninstall_azure_npm The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10502
Failed test_aks_uninstall_calico_npm The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:10620
Failed test_aks_update_acns_preserves_existing_settings The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14521
Failed test_aks_update_agentpool_os_sku The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13777
Failed test_aks_update_app_routing_istio_fails_when_asm_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16203
Failed test_aks_update_dualstack The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11359
Failed test_aks_update_enable_acns The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13959
Failed test_aks_update_enable_cost_analysis The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13736
Failed test_aks_update_node_provisioning_profile The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15777
Failed test_aks_update_outbound_from_slb_to_natgateway The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:1421
Failed test_aks_update_remove_custom_ca_trust_certificates The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14818
Failed test_aks_update_run_command The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15733
Failed test_aks_update_switch_from_app_routing_istio_to_asm_fails The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16321
Failed test_aks_update_switch_from_asm_to_app_routing_istio_fails The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16248
Failed test_aks_update_upgrade_settings The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11861
Failed test_aks_update_with_acns_transit_encryption The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14644
Failed test_aks_update_with_advanced_networkpolicies The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14458
Failed test_aks_update_with_disable_upstream_kubescheduler_user_configuration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16741
Failed test_aks_update_with_enable_ai_toolchain_operator The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:13666
Failed test_aks_update_with_enable_upstream_kubescheduler_user_configuration The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:16673
Failed test_aks_update_with_image_cleaner The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11004
Failed test_aks_update_with_keda The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11491
Failed test_aks_update_with_oidc_issuer_enabled The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6260
Failed test_aks_update_with_perf The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:14123
Failed test_aks_update_with_vpa The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:11558
Failed test_aks_update_with_windows_gmsa The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:9763
Failed test_aks_update_with_windows_password The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6990
Failed test_aks_update_with_workload_identity The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:6319
Failed test_aks_upgrade_kubernetes_version_nodepool The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3839
Failed test_aks_upgrade_upgrade_settings The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12435
Failed test_aks_upgrade_with_tier_switch The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12495
Failed test_list_trustedaccess_roles The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12289
Failed test_managed_aad_enable_azure_rbac The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:3693
Failed test_node_public_ip_tags The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:12228
Failed test_vms_agentpool_type The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_commands.py:15403
Failed test_aks_deployment_safeguards The error message is too long, please check the pipeline log for details. azure/cli/command_modules/acs/tests/latest/test_aks_safeguards.py:43
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.14
️✔️ams
️✔️latest
️✔️3.12
️✔️3.14
️✔️apim
️✔️latest
️✔️3.12
️✔️3.14
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.14
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️aro
️✔️latest
️✔️3.12
️✔️3.14
️✔️backup
️✔️latest
️✔️3.12
️✔️3.14
️✔️batch
️✔️latest
️✔️3.12
️✔️3.14
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.14
️✔️billing
️✔️latest
️✔️3.12
️✔️3.14
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.14
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.14
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.14
️✔️config
️✔️latest
️✔️3.12
️✔️3.14
️✔️configure
️✔️latest
️✔️3.12
️✔️3.14
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.14
️✔️container
️✔️latest
️✔️3.12
️✔️3.14
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.14
️✔️core
️✔️latest
️✔️3.12
️✔️3.14
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.14
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.14
️✔️dls
️✔️latest
️✔️3.12
️✔️3.14
️✔️dms
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.14
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.14
️✔️find
️✔️latest
️✔️3.12
️✔️3.14
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.14
️✔️identity
️✔️latest
️✔️3.12
️✔️3.14
️✔️iot
️✔️latest
️✔️3.12
️✔️3.14
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.14
️✔️lab
️✔️latest
️✔️3.12
️✔️3.14
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️maps
️✔️latest
️✔️3.12
️✔️3.14
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.14
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.14
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.14
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.14
️✔️network
️✔️latest
️✔️3.12
️✔️3.14
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.14
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.14
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.14
️✔️profile
️✔️latest
️✔️3.12
️✔️3.14
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.14
️✔️redis
️✔️latest
️✔️3.12
️✔️3.14
️✔️relay
️✔️latest
️✔️3.12
️✔️3.14
️✔️resource
️✔️latest
️✔️3.12
️✔️3.14
️✔️role
️✔️latest
️✔️3.12
️✔️3.14
️✔️search
️✔️latest
️✔️3.12
️✔️3.14
️✔️security
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.14
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.14
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.14
️✔️sql
️✔️latest
️✔️3.12
️✔️3.14
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.14
️✔️storage
️✔️latest
️✔️3.12
️✔️3.14
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.14
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.14
️✔️util
️✔️latest
️✔️3.12
️✔️3.14
️✔️vm
️✔️latest
️✔️3.12
️✔️3.14

Related command

az aks nodepool add
az aks nodepool update

Description

Adds --enable-managed-dranet to AKS node pool create and update commands. When specified, the command sends networkProfile.dranet.mode=Managed; when omitted during update, the existing DRANET profile is preserved.

The change upgrades azure-mgmt-containerservice from 41.5.0 to 41.6.0, which uses the stable 2026-06-01 API and contains the released DRANET AgentPool models. Preview support can ship earlier through Azure/azure-cli-extensions#10266, while this PR follows the core CLI release train.

Testing Guide

az aks nodepool add -g <resource-group> --cluster-name <cluster> -n <nodepool> --enable-managed-dranet
az aks nodepool update -g <resource-group> --cluster-name <cluster> -n <nodepool> --enable-managed-dranet

Validated with:

  • azdev style acs
  • azdev linter acs --min-severity medium
  • azdev test azure-cli-acs -a -k managed_dranet

History Notes

[AKS] az aks nodepool add/update: Add --enable-managed-dranet to enable Managed DRANET on a node pool.


  • The PR title and description follow the submitting pull request guidelines.
  • The change follows the command and error handling guidelines.

Copilot AI lite review requested due to automatic review settings August 27, 2026 17:55
@rbtr
Evan Baker (rbtr) requested review from a team and FumingZhang as code owners August 27, 2026 17:55
@azure-pipelines

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

@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 Aug 27, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution Evan Baker (@rbtr)! We will review the pull request and get back to you soon.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds first-class support in core azure-cli for enabling Managed DRANET on AKS node pools via az aks nodepool add and az aks nodepool update, including plumbing through parameters/decorators and updating the ContainerService SDK dependency to a version that contains the necessary models.

Changes:

  • Add --enable-managed-dranet to nodepool add/update args, help, and the agentpool decorator logic to set networkProfile.dranet.mode=Managed.
  • Upgrade azure-mgmt-containerservice from 41.5.0 to 41.6.0 across CLI packaging/requirements.
  • Add unit test coverage for the new context getter and decorator network-profile behavior.
Show a summary per file
File Description
src/azure-cli/setup.py Bumps azure-mgmt-containerservice dependency range to ~= 41.6.0.
src/azure-cli/requirements.py3.windows.txt Pins azure-mgmt-containerservice to 41.6.0 on Windows.
src/azure-cli/requirements.py3.Linux.txt Pins azure-mgmt-containerservice to 41.6.0 on Linux.
src/azure-cli/requirements.py3.Darwin.txt Pins azure-mgmt-containerservice to 41.6.0 on macOS.
src/azure-cli/HISTORY.rst Adds release note entry for the new nodepool flag.
src/azure-cli/azure/cli/command_modules/acs/custom.py Wires enable_managed_dranet through add/update command handlers via raw_parameters = locals().
src/azure-cli/azure/cli/command_modules/acs/agentpool_decorator.py Implements context getter and applies Managed DRANET into AgentPoolNetworkProfile.
src/azure-cli/azure/cli/command_modules/acs/_params.py Adds enable_managed_dranet as a store_true argument for nodepool add/update.
src/azure-cli/azure/cli/command_modules/acs/_help.py Documents --enable-managed-dranet for nodepool add/update.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_agentpool_decorator.py Adds unit tests for DRANET getter and network profile setup/update behavior.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 10/10 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment on lines +1789 to +1791
def get_enable_managed_dranet(self) -> bool:
"""Obtain the value of enable_managed_dranet."""
return self.raw_param.get("enable_managed_dranet")
Comment thread src/azure-cli/HISTORY.rst Outdated

**AKS**

* `az aks nodepool add/update`: Add `--enable-managed-dranet` to enable Managed DRANET on a node pool.
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

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

Labels

act-observability-squad AKS az aks/acs/openshift Auto-Assign Auto assign by bot 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.

4 participants