-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AzureFunctionApp@1 deployment gets stuck and fails after several retries #14201
Comments
Please be aware there is an internal e-mail thread discussion that contains more context, as well as links to specific code snippets that we think have issues. |
@AmrutaKawade to check this on priority |
this is fixed. closing this issue |
This is not fixed and I'm suffering this Microsoftiness for the past 1.5 years. Now my application is in production and it embarasses me that this fails very randomly and I cannot even restart the deploy because of the controls put in place. It can take upto an hour for it to fail and I have to again start another deploy task and pray hard even being an atheist. The only wish I have is never to work with what comes out of Microsoft |
Microsoft support person tells this is fixed without even telling what is fixed and what was the root cause. From my experience with Microsoft support it is diversionary tactics to frustrate a customer to leave the issue. |
This is still failing for me too |
Same here |
failing with the same results |
still failing with the same result. I saw the problem both on version 1.195.0 and 1.198.1. |
My function deployments also fail sometimes with this exact result. |
Same with us - although we typically don't wait very long and just cancel the job. Re-running will sometimes take care of it; however, unsure why the deployment stalls at that step. |
Currently experiencing this hang on 1.208.2 |
This is failing for me too, version |
I am experiencing the same thing for a second time:
This was working fine until yesterday and then, all of sudden, stopped working. The task just times out after an hour. In the meantime, I have a second pipeline that deploys the exact same functions to another Function App that is working. Last time I experienced this I had to delete everything - Function App, Storage Account etc. - to get it back into a working state. So far this time, I have tried deleting the Function App and its file shares but with no success. |
I am experiencing the same issue. Out of the blue, as of April 12th, my functionapp deployment pipelines all started timing out. |
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: AzureFunctionApp@1
Environment
Azure Pipelines
Agent - Hosted or Private: Hosted
Issue Description
We are an internal Microsoft team and we are using the AzureFunctionApp@1 task to deploy our Function Apps in Azure. The issue consists in that many deployments of the App fail due to timeouts and failed retries.
It seems that the request to update the Function App package gets stuck and timeouts after around 3 mins (I guess this timeout is configured inside the task code) and after each timeout retries the request. This is retried several times and at the end, the task fails after 15-16 mins.
What we see in the task log is this:
This produces two issues:
We would like to know the root cause of this issue and also if it is possible to have some control from the AzureFunctionApp@1 input parameters to determine the duration of the timeouts and also the number of retries.
Also, the logs don't provide much detail on what the actual problem is.
Error logs
2021-01-07T23:53:09.2386187Z ##[section]Starting: Deploy Function App to PROD
2021-01-07T23:53:09.2639113Z ==============================================================================
2021-01-07T23:53:09.2639707Z Task : Azure Functions
2021-01-07T23:53:09.2640303Z Description : Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications
2021-01-07T23:53:09.2640877Z Version : 1.163.7
2021-01-07T23:53:09.2641270Z Author : Microsoft Corporation
2021-01-07T23:53:09.2641786Z Help : https://aka.ms/azurefunctiontroubleshooting
2021-01-07T23:53:09.2642356Z ==============================================================================
2021-01-07T23:53:13.6702075Z Got service connection details for Azure App Service:'FastPathBasketballUx-prod4-east-us'
2021-01-07T23:53:15.0324558Z Trying to update App Service Application settings. Data: {"WEBSITE_RUN_FROM_PACKAGE":"1"}
2021-01-07T23:53:15.0326563Z Deleting App Service Application settings. Data: ["WEBSITE_RUN_FROM_ZIP"]
2021-01-07T23:53:15.3156558Z App Service Application settings are already present.
2021-01-07T23:53:21.9654603Z Package deployment using ZIP Deploy initiated.
2021-01-07T23:59:48.4868777Z ##[error]Failed to deploy web package to App Service.
2021-01-07T23:59:48.4977429Z ##[error]To debug further please check Kudu stack trace URL : https://$FastPathBasketballUx-prod4-east-us:***@fastpathbasketballux-prod4-east-us.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace
2021-01-07T23:59:48.4981635Z ##[error]Error: Error: Failed to deploy web package to App Service. Conflict (CODE: 409)
2021-01-07T23:59:49.3382971Z App Service Application URL: http://fastpathbasketballux-prod4-east-us.azurewebsites.net
2021-01-07T23:59:49.3797056Z ##[section]Finishing: Deploy Function App to PROD
The text was updated successfully, but these errors were encountered: