-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
This is similar to an issue already reported with "download-batch" (#32039), but I am seeing this error with "delete-batch".
Related command
az storage blob delete-batch --source '$web' --pattern "demos/*" --account-name prsv --auth-mode login
Errors
Run azure/CLI@v2
with:
inlineScript: az storage blob delete-batch --source '$web' --pattern 'demos/*' --account-name prsv --auth-mode login
azcliversion: agentazcliversion
env:
GITHUB_TOKEN: ***
NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
Starting script execution via docker image mcr.microsoft.com/azure-cli:2.77.0
ERROR: The command failed with an unexpected error. Here is the traceback:
ERROR: cannot use a string pattern on a bytes-like object
Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.12/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 666, in execute
raise ex
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 734, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 726, in _run_job
return cmd_copy.exception_handler(ex)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/init.py", line 358, in new_handler
first(ex)
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/init.py", line 357, in new_handler
raise ex
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 703, in _run_job
result = cmd_copy(params)
^^^^^^^^^^^^^^^^
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 336, in call
return self.handler(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/command_operation.py", line 120, in handler
return op(**command_args)
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/operations/blob.py", line 800, in storage_blob_delete_batch
source_blobs = list(collect_blob_objects(client, source_container_name, pattern))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/util.py", line 52, in collect_blob_objects
if not pattern or _match_path(blob_name, pattern):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/util.py", line 199, in _match_path
return fnmatch(path, pattern)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/fnmatch.py", line 36, in fnmatch
return fnmatchcase(name, pat)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/fnmatch.py", line 71, in fnmatchcase
return match(name) is not None
^^^^^^^^^^^
TypeError: cannot use a string pattern on a bytes-like object
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
Error: Error: az cli script failed.
Issue script & Debug output
2025-09-09T20:01:21.6979627Z Current runner version: '2.328.0'
2025-09-09T20:01:21.7020353Z ##[group]Runner Image Provisioner
2025-09-09T20:01:21.7022131Z Hosted Compute Agent
2025-09-09T20:01:21.7023443Z Version: 20250829.383
2025-09-09T20:01:21.7025062Z Commit: 27cb235aab5b0e52e153a26cd86b4742e89dac5d
2025-09-09T20:01:21.7026803Z Build Date: 2025-08-29T13:48:48Z
2025-09-09T20:01:21.7028368Z ##[endgroup]
2025-09-09T20:01:21.7029894Z ##[group]Operating System
2025-09-09T20:01:21.7031449Z Ubuntu
2025-09-09T20:01:21.7032629Z 24.04.3
2025-09-09T20:01:21.7034007Z LTS
2025-09-09T20:01:21.7035225Z ##[endgroup]
2025-09-09T20:01:21.7036620Z ##[group]Runner Image
2025-09-09T20:01:21.7038140Z Image: ubuntu-24.04
2025-09-09T20:01:21.7039702Z Version: 20250907.24.1
2025-09-09T20:01:21.7042021Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250907.24/images/ubuntu/Ubuntu2404-Readme.md
2025-09-09T20:01:21.7045389Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250907.24
2025-09-09T20:01:21.7047765Z ##[endgroup]
2025-09-09T20:01:21.7053018Z ##[group]GITHUB_TOKEN Permissions
2025-09-09T20:01:21.7056278Z Actions: write
2025-09-09T20:01:21.7057526Z Attestations: write
2025-09-09T20:01:21.7058623Z Checks: write
2025-09-09T20:01:21.7060146Z Contents: write
2025-09-09T20:01:21.7061354Z Deployments: write
2025-09-09T20:01:21.7062488Z Discussions: write
2025-09-09T20:01:21.7063613Z Issues: write
2025-09-09T20:01:21.7064745Z Metadata: read
2025-09-09T20:01:21.7065917Z Models: read
2025-09-09T20:01:21.7067215Z Packages: write
2025-09-09T20:01:21.7068588Z Pages: write
2025-09-09T20:01:21.7070075Z PullRequests: write
2025-09-09T20:01:21.7071540Z RepositoryProjects: write
2025-09-09T20:01:21.7072889Z SecurityEvents: write
2025-09-09T20:01:21.7074262Z Statuses: write
2025-09-09T20:01:21.7075430Z ##[endgroup]
2025-09-09T20:01:21.7078774Z Secret source: Actions
2025-09-09T20:01:21.7081192Z Prepare workflow directory
2025-09-09T20:01:21.7732545Z Prepare all required actions
2025-09-09T20:01:21.7788392Z Getting action download info
2025-09-09T20:01:22.1106200Z Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
2025-09-09T20:01:22.3313490Z Download action repository 'actions/setup-node@v3' (SHA:3235b876344d2a9aa001b8d1453c930bba69e610)
2025-09-09T20:01:22.4657138Z Download action repository 'azure/login@v2' (SHA:a457da9ea143d694b1b9c7c869ebb04ebe844ef5)
2025-09-09T20:01:22.8318234Z Download action repository 'azure/CLI@v2' (SHA:089eac9d8cc39f5d003e94f8b65efc51076c9cbd)
2025-09-09T20:01:23.3811543Z Complete job name: deploy
2025-09-09T20:01:23.4719961Z ##[group]Run actions/checkout@v3
2025-09-09T20:01:23.4721589Z with:
2025-09-09T20:01:23.4722846Z repository: feather-design-system/feather-design-system
2025-09-09T20:01:23.4724605Z token: ***
2025-09-09T20:01:23.4725624Z ssh-strict: true
2025-09-09T20:01:23.4726716Z persist-credentials: true
2025-09-09T20:01:23.4727870Z clean: true
2025-09-09T20:01:23.4728946Z sparse-checkout-cone-mode: true
2025-09-09T20:01:23.4730385Z fetch-depth: 1
2025-09-09T20:01:23.4731442Z fetch-tags: false
2025-09-09T20:01:23.4732488Z lfs: false
2025-09-09T20:01:23.4733493Z submodules: false
2025-09-09T20:01:23.4734570Z set-safe-directory: true
2025-09-09T20:01:23.4735951Z env:
2025-09-09T20:01:23.4737272Z GITHUB_TOKEN: ***
2025-09-09T20:01:23.4738312Z ##[endgroup]
2025-09-09T20:01:23.5617934Z Syncing repository: feather-design-system/feather-design-system
2025-09-09T20:01:23.5621861Z ##[group]Getting Git version info
2025-09-09T20:01:23.5623886Z Working directory is '/home/runner/work/feather-design-system/feather-design-system'
2025-09-09T20:01:23.5626591Z [command]/usr/bin/git version
2025-09-09T20:01:23.5687715Z git version 2.51.0
2025-09-09T20:01:23.5716151Z ##[endgroup]
...
2025-09-09T20:01:24.2725019Z From https://github.com/feather-design-system/feather-design-system
2025-09-09T20:01:24.2727469Z * [new ref] 0bb2c7d31c1ed0398085a4398a14dd1f48ff1716 -> origin/feature/0.1027.0
2025-09-09T20:01:24.2762263Z ##[endgroup]
2025-09-09T20:01:24.2764270Z ##[group]Determining the checkout info
2025-09-09T20:01:24.2766143Z ##[endgroup]
2025-09-09T20:01:24.2768119Z ##[group]Checking out the ref
2025-09-09T20:01:24.2770443Z [command]/usr/bin/git checkout --progress --force -B feature/0.1027.0 refs/remotes/origin/feature/0.1027.0
2025-09-09T20:01:24.4060888Z Switched to a new branch 'feature/0.1027.0'
2025-09-09T20:01:24.4063364Z branch 'feature/0.1027.0' set up to track 'origin/feature/0.1027.0'.
2025-09-09T20:01:24.4076005Z ##[endgroup]
2025-09-09T20:01:24.4114546Z [command]/usr/bin/git log -1 --format='%H'
2025-09-09T20:01:24.4138103Z '0bb2c7d31c1ed0398085a4398a14dd1f48ff1716'
2025-09-09T20:01:24.4421603Z ##[group]Run actions/setup-node@v3
2025-09-09T20:01:24.4422830Z with:
2025-09-09T20:01:24.4423743Z cache: npm
2025-09-09T20:01:24.4424730Z node-version: 20.x
2025-09-09T20:01:24.4425842Z registry-url: https://registry.npmjs.org
2025-09-09T20:01:24.4427141Z always-auth: false
2025-09-09T20:01:24.4428157Z check-latest: false
2025-09-09T20:01:24.4429617Z token: ***
2025-09-09T20:01:24.4430609Z env:
2025-09-09T20:01:24.4431793Z GITHUB_TOKEN: ***
2025-09-09T20:01:24.4432821Z ##[endgroup]
2025-09-09T20:01:24.6453965Z Found in cache @ /opt/hostedtoolcache/node/20.19.5/x64
2025-09-09T20:01:24.6463339Z ##[group]Environment details
2025-09-09T20:01:25.1189665Z node: v20.19.5
2025-09-09T20:01:25.1190963Z npm: 10.8.2
2025-09-09T20:01:25.1192259Z yarn: 1.22.22
2025-09-09T20:01:25.1194335Z ##[endgroup]
2025-09-09T20:01:25.1207234Z [command]/opt/hostedtoolcache/node/20.19.5/x64/bin/npm config get cache
2025-09-09T20:01:25.2394313Z /home/runner/.npm
2025-09-09T20:01:25.4406521Z Cache hit for: node-cache-Linux-npm-859b683da348997249c7ee2cde839e35ab022b65e850b63d79c017bbef324342
2025-09-09T20:01:26.6056547Z Received 119069118 of 131652030 (90.4%), 113.6 MBs/sec
2025-09-09T20:01:26.7564425Z Received 131652030 of 131652030 (100.0%), 109.1 MBs/sec
2025-09-09T20:01:26.7565290Z Cache Size: ~126 MB (131652030 B)
2025-09-09T20:01:26.7601269Z [command]/usr/bin/tar -xf /home/runner/work/_temp/0149caea-0b4b-431d-a4c6-3c451e7e3a32/cache.tzst -P -C /home/runner/work/feather-design-system/feather-design-system --use-compress-program unzstd
2025-09-09T20:01:27.1871715Z Cache restored successfully
2025-09-09T20:01:27.2125360Z Cache restored from key: node-cache-Linux-npm-859b683da348997249c7ee2cde839e35ab022b65e850b63d79c017bbef324342
2025-09-09T20:01:27.2309045Z ##[group]Run npm ci
2025-09-09T20:01:27.2309632Z �[36;1mnpm ci�[0m
2025-09-09T20:01:27.2375513Z shell: /usr/bin/bash -e 0
2025-09-09T20:01:27.2375877Z env:
2025-09-09T20:01:27.2376373Z GITHUB_TOKEN: ***
2025-09-09T20:01:27.2376726Z NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2025-09-09T20:01:27.2377151Z NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2025-09-09T20:01:27.2377528Z ##[endgroup]
2025-09-09T20:01:35.1433461Z npm warn deprecated [email protected]: This package has been deprecated in favour of @sinonjs/samsam
2025-09-09T20:01:35.2858100Z npm warn deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
2025-09-09T20:01:46.3131626Z
2025-09-09T20:01:46.3133786Z > [email protected] prepare
2025-09-09T20:01:46.3134576Z > husky install
2025-09-09T20:01:46.3134995Z
2025-09-09T20:01:46.4262113Z husky - Git hooks installed
2025-09-09T20:01:46.4631162Z
2025-09-09T20:01:46.4633793Z added 2105 packages, and audited 2152 packages in 19s
2025-09-09T20:01:46.4635269Z
2025-09-09T20:01:46.4637150Z 276 packages are looking for funding
2025-09-09T20:01:46.4637914Z run npm fund for details
2025-09-09T20:01:46.5775128Z
2025-09-09T20:01:46.5776252Z 55 vulnerabilities (8 low, 24 moderate, 22 high, 1 critical)
2025-09-09T20:01:46.5777599Z
2025-09-09T20:01:46.5778204Z To address issues that do not require attention, run:
2025-09-09T20:01:46.5779027Z npm audit fix
2025-09-09T20:01:46.5779680Z
2025-09-09T20:01:46.5780288Z To address all issues (including breaking changes), run:
2025-09-09T20:01:46.5781203Z npm audit fix --force
2025-09-09T20:01:46.5781544Z
2025-09-09T20:01:46.6530347Z Run npm audit for details.
2025-09-09T20:01:46.6561636Z ##[group]Run npm run build
2025-09-09T20:01:46.6562004Z �[36;1mnpm run build�[0m
2025-09-09T20:01:46.6600631Z shell: /usr/bin/bash -e 0
2025-09-09T20:01:46.6600986Z env:
2025-09-09T20:01:46.6601368Z GITHUB_TOKEN: ***
2025-09-09T20:01:46.6601713Z NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2025-09-09T20:01:46.6602124Z NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2025-09-09T20:01:46.6602461Z ##[endgroup]
2025-09-09T20:01:46.7752910Z
2025-09-09T20:01:46.7753548Z > [email protected] prebuild
2025-09-09T20:01:46.7754094Z > npm run typecheck
2025-09-09T20:01:46.7754335Z
2025-09-09T20:01:46.8901076Z
2025-09-09T20:01:46.8901887Z > [email protected] pretypecheck
2025-09-09T20:01:46.8902632Z > npm run compile
2025-09-09T20:01:46.8902951Z
2025-09-09T20:01:46.9992172Z
2025-09-09T20:01:46.9992597Z > [email protected] compile
2025-09-09T20:01:46.9993274Z > lerna run compile --parallel
2025-09-09T20:01:46.9993660Z
2025-09-09T20:01:47.7145429Z lerna notice cli v8.1.2
2025-09-09T20:01:47.8481078Z lerna info ci enabled
2025-09-09T20:01:47.8919526Z
2025-09-09T20:01:47.8924141Z Lerna (powered by Nx) Running target compile for 6 projects:
2025-09-09T20:01:47.8924631Z
2025-09-09T20:01:47.8924993Z - @featherds/autocomplete
2025-09-09T20:01:47.8925718Z - @featherds/composables
2025-09-09T20:01:47.8926304Z - @featherds/input
2025-09-09T20:01:47.8926791Z - @featherds/select
2025-09-09T20:01:47.8927285Z - @featherds/styles
2025-09-09T20:01:47.8927737Z - @featherds/utils
2025-09-09T20:01:47.8928091Z
2025-09-09T20:01:47.8928101Z
2025-09-09T20:01:50.7859476Z
2025-09-09T20:01:50.7871467Z ##[group]✔️ > @featherds/styles:compile
2025-09-09T20:01:50.7875975Z
2025-09-09T20:01:50.7880525Z
2025-09-09T20:01:50.7885130Z > @featherds/[email protected] compile
2025-09-09T20:01:50.7890194Z > node build/post.js
2025-09-09T20:01:50.7894431Z
2025-09-09T20:01:52.5077061Z ##[endgroup]
2025-09-09T20:01:52.5093612Z ##[group]✔️ > @featherds/input:compile
2025-09-09T20:01:52.5144565Z
2025-09-09T20:01:52.5166725Z
2025-09-09T20:01:52.5167191Z > @featherds/[email protected] compile
2025-09-09T20:01:52.5167833Z > tsc --declaration
2025-09-09T20:01:52.5168325Z
2025-09-09T20:01:52.5183507Z ##[endgroup]
2025-09-09T20:01:52.5184572Z ##[group]✔️ > @featherds/select:compile
2025-09-09T20:01:52.5184979Z
2025-09-09T20:01:52.5184989Z
2025-09-09T20:01:52.5185335Z > @featherds/[email protected] compile
2025-09-09T20:01:52.5185917Z > tsc --declaration
2025-09-09T20:01:52.5186185Z
2025-09-09T20:01:52.5476890Z ##[endgroup]
2025-09-09T20:01:52.5481334Z ##[group]✔️ > @featherds/autocomplete:compile
2025-09-09T20:01:52.5484183Z
2025-09-09T20:01:52.5488450Z
2025-09-09T20:01:52.5493272Z > @featherds/[email protected] compile
2025-09-09T20:01:52.5502408Z > tsc --declaration
2025-09-09T20:01:52.5504223Z
2025-09-09T20:01:53.0122217Z ##[endgroup]
2025-09-09T20:01:53.0150918Z ##[group]✔️ > @featherds/utils:compile
2025-09-09T20:01:53.0151536Z
2025-09-09T20:01:53.0152617Z
2025-09-09T20:01:53.0153202Z > @featherds/[email protected] compile
2025-09-09T20:01:53.0153853Z > tsc --declaration
2025-09-09T20:01:53.0154162Z
2025-09-09T20:01:53.1006165Z ##[endgroup]
2025-09-09T20:01:53.1007426Z ##[group]✔️ > @featherds/composables:compile
2025-09-09T20:01:53.1007891Z
2025-09-09T20:01:53.1007904Z
2025-09-09T20:01:53.1008332Z > @featherds/[email protected] compile
2025-09-09T20:01:53.1008992Z > tsc --declaration
2025-09-09T20:01:53.1009492Z
2025-09-09T20:01:53.1015906Z ##[endgroup]
2025-09-09T20:01:53.1016210Z
2025-09-09T20:01:53.1016220Z
2025-09-09T20:01:53.1020619Z Lerna (powered by Nx) Successfully ran target compile for 6 projects
...
2025-09-09T20:02:51.4843605Z env:
2025-09-09T20:02:51.4844209Z GITHUB_TOKEN: ***
2025-09-09T20:02:51.4844790Z NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2025-09-09T20:02:51.4845504Z NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2025-09-09T20:02:51.4846111Z ##[endgroup]
2025-09-09T20:02:51.6111807Z Starting script execution via docker image mcr.microsoft.com/azure-cli:2.77.0
2025-09-09T20:03:03.4676559Z DEBUG: cli.knack.cli: Command arguments: ['account', 'show', '--debug', '--query', 'name:name, user:user.name, type:user.type, subscriptionId:id', '-o', 'table']
2025-09-09T20:03:03.4678350Z DEBUG: cli.knack.cli: init debug log:
2025-09-09T20:03:03.4679332Z Cannot enable color.
2025-09-09T20:03:03.4680283Z DEBUG: cli.knack.cli: Event: Cli.PreExecute []
2025-09-09T20:03:03.4683533Z DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f73e4d2e200>, <function OutputProducer.on_global_arguments at 0x7f73e4a33920>, <function CLIQuery.on_global_arguments at 0x7f73e4a78ea0>]
2025-09-09T20:03:03.4692961Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
2025-09-09T20:03:03.4700376Z DEBUG: cli.azure.cli.core: Modules found from index for 'account': ['azure.cli.command_modules.profile', 'azure.cli.command_modules.resource']
2025-09-09T20:03:03.4701615Z DEBUG: cli.azure.cli.core: Loading command modules:
2025-09-09T20:03:03.4702246Z DEBUG: cli.azure.cli.core: Name Load Time Groups Commands
2025-09-09T20:03:03.4722605Z DEBUG: cli.azure.cli.core: profile 0.002 2 8
2025-09-09T20:03:03.6461183Z DEBUG: cli.azure.cli.core: resource 0.173 52 234
2025-09-09T20:03:03.6462696Z DEBUG: cli.azure.cli.core: Total (2) 0.175 54 242
2025-09-09T20:03:03.6463950Z DEBUG: cli.azure.cli.core: Loaded 53 groups, 242 commands.
2025-09-09T20:03:03.6465083Z DEBUG: cli.azure.cli.core: Found a match in the command table.
2025-09-09T20:03:03.6466644Z DEBUG: cli.azure.cli.core: Raw command : account show
2025-09-09T20:03:03.6467578Z DEBUG: cli.azure.cli.core: Command table: account show
2025-09-09T20:03:03.6468749Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f73e3b74400>]
2025-09-09T20:03:03.6470402Z DEBUG: cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/root/.azure/commands/2025-09-09.20-03-03.account_show.10.log'.
2025-09-09T20:03:03.6471440Z INFO: az_command_data_logger: command args: account show --debug --query *** -o ***
2025-09-09T20:03:03.6472508Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7f73e3bc8680>]
2025-09-09T20:03:03.6481799Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
2025-09-09T20:03:03.6484234Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x7f73e3bcbf60>, <function register_cache_arguments..add_cache_arguments at 0x7f73e39fc180>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x7f73e39fc220>]
2025-09-09T20:03:03.6490591Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
2025-09-09T20:03:03.6491687Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
2025-09-09T20:03:03.6528105Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f73e4a339c0>, <function CLIQuery.handle_query_parameter at 0x7f73e4a78f40>, <function register_ids_argument..parse_ids_arguments at 0x7f73e39fc040>]
2025-09-09T20:03:03.6532501Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7f73e3bc8ae0>, <function _x509_from_base64_to_hex_transform at 0x7f73e3bc8b80>]
2025-09-09T20:03:03.6534500Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnFilterResult [<function CLIQuery.handle_query_parameter..filter_output at 0x7f73e2f8ba60>]
2025-09-09T20:03:03.6567839Z DEBUG: cli.knack.cli: Event: Cli.SuccessfulExecute []
2025-09-09T20:03:03.6569940Z DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f73e3b74680>]
2025-09-09T20:03:03.6571181Z INFO: az_command_data_logger: exit code: 0
2025-09-09T20:03:03.6575263Z INFO: cli.main: Command ran in 0.336 seconds (init: 0.146, invoke: 0.190)
2025-09-09T20:03:03.6844642Z INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1
2025-09-09T20:03:03.6845879Z INFO: telemetry.client: Accumulated 0 events. Flush the clients.
2025-09-09T20:03:03.6847110Z INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1
2025-09-09T20:03:03.6851566Z INFO: telemetry.save: Save telemetry record of length 3860 in cache file under /root/.azure/telemetry/20250909200303684
2025-09-09T20:03:03.6858610Z INFO: telemetry.main: Begin creating telemetry upload process.
2025-09-09T20:03:03.6861984Z INFO: telemetry.process: Creating upload process: "/usr/bin/python3.12 /usr/lib/az/lib/python3.12/site-packages/azure/cli/telemetry/init.py /root/.azure /root/.azure/telemetry/20250909200303684"
2025-09-09T20:03:03.6863146Z INFO: telemetry.process: Return from creating process 14
2025-09-09T20:03:03.6863713Z INFO: telemetry.main: Finish creating telemetry upload process.
2025-09-09T20:03:03.6864277Z Name User SubscriptionId
2025-09-09T20:03:03.6864850Z ----------------- ------------------------------------ ------------------------------------
2025-09-09T20:03:03.6865732Z nh-design-002-sub *** ***
2025-09-09T20:03:03.6865946Z
2025-09-09T20:03:03.8159035Z az script ran successfully.
2025-09-09T20:03:03.8159870Z cleaning up container...
2025-09-09T20:03:03.8305177Z MICROSOFT_AZURE_CLI_1757448171519_CONTAINER
2025-09-09T20:03:03.8305488Z
2025-09-09T20:03:03.8403321Z ##[group]Run azure/CLI@v2
2025-09-09T20:03:03.8403655Z with:
2025-09-09T20:03:03.8403921Z azcliversion: 2.77.0
2025-09-09T20:03:03.8404238Z inlineScript: az --version --debug
2025-09-09T20:03:03.8404570Z env:
2025-09-09T20:03:03.8405003Z GITHUB_TOKEN: ***
2025-09-09T20:03:03.8405350Z NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2025-09-09T20:03:03.8405764Z NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2025-09-09T20:03:03.8406107Z ##[endgroup]
2025-09-09T20:03:03.9666840Z Starting script execution via docker image mcr.microsoft.com/azure-cli:2.77.0
2025-09-09T20:03:04.2680357Z DEBUG: cli.knack.cli: Command arguments: ['--version', '--debug']
2025-09-09T20:03:04.2681670Z DEBUG: cli.knack.cli: init debug log:
2025-09-09T20:03:04.2682486Z Cannot enable color.
2025-09-09T20:03:04.2683030Z DEBUG: cli.knack.cli: Event: Cli.PreExecute []
2025-09-09T20:03:04.3569332Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): raw.githubusercontent.com:443
2025-09-09T20:03:04.4070637Z DEBUG: urllib3.connectionpool: https://raw.githubusercontent.com:443 "HEAD / HTTP/1.1" 301 0
2025-09-09T20:03:04.4077461Z DEBUG: cli.azure.cli.core.util: Connectivity check: 0.05252889099999436 sec
2025-09-09T20:03:04.4088133Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): raw.githubusercontent.com:443
2025-09-09T20:03:04.4466390Z DEBUG: urllib3.connectionpool: https://raw.githubusercontent.com:443 "GET /Azure/azure-cli/main/src/azure-cli-core/setup.py HTTP/1.1" 200 1351
2025-09-09T20:03:04.4478313Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): raw.githubusercontent.com:443
2025-09-09T20:03:04.4979963Z DEBUG: urllib3.connectionpool: https://raw.githubusercontent.com:443 "GET /Azure/azure-cli/main/src/azure-cli-telemetry/setup.py HTTP/1.1" 200 679
2025-09-09T20:03:04.6124071Z DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f3d516a8680>]
2025-09-09T20:03:04.6125683Z INFO: cli.main: Command ran in 0.491 seconds (init: 0.147, invoke: 0.345)
2025-09-09T20:03:04.6398416Z INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1
2025-09-09T20:03:04.6400222Z INFO: telemetry.client: Accumulated 0 events. Flush the clients.
2025-09-09T20:03:04.6401724Z INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1
2025-09-09T20:03:04.6403767Z INFO: telemetry.save: Save telemetry record of length 3759 in cache file under /root/.azure/telemetry/20250909200304639
2025-09-09T20:03:04.6405478Z INFO: telemetry.main: Begin creating telemetry upload process.
2025-09-09T20:03:04.6408196Z INFO: telemetry.process: Creating upload process: "/usr/bin/python3.12 /usr/lib/az/lib/python3.12/site-packages/azure/cli/telemetry/init.py /root/.azure /root/.azure/telemetry/20250909200304639"
2025-09-09T20:03:04.6414150Z azure-cli 2.77.0
2025-09-09T20:03:04.6414934Z
2025-09-09T20:03:04.6415549Z core 2.77.0
2025-09-09T20:03:04.6416473Z telemetry 1.1.0
2025-09-09T20:03:04.6417179Z
2025-09-09T20:03:04.6417404Z Dependencies:
2025-09-09T20:03:04.6417952Z msal 1.34.0b1
2025-09-09T20:03:04.6418614Z azure-mgmt-resource 23.3.0
2025-09-09T20:03:04.6419004Z
2025-09-09T20:03:04.6419529Z Python location '/usr/bin/python3.12'
2025-09-09T20:03:04.6420188Z Config directory '/root/.azure'
2025-09-09T20:03:04.6420949Z Extensions directory '/opt/az/azcliextensions'
2025-09-09T20:03:04.6421363Z
2025-09-09T20:03:04.6421849Z Python (Linux) 3.12.9 (main, Aug 12 2025, 23:07:01) [GCC 13.2.0]
2025-09-09T20:03:04.6422343Z
2025-09-09T20:03:04.6422718Z Legal docs and information: aka.ms/AzureCliLegal
2025-09-09T20:03:04.6423149Z
2025-09-09T20:03:04.6423158Z
2025-09-09T20:03:04.6423404Z Your CLI is up-to-date.
2025-09-09T20:03:04.6423712Z
2025-09-09T20:03:04.6424128Z INFO: telemetry.process: Return from creating process 14
2025-09-09T20:03:04.6425358Z INFO: telemetry.main: Finish creating telemetry upload process.
2025-09-09T20:03:04.7596975Z az script ran successfully.
2025-09-09T20:03:04.7597573Z cleaning up container...
2025-09-09T20:03:04.7773133Z MICROSOFT_AZURE_CLI_1757448183875_CONTAINER
2025-09-09T20:03:04.7773601Z
2025-09-09T20:03:04.7872707Z ##[group]Run azure/CLI@v2
2025-09-09T20:03:04.7873051Z with:
2025-09-09T20:03:04.7873328Z azcliversion: 2.77.0
2025-09-09T20:03:04.7873914Z inlineScript: az storage blob delete-batch --debug --source '$web' --pattern "demos/*" --account-name prsv --auth-mode login
2025-09-09T20:03:04.7874507Z env:
2025-09-09T20:03:04.7874891Z GITHUB_TOKEN: ***
2025-09-09T20:03:04.7875242Z NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2025-09-09T20:03:04.7875666Z NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2025-09-09T20:03:04.7876023Z ##[endgroup]
2025-09-09T20:03:04.9194095Z Starting script execution via docker image mcr.microsoft.com/azure-cli:2.77.0
2025-09-09T20:03:05.2154322Z DEBUG: cli.knack.cli: Command arguments: ['storage', 'blob', 'delete-batch', '--debug', '--source', '$web', '--pattern', 'demos/', '--account-name', 'prsv', '--auth-mode', 'login']
2025-09-09T20:03:05.2155953Z DEBUG: cli.knack.cli: init debug log:
2025-09-09T20:03:05.2156745Z Cannot enable color.
2025-09-09T20:03:05.2157489Z DEBUG: cli.knack.cli: Event: Cli.PreExecute []
2025-09-09T20:03:05.2163775Z DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7fce7f80e200>, <function OutputProducer.on_global_arguments at 0x7fce7f50f920>, <function CLIQuery.on_global_arguments at 0x7fce7f554ea0>]
2025-09-09T20:03:05.2172534Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
2025-09-09T20:03:05.2179366Z DEBUG: cli.azure.cli.core: Modules found from index for 'storage': ['azure.cli.command_modules.storage']
2025-09-09T20:03:05.2180475Z DEBUG: cli.azure.cli.core: Loading command modules:
2025-09-09T20:03:05.2183234Z DEBUG: cli.azure.cli.core: Name Load Time Groups Commands
2025-09-09T20:03:05.3929648Z DEBUG: cli.azure.cli.core: storage 0.174 60 275
2025-09-09T20:03:05.3931225Z DEBUG: cli.azure.cli.core: Total (1) 0.174 60 275
2025-09-09T20:03:05.3932705Z DEBUG: cli.azure.cli.core: Loaded 60 groups, 275 commands.
2025-09-09T20:03:05.3935915Z DEBUG: cli.azure.cli.core: Found a match in the command table.
2025-09-09T20:03:05.3942494Z DEBUG: cli.azure.cli.core: Raw command : storage blob delete-batch
2025-09-09T20:03:05.3943532Z DEBUG: cli.azure.cli.core: Command table: storage blob delete
2025-09-09T20:03:05.3944445Z DEBUG: cli.azure.cli.core: remaining : batch
2025-09-09T20:03:05.3945958Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7fce7e650400>]
2025-09-09T20:03:05.3948005Z DEBUG: cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/root/.azure/commands/2025-09-09.20-03-05.storage_blob_delete-batch.10.log'.
2025-09-09T20:03:05.3950303Z INFO: az_command_data_logger: command args: storage blob delete-batch --debug --source *** --pattern *** --account-name *** --auth-mode ***
2025-09-09T20:03:05.3952497Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7fce7e6a4680>]
2025-09-09T20:03:05.4677935Z DEBUG: cli.azure.cli.core.profiles._shared: Traceback (most recent call last):
2025-09-09T20:03:05.4680175Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/profiles/_shared.py", line 454, in _get_attr
2025-09-09T20:03:05.4681753Z op = import_module(full_mod_path)
2025-09-09T20:03:05.4682649Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:05.4683837Z File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module
2025-09-09T20:03:05.4684881Z return _bootstrap._gcd_import(name[level:], package, level)
2025-09-09T20:03:05.4685619Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:05.4686724Z File "", line 1387, in _gcd_import
2025-09-09T20:03:05.4687590Z File "", line 1360, in _find_and_load
2025-09-09T20:03:05.4689050Z File "", line 1310, in _find_and_load_unlocked
2025-09-09T20:03:05.4690397Z File "", line 488, in _call_with_frames_removed
2025-09-09T20:03:05.4691087Z File "", line 1387, in _gcd_import
2025-09-09T20:03:05.4701956Z File "", line 1360, in _find_and_load
2025-09-09T20:03:05.4702628Z File "", line 1324, in _find_and_load_unlocked
2025-09-09T20:03:05.4703551Z ModuleNotFoundError: No module named 'azure.mgmt.storage.blob'
2025-09-09T20:03:05.4703874Z
2025-09-09T20:03:05.4704241Z DEBUG: cli.azure.cli.core.profiles._shared: Traceback (most recent call last):
2025-09-09T20:03:05.4705006Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/profiles/_shared.py", line 454, in _get_attr
2025-09-09T20:03:05.4705633Z op = import_module(full_mod_path)
2025-09-09T20:03:05.4705984Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:05.4706460Z File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module
2025-09-09T20:03:05.4707014Z return _bootstrap._gcd_import(name[level:], package, level)
2025-09-09T20:03:05.4707457Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:05.4707910Z File "", line 1387, in _gcd_import
2025-09-09T20:03:05.4708429Z File "", line 1360, in _find_and_load
2025-09-09T20:03:05.4708986Z File "", line 1324, in _find_and_load_unlocked
2025-09-09T20:03:05.4709729Z ModuleNotFoundError: No module named 'azure.mgmt.storage.file'
2025-09-09T20:03:05.4710031Z
2025-09-09T20:03:05.6327979Z DEBUG: cli.azure.cli.core.profiles._shared: Traceback (most recent call last):
2025-09-09T20:03:05.6329706Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/profiles/_shared.py", line 454, in _get_attr
2025-09-09T20:03:05.6330831Z op = import_module(full_mod_path)
2025-09-09T20:03:05.6331455Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:05.6332317Z File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module
2025-09-09T20:03:05.6333310Z return _bootstrap._gcd_import(name[level:], package, level)
2025-09-09T20:03:05.6334092Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:05.6334913Z File "", line 1387, in _gcd_import
2025-09-09T20:03:05.6335837Z File "", line 1360, in _find_and_load
2025-09-09T20:03:05.6336839Z File "", line 1310, in _find_and_load_unlocked
2025-09-09T20:03:05.6337877Z File "", line 488, in _call_with_frames_removed
2025-09-09T20:03:05.6338831Z File "", line 1387, in _gcd_import
2025-09-09T20:03:05.6339983Z File "", line 1360, in _find_and_load
2025-09-09T20:03:05.6340978Z File "", line 1324, in _find_and_load_unlocked
2025-09-09T20:03:05.6342061Z ModuleNotFoundError: No module named 'azure.mgmt.storage.file'
2025-09-09T20:03:05.6342598Z
2025-09-09T20:03:05.7032472Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
2025-09-09T20:03:05.7036936Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x7fce7e6a7f60>, <function register_cache_arguments..add_cache_arguments at 0x7fce7e4d8180>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x7fce7e4d8220>]
2025-09-09T20:03:05.7049897Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
2025-09-09T20:03:05.7051941Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
2025-09-09T20:03:05.7061689Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7fce7f50f9c0>, <function CLIQuery.handle_query_parameter at 0x7fce7f554f40>, <function register_ids_argument..parse_ids_arguments at 0x7fce7e4d8040>]
2025-09-09T20:03:05.7184067Z DEBUG: cli.azure.cli.core.auth.persistence: build_persistence: location='/root/.azure/service_principal_entries.json', encrypt=False
2025-09-09T20:03:05.7186518Z DEBUG: cli.azure.cli.core.auth.persistence: build_persistence: location='/root/.azure/msal_token_cache.json', encrypt=False
2025-09-09T20:03:05.7190933Z DEBUG: cli.azure.cli.core.auth.binary_cache: load: /root/.azure/msal_http_cache.bin
2025-09-09T20:03:05.7194959Z DEBUG: urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
2025-09-09T20:03:05.7201779Z DEBUG: msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79
2025-09-09T20:03:05.7210668Z DEBUG: msal.authority: openid_config("https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79/v2.0/.well-known/openid-configuration") = 'token_endpoint': 'https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'
2025-09-09T20:03:05.7220693Z DEBUG: msal.application: Broker enabled? None
2025-09-09T20:03:05.7221193Z DEBUG: msal.application: Region to be used: None
2025-09-09T20:03:05.7240407Z DEBUG: cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token_info: scopes=('https://storage.azure.com/.default',), options=**
2025-09-09T20:03:05.7242674Z DEBUG: cli.azure.cli.core.auth.msal_credentials: ServicePrincipalCredential.acquire_token: scopes=['https://storage.azure.com/.default'], kwargs=***
2025-09-09T20:03:05.7245044Z DEBUG: msal.telemetry: Generate or reuse correlation_id: ddbeec5a-c528-428c-9274-458f039d44d7
2025-09-09T20:03:05.7268146Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-09-09T20:03:05.8988127Z DEBUG: urllib3.connectionpool: https://login.microsoftonline.com:443 "POST /045c99ac-af46-4d2c-b9ce-9976b2208d79/oauth2/v2.0/token HTTP/1.1" 200 1628
2025-09-09T20:03:05.8996663Z DEBUG: msal.token_cache: event=***
2025-09-09T20:03:05.8997466Z "client_id": "",
2025-09-09T20:03:05.8998278Z "data": ***
2025-09-09T20:03:05.8999029Z "claims": ""access_token": "xms_cc": "values": ["CP1"]",
2025-09-09T20:03:05.8999953Z "scope": [
2025-09-09T20:03:05.9000746Z "https://storage.azure.com/.default"
2025-09-09T20:03:05.9001213Z ]
2025-09-09T20:03:05.9001493Z ,
2025-09-09T20:03:05.9001808Z "environment": "login.microsoftonline.com",
2025-09-09T20:03:05.9002215Z "grant_type": "client_credentials",
2025-09-09T20:03:05.9002553Z "params": null,
2025-09-09T20:03:05.9002843Z "response": ***
2025-09-09T20:03:05.9003137Z "access_token": "**",
2025-09-09T20:03:05.9003468Z "expires_in": 3599,
2025-09-09T20:03:05.9003787Z "ext_expires_in": 3599,
2025-09-09T20:03:05.9004126Z "token_type": "Bearer"
2025-09-09T20:03:05.9004434Z ***,
2025-09-09T20:03:05.9004678Z "scope": [
2025-09-09T20:03:05.9005002Z "https://storage.azure.com/.default"
2025-09-09T20:03:05.9005349Z ],
2025-09-09T20:03:05.9006423Z "token_endpoint": "https://login.microsoftonline.com/045c99ac-af46-4d2c-b9ce-9976b2208d79/oauth2/v2.0/token"
2025-09-09T20:03:05.9007484Z ***
2025-09-09T20:03:05.9026531Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): prsv.blob.core.windows.net:443
2025-09-09T20:03:06.0816396Z DEBUG: urllib3.connectionpool: https://prsv.blob.core.windows.net:443 "GET /%24web?restype=container&comp=list&prefix=demos%2F HTTP/1.1" 200 None
2025-09-09T20:03:06.2485241Z DEBUG: cli.azure.cli.core.azclierror: Traceback (most recent call last):
2025-09-09T20:03:06.2486457Z File "/usr/lib64/az/lib/python3.12/site-packages/knack/cli.py", line 233, in invoke
2025-09-09T20:03:06.2487336Z cmd_result = self.invocation.execute(args)
2025-09-09T20:03:06.2487994Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2489005Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 666, in execute
2025-09-09T20:03:06.2489900Z raise ex
2025-09-09T20:03:06.2490544Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 734, in _run_jobs_serially
2025-09-09T20:03:06.2491590Z results.append(self._run_job(expanded_arg, cmd_copy))
2025-09-09T20:03:06.2492133Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2493253Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 726, in _run_job
2025-09-09T20:03:06.2494391Z return cmd_copy.exception_handler(ex)
2025-09-09T20:03:06.2494870Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2496010Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/init.py", line 358, in new_handler
2025-09-09T20:03:06.2496797Z first(ex)
2025-09-09T20:03:06.2497416Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/init.py", line 357, in new_handler
2025-09-09T20:03:06.2497992Z raise ex
2025-09-09T20:03:06.2498547Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 703, in _run_job
2025-09-09T20:03:06.2499326Z result = cmd_copy(params)
2025-09-09T20:03:06.2499659Z ^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2500255Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 336, in call
2025-09-09T20:03:06.2500846Z return self.handler(*args, **kwargs)
2025-09-09T20:03:06.2501200Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2501847Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/command_operation.py", line 120, in handler
2025-09-09T20:03:06.2502427Z return op(**command_args)
2025-09-09T20:03:06.2502718Z ^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2503422Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/operations/blob.py", line 800, in storage_blob_delete_batch
2025-09-09T20:03:06.2504266Z source_blobs = list(collect_blob_objects(client, source_container_name, pattern))
2025-09-09T20:03:06.2505052Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2505890Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/util.py", line 52, in collect_blob_objects
2025-09-09T20:03:06.2506576Z if not pattern or _match_path(blob_name, pattern):
2025-09-09T20:03:06.2506980Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2507622Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/util.py", line 199, in _match_path
2025-09-09T20:03:06.2508216Z return fnmatch(path, pattern)
2025-09-09T20:03:06.2508553Z ^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2508939Z File "/usr/lib/python3.12/fnmatch.py", line 36, in fnmatch
2025-09-09T20:03:06.2509542Z return fnmatchcase(name, pat)
2025-09-09T20:03:06.2509868Z ^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.2510262Z File "/usr/lib/python3.12/fnmatch.py", line 71, in fnmatchcase
2025-09-09T20:03:06.2510687Z return match(name) is not None
2025-09-09T20:03:06.2510991Z ^^^^^^^^^^^
2025-09-09T20:03:06.2511421Z TypeError: cannot use a string pattern on a bytes-like object
2025-09-09T20:03:06.2511710Z
2025-09-09T20:03:06.2998818Z ERROR: cli.azure.cli.core.azclierror: The command failed with an unexpected error. Here is the traceback:
2025-09-09T20:03:06.3000345Z ERROR: az_command_data_logger: The command failed with an unexpected error. Here is the traceback:
2025-09-09T20:03:06.3011864Z ERROR: cli.azure.cli.core.azclierror: cannot use a string pattern on a bytes-like object
2025-09-09T20:03:06.3013137Z Traceback (most recent call last):
2025-09-09T20:03:06.3014345Z File "/usr/lib64/az/lib/python3.12/site-packages/knack/cli.py", line 233, in invoke
2025-09-09T20:03:06.3015565Z cmd_result = self.invocation.execute(args)
2025-09-09T20:03:06.3016436Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3017906Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 666, in execute
2025-09-09T20:03:06.3019357Z raise ex
2025-09-09T20:03:06.3020538Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 734, in _run_jobs_serially
2025-09-09T20:03:06.3021799Z results.append(self._run_job(expanded_arg, cmd_copy))
2025-09-09T20:03:06.3022560Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3023596Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 726, in _run_job
2025-09-09T20:03:06.3024329Z return cmd_copy.exception_handler(ex)
2025-09-09T20:03:06.3024894Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3026210Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/init.py", line 358, in new_handler
2025-09-09T20:03:06.3027370Z first(ex)
2025-09-09T20:03:06.3028519Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/init.py", line 357, in new_handler
2025-09-09T20:03:06.3029782Z raise ex
2025-09-09T20:03:06.3030790Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 703, in _run_job
2025-09-09T20:03:06.3031810Z result = cmd_copy(params)
2025-09-09T20:03:06.3032349Z ^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3033360Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 336, in call
2025-09-09T20:03:06.3034364Z return self.handler(*args, **kwargs)
2025-09-09T20:03:06.3034964Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3036060Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/command_operation.py", line 120, in handler
2025-09-09T20:03:06.3037056Z return op(**command_args)
2025-09-09T20:03:06.3037542Z ^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3038755Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/operations/blob.py", line 800, in storage_blob_delete_batch
2025-09-09T20:03:06.3040650Z source_blobs = list(collect_blob_objects(client, source_container_name, pattern))
2025-09-09T20:03:06.3041712Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3042958Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/util.py", line 52, in collect_blob_objects
2025-09-09T20:03:06.3044104Z if not pattern or _match_path(blob_name, pattern):
2025-09-09T20:03:06.3044786Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3045836Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/util.py", line 199, in _match_path
2025-09-09T20:03:06.3046880Z return fnmatch(path, pattern)
2025-09-09T20:03:06.3047430Z ^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3048089Z File "/usr/lib/python3.12/fnmatch.py", line 36, in fnmatch
2025-09-09T20:03:06.3048732Z return fnmatchcase(name, pat)
2025-09-09T20:03:06.3049081Z ^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3049940Z File "/usr/lib/python3.12/fnmatch.py", line 71, in fnmatchcase
2025-09-09T20:03:06.3050458Z return match(name) is not None
2025-09-09T20:03:06.3050775Z ^^^^^^^^^^^
2025-09-09T20:03:06.3051196Z TypeError: cannot use a string pattern on a bytes-like object
2025-09-09T20:03:06.3051815Z ERROR: az_command_data_logger: cannot use a string pattern on a bytes-like object
2025-09-09T20:03:06.3052319Z Traceback (most recent call last):
2025-09-09T20:03:06.3052834Z File "/usr/lib64/az/lib/python3.12/site-packages/knack/cli.py", line 233, in invoke
2025-09-09T20:03:06.3053353Z cmd_result = self.invocation.execute(args)
2025-09-09T20:03:06.3053727Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3054328Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 666, in execute
2025-09-09T20:03:06.3054863Z raise ex
2025-09-09T20:03:06.3055440Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 734, in _run_jobs_serially
2025-09-09T20:03:06.3056130Z results.append(self._run_job(expanded_arg, cmd_copy))
2025-09-09T20:03:06.3056560Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3057193Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 726, in _run_job
2025-09-09T20:03:06.3057803Z return cmd_copy.exception_handler(ex)
2025-09-09T20:03:06.3058167Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3058824Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/init.py", line 358, in new_handler
2025-09-09T20:03:06.3059603Z first(ex)
2025-09-09T20:03:06.3060187Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/init.py", line 357, in new_handler
2025-09-09T20:03:06.3060763Z raise ex
2025-09-09T20:03:06.3061301Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 703, in _run_job
2025-09-09T20:03:06.3061856Z result = cmd_copy(params)
2025-09-09T20:03:06.3062167Z ^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3062755Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 336, in call
2025-09-09T20:03:06.3063345Z return self.handler(*args, **kwargs)
2025-09-09T20:03:06.3063699Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3064347Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/command_operation.py", line 120, in handler
2025-09-09T20:03:06.3064931Z return op(**command_args)
2025-09-09T20:03:06.3065233Z ^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3065943Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/operations/blob.py", line 800, in storage_blob_delete_batch
2025-09-09T20:03:06.3066794Z source_blobs = list(collect_blob_objects(client, source_container_name, pattern))
2025-09-09T20:03:06.3067495Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3068293Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/util.py", line 52, in collect_blob_objects
2025-09-09T20:03:06.3068976Z if not pattern or _match_path(blob_name, pattern):
2025-09-09T20:03:06.3069632Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3070277Z File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/command_modules/storage/util.py", line 199, in _match_path
2025-09-09T20:03:06.3070875Z return fnmatch(path, pattern)
2025-09-09T20:03:06.3071215Z ^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3071604Z File "/usr/lib/python3.12/fnmatch.py", line 36, in fnmatch
2025-09-09T20:03:06.3072007Z return fnmatchcase(name, pat)
2025-09-09T20:03:06.3072338Z ^^^^^^^^^^^^^^^^^^^^^^
2025-09-09T20:03:06.3072738Z File "/usr/lib/python3.12/fnmatch.py", line 71, in fnmatchcase
2025-09-09T20:03:06.3073164Z return match(name) is not None
2025-09-09T20:03:06.3073477Z ^^^^^^^^^^^
2025-09-09T20:03:06.3073898Z TypeError: cannot use a string pattern on a bytes-like object
2025-09-09T20:03:06.3074527Z To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
2025-09-09T20:03:06.3075331Z DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7fce7e650680>]
2025-09-09T20:03:06.3075972Z INFO: az_command_data_logger: exit code: 1
2025-09-09T20:03:06.3076526Z INFO: cli.main: Command ran in 1.235 seconds (init: 0.146, invoke: 1.089)
2025-09-09T20:03:06.3301187Z INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1
2025-09-09T20:03:06.3302400Z INFO: telemetry.client: Accumulated 0 events. Flush the clients.
2025-09-09T20:03:06.3303574Z INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1
2025-09-09T20:03:06.3305386Z INFO: telemetry.save: Save telemetry record of length 8172 in cache file under /root/.azure/telemetry/20250909200306329
2025-09-09T20:03:06.3308078Z INFO: telemetry.main: Begin creating telemetry upload process.
2025-09-09T20:03:06.3311010Z INFO: telemetry.process: Creating upload process: "/usr/bin/python3.12 /usr/lib/az/lib/python3.12/site-packages/azure/cli/telemetry/init.py /root/.azure /root/.azure/telemetry/20250909200306329"
2025-09-09T20:03:06.3312920Z INFO: telemetry.process: Return from creating process 14
2025-09-09T20:03:06.3321901Z INFO: telemetry.main: Finish creating telemetry upload process.
2025-09-09T20:03:06.5440113Z ##[error]Error: az cli script failed.
2025-09-09T20:03:06.5441795Z cleaning up container...
2025-09-09T20:03:06.5626205Z MICROSOFT_AZURE_CLI_1757448184822_CONTAINER
2025-09-09T20:03:06.5626659Z
2025-09-09T20:03:06.5645654Z ##[error]az cli script failed.
2025-09-09T20:03:06.5771386Z Post job cleanup.
2025-09-09T20:03:06.6165785Z Clearing azure cli accounts from the local cache.
2025-09-09T20:03:06.6174298Z [command]/usr/bin/az account clear
2025-09-09T20:03:07.1342803Z Post job cleanup.
2025-09-09T20:03:07.2091134Z [command]/usr/bin/git version
2025-09-09T20:03:07.2125147Z git version 2.51.0
2025-09-09T20:03:07.2167706Z Temporarily overriding HOME='/home/runner/work/_temp/5d0257dc-54f8-462f-9be5-d90cd01ce35d' before making global git config changes
2025-09-09T20:03:07.2169968Z Adding repository directory to the temporary git global config as a safe directory
2025-09-09T20:03:07.2172753Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/feather-design-system/feather-design-system
2025-09-09T20:03:07.2202489Z [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
2025-09-09T20:03:07.2230469Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2025-09-09T20:03:07.2460611Z [command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
2025-09-09T20:03:07.2480681Z http.https://github.com/.extraheader
2025-09-09T20:03:07.2492543Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2025-09-09T20:03:07.2519971Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2025-09-09T20:03:07.2851167Z Cleaning up orphan processes
2025-09-09T20:03:07.3269456Z Terminate orphan process: pid (3061) (python3)
Expected behavior
Running the same command last week with latest worked fine with the same --pattern. Changing the latest version from last week 2.76.0 was successful.
Environment Summary
Run azure/CLI@v2
with:
inlineScript: az --version
azcliversion: agentazcliversion
env:
GITHUB_TOKEN: ***
NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
Starting script execution via docker image mcr.microsoft.com/azure-cli:2.77.0
azure-cli 2.77.0
core 2.77.0
telemetry 1.1.0
Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0
Python location '/usr/bin/python3.12'
Config directory '/root/.azure'
Extensions directory '/opt/az/azcliextensions'
Python (Linux) 3.12.9 (main, Aug 12 2025, 23:07:01) [GCC 13.2.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
az script ran successfully.
Additional context
No changes to my .yml file were made since the last successful run. This seems directly related to changes between 2.76.0 and 2..77.0