-
Notifications
You must be signed in to change notification settings - Fork 655
Cygwin error during git push azure master
#878
Comments
Making a dummy change in local git repo and re-running |
This is an issue that we had a while back, and seems to be a general msysgit thing that people run into occasionally (not related to WAWS). e.g. see various references to it. From our experience, this happens at most once on a given server, so I suspect you won't hit this again (though you may get moved to a different server later). One advice given in a few places is to rebase At the time (around April I think), we ended up resolving the issue by rebasing using this command when the worker starts:
And the issue completely disappeared at that point. Right now, I don't understand what is causing it to happen again. What makes it tricky is that it's very hard to repro, and no one truly seems to understand the root of the issue. |
It ranks 387 on my list of problems to deal with (the preceding 386 are mostly about IE Mobile), so no big deal. I just thought you would want to know. |
Yes, we do want to know since we thought we had it nailed. :( |
There have been no other reports of this. Closing it as a freak incident :) |
I am now experiencing this issue on a website that was created just today, my first push was successful although the deployment failed for unrelated reasons (missing assemblies). I have attempted to push several more times after making arbitrary changes to the project and just get Everything up-to-date every time. |
@AlanParr if you retry, is it successful? |
Have retried several times with no success. |
Do you mean that you get the cygwin error every time, or just the message saying it's up to date? If the latter, just try to push an empty commit, which should unblock it. |
Just the everything up to date error. Sorry, didn't see that there was another error associated with this issue. |
Yes, the primary issue here is the cygwin error, with the 'up to date' part being a secondary side effect (see initial post). So if you never saw the cygwin error, it is definitely not related and would be better discussed separately. |
I'll open a new issue. |
Getting this multiple times...
And some variations:
|
+1 Tried to do a push and just got the cygwin error as well. Any subsequent pushes tell me that "Everything is up-to-date" |
I switched my (working) webapp to another just now and on the initial push I ran to the same error.
Like @brainded, I also get "Everything up-to-date" for all pushes, even with Doing some dummy changes eventually fixed the thing though. |
What I ended up doing to resolve the issue is spinning up a new slot to swap with and deploying the whole app again. This was the one time I've ever encountered this with the last year of using azure to deploy almost every single day. So rare indeed. |
We're hoping to move to the newest msysgit 2.5 in the coming months, and hopefully it will address this issue. |
I'm running into this in our azure websites too. |
Keeping issue open. |
I added this to the wiki: https://github.com/projectkudu/kudu/wiki/Known-issues#you-may-get-occasional-couldnt-reserve-space-for-cygwins-heap-errors-when-git-pushing, so all the relevant information is in one place. |
Just ran into this issue while deploying as well. Any updates on the status of this? Edit: For good measure, below are the two errors I encountered; First push:
Second push after another commit:
Using the "workaround" from the documentation seems to have worked. |
It seems that restarting the website (through azure dashboard) and then pushing/deploying again worked for me. |
FYI; deployment on our webapp started to act weird yesterday evening. In the late afternoon the deployments were still working, but eventually we got weird nmp errors (like We've decided to delete the node_modules folder and execute an However, after that the Neither start/stop nor restart of the web app nor various re-deployments (both via azure cli deployment redeploy and pushing dummy commits), have solved this problem for us. Any advice on how to solve this will be much appreciated... Best regards, p.s. If there are no other steps we can try, we are planning to remove and recreate the wep app... no problem since we are still in the testfase. However getting stuck on deployment like this doesn't really gives us much confidence that we can use Azure for production... |
Normally, this error happens once (or sometimes once per tool) and then goes away on retry. We're in the process of upgrading the version of git running in Web Apps, which hopefully will resolve this. |
Thanks for the reply @davidebbo. I left the instance alone for a couple of hours and just tried again. No more cygwin errors - yay! The first try did fail however - with an After removing everything in d:/home/site/repository and re-initializing an git repo, the deployment started perfectly fine. However midway of So I'm writing this (web app) instance off and will create and switch to a new one. ------ fyi snippet from log ------
|
I also just experienced this issue today. My second push without any changes said everything was up-to-date, but the original changes were successfully updated after a small pseudo change and new push. Here's my original failed attempt errors:
|
We now have a much newer git, and hopefully this should no longer happen. |
/cc @davidebbo
azure site create --git
. The local repo size is ~3.5MBgit push azure master
.Expected:
Kudu repo updated, files copied to wwwroot, site can be accessed in browser.
Actual:
Subsequent
git push azure master
claims the Kudu repo is up to date:Yet navigating to the site in browser yields the autogenerated landing page - it is clear files have not been copied to wwwroot.
@Gissues:{"order":77.88461538461526,"status":"backlog"}
The text was updated successfully, but these errors were encountered: