Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321647

Summary: Can't clone from Build2
Product: Community Reporter: David Carver <d_a_carver>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description David Carver CLA 2010-08-03 15:08:46 EDT
When trying to clone with git for the XQuery jobs we get the following error message after the Server upgrades this weekend:

[cbi-wtp-inc-xquery] $ /usr/local/bin/git fetch -t git://git.eclipse.org/gitroot/webtools/org.eclipse.webtools.incubator.git +refs/heads/*:refs/remotes/origin/*
git.eclipse.org[0: 206.191.52.51]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)

This worked before any of the server changes.
Comment 1 Eclipse Webmaster CLA 2010-08-03 15:28:32 EDT
Well a 'basic' clone seems to work fine:

dacarver@build2:/tmp> /usr/local/bin/git clone git://git.eclipse.org/gitroot/webtools/org.eclipse.webtools.incubator.git
Initialized empty Git repository in /tmp/org.eclipse.webtools.incubator/.git/
remote: Counting objects: 30422, done.
remote: Compressing objects: 100% (8304/8304), done.
remote: Total 30422 (delta 14956), reused 29489 (delta 14435)
Receiving objects: 100% (30422/30422), 12.17 MiB | 2.16 MiB/s, done.
Resolving deltas: 100% (14956/14956), done.


But when I try the command below I get a different error:

dacarver@build2:/tmp/t1> /usr/local/bin/git fetch -t git://git.eclipse.org/gitroot/webtools/org.eclipse.webtools.incubator.git +refs/heads/*:refs/remotes/origin/*
fatal: Not a git repository (or any of the parent directories): .git

-M.
Comment 2 David Carver CLA 2010-08-03 15:46:02 EDT
I think this may be another symptom of bug 320452.

 https://bugs.eclipse.org/bugs/show_bug.cgi?id=320452
Comment 3 Denis Roy CLA 2010-08-04 10:22:18 EDT
This was unrelated to the upgrade.  Since build2 is pointing to only one of the three git servers, that server was throttling connections after 10 connections/second.

I never understand why a build needs to establish and tear down so many connections in a single second, but at any rate, I've increased it to 200 connections per second.
Comment 4 Denis Roy CLA 2010-08-04 10:23:14 EDT
*** Bug 321680 has been marked as a duplicate of this bug. ***