Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Compute] BREAKING CHANGE: az vm/vmss create: New VM from existing disk or image #27700

Closed
wants to merge 5 commits into from

Conversation

ZengTaoxu
Copy link
Contributor

@ZengTaoxu ZengTaoxu commented Oct 27, 2023

Related command

Description

Close: #23476

Testing Guide

History Notes

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


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

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

azure-client-tools-bot-prd bot commented Oct 27, 2023

❌AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️acs
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.11
️✔️3.9
️✔️ams
️✔️latest
️✔️3.11
️✔️3.9
️✔️apim
️✔️latest
️✔️3.11
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.11
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.11
️✔️3.9
🔄aro
🔄latest
🔄3.11
🔄3.9
🔄backup
🔄latest
🔄3.11
🔄3.9
🔄batch
🔄latest
🔄3.11
🔄3.9
️✔️batchai
️✔️latest
️✔️3.11
️✔️3.9
️✔️billing
️✔️latest
️✔️3.11
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.11
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.11
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.11
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.11
️✔️3.9
️✔️config
️✔️latest
️✔️3.11
️✔️3.9
️✔️configure
️✔️latest
️✔️3.11
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.11
️✔️3.9
️✔️container
️✔️latest
️✔️3.11
️✔️3.9
️✔️containerapp
️✔️latest
️✔️3.11
️✔️3.9
️✔️core
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.11
️✔️3.9
🔄databoxedge
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
🔄latest
🔄3.11
🔄3.9
️✔️dla
️✔️latest
️✔️3.11
️✔️3.9
️✔️dls
️✔️latest
️✔️3.11
️✔️3.9
️✔️dms
️✔️latest
️✔️3.11
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.11
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.11
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.11
️✔️3.9
️✔️find
️✔️latest
️✔️3.11
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.11
️✔️3.9
🔄identity
🔄latest
🔄3.11
🔄3.9
️✔️iot
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
🔄keyvault
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
🔄latest
🔄3.11
🔄3.9
️✔️kusto
️✔️latest
️✔️3.11
️✔️3.9
️✔️lab
️✔️latest
️✔️3.11
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.11
️✔️3.9
️✔️maps
️✔️latest
️✔️3.11
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.11
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.11
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.11
️✔️3.9
🔄netappfiles
🔄latest
🔄3.11
🔄3.9
️✔️network
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.11
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.11
️✔️3.9
🔄profile
🔄latest
🔄3.11
🔄3.9
🔄rdbms
🔄latest
🔄3.11
🔄3.9
️✔️redis
️✔️latest
️✔️3.11
️✔️3.9
️✔️relay
️✔️latest
️✔️3.11
️✔️3.9
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️role
️✔️latest
️✔️3.11
️✔️3.9
️✔️search
️✔️latest
️✔️3.11
️✔️3.9
🔄security
🔄latest
🔄3.11
🔄3.9
️✔️servicebus
️✔️latest
️✔️3.11
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.11
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.11
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.11
️✔️3.9
️✔️sql
️✔️latest
️✔️3.11
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.11
️✔️3.9
️✔️storage
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.11
️✔️3.9
️✔️telemetry
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️util
️✔️latest
️✔️3.11
️✔️3.9
❌vm
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
❌latest
❌3.11
Type Test Case Error Message Line
Failed test_copy_vm_restore_point self = <azure.cli.core.commands.AzCliCommandInvoker object at 0x7f690e251210>
parsed_ns = Namespace(log_verbosity_verbose=False, log_verbosity_debug=False, log_verbosity_only_show_errors=False, output_for...usage=None, description='', formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True))

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

env/lib/python3.11/site-packages/knack/invocation.py:111: 
 
 
 
 
 
 
                                  
src/azure-cli-core/azure/cli/core/commands/init.py:849: in validate_cmd_level
    cmd_validator(**self.build_kwargs(cmd_validator, ns))
src/azure-cli/azure/cli/command_modules/vm/validators.py:1447: in process_vm_create_namespace
    validate_vm_create_storage_profile(cmd, namespace)
src/azure-cli/azure/cli/command_modules/vm/validators.py:394: in validate_vm_create_storage_profile
    image_type = parse_image_argument(cmd, namespace)
src/azure-cli/azure/cli/command_modules/vm/validators.py:282: in parse_image_argument
    images = load_images_from_aliases_doc(cmd.cli_ctx)
src/azure-cli/azure/cli/command_modules/vm/actions.py:145: in load_images_from_aliases_doc
    response = requests.get(target_url, verify=(not should_disable_connection_verify()))
env/lib/python3.11/site-packages/requests/api.py:73: in get
    return request("get", url, params=params, **kwargs)
env/lib/python3.11/site-packages/requests/api.py:59: in request
    return session.request(method=method, url=url, **kwargs)
env/lib/python3.11/site-packages/requests/sessions.py:589: in request
    resp = self.send(prep, **send_kwargs)
env/lib/python3.11/site-packages/requests/sessions.py:703: in send
    r = adapter.send(request, **kwargs)
env/lib/python3.11/site-packages/requests/adapters.py:486: in send
    resp = conn.urlopen(
env/lib/python3.11/site-packages/urllib3/connectionpool.py:715: in urlopen
    httplib_response = self.make_request(
env/lib/python3.11/site-packages/urllib3/connectionpool.py:458: in make_request
    httplib_response = conn.getresponse(buffering=True)
 
 
 
 
 
 
 
 
 
 
 
 
                            

self = <vcr.patch.VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_copy_vm_restore_point.yaml object at 0x7f690cacd4d0>
 = False, kwargs = {'buffering': True}

    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)
        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/vm/tests/latest/recordings/test_copy_vm_restore_point.yaml') in your current record mode ('once').
E               No match for the request (<Request (GET) https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json>)&nbsp;was&nbsp;found.
E               Found 25 similar requests with 3 different matcher(s) :
E               
E               1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               2 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               3 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260?api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               4 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/virtualNetworks?api-version=2022-01-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/virtualNetworks
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               5 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               6 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260?api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               7 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               8 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260?api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               9 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               10 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260?api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               11 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               12 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               13 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               14 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               15 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/virtualMachines/vm_000006?$expand=instanceView&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/virtualMachines/vm_000006
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               16 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/networkInterfaces/vm_000006VMNic?api-version=2022-01-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/networkInterfaces/vm_000006VMNic
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               17 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/publicIPAddresses/vm_000006PublicIP?api-version=2022-01-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/publicIPAddresses/vm_000006PublicIP
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               18 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               19 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc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2UnV5om5pesrjTh9mEAyQypLF-Fvo4QVWvI2Of9JKWtwrcO8Tj_mVsO9BcgZb8LVO6GIIbUIodcSLOiETSis-PN6hlaYLdYnz7hYTPXo59P-g3XMYJXGl_dqe4-RsCwrRDVpQgHrVqPT5afPvdqc_iRJ2hE-H3xCTp8_NbnLOuENwD36Rqc6Q-PrCTJSHMtyPV9euSjkG3xy9TRNAwc6XSJ05NrZZttfu3xHvx8UOwJ0JkprQwDOhRqy5gslraMwzjbjLaYXzOwyMrLzq1gop_k4rbuMizjAzOFWBpmHyFuBnieHfasgt6X1sj1yMxpl6QTKMbmYmtRj9UJww&s=ez_DvS0cm1HgYKwm28kDoZYskvWvfJLaETk2YgwykFuYzWlKAOVyzYWfZekACLoVoFgtVeu3M6Y1KPZu2hav_S3MAgiH-VB8S1ID99E3pPGH97Vr4oVfAGewFFg_4YEQldPc6lVhIYOj1vza6iPpbr-dxZSLCoe42JMbY5zZxmQFrzh_nlXnR2r72PVLXNcAI9DMAMl0yJ5h9e5DN1zCHc-KxhsM9b6FBsh1pb437b_AejL8TXSc9FVinJnVbEpzaWtAhrQB0fexCR0Fnkc2VjyR8eTP9q1nZ5pSwi2D1etiXdYriA8OpSpd96lGXS0zpXA7L4uvkh1PBsmiCR5AzQ&h=Mv2bPOAPWe-1DW7IwSW3ifO5JxB2WfS9QfEfeDBzs6k>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               20 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9?p=571046f6-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Fvo4QVWvI2Of9JKWtwrcO8Tj_mVsO9BcgZb8LVO6GIIbUIodcSLOiETSis-PN6hlaYLdYnz7hYTPXo59P-g3XMYJXGl_dqe4-RsCwrRDVpQgHrVqPT5afPvdqc_iRJ2hE-H3xCTp8_NbnLOuENwD36Rqc6Q-PrCTJSHMtyPV9euSjkG3xy9TRNAwc6XSJ05NrZZttfu3xHvx8UOwJ0JkprQwDOhRqy5gslraMwzjbjLaYXzOwyMrLzq1gop_k4rbuMizjAzOFWBpmHyFuBnieHfasgt6X1sj1yMxpl6QTKMbmYmtRj9UJww&s=ez_DvS0cm1HgYKwm28kDoZYskvWvfJLaETk2YgwykFuYzWlKAOVyzYWfZekACLoVoFgtVeu3M6Y1KPZu2hav_S3MAgiH-VB8S1ID99E3pPGH97Vr4oVfAGewFFg_4YEQldPc6lVhIYOj1vza6iPpbr-dxZSLCoe42JMbY5zZxmQFrzh_nlXnR2r72PVLXNcAI9DMAMl0yJ5h9e5DN1zCHc-KxhsM9b6FBsh1pb437b_AejL8TXSc9FVinJnVbEpzaWtAhrQB0fexCR0Fnkc2VjyR8eTP9q1nZ5pSwi2D1etiXdYriA8OpSpd96lGXS0zpXA7L4uvkh1PBsmiCR5AzQ&h=Mv2bPOAPWe-1DW7IwSW3ifO5JxB2WfS9QfEfeDBzs6k>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               21 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-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Tj_mVsO9BcgZb8LVO6GIIbUIodcSLOiETSis-PN6hlaYLdYnz7hYTPXo59P-g3XMYJXGl_dqe4-RsCwrRDVpQgHrVqPT5afPvdqc_iRJ2hE-H3xCTp8_NbnLOuENwD36Rqc6Q-PrCTJSHMtyPV9euSjkG3xy9TRNAwc6XSJ05NrZZttfu3xHvx8UOwJ0JkprQwDOhRqy5gslraMwzjbjLaYXzOwyMrLzq1gop_k4rbuMizjAzOFWBpmHyFuBnieHfasgt6X1sj1yMxpl6QTKMbmYmtRj9UJww&s=ez_DvS0cm1HgYKwm28kDoZYskvWvfJLaETk2YgwykFuYzWlKAOVyzYWfZekACLoVoFgtVeu3M6Y1KPZu2hav_S3MAgiH-VB8S1ID99E3pPGH97Vr4oVfAGewFFg_4YEQldPc6lVhIYOj1vza6iPpbr-dxZSLCoe42JMbY5zZxmQFrzh_nlXnR2r72PVLXNcAI9DMAMl0yJ5h9e5DN1zCHc-KxhsM9b6FBsh1pb437b_AejL8TXSc9FVinJnVbEpzaWtAhrQB0fexCR0Fnkc2VjyR8eTP9q1nZ5pSwi2D1etiXdYriA8OpSpd96lGXS0zpXA7L4uvkh1PBsmiCR5AzQ&h=Mv2bPOAPWe-1DW7IwSW3ifO5JxB2WfS9QfEfeDBzs6k>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               22 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/restorePointCollections/collection_000002/restorePoints/point_000004?api-version=2023-07-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/restorePointCollections/collection_000002/restorePoints/point_000004
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               23 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/89467993-e029-45ff-8039-e3e290fb6268?p=54253b73-cb53-496f-ab42-5e5ee19426f8&api-version=2023-07-01&t=638343245693679551&c=MIIHADCCBeigAwIBAgITHgMiMT0936LyBsyT2QAAAyIxPTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAyMTU1MTI0WhcNMjQwNzI3MTU1MTI0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANk_NWDSuILOJgc9vvsAZYRZBw0utyx4T0wJ6LR8mgVivPxdjfmPN9gOnXnAzDqH84owycRFXAIUn6U8EG6gfd2iLqxqqdsHAO4UfPCdkl_lKfagvyP753t9vm0yi4nahVH2fnC9I9HjOSfZsZCmNQUQn_-xjNB0Te1ApYBRlZ6ROGtfY2Q2qUPO8FPOEDdwsPPHhRVvlK6Do2pyfYb__yX2mHoOoqjiMibafeUZqON2dCjrMltU81HnfEe5ESI0Zn6xKI9sz2h97K4u5f_FhDjBDP1KINbFUmLOMRFd71iVqNNuzCQ6tPXPGFA1Dx9IZzsEHI98InLf3YFsaQcCHwkCAwEAAaOCA-0wggPpMCcGCSsGAQQBg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wMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIw7cQ2UnV5om5pesrjTh9mEAyQypLF-Fvo4QVWvI2Of9JKWtwrcO8Tj_mVsO9BcgZb8LVO6GIIbUIodcSLOiETSis-PN6hlaYLdYnz7hYTPXo59P-g3XMYJXGl_dqe4-RsCwrRDVpQgHrVqPT5afPvdqc_iRJ2hE-H3xCTp8_NbnLOuENwD36Rqc6Q-PrCTJSHMtyPV9euSjkG3xy9TRNAwc6XSJ05NrZZttfu3xHvx8UOwJ0JkprQwDOhRqy5gslraMwzjbjLaYXzOwyMrLzq1gop_k4rbuMizjAzOFWBpmHyFuBnieHfasgt6X1sj1yMxpl6QTKMbmYmtRj9UJww&s=eSBOgA3daikGxHsudw0vvwjvoPk-8g0Ofxfj4oTZvk55Nk4VwzCX_83cWB6GbD4dLgnIPv63b086uIPU1y3i9ByVp4hAepm1_-cSr-w0OPWWVi33fD-l0Lu3oNAU2z-5DgfKcR43SZV4gmFn9LD5n9w7yEF3hRQPlXBkJx-mSYmvR42kGGhAizGiTp5VVMs8pqA8xDkZ2NF4EcwQ6Ppse5KbG0laFWzIikELUUo6kskrbsDbQcLtaENL21ThLac7mQgPJQT_otFtt2Oa_9XaXyg6gjxD2Y-IfGMTtdhwaXWEwUSZtfc4RcidiJ4z0T96jLxPzUWQh-ewXgIdvE5xpA&h=DyxLhe-F6I5eW1XuSVychOTfwwmuCvV_WJ4OWXAEsnE>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/89467993-e029-45ff-8039-e3e290fb6268
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               24 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/89467993-e029-45ff-8039-e3e290fb6268?p=54253b73-cb53-496f-ab42-5e5ee19426f8&api-version=2023-07-01&t=638343245693679551&c=MIIHADCCBeigAwIBAgITHgMiMT0936LyBsyT2QAAAyIxPTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAyMTU1MTI0WhcNMjQwNzI3MTU1MTI0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANk_NWDSuILOJgc9vvsAZYRZBw0utyx4T0wJ6LR8mgVivPxdjfmPN9gOnXnAzDqH84owycRFXAIUn6U8EG6gfd2iLqxqqdsHAO4UfPCdkl_lKfagvyP753t9vm0yi4nahVH2fnC9I9HjOSfZsZCmNQUQn_-xjNB0Te1ApYBRlZ6ROGtfY2Q2qUPO8FPOEDdwsPPHhRVvlK6Do2pyfYb__yX2mHoOoqjiMibafeUZqON2dCjrMltU81HnfEe5ESI0Zn6xKI9sz2h97K4u5f_FhDjBDP1KINbFUmLOMRFd71iVqNNuzCQ6tPXPGFA1Dx9IZzsEHI98InLf3YFsaQcCHwkCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgY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uZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIw7cQ2UnV5om5pesrjTh9mEAyQypLF-Fvo4QVWvI2Of9JKWtwrcO8Tj_mVsO9BcgZb8LVO6GIIbUIodcSLOiETSis-PN6hlaYLdYnz7hYTPXo59P-g3XMYJXGl_dqe4-RsCwrRDVpQgHrVqPT5afPvdqc_iRJ2hE-H3xCTp8_NbnLOuENwD36Rqc6Q-PrCTJSHMtyPV9euSjkG3xy9TRNAwc6XSJ05NrZZttfu3xHvx8UOwJ0JkprQwDOhRqy5gslraMwzjbjLaYXzOwyMrLzq1gop_k4rbuMizjAzOFWBpmHyFuBnieHfasgt6X1sj1yMxpl6QTKMbmYmtRj9UJww&s=eSBOgA3daikGxHsudw0vvwjvoPk-8g0Ofxfj4oTZvk55Nk4VwzCX_83cWB6GbD4dLgnIPv63b086uIPU1y3i9ByVp4hAepm1_-cSr-w0OPWWVi33fD-l0Lu3oNAU2z-5DgfKcR43SZV4gmFn9LD5n9w7yEF3hRQPlXBkJx-mSYmvR42kGGhAizGiTp5VVMs8pqA8xDkZ2NF4EcwQ6Ppse5KbG0laFWzIikELUUo6kskrbsDbQcLtaENL21ThLac7mQgPJQT_otFtt2Oa_9XaXyg6gjxD2Y-IfGMTtdhwaXWEwUSZtfc4RcidiJ4z0T96jLxPzUWQh-ewXgIdvE5xpA&h=DyxLhe-F6I5eW1XuSVychOTfwwmuCvV_WJ4OWXAEsnE>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/89467993-e029-45ff-8039-e3e290fb6268
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               25 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/restorePointCollections/collection_000003/restorePoints/point_000005?api-version=2023-07-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/restorePointCollections/collection_000003/restorePoints/point_000005
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.11/site-packages/vcr/stubs/init.py:263: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <latest.test_vm_commands.RestorePointScenarioTest testMethod=test_copy_vm_restore_point>
resource_group = 'cli_test_copy_vm_restore_point000001'

    @ResourceGroupPreparer(name_prefix='cli_test_copy_vm_restore_point', location='westus')
    def test_copy_vm_restore_point(self, resource_group):
        self.kwargs.update({
            'rg': resource_group,
            'collection_name': self.create_random_name('collection
', 20),
            'collection_name1': self.create_random_name('collection
', 20),
            'point_name': self.create_random_name('point
', 15),
            'point_name1': self.create_random_name('point
', 15),
            'vm_name': self.create_random_name('vm
', 15)
        })
    
>       vm = self.cmd('vm create -n {vm_name} -g {rg} --image ubuntu2204 --admin-username vmtest').get_output_in_json()

src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10218: 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
               
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: 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:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.11/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.11/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:651: in execute
    self.validation(expanded_arg)
env/lib/python3.11/site-packages/knack/invocation.py:118: in validation
    getattr(parsed_ns, 'parser', self.parser).validation_error(str(err))
src/azure-cli-core/azure/cli/core/parser.py:150: in validation_error
    self.exit(2)
 
 
 
 
                                   _ 

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

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

/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/argparse.py:2617: SystemExit
azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10206
❌3.9
Type Test Case Error Message Line
Failed test_copy_vm_restore_point self = <azure.cli.core.commands.AzCliCommandInvoker object at 0x7fc2b18029d0>
parsed_ns = Namespace(log_verbosity_verbose=False, log_verbosity_debug=False, log_verbosity_only_show_errors=False, output_for...usage=None, description='', formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True))

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

env/lib/python3.9/site-packages/knack/invocation.py:111: 
 
 
 
 
 
 
                                  
src/azure-cli-core/azure/cli/core/commands/init.py:849: in validate_cmd_level
    cmd_validator(**self.build_kwargs(cmd_validator, ns))
src/azure-cli/azure/cli/command_modules/vm/validators.py:1447: in process_vm_create_namespace
    validate_vm_create_storage_profile(cmd, namespace)
src/azure-cli/azure/cli/command_modules/vm/validators.py:394: in validate_vm_create_storage_profile
    image_type = parse_image_argument(cmd, namespace)
src/azure-cli/azure/cli/command_modules/vm/validators.py:282: in parse_image_argument
    images = load_images_from_aliases_doc(cmd.cli_ctx)
src/azure-cli/azure/cli/command_modules/vm/actions.py:145: in load_images_from_aliases_doc
    response = requests.get(target_url, verify=(not should_disable_connection_verify()))
env/lib/python3.9/site-packages/requests/api.py:73: in get
    return request("get", url, params=params, **kwargs)
env/lib/python3.9/site-packages/requests/api.py:59: in request
    return session.request(method=method, url=url, **kwargs)
env/lib/python3.9/site-packages/requests/sessions.py:589: in request
    resp = self.send(prep, **send_kwargs)
env/lib/python3.9/site-packages/requests/sessions.py:703: in send
    r = adapter.send(request, **kwargs)
env/lib/python3.9/site-packages/requests/adapters.py:486: in send
    resp = conn.urlopen(
env/lib/python3.9/site-packages/urllib3/connectionpool.py:715: in urlopen
    httplib_response = self.make_request(
env/lib/python3.9/site-packages/urllib3/connectionpool.py:458: in make_request
    httplib_response = conn.getresponse(buffering=True)
 
 
 
 
 
 
 
 
 
 
 
 
                            

self = <vcr.patch.VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_copy_vm_restore_point.yaml object at 0x7fc2b070f0a0>
 = False, kwargs = {'buffering': True}

    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)
        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/vm/tests/latest/recordings/test_copy_vm_restore_point.yaml') in your current record mode ('once').
E               No match for the request (<Request (GET) https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json>)&nbsp;was&nbsp;found.
E               Found 25 similar requests with 3 different matcher(s) :
E               
E               1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               2 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               3 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260?api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               4 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/virtualNetworks?api-version=2022-01-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/virtualNetworks
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               5 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               6 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260?api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               7 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               8 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260?api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               9 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               10 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260?api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-server-jammy/skus/22_04-lts-gen2/versions/22.04.202310260
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               11 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               12 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               13 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585028792522987424
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               14 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Resources/deployments/mock-deployment
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               15 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/virtualMachines/vm_000006?$expand=instanceView&api-version=2022-11-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/virtualMachines/vm_000006
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               16 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/networkInterfaces/vm_000006VMNic?api-version=2022-01-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/networkInterfaces/vm_000006VMNic
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               17 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/publicIPAddresses/vm_000006PublicIP?api-version=2022-01-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Network/publicIPAddresses/vm_000006PublicIP
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               18 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001?api-version=2022-09-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_copy_vm_restore_point000001
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               19 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2023-07-01&t=638343245063820545&c=MIIHADCCBeigAwIBAgITHgMiMT0936LyBsyT2QAAAyIxPTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAyMTU1MTI0WhcNMjQwNzI3MTU1MTI0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPAD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YWfZekACLoVoFgtVeu3M6Y1KPZu2hav_S3MAgiH-VB8S1ID99E3pPGH97Vr4oVfAGewFFg_4YEQldPc6lVhIYOj1vza6iPpbr-dxZSLCoe42JMbY5zZxmQFrzh_nlXnR2r72PVLXNcAI9DMAMl0yJ5h9e5DN1zCHc-KxhsM9b6FBsh1pb437b_AejL8TXSc9FVinJnVbEpzaWtAhrQB0fexCR0Fnkc2VjyR8eTP9q1nZ5pSwi2D1etiXdYriA8OpSpd96lGXS0zpXA7L4uvkh1PBsmiCR5AzQ&h=Mv2bPOAPWe-1DW7IwSW3ifO5JxB2WfS9QfEfeDBzs6k>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               20 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2023-07-01&t=638343245063820545&c=MIIHADCCBeigAwIBAgITHgMiMT0936LyBsyT2QAAAyIxPTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAyMTU1MTI0WhcNMjQwNzI3MTU1MTI0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANk_NWDSuILOJgc9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PZu2hav_S3MAgiH-VB8S1ID99E3pPGH97Vr4oVfAGewFFg_4YEQldPc6lVhIYOj1vza6iPpbr-dxZSLCoe42JMbY5zZxmQFrzh_nlXnR2r72PVLXNcAI9DMAMl0yJ5h9e5DN1zCHc-KxhsM9b6FBsh1pb437b_AejL8TXSc9FVinJnVbEpzaWtAhrQB0fexCR0Fnkc2VjyR8eTP9q1nZ5pSwi2D1etiXdYriA8OpSpd96lGXS0zpXA7L4uvkh1PBsmiCR5AzQ&h=Mv2bPOAPWe-1DW7IwSW3ifO5JxB2WfS9QfEfeDBzs6k>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               21 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2023-07-01&t=638343245063820545&c=MIIHADCCBeigAwIBAgITHgMiMT0936LyBsyT2QAAAyIxPTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAyMTU1MTI0WhcNMjQwNzI3MTU1MTI0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANk_NWDSuILOJgc9vvsAZYRZBw0utyx4T0wJ6LR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E3pPGH97Vr4oVfAGewFFg_4YEQldPc6lVhIYOj1vza6iPpbr-dxZSLCoe42JMbY5zZxmQFrzh_nlXnR2r72PVLXNcAI9DMAMl0yJ5h9e5DN1zCHc-KxhsM9b6FBsh1pb437b_AejL8TXSc9FVinJnVbEpzaWtAhrQB0fexCR0Fnkc2VjyR8eTP9q1nZ5pSwi2D1etiXdYriA8OpSpd96lGXS0zpXA7L4uvkh1PBsmiCR5AzQ&h=Mv2bPOAPWe-1DW7IwSW3ifO5JxB2WfS9QfEfeDBzs6k>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c45ff1c7-28dc-4cec-996b-59674a6266a9
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               22 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/restorePointCollections/collection_000002/restorePoints/point_000004?api-version=2023-07-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/restorePointCollections/collection_000002/restorePoints/point_000004
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               23 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/89467993-e029-45ff-8039-e3e290fb6268?p=54253b73-cb53-496f-ab42-5e5ee19426f8&api-version=2023-07-01&t=638343245693679551&c=MIIHADCCBeigAwIBAgITHgMiMT0936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nz7hYTPXo59P-g3XMYJXGl_dqe4-RsCwrRDVpQgHrVqPT5afPvdqc_iRJ2hE-H3xCTp8_NbnLOuENwD36Rqc6Q-PrCTJSHMtyPV9euSjkG3xy9TRNAwc6XSJ05NrZZttfu3xHvx8UOwJ0JkprQwDOhRqy5gslraMwzjbjLaYXzOwyMrLzq1gop_k4rbuMizjAzOFWBpmHyFuBnieHfasgt6X1sj1yMxpl6QTKMbmYmtRj9UJww&s=eSBOgA3daikGxHsudw0vvwjvoPk-8g0Ofxfj4oTZvk55Nk4VwzCX_83cWB6GbD4dLgnIPv63b086uIPU1y3i9ByVp4hAepm1_-cSr-w0OPWWVi33fD-l0Lu3oNAU2z-5DgfKcR43SZV4gmFn9LD5n9w7yEF3hRQPlXBkJx-mSYmvR42kGGhAizGiTp5VVMs8pqA8xDkZ2NF4EcwQ6Ppse5KbG0laFWzIikELUUo6kskrbsDbQcLtaENL21ThLac7mQgPJQT_otFtt2Oa_9XaXyg6gjxD2Y-IfGMTtdhwaXWEwUSZtfc4RcidiJ4z0T96jLxPzUWQh-ewXgIdvE5xpA&h=DyxLhe-F6I5eW1XuSVychOTfwwmuCvV_WJ4OWXAEsnE>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/89467993-e029-45ff-8039-e3e290fb6268
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               24 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/89467993-e029-45ff-8039-e3e290fb6268?p=54253b73-cb53-496f-ab42-5e5ee19426f8&api-version=2023-07-01&t=638343245693679551&c=MIIHADCCBeigAwIBAgITHgMiMT0936LyBsyT2QAAAyIxPTANBgkqhkiG9w0BA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wrRDVpQgHrVqPT5afPvdqc_iRJ2hE-H3xCTp8_NbnLOuENwD36Rqc6Q-PrCTJSHMtyPV9euSjkG3xy9TRNAwc6XSJ05NrZZttfu3xHvx8UOwJ0JkprQwDOhRqy5gslraMwzjbjLaYXzOwyMrLzq1gop_k4rbuMizjAzOFWBpmHyFuBnieHfasgt6X1sj1yMxpl6QTKMbmYmtRj9UJww&s=eSBOgA3daikGxHsudw0vvwjvoPk-8g0Ofxfj4oTZvk55Nk4VwzCX_83cWB6GbD4dLgnIPv63b086uIPU1y3i9ByVp4hAepm1_-cSr-w0OPWWVi33fD-l0Lu3oNAU2z-5DgfKcR43SZV4gmFn9LD5n9w7yEF3hRQPlXBkJx-mSYmvR42kGGhAizGiTp5VVMs8pqA8xDkZ2NF4EcwQ6Ppse5KbG0laFWzIikELUUo6kskrbsDbQcLtaENL21ThLac7mQgPJQT_otFtt2Oa_9XaXyg6gjxD2Y-IfGMTtdhwaXWEwUSZtfc4RcidiJ4z0T96jLxPzUWQh-ewXgIdvE5xpA&h=DyxLhe-F6I5eW1XuSVychOTfwwmuCvV_WJ4OWXAEsnE>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/89467993-e029-45ff-8039-e3e290fb6268
E               custom_request_query_matcher - assertion failure :
E               None
E               
E               25 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/restorePointCollections/collection_000003/restorePoints/point_000005?api-version=2023-07-01>).
E               Matchers succeeded : ['method', 'scheme', 'port']
E               Matchers failed :
E               host - assertion failure :
E               raw.githubusercontent.com != management.azure.com
E               path - assertion failure :
E               /Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json != /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_copy_vm_restore_point000001/providers/Microsoft.Compute/restorePointCollections/collection_000003/restorePoints/point_000005
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.9/site-packages/vcr/stubs/init.py:263: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <latest.test_vm_commands.RestorePointScenarioTest testMethod=test_copy_vm_restore_point>
resource_group = 'cli_test_copy_vm_restore_point000001'

    @ResourceGroupPreparer(name_prefix='cli_test_copy_vm_restore_point', location='westus')
    def test_copy_vm_restore_point(self, resource_group):
        self.kwargs.update({
            'rg': resource_group,
            'collection_name': self.create_random_name('collection
', 20),
            'collection_name1': self.create_random_name('collection
', 20),
            'point_name': self.create_random_name('point
', 15),
            'point_name1': self.create_random_name('point
', 15),
            'vm_name': self.create_random_name('vm
', 15)
        })
    
>       vm = self.cmd('vm create -n {vm_name} -g {rg} --image ubuntu2204 --admin-username vmtest').get_output_in_json()

src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10218: 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
               
src/azure-cli-testsdk/azure/cli/testsdk/base.py:175: 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:250: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:301: in in_process_execute
    self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
env/lib/python3.9/site-packages/knack/cli.py:250: in invoke
    raise ex
env/lib/python3.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:651: in execute
    self.validation(expanded_arg)
env/lib/python3.9/site-packages/knack/invocation.py:118: in validation
    getattr(parsed_ns, 'parser', self.parser).validation_error(str(err))
src/azure-cli-core/azure/cli/core/parser.py:150: in validation_error
    self.exit(2)
 
 
 
 
                                   _ 

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

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

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/argparse.py:2569: SystemExit
azure/cli/command_modules/vm/tests/latest/test_vm_commands.py:10206

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

azure-client-tools-bot-prd bot commented Oct 27, 2023

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

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 27, 2023

Compute

Comment on lines 616 to 617
if namespace.security_type is None:
namespace.security_type = 'TrustedLaunch'
Copy link
Contributor

Choose a reason for hiding this comment

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

It is mentioned in the feature request #23476 Scenario 1:
OS Disk securityProfile has 1-1 mapping with VM, i.e., OS Disk enabled with Trusted Launch can only deploy VM with Trusted Launch.

I think namespace.security_type shoule be set to TrustedLaunch directly without if statement. Hi @AjKundnani could you please help confirm this?

Suggested change
if namespace.security_type is None:
namespace.security_type = 'TrustedLaunch'
namespace.security_type = 'TrustedLaunch'

@@ -1404,7 +1404,38 @@ def _validate_generation_version_and_trusted_launch(cmd, namespace):
generation_version = attach_os_disk_info.hyper_v_generation if hasattr(attach_os_disk_info,
'hyper_v_generation') else None
features = attach_os_disk_info.features if hasattr(attach_os_disk_info, 'features') else None
disk_security_profile = attach_os_disk_info.security_profile if hasattr(attach_os_disk_info,
'security_profile') else None
trusted_launch_warning_log(namespace, generation_version, features)
Copy link
Contributor

Choose a reason for hiding this comment

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

This warning message may should be removed

Suggested change
trusted_launch_warning_log(namespace, generation_version, features)

if disk_security_profile is None:
return

from ._constants import UPGRADE_SECURITY_HINT
Copy link
Contributor

Choose a reason for hiding this comment

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

The warning message mentioned in the feature request is:
Consider upgrading security for your workloads using Azure Trusted Launch VMs. To know more about Trusted Launch, please visit https://aka.ms/TrustedLaunch

Hence the link in the UPGRADE_SECURITY_HINT field should be changed from "https://learn.microsoft.com/en-us/azure/virtual-machines/trusted-launch" to "https://aka.ms/TrustedLaunch".

@yanzhudd
Copy link
Contributor

yanzhudd commented Oct 31, 2023

For creating VM from existing shared image (Azure Compute Gallery) or managed image using az vm create --image (Scenario 2), corresponding logic should be changed.

You can refer to a similar logic with the feature #23614 Scenario 2.
#23614 (comment)
PR: https://github.com/Azure/azure-cli/pull/27620/files

@yanzhudd
Copy link
Contributor

Scenario 3 is similar with Scenario 2.

@ZengTaoxu ZengTaoxu closed this Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Compute az vm/vmss/image/disk/snapshot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI | Trusted Launch as Default - New VM from existing disk or image (SIG/ACG/Managed)
4 participants