-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
Docker@2 - Docker v2 task
Task version
2.263.1
Issue Description
In the previous version (Version: 2.259.0) everything worked fine, however, in our version (Version: 2.263.1) we are seeing this error.
2025-09-29T21:52:31.3432619Z ##[section]Starting: buildAndPush
2025-09-29T21:52:31.3442238Z ==============================================================================
2025-09-29T21:52:31.3442613Z Task : Docker
2025-09-29T21:52:31.3442999Z Description : Build or push Docker images, login or logout, start or stop containers, or run a Docker command
2025-09-29T21:52:31.3443590Z Version : 2.263.1
2025-09-29T21:52:31.3443883Z Author : Microsoft Corporation
2025-09-29T21:52:31.3444187Z Help : https://aka.ms/azpipes-docker-tsg
2025-09-29T21:52:31.3444546Z ==============================================================================
2025-09-29T21:52:31.7810427Z ##[error]Unhandled: Unexpected token .
2025-09-29T21:52:31.7831233Z ##[error]/azp/_work/_tasks/Docker_e28912f1-0114-4464-802a-a3a35437fd16/2.263.1/node_modules/@azure/msal-node/lib/msal-node.cjs:48
tenantProfiles: accountEntity.tenantProfiles?.map((tenantProfile) => {
^
SyntaxError: Unexpected token .
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/azp/_work/_tasks/Docker_e28912f1-0114-4464-802a-a3a35437fd16/2.263.1/node_modules/@azure/identity/dist/index.js:5:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2025-09-29T21:52:31.7903900Z ##[section]Finishing: buildAndPush
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu 20.04
Relevant log output
2025-09-30T13:43:19.4836837Z ##[section]Starting: buildAndPush
2025-09-30T13:43:19.4854589Z ==============================================================================
2025-09-30T13:43:19.4855226Z Task : Docker
2025-09-30T13:43:19.4856015Z Description : Build or push Docker images, login or logout, start or stop containers, or run a Docker command
2025-09-30T13:43:19.4856466Z Version : 2.263.1
2025-09-30T13:43:19.4856799Z Author : Microsoft Corporation
2025-09-30T13:43:19.4857188Z Help : https://aka.ms/azpipes-docker-tsg
2025-09-30T13:43:19.4857644Z ==============================================================================
2025-09-30T13:43:19.9672907Z ##[error]Unhandled: Unexpected token .
2025-09-30T13:43:19.9691237Z ##[error]/azp/_work/_tasks/Docker_e28912f1-0114-4464-802a-a3a35437fd16/2.263.1/node_modules/@azure/msal-node/lib/msal-node.cjs:48
tenantProfiles: accountEntity.tenantProfiles?.map((tenantProfile) => {
^
SyntaxError: Unexpected token .
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/azp/_work/_tasks/Docker_e28912f1-0114-4464-802a-a3a35437fd16/2.263.1/node_modules/@azure/identity/dist/index.js:5:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2025-09-30T13:43:19.9697139Z ##[section]Finishing: buildAndPushFull task logs with system.debug enabled
[REPLACE THIS WITH YOUR INFORMATION]