-
Notifications
You must be signed in to change notification settings - Fork 74
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
Github Actions deployment to Azure stuck to Package deployment using ZIP Deploy initiated #185
Comments
Thanks @jeffordray92 for reporting this. There is a trail of people (me included) reporting the same issue here: |
This issue is idle because it has been open for 14 days with no activity. |
I can confirm, it is a huge issue, both deploying dotnet core web app and Azure Functions (both Linux). For some reason, Azure functions take ~5 minutes while web app takes up to several hours., logs show no apparent reason. But when deploying web app from Visual Studio, it takes seconds, not even minutes. All deployments seem to be related to ZIP Packaging and using Kudu service. **Update: 7/6/23 ** |
I have experienced the same issue. Logs are listed below.
|
It works now, where it fails multiple times about 20 hours ago. The entire process took less than one minute to complete when it works.
|
This issue is idle because it has been open for 14 days with no activity. |
This is still an issue, it keeps on hanging, the deployment happens, but there is not termination feedback for the pipeline, but what is interesting is that if you terminate the function app via terraform and re-create it, it works fine initially, I thought that Config vars are making this behave in a weird way, but no. It hangs like this:
|
This issue is idle because it has been open for 14 days with no activity. |
If i delete all but the latest log record (aka, remove the logs for the pending deployment), the deploy action works again. |
This issue is idle because it has been open for 14 days with no activity. |
Still happpens...I deploy regularly across multiple function apps and then this starts happening for no obvious reason. |
I'm completely ignorant of the internals, but would it be possible to use Kudu Publish instead of Zip Deploy as is done in azure/webapps-deploy@v3? That solved a similar issue for me with deploying App Services. |
This issue is idle because it has been open for 14 days with no activity. |
Hello, Edit: I deleted them from Deployment Center and the pipeline completed. |
I had the same issue regarding Azure Pipelines. But I do not use Github Actions but Azure Repos. Here deleting all but the latest logs from the Azure Deployment Center also solved the issue instantly. |
I'm having the same issue and can't implement the self-help fix of deleting logs from the Deployment Center. I'm getting a "Delete Failed" with no explanation. Any suggestions would be much appreciated! Also, @Azure team, please fix this. |
Also having the same problem (tried both
So the job will get stuck and then be canceled after the timeout hits. Re-running the CD job with debug logging enabled shows the infinite loop on this section of the log, which repeats until the timeout hits and the job gets killed, note the
Using Anyone have any ideas? |
Shot in the dark about a possible cause and solution, after I experienced the same issue as in the OP. On my side this may have been caused by running a Bicep deployment to update some configs on the Function app. The Bicep deployment would remove the The fix was to re-add I'm still not sure if this is the real issue, but if this seems to correlate with other peoples experiences it would be nice to validate. |
I faced a similar issue after adding environment variables to my code. I tried various solutions, including adding the .env file to my .gitignore, modifying my YAML configuration, and tweaking my requirements.txt file. However, the deployment process, which usually took 3-4 minutes, would not complete and had to be manually canceled each time. Ultimately, I resolved the problem by deleting all logs from the deployment center on Azure since the initial deployment and redeploying the code. This approach finally worked! |
Adding WEBSITE_RUN_FROM_PACKAGE = 1 to environnent variables solved the issue. Deployements went from 10 min or more to 3 min!! |
Same here, I also checked the "Deployment slot setting" checkbox, no idea if it's necessary but it worked out. Deployment took less than 2 minutes. |
Wow it helped for me as well |
For those who have this problem, I solve it with these steps. 1 - Go to your Azure portal and go to your App Service. Try to deploy it again, it should solve the problem. Extra step: I also deleted all my logs on the Deployment Center session, into the Azure Service page, I saw in another post that this could help. Let me know if it works. |
When I was trying to deploy on Azure Function App, the deployment on Github Actions seems to be freezing on Package deployment using ZIP Deploy initiated. This goes on for hours, without any success response, hence we are left with no choice but to cancel the operation.
But, when I checked on Azure deployment logs, it seems to be deployed successfully.
What could be the reason for this, and how should we fix it?
The text was updated successfully, but these errors were encountered: