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

{cdn} Dump version to 09-01 #30409

Merged
merged 15 commits into from
Dec 2, 2024
Merged

{cdn} Dump version to 09-01 #30409

merged 15 commits into from
Dec 2, 2024

Conversation

Ptnan7
Copy link
Member

@Ptnan7 Ptnan7 commented Nov 25, 2024

Related command

Description

Testing Guide

History Notes

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


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

Copy link

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

️✔️AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️acs
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.9
️✔️ams
️✔️latest
️✔️3.12
️✔️3.9
️✔️apim
️✔️latest
️✔️3.12
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️aro
️✔️latest
️✔️3.12
️✔️3.9
️✔️backup
️✔️latest
️✔️3.12
️✔️3.9
️✔️batch
️✔️latest
️✔️3.12
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.9
️✔️billing
️✔️latest
️✔️3.12
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.9
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.9
️✔️config
️✔️latest
️✔️3.12
️✔️3.9
️✔️configure
️✔️latest
️✔️3.12
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.9
️✔️container
️✔️latest
️✔️3.12
️✔️3.9
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.9
️✔️core
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.9
️✔️databoxedge
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️dls
️✔️latest
️✔️3.12
️✔️3.9
️✔️dms
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.9
️✔️find
️✔️latest
️✔️3.12
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.9
️✔️identity
️✔️latest
️✔️3.12
️✔️3.9
️✔️iot
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️keyvault
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️lab
️✔️latest
️✔️3.12
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️maps
️✔️latest
️✔️3.12
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.9
️✔️network
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.9
️✔️profile
️✔️latest
️✔️3.12
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.9
️✔️redis
️✔️latest
️✔️3.12
️✔️3.9
️✔️relay
️✔️latest
️✔️3.12
️✔️3.9
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️role
️✔️latest
️✔️3.12
️✔️3.9
️✔️search
️✔️latest
️✔️3.12
️✔️3.9
️✔️security
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.9
️✔️sql
️✔️latest
️✔️3.12
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.9
️✔️storage
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.9
️✔️telemetry
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️util
️✔️latest
️✔️3.12
️✔️3.9
️✔️vm
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9

Copy link

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

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

@yonzhan
Copy link
Collaborator

yonzhan commented Nov 25, 2024

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

@necusjz
Copy link
Member

necusjz commented Nov 29, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@necusjz
Copy link
Member

necusjz commented Nov 29, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@necusjz
Copy link
Member

necusjz commented Dec 2, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@necusjz
Copy link
Member

necusjz commented Dec 2, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@necusjz necusjz merged commit 0336d75 into Azure:dev Dec 2, 2024
53 checks passed
@Ptnan7 Ptnan7 deleted the version-09-01 branch December 2, 2024 06:41
@bebound
Copy link
Contributor

bebound commented Dec 3, 2024

test_classic_cdn_migration_abort and test_classic_cdn_migration_with_endpoint fail.

@necusjz @Ptnan7 for awareness.

For TypeError: super(type, obj): obj must be an instance or subtype of type, it might be related to #28678.

For The subscription '00000000-0000-0000-0000-000000000000' could not be found, it might be a misuse of LRO? See #30164

2024-12-02T10:07:03.4592454Z >       self.cdn_migration_abort(resource_group, profile_name)
2024-12-02T10:07:03.4592574Z 
2024-12-02T10:07:03.4592847Z /opt/az/lib/python3.12/site-packages/azure/cli/command_modules/cdn/tests/latest/test_classic_cdn_to_afd.py:54: 
2024-12-02T10:07:03.4593153Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T10:07:03.4593471Z /opt/az/lib/python3.12/site-packages/azure/cli/command_modules/cdn/tests/latest/scenario_mixin.py:430: in cdn_migration_abort
2024-12-02T10:07:03.4593771Z     return self.cmd(command, checks)
2024-12-02T10:07:03.4594033Z /opt/az/lib/python3.12/site-packages/azure/cli/testsdk/base.py:176: in cmd
2024-12-02T10:07:03.4594358Z     return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
2024-12-02T10:07:03.4594675Z /opt/az/lib/python3.12/site-packages/azure/cli/testsdk/base.py:251: in __init__
2024-12-02T10:07:03.4594973Z     self._in_process_execute(cli_ctx, command, expect_failure=expect_failure)
2024-12-02T10:07:03.4595282Z /opt/az/lib/python3.12/site-packages/azure/cli/testsdk/base.py:314: in _in_process_execute
2024-12-02T10:07:03.4595546Z     raise ex.exception
2024-12-02T10:07:03.4595788Z /opt/az/lib/python3.12/site-packages/knack/cli.py:233: in invoke
2024-12-02T10:07:03.4596059Z     cmd_result = self.invocation.execute(args)
2024-12-02T10:07:03.4596344Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:666: in execute
2024-12-02T10:07:03.4596594Z     raise ex
2024-12-02T10:07:03.4596858Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:734: in _run_jobs_serially
2024-12-02T10:07:03.4597162Z     results.append(self._run_job(expanded_arg, cmd_copy))
2024-12-02T10:07:03.4597454Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:714: in _run_job
2024-12-02T10:07:03.4597780Z     result = LongRunningOperation(cmd_copy.cli_ctx, 'Starting {}'.format(cmd_copy.name))(result)
2024-12-02T10:07:03.4598098Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:1076: in __call__
2024-12-02T10:07:03.4598354Z     raise exception
2024-12-02T10:07:03.4598617Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:1063: in __call__
2024-12-02T10:07:03.4598880Z     result = poller.result()
2024-12-02T10:07:03.4599140Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:108: in result
2024-12-02T10:07:03.4599412Z     self.wait(timeout)
2024-12-02T10:07:03.4599683Z /opt/az/lib/python3.12/site-packages/azure/core/tracing/decorator.py:94: in wrapper_use_tracer
2024-12-02T10:07:03.4600099Z     return func(*args, **kwargs)
2024-12-02T10:07:03.4600376Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:130: in wait
2024-12-02T10:07:03.4600634Z     raise self._exception
2024-12-02T10:07:03.4600894Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:94: in _start
2024-12-02T10:07:03.4601148Z     raise error
2024-12-02T10:07:03.4601403Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:86: in _start
2024-12-02T10:07:03.4601660Z     self._polling_method.run()
2024-12-02T10:07:03.4601922Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:50: in run
2024-12-02T10:07:03.4602454Z     self._http_response_error_callback(err.response)
2024-12-02T10:07:03.4602729Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T10:07:03.4602990Z 
2024-12-02T10:07:03.4603293Z self = <azure.cli.command_modules.cdn.aaz.latest.cdn.profile_migration._abort.Abort.ProfilesMigrationAbort object at 0xffffabd39250>
2024-12-02T10:07:03.4603657Z response = <RequestsTransportResponse: 404 Not Found, Content-Type: application/json; charset=utf-8>
2024-12-02T10:07:03.4603806Z 
2024-12-02T10:07:03.4604007Z     def on_error(self, response):
2024-12-02T10:07:03.4604228Z         """ handle errors in response
2024-12-02T10:07:03.4604426Z         """
2024-12-02T10:07:03.4604620Z         # raise common http errors
2024-12-02T10:07:03.4604945Z         error_type = self.error_map.get(response.status_code)
2024-12-02T10:07:03.4605185Z         if error_type:
2024-12-02T10:07:03.4605403Z >           raise error_type(response=response)
2024-12-02T10:07:03.4605728Z E           azure.core.exceptions.ResourceNotFoundError: (SubscriptionNotFound) The subscription '00000000-0000-0000-0000-000000000000' could not be found.
2024-12-02T10:07:03.4606045Z E           Code: SubscriptionNotFound
2024-12-02T10:07:03.4606315Z E           Message: The subscription '00000000-0000-0000-0000-000000000000' could not be found.
2024-12-02T10:07:03.4606457Z 
2024-12-02T10:07:03.4606718Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_operation.py:329: ResourceNotFoundError
2024-12-02T10:07:03.4607031Z ----------------------------- Captured stderr call -----------------------------
2024-12-02T10:07:03.4607358Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T10:07:03.4607706Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T10:07:03.4608059Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T10:07:03.4608382Z -------------- generated xml file: /azure_cli_test_result/cdn.xml --------------
2024-12-02T10:07:03.4608685Z =========================== short test summary info ============================
2024-12-02T10:07:03.4609018Z FAILED tests/latest/test_classic_cdn_to_afd.py::ClassicCdnMigration::test_classic_cdn_migration_abort
2024-12-02T10:07:03.4609352Z ========================= 1 failed, 40 passed in 9.97s =========================
2024-12-02T08:05:32.1707003Z [gw2] linux -- Python 3.9.19 /usr/bin/python
2024-12-02T08:05:32.1707297Z self = <azure.cli.testsdk.base.ExecutionResult object at 0xffff97fbf610>
2024-12-02T08:05:32.1707582Z cli_ctx = <azure.cli.core.mock.DummyCli object at 0xffff9c534a00>
2024-12-02T08:05:32.1707876Z command = 'cdn profile-migration abort -g cli-test-rg --profile-name cli-test-profile'
2024-12-02T08:05:32.1708145Z expect_failure = False
2024-12-02T08:05:32.1708237Z 
2024-12-02T08:05:32.1708464Z     def _in_process_execute(self, cli_ctx, command, expect_failure=False):
2024-12-02T08:05:32.1708713Z         from io import StringIO
2024-12-02T08:05:32.1708964Z         from vcr.errors import CannotOverwriteExistingCassetteException
2024-12-02T08:05:32.1709188Z     
2024-12-02T08:05:32.1709394Z         if command.startswith('az '):
2024-12-02T08:05:32.1709607Z             command = command[3:]
2024-12-02T08:05:32.1709794Z     
2024-12-02T08:05:32.1709982Z         stdout_buf = StringIO()
2024-12-02T08:05:32.1710193Z         logging_buf = StringIO()
2024-12-02T08:05:32.1710393Z         try:
2024-12-02T08:05:32.1710643Z             # issue: stderr cannot be redirect in this form, as a result some failure information
2024-12-02T08:05:32.1710909Z             # is lost when command fails.
2024-12-02T08:05:32.1711169Z >           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
2024-12-02T08:05:32.1711300Z 
2024-12-02T08:05:32.1711526Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/base.py:302: 
2024-12-02T08:05:32.1711793Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T08:05:32.1712066Z /usr/lib64/az/lib/python3.9/site-packages/knack/cli.py:245: in invoke
2024-12-02T08:05:32.1712322Z     exit_code = self.exception_handler(ex)
2024-12-02T08:05:32.1712742Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/__init__.py:129: in exception_handler
2024-12-02T08:05:32.1713010Z     return handle_exception(ex)
2024-12-02T08:05:32.1713243Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T08:05:32.1713352Z 
2024-12-02T08:05:32.1713583Z ex = TypeError('super(type, obj): obj must be an instance or subtype of type')
2024-12-02T08:05:32.1713834Z args = (), kwargs = {}
2024-12-02T08:05:32.1713914Z 
2024-12-02T08:05:32.1714149Z     def _handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
2024-12-02T08:05:32.1714708Z         if isinstance(ex, CannotOverwriteExistingCassetteException):
2024-12-02T08:05:32.1715003Z             # This exception usually caused by a no match HTTP request. This is a product error
2024-12-02T08:05:32.1715270Z             # that is caused by change of SDK invocation.
2024-12-02T08:05:32.1715486Z             raise ex
2024-12-02T08:05:32.1715663Z     
2024-12-02T08:05:32.1715854Z >       raise CliExecutionError(ex)
2024-12-02T08:05:32.1716150Z E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.
2024-12-02T08:05:32.1716321Z 
2024-12-02T08:05:32.1716726Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/patches.py:35: CliExecutionError
2024-12-02T08:05:32.1716861Z 
2024-12-02T08:05:32.1717082Z During handling of the above exception, another exception occurred:
2024-12-02T08:05:32.1717206Z 
2024-12-02T08:05:32.1717489Z self = <command_modules.cdn.tests.latest.test_classic_cdn_to_afd.ClassicCdnMigration testMethod=test_classic_cdn_migration_with_endpoint>
2024-12-02T08:05:32.1717672Z 
2024-12-02T08:05:32.1717884Z     def test_classic_cdn_migration_with_endpoint(self):
2024-12-02T08:05:32.1718120Z         resource_group = "cli-test-rg"
2024-12-02T08:05:32.1718341Z         profile_name = "cli-test-profile"
2024-12-02T08:05:32.1718575Z         checks = [JMESPathCheck('canMigrate', True),
2024-12-02T08:05:32.1718826Z                   JMESPathCheck('type', 'Microsoft.Cdn/canmigrate')]
2024-12-02T08:05:32.1719101Z         self.cdn_can_migrate_to_afd(resource_group, profile_name, checks=checks)
2024-12-02T08:05:32.1719334Z     
2024-12-02T08:05:32.1719627Z         maps = "[{{migrated-from:maxtestendpointcli-test-profile1.azureedge.net,migrated-to:maxtestendpointcli-test-profile2}}]"
2024-12-02T08:05:32.1719983Z         self.cdn_migrate_to_afd(resource_group, profile_name, "Premium_AzureFrontDoor", maps)
2024-12-02T08:05:32.1720267Z >       self.cdn_migration_abort(resource_group, profile_name)
2024-12-02T08:05:32.1720388Z 
2024-12-02T08:05:32.1720655Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/cdn/tests/latest/test_classic_cdn_to_afd.py:67: 
2024-12-02T08:05:32.1720959Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T08:05:32.1721279Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/cdn/tests/latest/scenario_mixin.py:430: in cdn_migration_abort
2024-12-02T08:05:32.1721581Z     return self.cmd(command, checks)
2024-12-02T08:05:32.1721853Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/base.py:176: in cmd
2024-12-02T08:05:32.1722171Z     return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
2024-12-02T08:05:32.1722495Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/base.py:251: in __init__
2024-12-02T08:05:32.1722803Z     self._in_process_execute(cli_ctx, command, expect_failure=expect_failure)
2024-12-02T08:05:32.1723121Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/base.py:314: in _in_process_execute
2024-12-02T08:05:32.1723384Z     raise ex.exception
2024-12-02T08:05:32.1723639Z /usr/lib64/az/lib/python3.9/site-packages/knack/cli.py:233: in invoke
2024-12-02T08:05:32.1724157Z     cmd_result = self.invocation.execute(args)
2024-12-02T08:05:32.1724457Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py:666: in execute
2024-12-02T08:05:32.1724757Z     raise ex
2024-12-02T08:05:32.1725029Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py:734: in _run_jobs_serially
2024-12-02T08:05:32.1725336Z     results.append(self._run_job(expanded_arg, cmd_copy))
2024-12-02T08:05:32.1725643Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py:714: in _run_job
2024-12-02T08:05:32.1725964Z     result = LongRunningOperation(cmd_copy.cli_ctx, 'Starting {}'.format(cmd_copy.name))(result)
2024-12-02T08:05:32.1726290Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py:1063: in __call__
2024-12-02T08:05:32.1726748Z     result = poller.result()
2024-12-02T08:05:32.1727016Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_poller.py:108: in result
2024-12-02T08:05:32.1727275Z     self.wait(timeout)
2024-12-02T08:05:32.1727559Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/tracing/decorator.py:94: in wrapper_use_tracer
2024-12-02T08:05:32.1727832Z     return func(*args, **kwargs)
2024-12-02T08:05:32.1728096Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_poller.py:130: in wait
2024-12-02T08:05:32.1728351Z     raise self._exception
2024-12-02T08:05:32.1728769Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_poller.py:83: in _start
2024-12-02T08:05:32.1729051Z     for polling_method in self._polling_generator:
2024-12-02T08:05:32.1729380Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/cdn/aaz/latest/cdn/profile_migration/_abort.py:64: in _execute_operations
2024-12-02T08:05:32.1729709Z     yield self.ProfilesMigrationAbort(ctx=self.ctx)()
2024-12-02T08:05:32.1730024Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/cdn/aaz/latest/cdn/profile_migration/_abort.py:80: in __call__
2024-12-02T08:05:32.1730358Z     session = self.client.send_request(request=request, stream=False, **kwargs)
2024-12-02T08:05:32.1730667Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_client.py:105: in send_request
2024-12-02T08:05:32.1730969Z     session = self._pipeline.run(request, stream=stream, **kwargs)
2024-12-02T08:05:32.1731260Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:229: in run
2024-12-02T08:05:32.1731536Z     return first_node.send(pipeline_request)
2024-12-02T08:05:32.1731816Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1732083Z     response = self.next.send(request)
2024-12-02T08:05:32.1732359Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1732638Z     response = self.next.send(request)
2024-12-02T08:05:32.1732913Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1733177Z     response = self.next.send(request)
2024-12-02T08:05:32.1733444Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1733777Z     response = self.next.send(request)
2024-12-02T08:05:32.1734059Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1734334Z     response = self.next.send(request)
2024-12-02T08:05:32.1734606Z /usr/lib64/az/lib/python3.9/site-packages/azure/mgmt/core/policies/_base.py:47: in send
2024-12-02T08:05:32.1734880Z     response = self.next.send(request)
2024-12-02T08:05:32.1735159Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/policies/_redirect.py:197: in send
2024-12-02T08:05:32.1735434Z     response = self.next.send(request)
2024-12-02T08:05:32.1735717Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/policies/_retry.py:532: in send
2024-12-02T08:05:32.1736004Z     response = self.next.send(request)
2024-12-02T08:05:32.1736281Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_http_policy.py:112: in send
2024-12-02T08:05:32.1736554Z     response = self.next.send(request)
2024-12-02T08:05:32.1736821Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1737084Z     response = self.next.send(request)
2024-12-02T08:05:32.1737347Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1737613Z     response = self.next.send(request)
2024-12-02T08:05:32.1738455Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1738881Z     response = self.next.send(request)
2024-12-02T08:05:32.1739152Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1739612Z     response = self.next.send(request)
2024-12-02T08:05:32.1739887Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1740156Z     response = self.next.send(request)
2024-12-02T08:05:32.1740425Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:118: in send
2024-12-02T08:05:32.1740716Z     self._sender.send(request.http_request, **request.context.options),
2024-12-02T08:05:32.1741033Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/transport/_requests_basic.py:355: in send
2024-12-02T08:05:32.1741329Z     response = self.session.request(  # type: ignore
2024-12-02T08:05:32.1741732Z /usr/lib64/az/lib/python3.9/site-packages/requests/sessions.py:589: in request
2024-12-02T08:05:32.1742007Z     resp = self.send(prep, **send_kwargs)
2024-12-02T08:05:32.1742274Z /usr/lib64/az/lib/python3.9/site-packages/requests/sessions.py:703: in send
2024-12-02T08:05:32.1742536Z     r = adapter.send(request, **kwargs)
2024-12-02T08:05:32.1742804Z /usr/lib64/az/lib/python3.9/site-packages/requests/adapters.py:667: in send
2024-12-02T08:05:32.1743054Z     resp = conn.urlopen(
2024-12-02T08:05:32.1743314Z /usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py:716: in urlopen
2024-12-02T08:05:32.1743599Z     httplib_response = self._make_request(
2024-12-02T08:05:32.1743883Z /usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py:416: in _make_request
2024-12-02T08:05:32.1744168Z     conn.request(method, url, **httplib_request_kw)
2024-12-02T08:05:32.1744419Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T08:05:32.1744521Z 
2024-12-02T08:05:32.1744755Z self = <urllib3.connection.HTTPSConnection object at 0xffff976d2160>
2024-12-02T08:05:32.1744989Z method = 'POST'
2024-12-02T08:05:32.1745314Z url = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-test-rg/providers/Microsoft.Cdn/profiles/cli-test-profile/migrationAbort?api-version=2024-09-01'
2024-12-02T08:05:32.1745623Z body = None
2024-12-02T08:05:32.1746001Z headers = {'User-Agent': 'AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.19 (Linux-5.15.0-1074-azure-aarch64-with-glibc2.35...t', 'ParameterSetName': '-g --profile-name', 'Authorization': 'Bearer top-secret-token-for-you', 'Content-Length': '0'}
2024-12-02T08:05:32.1746284Z 
2024-12-02T08:05:32.1746499Z     def request(self, method, url, body=None, headers=None):
2024-12-02T08:05:32.1746760Z         # Update the inner socket's timeout value to send the request.
2024-12-02T08:05:32.1747013Z         # This only triggers if the connection is re-used.
2024-12-02T08:05:32.1747255Z         if getattr(self, "sock", None) is not None:
2024-12-02T08:05:32.1747498Z             self.sock.settimeout(self.timeout)
2024-12-02T08:05:32.1747696Z     
2024-12-02T08:05:32.1747881Z         if headers is None:
2024-12-02T08:05:32.1748077Z             headers = {}
2024-12-02T08:05:32.1748259Z         else:
2024-12-02T08:05:32.1748481Z             # Avoid modifying the headers passed into .request()
2024-12-02T08:05:32.1748711Z             headers = headers.copy()
2024-12-02T08:05:32.1748961Z         if "user-agent" not in (six.ensure_str(k.lower()) for k in headers):
2024-12-02T08:05:32.1749225Z             headers["User-Agent"] = _get_default_user_agent()
2024-12-02T08:05:32.1749494Z >       super(HTTPConnection, self).request(method, url, body=body, headers=headers)
2024-12-02T08:05:32.1749781Z E       TypeError: super(type, obj): obj must be an instance or subtype of type
2024-12-02T08:05:32.1749905Z 
2024-12-02T08:05:32.1750225Z /usr/lib64/az/lib/python3.9/site-packages/urllib3/connection.py:244: TypeError
2024-12-02T08:05:32.1750527Z ----------------------------- Captured stderr call -----------------------------
2024-12-02T08:05:32.1750848Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T08:05:32.1751191Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T08:05:32.1751713Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T08:05:32.1752033Z -------------- generated xml file: /azure_cli_test_result/cdn.xml --------------
2024-12-02T08:05:32.1752328Z =========================== short test summary info ============================
2024-12-02T08:05:32.1752667Z FAILED tests/latest/test_classic_cdn_to_afd.py::ClassicCdnMigration::test_classic_cdn_migration_with_endpoint

Ref:
https://dev.azure.com/azclitools/public/_build/results?buildId=209202&view=logs&jobId=788bfeb8-6c0f-5544-4e87-f6639738ee28&j=788bfeb8-6c0f-5544-4e87-f6639738ee28&t=9eb1d89a-c9da-5ad8-571d-2d09b1c8859f
https://dev.azure.com/azclitools/public/_build/results?buildId=209158&view=logs&jobId=e370a21e-a292-5f80-287a-98b7fa1bc05c&j=e370a21e-a292-5f80-287a-98b7fa1bc05c&t=bac53bd9-b4f4-571d-891c-a634f8700607

@necusjz
Copy link
Member

necusjz commented Dec 9, 2024

test_classic_cdn_migration_abort and test_classic_cdn_migration_with_endpoint fail.

@necusjz @Ptnan7 for awareness.

For TypeError: super(type, obj): obj must be an instance or subtype of type, it might be related to #28678.

For The subscription '00000000-0000-0000-0000-000000000000' could not be found, it might be a misuse of LRO? See #30164

2024-12-02T10:07:03.4592454Z >       self.cdn_migration_abort(resource_group, profile_name)
2024-12-02T10:07:03.4592574Z 
2024-12-02T10:07:03.4592847Z /opt/az/lib/python3.12/site-packages/azure/cli/command_modules/cdn/tests/latest/test_classic_cdn_to_afd.py:54: 
2024-12-02T10:07:03.4593153Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T10:07:03.4593471Z /opt/az/lib/python3.12/site-packages/azure/cli/command_modules/cdn/tests/latest/scenario_mixin.py:430: in cdn_migration_abort
2024-12-02T10:07:03.4593771Z     return self.cmd(command, checks)
2024-12-02T10:07:03.4594033Z /opt/az/lib/python3.12/site-packages/azure/cli/testsdk/base.py:176: in cmd
2024-12-02T10:07:03.4594358Z     return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
2024-12-02T10:07:03.4594675Z /opt/az/lib/python3.12/site-packages/azure/cli/testsdk/base.py:251: in __init__
2024-12-02T10:07:03.4594973Z     self._in_process_execute(cli_ctx, command, expect_failure=expect_failure)
2024-12-02T10:07:03.4595282Z /opt/az/lib/python3.12/site-packages/azure/cli/testsdk/base.py:314: in _in_process_execute
2024-12-02T10:07:03.4595546Z     raise ex.exception
2024-12-02T10:07:03.4595788Z /opt/az/lib/python3.12/site-packages/knack/cli.py:233: in invoke
2024-12-02T10:07:03.4596059Z     cmd_result = self.invocation.execute(args)
2024-12-02T10:07:03.4596344Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:666: in execute
2024-12-02T10:07:03.4596594Z     raise ex
2024-12-02T10:07:03.4596858Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:734: in _run_jobs_serially
2024-12-02T10:07:03.4597162Z     results.append(self._run_job(expanded_arg, cmd_copy))
2024-12-02T10:07:03.4597454Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:714: in _run_job
2024-12-02T10:07:03.4597780Z     result = LongRunningOperation(cmd_copy.cli_ctx, 'Starting {}'.format(cmd_copy.name))(result)
2024-12-02T10:07:03.4598098Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:1076: in __call__
2024-12-02T10:07:03.4598354Z     raise exception
2024-12-02T10:07:03.4598617Z /opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py:1063: in __call__
2024-12-02T10:07:03.4598880Z     result = poller.result()
2024-12-02T10:07:03.4599140Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:108: in result
2024-12-02T10:07:03.4599412Z     self.wait(timeout)
2024-12-02T10:07:03.4599683Z /opt/az/lib/python3.12/site-packages/azure/core/tracing/decorator.py:94: in wrapper_use_tracer
2024-12-02T10:07:03.4600099Z     return func(*args, **kwargs)
2024-12-02T10:07:03.4600376Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:130: in wait
2024-12-02T10:07:03.4600634Z     raise self._exception
2024-12-02T10:07:03.4600894Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:94: in _start
2024-12-02T10:07:03.4601148Z     raise error
2024-12-02T10:07:03.4601403Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:86: in _start
2024-12-02T10:07:03.4601660Z     self._polling_method.run()
2024-12-02T10:07:03.4601922Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_poller.py:50: in run
2024-12-02T10:07:03.4602454Z     self._http_response_error_callback(err.response)
2024-12-02T10:07:03.4602729Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T10:07:03.4602990Z 
2024-12-02T10:07:03.4603293Z self = <azure.cli.command_modules.cdn.aaz.latest.cdn.profile_migration._abort.Abort.ProfilesMigrationAbort object at 0xffffabd39250>
2024-12-02T10:07:03.4603657Z response = <RequestsTransportResponse: 404 Not Found, Content-Type: application/json; charset=utf-8>
2024-12-02T10:07:03.4603806Z 
2024-12-02T10:07:03.4604007Z     def on_error(self, response):
2024-12-02T10:07:03.4604228Z         """ handle errors in response
2024-12-02T10:07:03.4604426Z         """
2024-12-02T10:07:03.4604620Z         # raise common http errors
2024-12-02T10:07:03.4604945Z         error_type = self.error_map.get(response.status_code)
2024-12-02T10:07:03.4605185Z         if error_type:
2024-12-02T10:07:03.4605403Z >           raise error_type(response=response)
2024-12-02T10:07:03.4605728Z E           azure.core.exceptions.ResourceNotFoundError: (SubscriptionNotFound) The subscription '00000000-0000-0000-0000-000000000000' could not be found.
2024-12-02T10:07:03.4606045Z E           Code: SubscriptionNotFound
2024-12-02T10:07:03.4606315Z E           Message: The subscription '00000000-0000-0000-0000-000000000000' could not be found.
2024-12-02T10:07:03.4606457Z 
2024-12-02T10:07:03.4606718Z /opt/az/lib/python3.12/site-packages/azure/cli/core/aaz/_operation.py:329: ResourceNotFoundError
2024-12-02T10:07:03.4607031Z ----------------------------- Captured stderr call -----------------------------
2024-12-02T10:07:03.4607358Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T10:07:03.4607706Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T10:07:03.4608059Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T10:07:03.4608382Z -------------- generated xml file: /azure_cli_test_result/cdn.xml --------------
2024-12-02T10:07:03.4608685Z =========================== short test summary info ============================
2024-12-02T10:07:03.4609018Z FAILED tests/latest/test_classic_cdn_to_afd.py::ClassicCdnMigration::test_classic_cdn_migration_abort
2024-12-02T10:07:03.4609352Z ========================= 1 failed, 40 passed in 9.97s =========================
2024-12-02T08:05:32.1707003Z [gw2] linux -- Python 3.9.19 /usr/bin/python
2024-12-02T08:05:32.1707297Z self = <azure.cli.testsdk.base.ExecutionResult object at 0xffff97fbf610>
2024-12-02T08:05:32.1707582Z cli_ctx = <azure.cli.core.mock.DummyCli object at 0xffff9c534a00>
2024-12-02T08:05:32.1707876Z command = 'cdn profile-migration abort -g cli-test-rg --profile-name cli-test-profile'
2024-12-02T08:05:32.1708145Z expect_failure = False
2024-12-02T08:05:32.1708237Z 
2024-12-02T08:05:32.1708464Z     def _in_process_execute(self, cli_ctx, command, expect_failure=False):
2024-12-02T08:05:32.1708713Z         from io import StringIO
2024-12-02T08:05:32.1708964Z         from vcr.errors import CannotOverwriteExistingCassetteException
2024-12-02T08:05:32.1709188Z     
2024-12-02T08:05:32.1709394Z         if command.startswith('az '):
2024-12-02T08:05:32.1709607Z             command = command[3:]
2024-12-02T08:05:32.1709794Z     
2024-12-02T08:05:32.1709982Z         stdout_buf = StringIO()
2024-12-02T08:05:32.1710193Z         logging_buf = StringIO()
2024-12-02T08:05:32.1710393Z         try:
2024-12-02T08:05:32.1710643Z             # issue: stderr cannot be redirect in this form, as a result some failure information
2024-12-02T08:05:32.1710909Z             # is lost when command fails.
2024-12-02T08:05:32.1711169Z >           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
2024-12-02T08:05:32.1711300Z 
2024-12-02T08:05:32.1711526Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/base.py:302: 
2024-12-02T08:05:32.1711793Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T08:05:32.1712066Z /usr/lib64/az/lib/python3.9/site-packages/knack/cli.py:245: in invoke
2024-12-02T08:05:32.1712322Z     exit_code = self.exception_handler(ex)
2024-12-02T08:05:32.1712742Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/__init__.py:129: in exception_handler
2024-12-02T08:05:32.1713010Z     return handle_exception(ex)
2024-12-02T08:05:32.1713243Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T08:05:32.1713352Z 
2024-12-02T08:05:32.1713583Z ex = TypeError('super(type, obj): obj must be an instance or subtype of type')
2024-12-02T08:05:32.1713834Z args = (), kwargs = {}
2024-12-02T08:05:32.1713914Z 
2024-12-02T08:05:32.1714149Z     def _handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
2024-12-02T08:05:32.1714708Z         if isinstance(ex, CannotOverwriteExistingCassetteException):
2024-12-02T08:05:32.1715003Z             # This exception usually caused by a no match HTTP request. This is a product error
2024-12-02T08:05:32.1715270Z             # that is caused by change of SDK invocation.
2024-12-02T08:05:32.1715486Z             raise ex
2024-12-02T08:05:32.1715663Z     
2024-12-02T08:05:32.1715854Z >       raise CliExecutionError(ex)
2024-12-02T08:05:32.1716150Z E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.
2024-12-02T08:05:32.1716321Z 
2024-12-02T08:05:32.1716726Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/patches.py:35: CliExecutionError
2024-12-02T08:05:32.1716861Z 
2024-12-02T08:05:32.1717082Z During handling of the above exception, another exception occurred:
2024-12-02T08:05:32.1717206Z 
2024-12-02T08:05:32.1717489Z self = <command_modules.cdn.tests.latest.test_classic_cdn_to_afd.ClassicCdnMigration testMethod=test_classic_cdn_migration_with_endpoint>
2024-12-02T08:05:32.1717672Z 
2024-12-02T08:05:32.1717884Z     def test_classic_cdn_migration_with_endpoint(self):
2024-12-02T08:05:32.1718120Z         resource_group = "cli-test-rg"
2024-12-02T08:05:32.1718341Z         profile_name = "cli-test-profile"
2024-12-02T08:05:32.1718575Z         checks = [JMESPathCheck('canMigrate', True),
2024-12-02T08:05:32.1718826Z                   JMESPathCheck('type', 'Microsoft.Cdn/canmigrate')]
2024-12-02T08:05:32.1719101Z         self.cdn_can_migrate_to_afd(resource_group, profile_name, checks=checks)
2024-12-02T08:05:32.1719334Z     
2024-12-02T08:05:32.1719627Z         maps = "[{{migrated-from:maxtestendpointcli-test-profile1.azureedge.net,migrated-to:maxtestendpointcli-test-profile2}}]"
2024-12-02T08:05:32.1719983Z         self.cdn_migrate_to_afd(resource_group, profile_name, "Premium_AzureFrontDoor", maps)
2024-12-02T08:05:32.1720267Z >       self.cdn_migration_abort(resource_group, profile_name)
2024-12-02T08:05:32.1720388Z 
2024-12-02T08:05:32.1720655Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/cdn/tests/latest/test_classic_cdn_to_afd.py:67: 
2024-12-02T08:05:32.1720959Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T08:05:32.1721279Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/cdn/tests/latest/scenario_mixin.py:430: in cdn_migration_abort
2024-12-02T08:05:32.1721581Z     return self.cmd(command, checks)
2024-12-02T08:05:32.1721853Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/base.py:176: in cmd
2024-12-02T08:05:32.1722171Z     return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
2024-12-02T08:05:32.1722495Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/base.py:251: in __init__
2024-12-02T08:05:32.1722803Z     self._in_process_execute(cli_ctx, command, expect_failure=expect_failure)
2024-12-02T08:05:32.1723121Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/testsdk/base.py:314: in _in_process_execute
2024-12-02T08:05:32.1723384Z     raise ex.exception
2024-12-02T08:05:32.1723639Z /usr/lib64/az/lib/python3.9/site-packages/knack/cli.py:233: in invoke
2024-12-02T08:05:32.1724157Z     cmd_result = self.invocation.execute(args)
2024-12-02T08:05:32.1724457Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py:666: in execute
2024-12-02T08:05:32.1724757Z     raise ex
2024-12-02T08:05:32.1725029Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py:734: in _run_jobs_serially
2024-12-02T08:05:32.1725336Z     results.append(self._run_job(expanded_arg, cmd_copy))
2024-12-02T08:05:32.1725643Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py:714: in _run_job
2024-12-02T08:05:32.1725964Z     result = LongRunningOperation(cmd_copy.cli_ctx, 'Starting {}'.format(cmd_copy.name))(result)
2024-12-02T08:05:32.1726290Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py:1063: in __call__
2024-12-02T08:05:32.1726748Z     result = poller.result()
2024-12-02T08:05:32.1727016Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_poller.py:108: in result
2024-12-02T08:05:32.1727275Z     self.wait(timeout)
2024-12-02T08:05:32.1727559Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/tracing/decorator.py:94: in wrapper_use_tracer
2024-12-02T08:05:32.1727832Z     return func(*args, **kwargs)
2024-12-02T08:05:32.1728096Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_poller.py:130: in wait
2024-12-02T08:05:32.1728351Z     raise self._exception
2024-12-02T08:05:32.1728769Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_poller.py:83: in _start
2024-12-02T08:05:32.1729051Z     for polling_method in self._polling_generator:
2024-12-02T08:05:32.1729380Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/cdn/aaz/latest/cdn/profile_migration/_abort.py:64: in _execute_operations
2024-12-02T08:05:32.1729709Z     yield self.ProfilesMigrationAbort(ctx=self.ctx)()
2024-12-02T08:05:32.1730024Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/cdn/aaz/latest/cdn/profile_migration/_abort.py:80: in __call__
2024-12-02T08:05:32.1730358Z     session = self.client.send_request(request=request, stream=False, **kwargs)
2024-12-02T08:05:32.1730667Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_client.py:105: in send_request
2024-12-02T08:05:32.1730969Z     session = self._pipeline.run(request, stream=stream, **kwargs)
2024-12-02T08:05:32.1731260Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:229: in run
2024-12-02T08:05:32.1731536Z     return first_node.send(pipeline_request)
2024-12-02T08:05:32.1731816Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1732083Z     response = self.next.send(request)
2024-12-02T08:05:32.1732359Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1732638Z     response = self.next.send(request)
2024-12-02T08:05:32.1732913Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1733177Z     response = self.next.send(request)
2024-12-02T08:05:32.1733444Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1733777Z     response = self.next.send(request)
2024-12-02T08:05:32.1734059Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1734334Z     response = self.next.send(request)
2024-12-02T08:05:32.1734606Z /usr/lib64/az/lib/python3.9/site-packages/azure/mgmt/core/policies/_base.py:47: in send
2024-12-02T08:05:32.1734880Z     response = self.next.send(request)
2024-12-02T08:05:32.1735159Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/policies/_redirect.py:197: in send
2024-12-02T08:05:32.1735434Z     response = self.next.send(request)
2024-12-02T08:05:32.1735717Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/policies/_retry.py:532: in send
2024-12-02T08:05:32.1736004Z     response = self.next.send(request)
2024-12-02T08:05:32.1736281Z /usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/aaz/_http_policy.py:112: in send
2024-12-02T08:05:32.1736554Z     response = self.next.send(request)
2024-12-02T08:05:32.1736821Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1737084Z     response = self.next.send(request)
2024-12-02T08:05:32.1737347Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1737613Z     response = self.next.send(request)
2024-12-02T08:05:32.1738455Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1738881Z     response = self.next.send(request)
2024-12-02T08:05:32.1739152Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1739612Z     response = self.next.send(request)
2024-12-02T08:05:32.1739887Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:86: in send
2024-12-02T08:05:32.1740156Z     response = self.next.send(request)
2024-12-02T08:05:32.1740425Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/_base.py:118: in send
2024-12-02T08:05:32.1740716Z     self._sender.send(request.http_request, **request.context.options),
2024-12-02T08:05:32.1741033Z /usr/lib64/az/lib/python3.9/site-packages/azure/core/pipeline/transport/_requests_basic.py:355: in send
2024-12-02T08:05:32.1741329Z     response = self.session.request(  # type: ignore
2024-12-02T08:05:32.1741732Z /usr/lib64/az/lib/python3.9/site-packages/requests/sessions.py:589: in request
2024-12-02T08:05:32.1742007Z     resp = self.send(prep, **send_kwargs)
2024-12-02T08:05:32.1742274Z /usr/lib64/az/lib/python3.9/site-packages/requests/sessions.py:703: in send
2024-12-02T08:05:32.1742536Z     r = adapter.send(request, **kwargs)
2024-12-02T08:05:32.1742804Z /usr/lib64/az/lib/python3.9/site-packages/requests/adapters.py:667: in send
2024-12-02T08:05:32.1743054Z     resp = conn.urlopen(
2024-12-02T08:05:32.1743314Z /usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py:716: in urlopen
2024-12-02T08:05:32.1743599Z     httplib_response = self._make_request(
2024-12-02T08:05:32.1743883Z /usr/lib64/az/lib/python3.9/site-packages/urllib3/connectionpool.py:416: in _make_request
2024-12-02T08:05:32.1744168Z     conn.request(method, url, **httplib_request_kw)
2024-12-02T08:05:32.1744419Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2024-12-02T08:05:32.1744521Z 
2024-12-02T08:05:32.1744755Z self = <urllib3.connection.HTTPSConnection object at 0xffff976d2160>
2024-12-02T08:05:32.1744989Z method = 'POST'
2024-12-02T08:05:32.1745314Z url = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-test-rg/providers/Microsoft.Cdn/profiles/cli-test-profile/migrationAbort?api-version=2024-09-01'
2024-12-02T08:05:32.1745623Z body = None
2024-12-02T08:05:32.1746001Z headers = {'User-Agent': 'AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.9.19 (Linux-5.15.0-1074-azure-aarch64-with-glibc2.35...t', 'ParameterSetName': '-g --profile-name', 'Authorization': 'Bearer top-secret-token-for-you', 'Content-Length': '0'}
2024-12-02T08:05:32.1746284Z 
2024-12-02T08:05:32.1746499Z     def request(self, method, url, body=None, headers=None):
2024-12-02T08:05:32.1746760Z         # Update the inner socket's timeout value to send the request.
2024-12-02T08:05:32.1747013Z         # This only triggers if the connection is re-used.
2024-12-02T08:05:32.1747255Z         if getattr(self, "sock", None) is not None:
2024-12-02T08:05:32.1747498Z             self.sock.settimeout(self.timeout)
2024-12-02T08:05:32.1747696Z     
2024-12-02T08:05:32.1747881Z         if headers is None:
2024-12-02T08:05:32.1748077Z             headers = {}
2024-12-02T08:05:32.1748259Z         else:
2024-12-02T08:05:32.1748481Z             # Avoid modifying the headers passed into .request()
2024-12-02T08:05:32.1748711Z             headers = headers.copy()
2024-12-02T08:05:32.1748961Z         if "user-agent" not in (six.ensure_str(k.lower()) for k in headers):
2024-12-02T08:05:32.1749225Z             headers["User-Agent"] = _get_default_user_agent()
2024-12-02T08:05:32.1749494Z >       super(HTTPConnection, self).request(method, url, body=body, headers=headers)
2024-12-02T08:05:32.1749781Z E       TypeError: super(type, obj): obj must be an instance or subtype of type
2024-12-02T08:05:32.1749905Z 
2024-12-02T08:05:32.1750225Z /usr/lib64/az/lib/python3.9/site-packages/urllib3/connection.py:244: TypeError
2024-12-02T08:05:32.1750527Z ----------------------------- Captured stderr call -----------------------------
2024-12-02T08:05:32.1750848Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T08:05:32.1751191Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T08:05:32.1751713Z WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
2024-12-02T08:05:32.1752033Z -------------- generated xml file: /azure_cli_test_result/cdn.xml --------------
2024-12-02T08:05:32.1752328Z =========================== short test summary info ============================
2024-12-02T08:05:32.1752667Z FAILED tests/latest/test_classic_cdn_to_afd.py::ClassicCdnMigration::test_classic_cdn_migration_with_endpoint

Ref: https://dev.azure.com/azclitools/public/_build/results?buildId=209202&view=logs&jobId=788bfeb8-6c0f-5544-4e87-f6639738ee28&j=788bfeb8-6c0f-5544-4e87-f6639738ee28&t=9eb1d89a-c9da-5ad8-571d-2d09b1c8859f https://dev.azure.com/azclitools/public/_build/results?buildId=209158&view=logs&jobId=e370a21e-a292-5f80-287a-98b7fa1bc05c&j=e370a21e-a292-5f80-287a-98b7fa1bc05c&t=bac53bd9-b4f4-571d-891c-a634f8700607

#30492 resolves it

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 Network - CDN az cdn Network az network vnet/lb/nic/dns/etc...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants