Azure-pipelines-tasks: Phantom errors on AzureResourceManagerTemplateDeployment@3

Created on 28 Oct 2020  路  6Comments  路  Source: microsoft/azure-pipelines-tasks

Note

Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo

For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

If you have an issue or request for the Azure Pipelines service, use developer community instead:

https://developercommunity.visualstudio.com/spaces/21/index.html )

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: AzureResourceManagerTemplateDeployment@3

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

  • Server - Azure Pipelines or TFS on-premises?

    • If using TFS on-premises, provide the version:

    • If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

vavacars / Solution / pipelineId=71 / #TR-DEV-DEV-19

  • Agent - Hosted or Private:

    • If using Hosted agent, provide agent queue name: Agent: Azure Pipelines 2

    • If using private agent, provide the OS of the machine running the agent and the agent version:

Issue Description

Phantom errors are generated

Here you can see many errors
[Include task name(s), screenshots and any other relevant details]

image

But in reality when you navigate to logs there is no errors
image

Task logs

logs_1259.zip

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Error logs

[Insert error from the logs here for a quick overview]

Release bug

Most helpful comment

Yes @rikat-ms you are right this is happening because GetServicePrincipal is failing due to wrong endpoint. We are working on the fix on high priority.

All 6 comments

Same issue:
"No message found for this issue" error in azure devops
https://developercommunity.visualstudio.com/content/problem/1224035/no-message-found-for-this-issue-error-in-azure-dev.html

*edited so that this issue can be hit using the error message.

As 'Andre 365' said in the forum, the cause of the error looks that 'MissingSubscription' is reported as an error, but it isn't translated. This error occurs at GET request to this URL in GetServicePrincipal method.

We can see this error when we access this URL from browser directly.
image

If this error can be ignored, to stop reporting it as an error can be a resolution. Or, if this URL isn't valid to get service principal's information, URL should be changed.

Yes @rikat-ms you are right this is happening because GetServicePrincipal is failing due to wrong endpoint. We are working on the fix on high priority.

Sample problem here, the ARM deployment happens fine, no errors detected.
Any workaround?

hi @stas-sultanov / @RobertoBorges , we have merged and deployed. Please let us know, if you are still seeing this issue

Closing as issue is fixed and deployed

Was this page helpful?
0 / 5 - 0 ratings