Bug 409539 - GIT clone gives "FATAL: Could not fetch from any repository" on linux slave but works on windows slaves
Summary: GIT clone gives "FATAL: Could not fetch from any repository" on linux slave b...
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: GIT (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-30 17:16 EDT by Daniel Desjardins CLA
Modified: 2013-05-30 17:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Desjardins CLA 2013-05-30 17:16:27 EDT
Hello, 
On my Hudson 3.0.1, with the latest GIT plugin ( I never tried before as we are just starting to look at using GIT to replace SVN) I get an error when I try to do the clone of my http (with username and password that I have replaced in this log) but only on my Ubuntu slave. On Windows xp the clone works perfectly! 

Here is my build log:

Building remotely on H-UbuntuAmd64
Checkout:V(GIT)ADci / /home/buildsvr1/hudson/workspace/V(GIT)ADci - hudson.remoting.Channel@18662ed8:H-UbuntuAmd64
Using strategy: Default
Last Built Revision: Revision 327a7ed3be887f7df664a7627872944f1ea0d519 (codebase-dependencies/trunk)
Checkout:V(GIT)ADci / /home/buildsvr1/hudson/workspace/V(GIT)ADci - hudson.remoting.LocalChannel@12a4b517
Cloning the remote Git repository
Cloning repository origin
Fetching upstream changes from http://username:password@devtools.ca.objectiflune.com/git/codebase
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
	at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:976)
	at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:889)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2052)
	at hudson.remoting.UserRequest.perform(UserRequest.java:107)
	at hudson.remoting.UserRequest.perform(UserRequest.java:41)
	at hudson.remoting.Request$2.run(Request.java:276)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)

But if I try to do the same GIT clone command on the command line it does clone successfully

I have tried on 2 ubuntu installtion, one x86 and one amd64. I use Ubuntu 12.

Any idea?

Thank you for your help.