| Summary: | Timeout Exceeded on Repository | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | George McKinney <george> | ||||
| Component: | Git | Assignee: | Szymon Brandys <Szymon.Brandys> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | eclipse, libingw, maciej.bendkowski, malgorzata.tomczyk, pwebster | ||||
| Version: | 0.5 | ||||||
| Target Milestone: | 5.0 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
George McKinney
Sorry for that. I think it is not related to the number of repos. We use Orion tasks for getting the list of repos and their details. When you see it next time, could you send me the console log? I tried to clone git.eclipse.org/gitroot/platform/eclipse.platform.ui.git/ and after 6 or 7 minutes, it stopped with error : TypeError built-git-repository.js:1539 b.Deferred.reject.errback built-git-repository.js:1539 b.Deferred.reject.errback built-git-repository.js:1539 g built-git-repository.js:1538 b.Deferred.h built-git-repository.js:1537 f built-git-repository.js:1538 b.Deferred.resolve.callback built-git-repository.js:1539 n built-git-repository.js:1626 f built-git-repository.js:1624 k I tried to clone again and it worked. Noe if I go to git status page, it shows me properly. But if I change a file, say , bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/CommandServiceAddon.java, I got timeout exceeded errro and I saw console errors like below: Error built-git-status2.js:2303 e built-git-status2.js:2303 b._ioSetArgs.j built-git-status2.js:2301 h built-git-status2.js:2218 b.Deferred.g built-git-status2.js:2217 e built-git-status2.js:2218 b.Deferred.reject.errback built-git-status2.js:2219 d built-git-status2.js:2304 k built-git-status2.js:2304 Error built-git-status2.js:2219 b.Deferred.reject.errback built-git-status2.js:2219 b.Deferred.reject.errback built-git-status2.js:2219 h built-git-status2.js:2218 b.Deferred.g built-git-status2.js:2217 e built-git-status2.js:2218 b.Deferred.reject.errback built-git-status2.js:2219 d built-git-status2.js:2304 k built-git-status2.js:2304 Error built-git-status2.js:2219 b.Deferred.reject.errback built-git-status2.js:2219 b.Deferred.reject.errback built-git-status2.js:2219 c.GitService.c._handleGitServiceResponseError built-git-status2.js:3897 b.hitch built-git-status2.js:2196 c.GitService.c.getGitCloneConfig.d.xhrGet.error built-git-status2.js:3879 b._ioSetArgs.m built-git-status2.js:2302 h built-git-status2.js:2218 b.Deferred.g built-git-status2.js:2217 e built-git-status2.js:2218 b.Deferred.reject.errback built-git-status2.js:2219 d built-git-status2.js:2304 k built-git-status2.js:2304 Error built-git-status2.js:2219 b.Deferred.reject.errback built-git-status2.js:2219 b.Deferred.reject.errback built-git-status2.js:2219 h built-git-status2.js:2218 b.Deferred.g built-git-status2.js:2217 e built-git-status2.js:2218 b.Deferred.reject.errback built-git-status2.js:2219 d built-git-status2.js:2304 k built-git-status2.js:2304 Error built-git-status2.js:2219 b.Deferred.reject.errback built-git-status2.js:2219 b.Deferred.reject.errback built-git-status2.js:2219 d built-git-status2.js:2304 k some updates: I was able use today's build(20120620-1034) on orion.eclipse.org to show the git status on the big repo. Then I downloaded the matching version and ran localhost. 1.I tried to clone git.eclipse.org/gitroot/platform/eclipse.platform.ui.git into localhost but I've got the waiting cursor for 15 minutes and got nothing. 2. I switched to git bash and it took me about 3 minutes to clone. 3. Then I linked the server folder into Orion running from my local host. 4. Git log worked. 5. For the very first time, git status gave me time out error like before. 6. then I was wondering if the old git status works or not. I got the same time out error. 7. Changed the hash to the new git status again. And this time it was fast and worked. 8. I tried to reproduce the timeout issue but never reproduced it anymore, even after clear cache... If I may share my thoughts on this topic, I've noticed this bug may happen quite often on a local server. In my situation it's connected to a background process which performs a lot of I/O operations. It seems to me, that the server does not have enough time to response. I'm almost sure the timeout is hardcoded somewhere in the client side. Since we load many of the data in an asynchronous manner, maybe it should be just set to a larger constant due to the number of xhr calls? Seeing this on orionhub.org right now. Coincidence or not, I was trying to reproduce another bug, and after I created a few repositories (cloned from the same master), I started getting the timeout error. true built-git-repository.js:3167 Error built-git-repository.js:1874 f built-git-repository.js:1874 b._ioSetArgs.l built-git-repository.js:1872 g built-git-repository.js:1789 b.Deferred.h built-git-repository.js:1788 f built-git-repository.js:1789 b.Deferred.reject.errback built-git-repository.js:1790 f built-git-repository.js:1875 l built-git-repository.js:1875 Error built-git-repository.js:1790 b.Deferred.reject.errback built-git-repository.js:1790 b.Deferred.reject.errback built-git-repository.js:1790 g built-git-repository.js:1789 b.Deferred.h built-git-repository.js:1788 f built-git-repository.js:1789 b.Deferred.reject.errback built-git-repository.js:1790 f built-git-repository.js:1875 l built-git-repository.js:1875 Error built-git-repository.js:1790 b.Deferred.reject.errback built-git-repository.js:1790 b.Deferred.reject.errback built-git-repository.js:1790 d.GitService.d._handleGitServiceResponseError built-git-repository.js:3018 b.hitch built-git-repository.js:1767 d.GitService.d.getGitClone.c.xhrGet.error built-git-repository.js:2999 b._ioSetArgs.o built-git-repository.js:1873 g built-git-repository.js:1789 b.Deferred.h built-git-repository.js:1788 f built-git-repository.js:1789 b.Deferred.reject.errback built-git-repository.js:1790 f built-git-repository.js:1875 l built-git-repository.js:1875 Error built-git-repository.js:1790 b.Deferred.reject.errback built-git-repository.js:1790 b.Deferred.reject.errback built-git-repository.js:1790 g built-git-repository.js:1789 b.Deferred.h built-git-repository.js:1788 f built-git-repository.js:1789 b.Deferred.reject.errback built-git-repository.js:1790 f built-git-repository.js:1875 l built-git-repository.js:1875 Error built-git-repository.js:1790 b.Deferred.reject.errback built-git-repository.js:1790 b.Deferred.reject.errback built-git-repository.js:1790 f built-git-repository.js:1875 l built-git-repository.js:1875 ...and deleting the folders created by the successive clone operations indeed addressed the issue. Reproduced it again by adding more repos. It seems if this GET call takes more than 5s: http://orionhub.org/gitapi/clone/workspace/cH the timeout error occurs. For me, in the success case (2 repos) is taking around 4-4.9s to complete. If I add another repo, it goes beyond 5s, and starts timing out. I think this was fixed some time ago. Let us know if you still see it. |