{LTS} Backport #31895: Support Python 3.13#32349
Build #20251124.20 had test failures
Details
- Failed: 429 (3.64%)
- Passed: 9,963 (84.63%)
- Other: 1,380 (11.72%)
- Total: 11,772
Annotations
Check failure on line 2401 in Build log
azure-pipelines / Azure.azure-cli Full Test
Build log #L2401
Bash exited with code '1'.
Check failure on line 3089 in Build log
azure-pipelines / Azure.azure-cli Full Test
Build log #L3089
Bash exited with code '1'.
Check failure on line 25041 in Build log
azure-pipelines / Azure.azure-cli Full Test
Build log #L25041
Bash exited with code '1'.
Check failure on line 2464 in Build log
azure-pipelines / Azure.azure-cli Full Test
Build log #L2464
Bash exited with code '1'.
Check failure on line 1 in test_create_cluster_with_separate_kv
azure-pipelines / Azure.azure-cli Full Test
test_create_cluster_with_separate_kv
self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f7774299160>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f77768f6710>
command = 'keyvault certificate create --vault-name sfrp-cli-kv-000002 -n sfrp-cli-000003 -p @"/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/policy.json"'
expect_failure = False
def _in_process_execute(self, cli_ctx, command, expect_failure=False):
from io import StringIO
from vcr.errors import CannotOverwriteExistingCassetteException
if command.startswith('az '):
command = command[3:]
stdout_buf = StringIO()
logging_buf = StringIO()
try:
# issue: stderr cannot be redirect in this form, as a result some failure information
# is lost when command fails.
> self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
exit_code = self.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/__init__.py:129: in exception_handler
return handle_exception(ex)
^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ex = ImportError('/mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg')
args = (), kwargs = {}
def _handle_main_exception(ex, *args, **kwargs): # pylint: disable=unused-argument
if isinstance(ex, CannotOverwriteExistingCassetteException):
# This exception usually caused by a no match HTTP request. This is a product error
# that is caused by change of SDK invocation.
raise ex
> raise CliExecutionError(ex)
E azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception ImportError during execution and fails the command.
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError
During handling of the above exception, another exception occurred:
self = <azure.cli.command_modules.servicefabric.tests.latest.test_sf_cluster.ServiceFabricClusterTests testMethod=test_create_cluster_with_separate_kv>
key_vault = 'sfrp-cli-kv-000002', resource_group = 'clitest.rg000001'
@ResourceGroupPreparer()
@KeyVaultPreparer(name_prefix='sfrp-cli-kv-', additional_params='--enabled-for-deployment --enabled-for-template-deployment')
def test_create_cluster_with_separate_kv(self, key_vault, resource_group):
self.kwargs.update({
'kv_name': key_vault,
'loc': 'westus',
'cert_name': self.create_random_name('sfrp-cli-', 24),
'cluster_name': self.create_random_name('sfrp-cli-', 24),
'vm_password': "Pass123!@#",
'policy_path': os.path.join(TEST_DIR, 'policy.json')
})
> _create_cluster_with_separate_kv(self, self.kwargs)
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_sf_cluster.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py:29: in _create_cluster_with_separate_kv
cert = _add_selfsigned_cert_to_keyvault(test, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py:18: in _add_selfsigned_cert_to_keyvault
test.cmd('keyvault certificate create --vault-name {kv_name} -n {cert_name} -p @"{policy_path}"')
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_che
Raw output
self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f7774299160>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f77768f6710>
command = 'keyvault certificate create --vault-name sfrp-cli-kv-000002 -n sfrp-cli-000003 -p @"/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/policy.json"'
expect_failure = False
def _in_process_execute(self, cli_ctx, command, expect_failure=False):
from io import StringIO
from vcr.errors import CannotOverwriteExistingCassetteException
if command.startswith('az '):
command = command[3:]
stdout_buf = StringIO()
logging_buf = StringIO()
try:
# issue: stderr cannot be redirect in this form, as a result some failure information
# is lost when command fails.
> self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
exit_code = self.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/__init__.py:129: in exception_handler
return handle_exception(ex)
^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ex = ImportError('/mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg')
args = (), kwargs = {}
def _handle_main_exception(ex, *args, **kwargs): # pylint: disable=unused-argument
if isinstance(ex, CannotOverwriteExistingCassetteException):
# This exception usually caused by a no match HTTP request. This is a product error
# that is caused by change of SDK invocation.
raise ex
> raise CliExecutionError(ex)
E azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception ImportError during execution and fails the command.
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError
During handling of the above exception, another exception occurred:
self = <azure.cli.command_modules.servicefabric.tests.latest.test_sf_cluster.ServiceFabricClusterTests testMethod=test_create_cluster_with_separate_kv>
key_vault = 'sfrp-cli-kv-000002', resource_group = 'clitest.rg000001'
@ResourceGroupPreparer()
@KeyVaultPreparer(name_prefix='sfrp-cli-kv-', additional_params='--enabled-for-deployment --enabled-for-template-deployment')
def test_create_cluster_with_separate_kv(self, key_vault, resource_group):
self.kwargs.update({
'kv_name': key_vault,
'loc': 'westus',
'cert_name': self.create_random_name('sfrp-cli-', 24),
'cluster_name': self.create_random_name('sfrp-cli-', 24),
'vm_password': "Pass123!@#",
'policy_path': os.path.join(TEST_DIR, 'policy.json')
})
> _create_cluster_with_separate_kv(self, self.kwargs)
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_sf_cluster.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py:29: in _create_cluster_with_separate_kv
cert = _add_selfsigned_cert_to_keyvault(test, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py:18: in _add_selfsigned_cert_to_keyvault
test.cmd('keyvault certificate create --vault-name {kv_name} -n {cert_name} -p @"{policy_path}"')
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_che
Check failure on line 1 in test_update_settings_and_reliability
azure-pipelines / Azure.azure-cli Full Test
test_update_settings_and_reliability
self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f7774299010>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f77768f6c10>
command = 'sf cluster create -g clitest.rg000001 -c sfrp-cli-000004 -l westus --certificate-subject-name sfrp-cli-000004 --vm-password "Pass123!@#" --cluster-size 5'
expect_failure = False
def _in_process_execute(self, cli_ctx, command, expect_failure=False):
from io import StringIO
from vcr.errors import CannotOverwriteExistingCassetteException
if command.startswith('az '):
command = command[3:]
stdout_buf = StringIO()
logging_buf = StringIO()
try:
# issue: stderr cannot be redirect in this form, as a result some failure information
# is lost when command fails.
> self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
exit_code = self.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/__init__.py:129: in exception_handler
return handle_exception(ex)
^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ex = ImportError('/mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg')
args = (), kwargs = {}
def _handle_main_exception(ex, *args, **kwargs): # pylint: disable=unused-argument
if isinstance(ex, CannotOverwriteExistingCassetteException):
# This exception usually caused by a no match HTTP request. This is a product error
# that is caused by change of SDK invocation.
raise ex
> raise CliExecutionError(ex)
E azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception ImportError during execution and fails the command.
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError
During handling of the above exception, another exception occurred:
self = <azure.cli.command_modules.servicefabric.tests.latest.test_sf_cluster.ServiceFabricClusterTests testMethod=test_update_settings_and_reliability>
@ResourceGroupPreparer()
def test_update_settings_and_reliability(self):
self.kwargs.update({
'kv_name': self.create_random_name('sfrp-cli-kv-', 24),
'loc': 'westus',
'cert_name': self.create_random_name('sfrp-cli-', 24),
'cluster_name': self.create_random_name('sfrp-cli-', 24),
'vm_password': "Pass123!@#",
'primary_node_type': 'nt1vm',
'new_node_type': 'nt2',
'cluster_size': '5'
})
> _create_cluster(self, self.kwargs)
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_sf_cluster.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py:50: in _create_cluster
test.cmd('az sf cluster create -g {rg} -c {cluster_name} -l {loc} --certificate-subject-name {cluster_name} --vm-password "{vm_password}" --cluster-size {cluster_size}')
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in __init__
self._in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in _in_process_execute
raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:23
Raw output
self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f7774299010>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f77768f6c10>
command = 'sf cluster create -g clitest.rg000001 -c sfrp-cli-000004 -l westus --certificate-subject-name sfrp-cli-000004 --vm-password "Pass123!@#" --cluster-size 5'
expect_failure = False
def _in_process_execute(self, cli_ctx, command, expect_failure=False):
from io import StringIO
from vcr.errors import CannotOverwriteExistingCassetteException
if command.startswith('az '):
command = command[3:]
stdout_buf = StringIO()
logging_buf = StringIO()
try:
# issue: stderr cannot be redirect in this form, as a result some failure information
# is lost when command fails.
> self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
exit_code = self.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/__init__.py:129: in exception_handler
return handle_exception(ex)
^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ex = ImportError('/mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg')
args = (), kwargs = {}
def _handle_main_exception(ex, *args, **kwargs): # pylint: disable=unused-argument
if isinstance(ex, CannotOverwriteExistingCassetteException):
# This exception usually caused by a no match HTTP request. This is a product error
# that is caused by change of SDK invocation.
raise ex
> raise CliExecutionError(ex)
E azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception ImportError during execution and fails the command.
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError
During handling of the above exception, another exception occurred:
self = <azure.cli.command_modules.servicefabric.tests.latest.test_sf_cluster.ServiceFabricClusterTests testMethod=test_update_settings_and_reliability>
@ResourceGroupPreparer()
def test_update_settings_and_reliability(self):
self.kwargs.update({
'kv_name': self.create_random_name('sfrp-cli-kv-', 24),
'loc': 'westus',
'cert_name': self.create_random_name('sfrp-cli-', 24),
'cluster_name': self.create_random_name('sfrp-cli-', 24),
'vm_password': "Pass123!@#",
'primary_node_type': 'nt1vm',
'new_node_type': 'nt2',
'cluster_size': '5'
})
> _create_cluster(self, self.kwargs)
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_sf_cluster.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py:50: in _create_cluster
test.cmd('az sf cluster create -g {rg} -c {cluster_name} -l {loc} --certificate-subject-name {cluster_name} --vm-password "{vm_password}" --cluster-size {cluster_size}')
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in __init__
self._in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in _in_process_execute
raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:23
Check failure on line 1 in test_cert_and_ext
azure-pipelines / Azure.azure-cli Full Test
test_cert_and_ext
self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f776f810fc0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f77768139d0>
command = 'keyvault show -n sfrp-cli-kv-000002 -g clitest.rg000001'
expect_failure = False
def _in_process_execute(self, cli_ctx, command, expect_failure=False):
from io import StringIO
from vcr.errors import CannotOverwriteExistingCassetteException
if command.startswith('az '):
command = command[3:]
stdout_buf = StringIO()
logging_buf = StringIO()
try:
# issue: stderr cannot be redirect in this form, as a result some failure information
# is lost when command fails.
> self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
exit_code = self.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/__init__.py:129: in exception_handler
return handle_exception(ex)
^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ex = ImportError('/mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg')
args = (), kwargs = {}
def _handle_main_exception(ex, *args, **kwargs): # pylint: disable=unused-argument
if isinstance(ex, CannotOverwriteExistingCassetteException):
# This exception usually caused by a no match HTTP request. This is a product error
# that is caused by change of SDK invocation.
raise ex
> raise CliExecutionError(ex)
E azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception ImportError during execution and fails the command.
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError
During handling of the above exception, another exception occurred:
self = <azure.cli.command_modules.servicefabric.tests.latest.test_sf_managed_cluster.ServiceFabricManagedClustersTests testMethod=test_cert_and_ext>
key_vault = 'sfrp-cli-kv-000002', resource_group = 'clitest.rg000001'
@ResourceGroupPreparer()
@KeyVaultPreparer(name_prefix='sfrp-cli-kv-', location='eastasia', additional_params='--enabled-for-deployment --enabled-for-template-deployment')
def test_cert_and_ext(self, key_vault, resource_group):
self.kwargs.update({
'cert_tp': '123BDACDCDFB2C7B250192C6078E47D1E1DB119B',
'cert_tp2': '123BDACDCDFB2C7B250192C6078E47D1E1DB7777',
'loc': 'eastasia',
'cluster_name': self.create_random_name('sfrp-cli-', 24),
'vm_password': self.create_random_name('Pass@', 9),
'extName': 'csetest',
'publisher': 'Microsoft.Compute',
'extType': 'BGInfo',
'extVer': '2.1',
'kv_name': key_vault,
'cert_name': self.create_random_name('sfrp-cli-', 24)
})
self.cmd('az sf managed-cluster create -g {rg} -c {cluster_name} -l {loc} --cert-thumbprint {cert_tp} --cert-is-admin --admin-password {vm_password}',
checks=[self.check('provisioningState', 'Succeeded'),
self.check('clusterState', 'WaitingForNodes')])
self.cmd('az sf managed-node-type create -g {rg} -c {cluster_name} -n pnt --instance-count 5 --primary',
checks=[self.check('provisioningState', 'Succeeded')])
# add extension
self.cmd('az sf managed-node-type vm-extension add -g {rg} -c {cluster_name} -n pnt '
' --extension-name {extName} --publisher {publisher} --extension-type {extType} --type-handle
Raw output
self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f776f810fc0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f77768139d0>
command = 'keyvault show -n sfrp-cli-kv-000002 -g clitest.rg000001'
expect_failure = False
def _in_process_execute(self, cli_ctx, command, expect_failure=False):
from io import StringIO
from vcr.errors import CannotOverwriteExistingCassetteException
if command.startswith('az '):
command = command[3:]
stdout_buf = StringIO()
logging_buf = StringIO()
try:
# issue: stderr cannot be redirect in this form, as a result some failure information
# is lost when command fails.
> self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
exit_code = self.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/__init__.py:129: in exception_handler
return handle_exception(ex)
^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ex = ImportError('/mnt/vss/_work/1/s/env/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg')
args = (), kwargs = {}
def _handle_main_exception(ex, *args, **kwargs): # pylint: disable=unused-argument
if isinstance(ex, CannotOverwriteExistingCassetteException):
# This exception usually caused by a no match HTTP request. This is a product error
# that is caused by change of SDK invocation.
raise ex
> raise CliExecutionError(ex)
E azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception ImportError during execution and fails the command.
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError
During handling of the above exception, another exception occurred:
self = <azure.cli.command_modules.servicefabric.tests.latest.test_sf_managed_cluster.ServiceFabricManagedClustersTests testMethod=test_cert_and_ext>
key_vault = 'sfrp-cli-kv-000002', resource_group = 'clitest.rg000001'
@ResourceGroupPreparer()
@KeyVaultPreparer(name_prefix='sfrp-cli-kv-', location='eastasia', additional_params='--enabled-for-deployment --enabled-for-template-deployment')
def test_cert_and_ext(self, key_vault, resource_group):
self.kwargs.update({
'cert_tp': '123BDACDCDFB2C7B250192C6078E47D1E1DB119B',
'cert_tp2': '123BDACDCDFB2C7B250192C6078E47D1E1DB7777',
'loc': 'eastasia',
'cluster_name': self.create_random_name('sfrp-cli-', 24),
'vm_password': self.create_random_name('Pass@', 9),
'extName': 'csetest',
'publisher': 'Microsoft.Compute',
'extType': 'BGInfo',
'extVer': '2.1',
'kv_name': key_vault,
'cert_name': self.create_random_name('sfrp-cli-', 24)
})
self.cmd('az sf managed-cluster create -g {rg} -c {cluster_name} -l {loc} --cert-thumbprint {cert_tp} --cert-is-admin --admin-password {vm_password}',
checks=[self.check('provisioningState', 'Succeeded'),
self.check('clusterState', 'WaitingForNodes')])
self.cmd('az sf managed-node-type create -g {rg} -c {cluster_name} -n pnt --instance-count 5 --primary',
checks=[self.check('provisioningState', 'Succeeded')])
# add extension
self.cmd('az sf managed-node-type vm-extension add -g {rg} -c {cluster_name} -n pnt '
' --extension-name {extName} --publisher {publisher} --extension-type {extType} --type-handle
Check failure on line 1 in test_container_app_mount_azurefile_e2e
azure-pipelines / Azure.azure-cli Full Test
test_container_app_mount_azurefile_e2e
self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f77741ef390>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f777661a350>
command = 'storage account create --resource-group clitest.rg000001 --name storage000005 --location eastus --kind StorageV2 --sku Standard_LRS --enable-large-file-share --output none'
expect_failure = False
def _in_process_execute(self, cli_ctx, command, expect_failure=False):
from io import StringIO
from vcr.errors import CannotOverwriteExistingCassetteException
if command.startswith('az '):
command = command[3:]
stdout_buf = StringIO()
logging_buf = StringIO()
try:
# issue: stderr cannot be redirect in this form, as a result some failure information
# is lost when command fails.
> self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
exit_code = self.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/__init__.py:129: in exception_handler
return handle_exception(ex)
^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ex = TypeError("'NoneType' object is not iterable"), args = (), kwargs = {}
def _handle_main_exception(ex, *args, **kwargs): # pylint: disable=unused-argument
if isinstance(ex, CannotOverwriteExistingCassetteException):
# This exception usually caused by a no match HTTP request. This is a product error
# that is caused by change of SDK invocation.
raise ex
> raise CliExecutionError(ex)
E azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError
During handling of the above exception, another exception occurred:
self = <azure.cli.command_modules.containerapp.tests.latest.test_containerapp_azurefile.ContainerAppMountAzureFileTest testMethod=test_container_app_mount_azurefile_e2e>
resource_group = 'clitest.rg000001'
laworkspace_customer_id = 'veryFakedCustomerId=='
laworkspace_shared_key = 'veryFakedPrivateSharedKey=='
@AllowLargeResponse(8192)
@ResourceGroupPreparer(location=TEST_LOCATION)
@LogAnalyticsWorkspacePreparer(location="eastus", get_shared_key=True)
def test_container_app_mount_azurefile_e2e(self, resource_group, laworkspace_customer_id, laworkspace_shared_key):
self.cmd('configure --defaults location={}'.format(TEST_LOCATION))
env = self.create_random_name(prefix='env', length=24)
app = self.create_random_name(prefix='app1', length=24)
storage = self.create_random_name(prefix='storage', length=24)
share = self.create_random_name(prefix='share', length=10)
> self.cmd(
f'az storage account create --resource-group {resource_group} --name {storage} --location {TEST_LOCATION} --kind StorageV2 --sku Standard_LRS --enable-large-file-share --output none')
src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/test_containerapp_azurefile.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in __init__
self._in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in
Raw output
self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f77741ef390>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f777661a350>
command = 'storage account create --resource-group clitest.rg000001 --name storage000005 --location eastus --kind StorageV2 --sku Standard_LRS --enable-large-file-share --output none'
expect_failure = False
def _in_process_execute(self, cli_ctx, command, expect_failure=False):
from io import StringIO
from vcr.errors import CannotOverwriteExistingCassetteException
if command.startswith('az '):
command = command[3:]
stdout_buf = StringIO()
logging_buf = StringIO()
try:
# issue: stderr cannot be redirect in this form, as a result some failure information
# is lost when command fails.
> self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:302:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
exit_code = self.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/__init__.py:129: in exception_handler
return handle_exception(ex)
^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ex = TypeError("'NoneType' object is not iterable"), args = (), kwargs = {}
def _handle_main_exception(ex, *args, **kwargs): # pylint: disable=unused-argument
if isinstance(ex, CannotOverwriteExistingCassetteException):
# This exception usually caused by a no match HTTP request. This is a product error
# that is caused by change of SDK invocation.
raise ex
> raise CliExecutionError(ex)
E azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception TypeError during execution and fails the command.
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError
During handling of the above exception, another exception occurred:
self = <azure.cli.command_modules.containerapp.tests.latest.test_containerapp_azurefile.ContainerAppMountAzureFileTest testMethod=test_container_app_mount_azurefile_e2e>
resource_group = 'clitest.rg000001'
laworkspace_customer_id = 'veryFakedCustomerId=='
laworkspace_shared_key = 'veryFakedPrivateSharedKey=='
@AllowLargeResponse(8192)
@ResourceGroupPreparer(location=TEST_LOCATION)
@LogAnalyticsWorkspacePreparer(location="eastus", get_shared_key=True)
def test_container_app_mount_azurefile_e2e(self, resource_group, laworkspace_customer_id, laworkspace_shared_key):
self.cmd('configure --defaults location={}'.format(TEST_LOCATION))
env = self.create_random_name(prefix='env', length=24)
app = self.create_random_name(prefix='app1', length=24)
storage = self.create_random_name(prefix='storage', length=24)
share = self.create_random_name(prefix='share', length=10)
> self.cmd(
f'az storage account create --resource-group {resource_group} --name {storage} --location {TEST_LOCATION} --kind StorageV2 --sku Standard_LRS --enable-large-file-share --output none')
src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/test_containerapp_azurefile.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/azure-cli-testsdk/azure/cli/testsdk/base.py:176: in cmd
return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:251: in __init__
self._in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:314: in