Skip to content

extension ml-2.36.1 published with a wrong checksumΒ #8646

@theophile-gdr

Description

@theophile-gdr

Describe the bug

The extension ml-2.36.1 is published with a wrong checksum (3e335b97b07e859ae13ee6cc2b727d4ac14ab16d9790e15f59d743c0924c84b0)

Related command

az extension add --system -n ml -y --version 2.36.1

Errors

The checksum of the extension does not match the expected value. Use --debug for more information.

Issue script & Debug output

cli.knack.cli: Command arguments: ['extension', 'add', '--system', '-n', 'ml', '-y', '--version', '2.36.1', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f6c89cdbd30>, <function OutputProducer.on_global_arguments at 0x7f6c89392940>, <function CLIQuery.on_global_arguments at 0x7f6c8912eee0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'extension': ['azure.cli.command_modules.extension']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: extension 0.001 1 7
cli.azure.cli.core: Total (1) 0.001 1 7
cli.azure.cli.core: Loaded 1 groups, 7 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : extension add
cli.azure.cli.core: Command table: extension add
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f6c85448b80>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/root/.azure/commands/2025-04-09.16-27-07.extension_add.137720.log'.
az_command_data_logger: command args: extension add --system -n {} -y --version {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7f6c853f58b0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x7f6c8541b8b0>, <function register_cache_arguments..add_cache_arguments at 0x7f6c853b6700>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x7f6c853b6790>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f6c893929d0>, <function CLIQuery.handle_query_parameter at 0x7f6c8912ef70>, <function register_ids_argument..parse_ids_arguments at 0x7f6c853b6670>]
urllib3.connectionpool: Starting new HTTPS connection (1): aka.ms:443
urllib3.connectionpool: https://aka.ms:443 "GET /azure-cli-extension-index-v1 HTTP/1.1" 301 0
urllib3.connectionpool: Starting new HTTPS connection (1): azcliextensionsync.blob.core.windows.net:443
urllib3.connectionpool: https://azcliextensionsync.blob.core.windows.net:443 "GET /index1/index.json HTTP/1.1" 200 5098116
cli.azure.cli.core.extension._resolve: Candidates ['ml-2.0.0a1-py3-none-any.whl', 'ml-2.0.1a1-py3-none-any.whl', 'ml-2.0.1a2-py3-none-any.whl', 'ml-2.0.1a3-py3-none-any.whl', 'ml-2.0.1a4-py3-none-any.whl', 'ml-2.0.1a5-py3-none-any.whl', 'ml-2.0.2-py3-none-any.whl', 'ml-2.0.3-py3-none-any.whl', 'ml-2.0.7-py3-none-any.whl', 'ml-2.1.1-py3-none-any.whl', 'ml-2.1.2-py3-none-any.whl', 'ml-2.2.1-py3-none-any.whl', 'ml-2.2.2-py3-none-any.whl', 'ml-2.2.3-py3-none-any.whl', 'ml-2.3.1-py3-none-any.whl', 'ml-2.4.0-py3-none-any.whl', 'ml-2.4.1-py3-none-any.whl', 'ml-2.5.0-py3-none-any.whl', 'ml-2.6.0-py3-none-any.whl', 'ml-2.6.1-py3-none-any.whl', 'ml-2.7.0-py3-none-any.whl', 'ml-2.7.1-py3-none-any.whl', 'ml-2.8.0-py3-none-any.whl', 'ml-2.9.0-py3-none-any.whl', 'ml-2.10.0-py3-none-any.whl', 'ml-2.11.0-py3-none-any.whl', 'ml-2.12.0-py3-none-any.whl', 'ml-2.12.1-py3-none-any.whl', 'ml-2.13.0-py3-none-any.whl', 'ml-2.14.0-py3-none-any.whl', 'ml-2.14.1-py3-none-any.whl', 'ml-2.15.0-py3-none-any.whl', 'ml-2.15.1-py3-none-any.whl', 'ml-2.16.0-py3-none-any.whl', 'ml-2.17.0-py3-none-any.whl', 'ml-2.17.1-py3-none-any.whl', 'ml-2.17.2-py3-none-any.whl', 'ml-2.18.0-py3-none-any.whl', 'ml-2.19.0-py3-none-any.whl', 'ml-2.19.1-py3-none-any.whl', 'ml-2.20.0-py3-none-any.whl', 'ml-2.21.0-py3-none-any.whl', 'ml-2.21.1-py3-none-any.whl', 'ml-2.22.0-py3-none-any.whl', 'ml-2.23.0-py3-none-any.whl', 'ml-2.24.0-py3-none-any.whl', 'ml-2.25.0-py3-none-any.whl', 'ml-2.25.1-py3-none-any.whl', 'ml-2.26.0-py3-none-any.whl', 'ml-2.26.1-py3-none-any.whl', 'ml-2.27.0-py3-none-any.whl', 'ml-2.27.1-py3-none-any.whl', 'ml-2.28.0-py3-none-any.whl', 'ml-2.29.0-py3-none-any.whl', 'ml-2.30.0-py3-none-any.whl', 'ml-2.30.1-py3-none-any.whl', 'ml-2.31.0-py3-none-any.whl', 'ml-2.31.1-py3-none-any.whl', 'ml-2.32.0-py3-none-any.whl', 'ml-2.32.1-py3-none-any.whl', 'ml-2.32.4-py3-none-any.whl', 'ml-2.33.0-py3-none-any.whl', 'ml-2.33.1-py3-none-any.whl', 'ml-2.34.0-py3-none-any.whl', 'ml-2.35.0-py3-none-any.whl', 'ml-2.36.0-py3-none-any.whl', 'ml-2.36.1-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['ml-2.0.0a1-py3-none-any.whl', 'ml-2.0.1a1-py3-none-any.whl', 'ml-2.0.1a2-py3-none-any.whl', 'ml-2.0.1a3-py3-none-any.whl', 'ml-2.0.1a4-py3-none-any.whl', 'ml-2.0.1a5-py3-none-any.whl', 'ml-2.0.2-py3-none-any.whl', 'ml-2.0.3-py3-none-any.whl', 'ml-2.0.7-py3-none-any.whl', 'ml-2.1.1-py3-none-any.whl', 'ml-2.1.2-py3-none-any.whl', 'ml-2.2.1-py3-none-any.whl', 'ml-2.2.2-py3-none-any.whl', 'ml-2.2.3-py3-none-any.whl', 'ml-2.3.1-py3-none-any.whl', 'ml-2.4.0-py3-none-any.whl', 'ml-2.4.1-py3-none-any.whl', 'ml-2.5.0-py3-none-any.whl', 'ml-2.6.0-py3-none-any.whl', 'ml-2.6.1-py3-none-any.whl', 'ml-2.7.0-py3-none-any.whl', 'ml-2.7.1-py3-none-any.whl', 'ml-2.8.0-py3-none-any.whl', 'ml-2.9.0-py3-none-any.whl', 'ml-2.10.0-py3-none-any.whl', 'ml-2.11.0-py3-none-any.whl', 'ml-2.12.0-py3-none-any.whl', 'ml-2.12.1-py3-none-any.whl', 'ml-2.13.0-py3-none-any.whl', 'ml-2.14.0-py3-none-any.whl', 'ml-2.14.1-py3-none-any.whl', 'ml-2.15.0-py3-none-any.whl', 'ml-2.15.1-py3-none-any.whl', 'ml-2.16.0-py3-none-any.whl', 'ml-2.17.0-py3-none-any.whl', 'ml-2.17.1-py3-none-any.whl', 'ml-2.17.2-py3-none-any.whl', 'ml-2.18.0-py3-none-any.whl', 'ml-2.19.0-py3-none-any.whl', 'ml-2.19.1-py3-none-any.whl', 'ml-2.20.0-py3-none-any.whl', 'ml-2.21.0-py3-none-any.whl', 'ml-2.21.1-py3-none-any.whl', 'ml-2.22.0-py3-none-any.whl', 'ml-2.23.0-py3-none-any.whl', 'ml-2.24.0-py3-none-any.whl', 'ml-2.25.0-py3-none-any.whl', 'ml-2.25.1-py3-none-any.whl', 'ml-2.26.0-py3-none-any.whl', 'ml-2.26.1-py3-none-any.whl', 'ml-2.27.0-py3-none-any.whl', 'ml-2.27.1-py3-none-any.whl', 'ml-2.28.0-py3-none-any.whl', 'ml-2.29.0-py3-none-any.whl', 'ml-2.30.0-py3-none-any.whl', 'ml-2.30.1-py3-none-any.whl', 'ml-2.31.0-py3-none-any.whl', 'ml-2.31.1-py3-none-any.whl', 'ml-2.32.0-py3-none-any.whl', 'ml-2.32.1-py3-none-any.whl', 'ml-2.32.4-py3-none-any.whl', 'ml-2.33.0-py3-none-any.whl', 'ml-2.33.1-py3-none-any.whl', 'ml-2.34.0-py3-none-any.whl', 'ml-2.35.0-py3-none-any.whl', 'ml-2.36.0-py3-none-any.whl', 'ml-2.36.1-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['ml-2.4.0-py3-none-any.whl', 'ml-2.4.1-py3-none-any.whl', 'ml-2.5.0-py3-none-any.whl', 'ml-2.6.0-py3-none-any.whl', 'ml-2.6.1-py3-none-any.whl', 'ml-2.7.0-py3-none-any.whl', 'ml-2.7.1-py3-none-any.whl', 'ml-2.8.0-py3-none-any.whl', 'ml-2.9.0-py3-none-any.whl', 'ml-2.10.0-py3-none-any.whl', 'ml-2.11.0-py3-none-any.whl', 'ml-2.12.0-py3-none-any.whl', 'ml-2.12.1-py3-none-any.whl', 'ml-2.13.0-py3-none-any.whl', 'ml-2.14.0-py3-none-any.whl', 'ml-2.14.1-py3-none-any.whl', 'ml-2.15.0-py3-none-any.whl', 'ml-2.15.1-py3-none-any.whl', 'ml-2.16.0-py3-none-any.whl', 'ml-2.17.0-py3-none-any.whl', 'ml-2.17.1-py3-none-any.whl', 'ml-2.17.2-py3-none-any.whl', 'ml-2.18.0-py3-none-any.whl', 'ml-2.19.0-py3-none-any.whl', 'ml-2.19.1-py3-none-any.whl', 'ml-2.20.0-py3-none-any.whl', 'ml-2.21.0-py3-none-any.whl', 'ml-2.21.1-py3-none-any.whl', 'ml-2.22.0-py3-none-any.whl', 'ml-2.23.0-py3-none-any.whl', 'ml-2.24.0-py3-none-any.whl', 'ml-2.25.0-py3-none-any.whl', 'ml-2.25.1-py3-none-any.whl', 'ml-2.26.0-py3-none-any.whl', 'ml-2.26.1-py3-none-any.whl', 'ml-2.27.0-py3-none-any.whl', 'ml-2.27.1-py3-none-any.whl', 'ml-2.28.0-py3-none-any.whl', 'ml-2.29.0-py3-none-any.whl', 'ml-2.30.0-py3-none-any.whl', 'ml-2.30.1-py3-none-any.whl', 'ml-2.31.0-py3-none-any.whl', 'ml-2.31.1-py3-none-any.whl', 'ml-2.32.0-py3-none-any.whl', 'ml-2.32.1-py3-none-any.whl', 'ml-2.32.4-py3-none-any.whl', 'ml-2.33.0-py3-none-any.whl', 'ml-2.33.1-py3-none-any.whl', 'ml-2.34.0-py3-none-any.whl', 'ml-2.35.0-py3-none-any.whl', 'ml-2.36.0-py3-none-any.whl', 'ml-2.36.1-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['ml-2.36.1-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['ml-2.36.1-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Chosen {'downloadUrl': 'https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2-public/ml-2.36.1-py3-none-any.whl', 'filename': 'ml-2.36.1-py3-none-any.whl', 'metadata': {'azext.minCliCoreVersion': '2.15.0', 'classifiers': ['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Environment :: Console', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'License :: OSI Approved :: MIT License'], 'description_content_type': 'text/x-rst', 'extensions': {'python.details': {'contacts': [{'email': '[email protected]', 'name': 'Microsoft Corporation', 'role': 'author'}], 'document_names': {'description': 'DESCRIPTION.rst'}, 'project_urls': {'Home': 'https://docs.microsoft.com/azure/machine-learning/azure-machine-learning-release-notes-cli-v2?view=azureml-api-2'}}}, 'extras': [], 'generator': 'bdist_wheel (0.30.0)', 'license': 'MIT', 'metadata_version': '2.0', 'name': 'ml', 'run_requires': [{'requires': ['azure-common (>=1.1)', 'azure-common>=1.1', 'azure-identity (==1.17.1)', 'azure-identity==1.17.1', 'azure-mgmt-resource (<23.0.0,>=3.0.0)', 'azure-mgmt-resource<23.0.0,>=3.0.0', 'azure-mgmt-resourcegraph (<9.0.0,>=2.0.0)', 'azure-mgmt-resourcegraph<9.0.0,>=2.0.0', 'azure-monitor-opentelemetry', 'azure-monitor-opentelemetry', 'azure-storage-blob (>=12.10.0)', 'azure-storage-blob>=12.10.0', 'azure-storage-file-datalake (>=12.2.0)', 'azure-storage-file-datalake>=12.2.0', 'azure-storage-file-share', 'azure-storage-file-share', 'colorama', 'colorama', 'cryptography', 'cryptography', 'docker', 'docker', 'isodate', 'isodate', 'jsonschema (>=4.0.0)', 'jsonschema>=4.0.0', 'marshmallow (>=3.5)', 'marshmallow>=3.5', 'pydash (>=6.0.0)', 'pydash>=6.0.0', 'pyjwt', 'pyjwt', 'strictyaml', 'strictyaml', 'tqdm', 'tqdm', 'typing-extensions', 'typing-extensions']}], 'summary': 'Microsoft Azure Command-Line Tools AzureMachineLearningWorkspaces Extension', 'version': '2.36.1'}, 'sha256Digest': '3e335b97b07e859ae13ee6cc2b727d4ac14ab16d9790e15f59d743c0924c84b0'}
cli.azure.cli.core.extension.operations: Extension source is url? True
cli.azure.cli.core.extension.operations: Downloading https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2-public/ml-2.36.1-py3-none-any.whl to /tmp/tmpwnxrn0jv/ml-2.36.1-py3-none-any.whl
urllib3.connectionpool: Starting new HTTPS connection (1): azuremlsdktestpypi.blob.core.windows.net:443
urllib3.connectionpool: https://azuremlsdktestpypi.blob.core.windows.net:443 "GET /wheels/sdk-cli-v2-public/ml-2.36.1-py3-none-any.whl HTTP/1.1" 200 13571701
cli.azure.cli.core.extension.operations: Downloaded to /tmp/tmpwnxrn0jv/ml-2.36.1-py3-none-any.whl
cli.azure.cli.core.extension.operations: Validating the extension /tmp/tmpwnxrn0jv/ml-2.36.1-py3-none-any.whl
cli.azure.cli.core.extension.operations: Invalid checksum for /tmp/tmpwnxrn0jv/ml-2.36.1-py3-none-any.whl. Expected '3e335b97b07e859ae13ee6cc2b727d4ac14ab16d9790e15f59d743c0924c84b0', computed '067e5dad4052820669427d7903aef1dd2aba3f6a26433b87f2b2aec86d8e3512'.
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.9/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 666, in execute
raise ex
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 733, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 703, in _run_job
result = cmd_copy(params)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 336, in call
return self.handler(*args, **kwargs)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/extension/custom.py", line 16, in add_extension_cmd
return add_extension(cli_ctx=cmd.cli_ctx, source=source, extension_name=extension_name, index_url=index_url,
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/extension/operations.py", line 343, in add_extension
extension_name = _add_whl_ext(cli_ctx=cmd_cli_ctx, source=source, ext_sha256=ext_sha256,
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/extension/operations.py", line 142, in _add_whl_ext
raise CLIError("The checksum of the extension does not match the expected value. "
knack.util.CLIError: The checksum of the extension does not match the expected value. Use --debug for more information.

cli.azure.cli.core.azclierror: The checksum of the extension does not match the expected value. Use --debug for more information.
az_command_data_logger: The checksum of the extension does not match the expected value. Use --debug for more information.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f6c85448dc0>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 5.669 seconds (init: 0.101, invoke: 5.569)

Expected behavior

The computed checksum seems to be 067e5dad4052820669427d7903aef1dd2aba3f6a26433b87f2b2aec86d8e3512 and not 3e335b97b07e859ae13ee6cc2b727d4ac14ab16d9790e15f59d743c0924c84b0

Environment Summary

azure-cli 2.67.0 *

core 2.67.0 *
telemetry 1.1.0

Extensions:
ml 2.36.0

Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1

Python location '/usr/local/bin/python3.9'
Extensions directory '/root/.azure/cliextensions'
Extensions system directory '/usr/local/lib/python3.9/site-packages/azure-cli-extensions'

Python (Linux) 3.9.20 (main, Mar 26 2025, 09:08:04)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-24)]

Additional context

No response

Metadata

Metadata

Assignees

Labels

Machine LearningService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.issue-addressedThis issue is addressed and ready to close.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions