New issue checklist
Task name
HelmInstaller@1
Task version
1.272.0
Issue Description
HelmInstaller@1 task started failing today with RangeError: Maximum call stack size exceeded error message.
Task is consistently failing when it tries to cahce version of Helm which was not not already cached on the build agent.
Using helmVersionToInstall parameter makes no difference - if version was not cached previously the task fails.
Complete debug log is over 3Mb, I'll paste redacted version with repeating parts removed.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu 24.04
Relevant log output
2026-04-09T15:11:22.1134243Z ##[debug]task result: Failed
2026-04-09T15:11:22.1142921Z ##[error]RangeError: Maximum call stack size exceeded
2026-04-09T15:11:22.1145801Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=b54a54bb-496c-40eb-b1bd-c011bfd81830;]RangeError: Maximum call stack size exceeded
2026-04-09T15:11:22.1148816Z ##[debug]Processed: ##vso[task.complete result=Failed;]RangeError: Maximum call stack size exceeded
2026-04-09T15:11:22.1153292Z ##[section]Finishing: HelmInstaller
Full task logs with system.debug enabled
Details
2026-04-09T15:11:19.0572579Z ##[debug]Evaluating condition for step: 'HelmInstaller'
2026-04-09T15:11:19.0573691Z ##[debug]Evaluating: SucceededNode()
2026-04-09T15:11:19.0573932Z ##[debug]Evaluating SucceededNode:
2026-04-09T15:11:19.0574417Z ##[debug]Result: True
2026-04-09T15:11:19.0575284Z ##[section]Starting: HelmInstaller
2026-04-09T15:11:19.0579423Z ==============================================================================
2026-04-09T15:11:19.0579517Z Task : Helm tool installer
2026-04-09T15:11:19.0579584Z Description : Install Helm on an agent machine
2026-04-09T15:11:19.0579658Z Version : 1.272.0
2026-04-09T15:11:19.0579727Z Author : Microsoft Corporation
2026-04-09T15:11:19.0579795Z Help : https://aka.ms/azpipes-helm-installer-tsg
2026-04-09T15:11:19.0579869Z ==============================================================================
2026-04-09T15:11:19.0972593Z ##[debug]Using node path: /home/devopsbuild@redacted.com/agent/externals/node24/bin/node
2026-04-09T15:11:19.1187794Z ##[debug]system.debug=True
2026-04-09T15:11:19.1188407Z ##[debug]DistributedTask.Tasks.Node.SkipDebugLogsWhenDebugModeOff=True
2026-04-09T15:11:19.1211931Z ##[debug]agent.TempDirectory=/home/devopsbuild@redacted.com/agent/_work/_temp
2026-04-09T15:11:19.1213908Z ##[debug]loading inputs and endpoints
2026-04-09T15:11:19.1215294Z ##[debug]loading INPUT_HELMVERSIONTOINSTALL
2026-04-09T15:11:19.1219738Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2026-04-09T15:11:19.1220417Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2026-04-09T15:11:19.1221246Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2026-04-09T15:11:19.1223479Z ##[debug]loading SECRET_SECRET1
2026-04-09T15:11:19.1224328Z ##[debug]loading SECRET_SECRET2
2026-04-09T15:11:19.1225080Z ##[debug]loading SECRET_SECRET3
2026-04-09T15:11:19.1225665Z ##[debug]loading SECRET_SECRET4
2026-04-09T15:11:19.1226268Z ##[debug]loading SECRET_SECRET5
2026-04-09T15:11:19.1226970Z ##[debug]loading SECRET_SECRET6
2026-04-09T15:11:19.1227926Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2026-04-09T15:11:19.1228639Z ##[debug]loading SECRET_SECRET7
2026-04-09T15:11:19.1229180Z ##[debug]loading SECRET_SECRET8
2026-04-09T15:11:19.1229527Z ##[debug]loaded 13
2026-04-09T15:11:19.1231352Z ##[debug]Agent.ProxyUrl=undefined
2026-04-09T15:11:19.1231700Z ##[debug]Agent.CAInfo=undefined
2026-04-09T15:11:19.1232032Z ##[debug]Agent.ClientCert=undefined
2026-04-09T15:11:19.1232371Z ##[debug]Agent.SkipCertValidation=undefined
2026-04-09T15:11:19.1357968Z ##[debug]Agent.ProxyUrl=undefined
2026-04-09T15:11:19.1358337Z ##[debug]Agent.CAInfo=undefined
2026-04-09T15:11:19.1358727Z ##[debug]Agent.ClientCert=undefined
2026-04-09T15:11:19.1359250Z ##[debug]check path : /home/devopsbuild@redacted.com/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.272.0/node_modules/azure-pipelines-tool-lib/lib.json
2026-04-09T15:11:19.1359747Z ##[debug]adding resource file: /home/devopsbuild@redacted.com/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.272.0/node_modules/azure-pipelines-tool-lib/lib.json
2026-04-09T15:11:19.1360137Z ##[debug]system.culture=en-US
2026-04-09T15:11:19.1369587Z ##[debug]check path : /home/devopsbuild@redacted.com/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.272.0/node_modules/azure-pipelines-tasks-kubernetes-common/module.json
2026-04-09T15:11:19.1370042Z ##[debug]adding resource file: /home/devopsbuild@redacted.com/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.272.0/node_modules/azure-pipelines-tasks-kubernetes-common/module.json
2026-04-09T15:11:19.1370457Z ##[debug]system.culture=en-US
2026-04-09T15:11:19.1371564Z ##[debug]check path : /home/devopsbuild@redacted.com/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.272.0/task.json
2026-04-09T15:11:19.1371971Z ##[debug]adding resource file: /home/devopsbuild@redacted.com/agent/_work/_tasks/HelmInstaller_068d5909-43e6-48c5-9e01-7c8a94816220/1.272.0/task.json
2026-04-09T15:11:19.1372413Z ##[debug]system.culture=en-US
2026-04-09T15:11:19.1375299Z ##[debug]helmVersionToInstall=latest
2026-04-09T15:11:19.1378067Z ##[debug]
2026-04-09T15:11:19.1378727Z ##[debug]Agent.Version=4.271.0
2026-04-09T15:11:19.1379096Z ##[debug]Detected Agent.Version=4.271.0
2026-04-09T15:11:19.1379530Z ##[debug]Agent.TempDirectory=/home/devopsbuild@redacted.com/agent/_work/_temp
2026-04-09T15:11:19.1379896Z ##[debug]testing directory '/home/devopsbuild@redacted.com/agent/_work/_temp'
2026-04-09T15:11:19.1382697Z Downloading: https://api.github.com/repos/helm/helm/releases
2026-04-09T15:11:19.1383338Z ##[debug]destination /home/devopsbuild@redacted.com/agent/_work/_temp/d8115b1f-a578-4841-8504-0a43cf32faca
2026-04-09T15:11:19.1383704Z ##[debug]downloading
2026-04-09T15:11:19.7601619Z ##[debug]Content-Length header missing
2026-04-09T15:11:19.7602208Z ##[debug]creating stream
2026-04-09T15:11:19.7613249Z ##[debug]file write stream opened. fd: 22
2026-04-09T15:11:19.7613658Z ##[debug]subscribing to message read stream events...
2026-04-09T15:11:19.7614031Z ##[debug]successfully subscribed to message read stream events
2026-04-09T15:11:19.9632948Z ##[debug]download complete
2026-04-09T15:11:19.9633420Z ##[debug]Downloaded file size: 1764156 bytes
2026-04-09T15:11:19.9701693Z ##[debug]isExplicit: 4.1.4
2026-04-09T15:11:19.9702237Z ##[debug]explicit? true
2026-04-09T15:11:19.9702848Z ##[debug]Agent.Version=4.271.0
2026-04-09T15:11:19.9703387Z ##[debug]Detected Agent.Version=4.271.0
2026-04-09T15:11:19.9703922Z ##[debug]Agent.ToolsDirectory=/home/devopsbuild@redacted.com/agent/_work/_tool
2026-04-09T15:11:19.9704514Z ##[debug]checking cache: /home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4/x64
2026-04-09T15:11:19.9705042Z ##[debug]not found
2026-04-09T15:11:19.9705381Z ##[debug]helm-v4.1.4-2977ff24-df03-4d9e-a8fb-e9e64d26252d.zip
2026-04-09T15:11:19.9705717Z ##[debug]Agent.Version=4.271.0
2026-04-09T15:11:19.9706098Z ##[debug]Detected Agent.Version=4.271.0
2026-04-09T15:11:19.9706448Z ##[debug]Agent.TempDirectory=/home/devopsbuild@redacted.com/agent/_work/_temp
2026-04-09T15:11:19.9706806Z ##[debug]testing directory '/home/devopsbuild@redacted.com/agent/_work/_temp'
2026-04-09T15:11:19.9707045Z Downloading: https://get.helm.sh/helm-v4.1.4-linux-amd64.zip
2026-04-09T15:11:19.9707366Z ##[debug]destination /home/devopsbuild@redacted.com/agent/_work/_temp/helm-v4.1.4-2977ff24-df03-4d9e-a8fb-e9e64d26252d.zip
2026-04-09T15:11:19.9707732Z ##[debug]downloading
2026-04-09T15:11:20.0545485Z ##[debug]Content-Length of downloaded file: 19335870
2026-04-09T15:11:20.0546082Z ##[debug]creating stream
2026-04-09T15:11:20.0546683Z ##[debug]file write stream opened. fd: 23
2026-04-09T15:11:20.0547035Z ##[debug]subscribing to message read stream events...
2026-04-09T15:11:20.0547396Z ##[debug]successfully subscribed to message read stream events
2026-04-09T15:11:20.2368485Z ##[debug]download complete
2026-04-09T15:11:20.2369304Z ##[debug]Downloaded file size: 19335870 bytes
2026-04-09T15:11:20.2369755Z Extracting archive
2026-04-09T15:11:20.2370220Z ##[debug]Agent.Version=4.271.0
2026-04-09T15:11:20.2370820Z ##[debug]Detected Agent.Version=4.271.0
2026-04-09T15:11:20.2371195Z ##[debug]Agent.TempDirectory=/home/devopsbuild@redacted.com/agent/_work/_temp
2026-04-09T15:11:20.2371627Z ##[debug]testing directory '/home/devopsbuild@redacted.com/agent/_work/_temp/5b28b665-4cee-4bb2-a416-e197f35270e5'
2026-04-09T15:11:20.2372263Z ##[debug]testing directory '/home/devopsbuild@redacted.com/agent/_work/_temp'
2026-04-09T15:11:20.2372798Z ##[debug]mkdir '/home/devopsbuild@redacted.com/agent/_work/_temp/5b28b665-4cee-4bb2-a416-e197f35270e5'
2026-04-09T15:11:20.2373173Z ##[debug]which 'unzip'
2026-04-09T15:11:20.2373675Z ##[debug]found: '/usr/bin/unzip'
2026-04-09T15:11:20.2374322Z ##[debug]/usr/bin/unzip arg: /home/devopsbuild@redacted.com/agent/_work/_temp/helm-v4.1.4-2977ff24-df03-4d9e-a8fb-e9e64d26252d.zip
2026-04-09T15:11:20.2375078Z ##[debug]exec tool: /usr/bin/unzip
2026-04-09T15:11:20.2375591Z ##[debug]arguments:
2026-04-09T15:11:20.2376050Z ##[debug] /home/devopsbuild@redacted.com/agent/_work/_temp/helm-v4.1.4-2977ff24-df03-4d9e-a8fb-e9e64d26252d.zip
2026-04-09T15:11:20.2376495Z [command]/usr/bin/unzip /home/devopsbuild@redacted.com/agent/_work/_temp/helm-v4.1.4-2977ff24-df03-4d9e-a8fb-e9e64d26252d.zip
2026-04-09T15:11:20.2408090Z Archive: /home/devopsbuild@redacted.com/agent/_work/_temp/helm-v4.1.4-2977ff24-df03-4d9e-a8fb-e9e64d26252d.zip
2026-04-09T15:11:20.2408444Z creating: linux-amd64/
2026-04-09T15:11:20.5201529Z inflating: linux-amd64/helm
2026-04-09T15:11:20.5201824Z inflating: linux-amd64/LICENSE
2026-04-09T15:11:20.5202405Z inflating: linux-amd64/README.md
2026-04-09T15:11:20.5207712Z
2026-04-09T15:11:20.5210089Z ##[debug]Process exited with code 0 and signal null for tool '/usr/bin/unzip'
2026-04-09T15:11:20.5210587Z ##[debug]STDIO streams have closed and received exit code 0 and signal null for tool '/usr/bin/unzip'
2026-04-09T15:11:20.5212814Z Caching tool: helm 4.1.4 x64
2026-04-09T15:11:20.5213327Z ##[debug]source dir: /home/devopsbuild@redacted.com/agent/_work/_temp/5b28b665-4cee-4bb2-a416-e197f35270e5
2026-04-09T15:11:20.5213706Z ##[debug]Agent.Version=4.271.0
2026-04-09T15:11:20.5214037Z ##[debug]Detected Agent.Version=4.271.0
2026-04-09T15:11:20.5214419Z ##[debug]Agent.ToolsDirectory=/home/devopsbuild@redacted.com/agent/_work/_tool
2026-04-09T15:11:20.5214775Z ##[debug]destination /home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4/x64
2026-04-09T15:11:20.5215139Z ##[debug]rm -rf /home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4/x64
2026-04-09T15:11:20.5215521Z ##[debug]Error: ENOENT: no such file or directory, lstat '/home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4/x64'
2026-04-09T15:11:20.5215887Z ##[debug]rm -rf /home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4/x64.complete
2026-04-09T15:11:20.5216270Z ##[debug]Error: ENOENT: no such file or directory, lstat '/home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4/x64.complete'
2026-04-09T15:11:20.5216664Z ##[debug]testing directory '/home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4/x64'
2026-04-09T15:11:20.5217025Z ##[debug]testing directory '/home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4'
2026-04-09T15:11:20.5217382Z ##[debug]testing directory '/home/devopsbuild@redacted.com/agent/_work/_tool/helm'
2026-04-09T15:11:20.5217733Z ##[debug]mkdir '/home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4'
2026-04-09T15:11:20.5218085Z ##[debug]mkdir '/home/devopsbuild@redacted.com/agent/_work/_tool/helm/4.1.4/x64'
2026-04-09T15:11:20.5219721Z ##[debug]defaultRoot: '/home/devopsbuild@redacted.com/agent/_work/_temp/5b28b665-4cee-4bb2-a416-e197f35270e5'
2026-04-09T15:11:20.5220089Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2026-04-09T15:11:20.5220467Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2026-04-09T15:11:20.5220865Z ##[debug]findOptions.followSymbolicLinks: 'true'
2026-04-09T15:11:20.5221198Z ##[debug]findOptions.skipMissingFiles: 'false'
2026-04-09T15:11:20.5221537Z ##[debug]matchOptions.debug: 'false'
2026-04-09T15:11:20.5221871Z ##[debug]matchOptions.nobrace: 'true'
2026-04-09T15:11:20.5222197Z ##[debug]matchOptions.noglobstar: 'false'
2026-04-09T15:11:20.5222617Z ##[debug]matchOptions.dot: 'true'
2026-04-09T15:11:20.5222958Z ##[debug]matchOptions.noext: 'false'
2026-04-09T15:11:20.5223282Z ##[debug]matchOptions.nocase: 'false'
2026-04-09T15:11:20.5223606Z ##[debug]matchOptions.nonull: 'false'
2026-04-09T15:11:20.5223931Z ##[debug]matchOptions.matchBase: 'false'
2026-04-09T15:11:20.5224259Z ##[debug]matchOptions.nocomment: 'false'
2026-04-09T15:11:20.5224626Z ##[debug]matchOptions.nonegate: 'false'
2026-04-09T15:11:20.5224965Z ##[debug]matchOptions.flipNegate: 'false'
2026-04-09T15:11:20.5225299Z ##[debug]pattern: 'linux-amd64'
2026-04-09T15:11:20.5226390Z ##[debug]findPath: '/home/devopsbuild@redacted.com/agent/_work/_temp/5b28b665-4cee-4bb2-a416-e197f35270e5/linux-amd64'
2026-04-09T15:11:20.5226814Z ##[debug]statOnly: 'true'
2026-04-09T15:11:20.5227147Z ##[debug]found 1 paths
2026-04-09T15:11:20.5227479Z ##[debug]applying include pattern
2026-04-09T15:11:20.5227846Z ##[debug]adjustedPattern: '/home/devopsbuild@redacted.com/agent/_work/_temp/5b28b665-4cee-4bb2-a416-e197f35270e5/linux-amd64'
2026-04-09T15:11:20.5228562Z ##[debug]1 matches
2026-04-09T15:11:20.5229284Z ##[debug]1 final results
... skip repeating blocks
2026-04-09T15:11:22.1128464Z ##[debug]defaultRoot: '/home/devopsbuild@redacted.com/agent/_work/_temp/5b28b665-4cee-4bb2-a416-e197f35270e5'
2026-04-09T15:11:22.1128823Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2026-04-09T15:11:22.1129164Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2026-04-09T15:11:22.1129498Z ##[debug]findOptions.followSymbolicLinks: 'true'
2026-04-09T15:11:22.1129835Z ##[debug]findOptions.skipMissingFiles: 'false'
2026-04-09T15:11:22.1130171Z ##[debug]matchOptions.debug: 'false'
2026-04-09T15:11:22.1130521Z ##[debug]matchOptions.nobrace: 'true'
2026-04-09T15:11:22.1130851Z ##[debug]matchOptions.noglobstar: 'false'
2026-04-09T15:11:22.1131177Z ##[debug]matchOptions.dot: 'true'
2026-04-09T15:11:22.1131505Z ##[debug]matchOptions.noext: 'false'
2026-04-09T15:11:22.1131830Z ##[debug]matchOptions.nocase: 'false'
2026-04-09T15:11:22.1132154Z ##[debug]matchOptions.nonull: 'false'
2026-04-09T15:11:22.1132532Z ##[debug]matchOptions.matchBase: 'false'
2026-04-09T15:11:22.1132896Z ##[debug]matchOptions.nocomment: 'false'
2026-04-09T15:11:22.1133227Z ##[debug]matchOptions.nonegate: 'false'
2026-04-09T15:11:22.1133557Z ##[debug]matchOptions.flipNegate: 'false'
2026-04-09T15:11:22.1133920Z ##[debug]pattern: 'linux-amd64'
2026-04-09T15:11:22.1134243Z ##[debug]task result: Failed
2026-04-09T15:11:22.1142921Z ##[error]RangeError: Maximum call stack size exceeded
2026-04-09T15:11:22.1145801Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=b54a54bb-496c-40eb-b1bd-c011bfd81830;]RangeError: Maximum call stack size exceeded
2026-04-09T15:11:22.1148816Z ##[debug]Processed: ##vso[task.complete result=Failed;]RangeError: Maximum call stack size exceeded
2026-04-09T15:11:22.1153292Z ##[section]Finishing: HelmInstaller
Repro steps
New issue checklist
Task name
HelmInstaller@1
Task version
1.272.0
Issue Description
HelmInstaller@1 task started failing today with
RangeError: Maximum call stack size exceedederror message.Task is consistently failing when it tries to cahce version of Helm which was not not already cached on the build agent.
Using
helmVersionToInstallparameter makes no difference - if version was not cached previously the task fails.Complete debug log is over 3Mb, I'll paste redacted version with repeating parts removed.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu 24.04
Relevant log output
Full task logs with system.debug enabled
Details
Repro steps