kudu: Zip deploy started failing earlier today
I’ve been using Zip Deploy from AppVeyor for some time now with successful deployments to my site earlier in the day. The last two deployments have failed and none of the files have shown up in my staging slot.
Checking the deployment at /ZipDeploy
shows the following error
2018-08-31T04:28:57.9374336Z : Copying file: 'EquineExchange.Homepage.Views.dll'
2018-08-31T04:28:57.9374336Z : Failed exitCode=1, command="kudusync" -v 50 -f "D:\local\Temp\zipdeploy\extracted" -t "D:\home\site\wwwroot" -n "D:\home\site\deployments\c9327d30db1f44b79e15fd050558f866\manifest" -p "D:\home\site\deployments\36a4e08deb894cd9a0e12f943e16956c\manifest" -i ".git;.hg;.deployment;deploy.cmd"
2018-08-31T04:28:57.9374336Z : An error has occurred during web site deployment.
2018-08-31T04:28:57.9530456Z : Error: Failed to change file that is currently being used "D:\home\site\wwwroot\EquineExchange.Homepage.Views.dll"\r\nD:\Program Files (x86)\SiteExtensions\Kudu\77.10830.3542\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"
Deployment Id: c9327d30db1f44b79e15fd050558f866
The site in question is on the account with eei-debug
and has the word public
in the name. I’m deploying to the staging slot with auto swap enabled.
I’m not sure if it’s related but I think this issue started after .net core 2.1.3 landed on my VM.
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 1
- Comments: 25 (21 by maintainers)
@ankitkumarr Yep, it’s most likely the problem that we just don’t wait enough, given that Brian said he found 1 second to not be enough. I’d keep the 250 ms delay between tries, but just have more tries, like up to 10.