Skip to content

[BUG]: AzureContainerAppsDeploy@1 shows no error and just fails #21361

@Mudo121Bbc

Description

@Mudo121Bbc

New issue checklist

Task name

AzureContainerAppsDeploy

Task version

1

Issue Description

I'm trying to deploy an azure container app with an image already deployed but it just fails without any error.

However, the task sometimes success and sometimes fails.

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

MacOs

Relevant log output

2025-10-06T14:05:39.3240620Z ##[section]Starting: Azure Container Apps Deploy
2025-10-06T14:05:39.3275300Z ==============================================================================
2025-10-06T14:05:39.3275480Z Task         : Azure Container Apps Deploy
2025-10-06T14:05:39.3275590Z Description  : An Azure DevOps Task to build and deploy Azure Container Apps.
2025-10-06T14:05:39.3275660Z Version      : 1.262.0
2025-10-06T14:05:39.3275760Z Author       : Microsoft Corporation
2025-10-06T14:05:39.3275910Z Help         : [Learn more about this task](http://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureContainerAppsV1/README.md)
2025-10-06T14:05:39.3275990Z ==============================================================================
2025-10-06T14:05:39.5495600Z ##[section]Finishing: Azure Container Apps Deploy


Without system debug it just shows this and fails.

Full task logs with system.debug enabled

 2025-10-06T14:26:06.6618210Z ##[section]Starting: Azure Container Apps Deploy
2025-10-06T14:26:06.6651460Z ==============================================================================
2025-10-06T14:26:06.6651590Z Task         : Azure Container Apps Deploy
2025-10-06T14:26:06.6651700Z Description  : An Azure DevOps Task to build and deploy Azure Container Apps.
2025-10-06T14:26:06.6651760Z Version      : 1.262.0
2025-10-06T14:26:06.6651840Z Author       : Microsoft Corporation
2025-10-06T14:26:06.6651970Z Help         : [Learn more about this task](http://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureContainerAppsV1/README.md)
2025-10-06T14:26:06.6652050Z ==============================================================================
2025-10-06T14:26:06.6728790Z ##[debug]Resource Utilization warnings is disabled, switch "DISABLE_RESOURCE_UTILIZATION_WARNINGS" variable to "false" if you want to enable it
2025-10-06T14:26:06.6821260Z ##[debug]Using node path: /Users/builder/myagent/externals/node20_1/bin/node
2025-10-06T14:26:06.7373870Z ##[debug]system.debug=true
2025-10-06T14:26:06.7374390Z ##[debug]DistributedTask.Tasks.Node.SkipDebugLogsWhenDebugModeOff=True
2025-10-06T14:26:06.7375230Z ##[debug]agent.TempDirectory=/Users/builder/myagent/_work/_temp
2025-10-06T14:26:06.7378690Z ##[debug]loading inputs and endpoints
2025-10-06T14:26:06.7380310Z ##[debug]loading INPUT_CWD
2025-10-06T14:26:06.7385690Z ##[debug]loading INPUT_CONNECTEDSERVICENAMEARM
2025-10-06T14:26:06.7386260Z ##[debug]loading INPUT_IMAGETODEPLOY
2025-10-06T14:26:06.7386540Z ##[debug]loading INPUT_CONTAINERAPPNAME
2025-10-06T14:26:06.7386910Z ##[debug]loading INPUT_RESOURCEGROUP
2025-10-06T14:26:06.7387390Z ##[debug]loading INPUT_CONTAINERAPPENVIRONMENT
2025-10-06T14:26:06.7387930Z ##[debug]loading INPUT_LOCATION
2025-10-06T14:26:06.7388520Z ##[debug]loading INPUT_DISABLETELEMETRY
2025-10-06T14:26:06.7388890Z ##[debug]loading ENDPOINT_AUTH_52c89fcf-76c6-4470-ad4a-176c9ad6b5f4
2025-10-06T14:26:06.7390260Z ##[debug]loading ENDPOINT_AUTH_SCHEME_52c89fcf-76c6-4470-ad4a-176c9ad6b5f4
2025-10-06T14:26:06.7390780Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_52c89fcf-76c6-4470-ad4a-176c9ad6b5f4_SERVICEPRINCIPALID
2025-10-06T14:26:06.7391860Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_52c89fcf-76c6-4470-ad4a-176c9ad6b5f4_WORKLOADIDENTITYFEDERATIONSUBJECT
2025-10-06T14:26:06.7392300Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_52c89fcf-76c6-4470-ad4a-176c9ad6b5f4_TENANTID
2025-10-06T14:26:06.7393240Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_52c89fcf-76c6-4470-ad4a-176c9ad6b5f4_WORKLOADIDENTITYFEDERATIONISSUER
2025-10-06T14:26:06.7394600Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2025-10-06T14:26:06.7394890Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2025-10-06T14:26:06.7395180Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2025-10-06T14:26:06.7397470Z ##[debug]loaded 17
2025-10-06T14:26:06.7399450Z ##[debug]Agent.ProxyUrl=undefined
2025-10-06T14:26:06.7399680Z ##[debug]Agent.CAInfo=undefined
2025-10-06T14:26:06.7399910Z ##[debug]Agent.ClientCert=undefined
2025-10-06T14:26:06.7400140Z ##[debug]Agent.SkipCertValidation=undefined
2025-10-06T14:26:06.7666270Z ##[debug]check path : /Users/builder/myagent/_work/_tasks/AzureContainerApps_cad8dd6a-de28-4d89-a7db-1bc20a2fbb2d/1.262.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2025-10-06T14:26:06.7666960Z ##[debug]adding resource file: /Users/builder/myagent/_work/_tasks/AzureContainerApps_cad8dd6a-de28-4d89-a7db-1bc20a2fbb2d/1.262.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
2025-10-06T14:26:06.7667290Z ##[debug]system.culture=en-US
2025-10-06T14:26:06.7683160Z ##[debug]Build.BuildId=82748
2025-10-06T14:26:06.7683410Z ##[debug]Build.BuildNumber=develop_20251006.15
2025-10-06T14:26:06.7685200Z ##[debug]disableTelemetry=true
2025-10-06T14:26:06.7685920Z ##[debug]check path : /Users/builder/myagent/_work/_tasks/AzureContainerApps_cad8dd6a-de28-4d89-a7db-1bc20a2fbb2d/1.262.0/task.json
2025-10-06T14:26:06.7686250Z ##[debug]adding resource file: /Users/builder/myagent/_work/_tasks/AzureContainerApps_cad8dd6a-de28-4d89-a7db-1bc20a2fbb2d/1.262.0/task.json
2025-10-06T14:26:06.7686520Z ##[debug]system.culture=en-US
2025-10-06T14:26:06.7693080Z ##[debug]cwd=/Users/builder/myagent/_work/r162/a
2025-10-06T14:26:06.7693360Z ##[debug]testing directory '/Users/builder/myagent/_work/r162/a'
2025-10-06T14:26:06.7700450Z ##[debug]appSourcePath=undefined
2025-10-06T14:26:06.7700760Z ##[debug]acrName=undefined
2025-10-06T14:26:06.7701230Z ##[debug]imageToDeploy=smino.azurecr.io/smino-ai:develop_20251006.15
2025-10-06T14:26:06.7701500Z ##[debug]yamlConfigPath=undefined
2025-10-06T14:26:06.7701750Z ##[debug]connectedServiceNameARM=52c89fcf-76c6-4470-ad4a-176c9ad6b5f4
2025-10-06T14:26:06.7703100Z ##[debug]52c89fcf-76c6-4470-ad4a-176c9ad6b5f4 auth scheme = WorkloadIdentityFederation
2025-10-06T14:26:06.7703580Z ##[debug]52c89fcf-76c6-4470-ad4a-176c9ad6b5f4 auth param serviceprincipalid = ***
2025-10-06T14:26:06.7704250Z ##[debug]52c89fcf-76c6-4470-ad4a-176c9ad6b5f4 auth param tenantid = 2aa16d0e-72f4-4020-a682-69d58114224c
2025-10-06T14:26:06.7704540Z ##[debug]System.TeamProjectId=9c51b00d-1409-4c27-a700-5498fc54815e
2025-10-06T14:26:06.7704800Z ##[debug]System.HostType=release
2025-10-06T14:26:06.7705040Z ##[debug]System.PlanId=d76e24e5-1473-4d83-9da3-a2ab542c6821
2025-10-06T14:26:06.7705280Z ##[debug]System.JobId=e20e8e4a-fba1-5004-3d14-e3f0e9c52ebc
2025-10-06T14:26:06.7705520Z ##[debug]System.CollectionUri=https://vsrm.dev.azure.com/bbcsystemsag/
2025-10-06T14:26:06.7705800Z ##[debug]Getting credentials for account feeds
2025-10-06T14:26:06.7706030Z ##[debug]SYSTEMVSSCONNECTION exists true
2025-10-06T14:26:06.7706260Z ##[debug]Got auth token, setting it as secret so it does not print in console log
2025-10-06T14:26:06.7708830Z ##[debug]Processed: ##vso[task.setsecret]***
2025-10-06T14:26:06.9104830Z ##[debug]task result: Failed
2025-10-06T14:26:06.9113860Z ##[debug]Processed: ##vso[task.complete result=Failed;] 

Repro steps

The deployment seems to fail if I deploy it fast a second time. From time to time the very same configuration works...

steps:
- task: AzureContainerApps@1
  displayName: 'Azure Container Apps Deploy'
  inputs:
    azureSubscription: '***'
    imageToDeploy: 'myImage'
    containerAppName: 'myCOntainerName'
    resourceGroup: myRessourceGroup
    containerAppEnvironment: 'MyContainerAppENv'
    location: myLocation
    disableTelemetry: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions