Skip to content
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

Git clone fails randomly #262

Open
ngautha1-ford opened this issue Jun 18, 2021 · 4 comments
Open

Git clone fails randomly #262

ngautha1-ford opened this issue Jun 18, 2021 · 4 comments

Comments

@ngautha1-ford
Copy link

The pipeline gets stuck on the get task and fails after a while (~20 mins) .
The issue is intermittent and when it works the cloning part just takes under a minute. Does anyone have any idea why this happens and if there is any workaround for it ?


Initialized empty Git repository in /tmp/build/get/.git/
Switched to a new branch 'master'
2021/06/18 14:58:57 get failed: clone failed: exit status 1

@rickardl
Copy link
Contributor

I believe it's somewhat unrelated and is probably a question better answered in the Git Resource repository, also I would recommend you to try to enable a more verbose output from Concourse, there's some instructions on their end on how you do that.

@bgandon
Copy link

bgandon commented May 10, 2024

Unfortunately, there is no hope that you get any further support here (#246 was 2+y ago).

But recent news is that the Cloud Foundry community is now maintaining a fork of this resource at cloudfoundry-community/github-pr-resource.

On our Concourse installation at Gstack, that one is working fine. Could you give a try and provide feedback there?

(the new resource is a drop-in replacement; you only have to switch telia-ossto cfcommunity in in the resource_types: declaration, i.e. specify repository: cfcommunity/github-pr-resource)

@awnumar
Copy link

awnumar commented Jun 7, 2024

@bgandon I have tested with github.com/cloudfoundry-community/github-pr-resource and can confirm we see the same issue with that resource for a large repository.

  • Initial get is extremely slow, hangs on Switched to a new branch 'master' and generally takes a long time to work, or more likely fail, after 20 minutes.
  • Put is also very slow, and we can't speed it up with skip_download because the put requires Version info that's attained from the implicit get, and we can't use depth:1 because then it fails with fatal: refusing to merge unrelated histories

@bgandon
Copy link

bgandon commented Dec 4, 2024

Sorry for the delay. I've ported your issue and feedback in cloudfoundry-community#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants