Closed awentzel closed 5 years ago
@awentzel , this error is thrown from Azure Layer. Please follow up here.
I believe this is now a Kudu issue: https://developercommunity.visualstudio.com/content/problem/435623/zipdeploy-from-azure-devops-task-failing-in-pipeli.html
do we have any workaround this...
Do you have a fix for this issue
Was this issue solved?
Still having the issue on my pipelines
I had the same issue with this. after that changing the deployment command package directory which is read from the build file folder path. After giving the correct path deployment was successful for me.
Issue persists
Hey @awentzel, good to see you on here... did you ever make any progress? I hit this on a personal coding project over the break... sigh!
Just a quick update from my side: issue got resolved after changing the plan for the web app services. Once I did that, the issue got resolved. Tried the same a few times more and experienced failed deployment on free plan only. Thank you.
For me it was the incorrect path settings as @Ashanmg mentioned. We were deploying the zip package to storage and using WEBSITE_RUN_FROM_PACKAGE to read it (https://docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies#trigger-syncing). But the URL set was incorrect and the path (SAS setting) was not correct.
Evaluating the URL path manually resolved the issue for me. To me it felt like a zip was incorrectly ready and empty folder within /tmp folder was getting read
This is what I work with for the past one year. It fails after 45 minutes or 25 minutes. It fails very often and think of the embarrassment when it fails in Production. A retry will always make it deploy, but in Production I have to explain to so many people. Microsoft just publishes half-baked stuff and senior managers buy it and now I have to suffer. No, this is not just the one issue with Azure functions.
I experienced this issue today on a Linux Web App Service after I changed from a win2016 agent to a ubuntu-latests. Reading @sijucm "work around" I tried re-deploying and it worked.
This issue still plagues our deployments. We currently deploy 11 Azure Functions in one pipeline and regularly hit four or five retries before it will go through. All fail with the same result, all succeed on the next attempt (but a latter one will likely fail and force another attempt).
Going to each of the 11 functions and disconnecting them in the deployment center seems to lessen the chance of it happening but eventually the error will return.
Just got same same error message when deploying from Github (Azure App Service)
This still happens to me but only with Linux web apps. The windows based ones always work
Thanks for WEBSITE_RUN_FROM_PACKAGE settings!
Troubleshooting
I've gone through all log files and don't see a single error in them, the deploy actually still works, but, this task is failing with:
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: account name: edgewebui, project name: Edge Web UI, build def name/number: "Edge Component Explorer - Deploy
Agent - Hosted or Private:
If using Hosted agent, provide agent queue name:
If using private agent, provide the OS of the machine running the agent and the agent version: Ubuntu
Issue Description
[Include task name(s), screenshots and any other relevant details] Azure App Service Deploy - This uses Private build agents, running Ubuntu and MacOS. I've had this task in both the Build and Release pipeline and I get the same error. In build, I am using a YAML file. On Release it's not an option so I'm using Visual Designer. I've looked at every log file on the Azure Web App (Linux) instance both the staging slot and production. I don't see any clues why this error is happening. The application runs Node 10.10 with Express server and the OS has AAD turned on for Microsoft.
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution] ReleaseLogs_38.zip
Error logs
The weird part is I don't see any errors in the error logs. [Insert error from the logs here for a quick overview]