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

Bug 430763

Summary: build keeps failing with GitException: Could not clone
Product: Community Reporter: Henrik Rentz-Reichert <hrr>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: markus.tiede, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Henrik Rentz-Reichert CLA 2014-03-20 03:31:31 EDT
For two days now our build fails with the exception below whenever it is triggered (every 2 hours).

See <https://hudson.eclipse.org/hudson/job/mdt-etrice-nightly/846/>

------------------------------------------
Started by an SCM change
Building remotely on hudson-slave4
Cleaning the workspace because project is configured to clean the workspace before each build.
Checkout:mdt-etrice-nightly / <https://hudson.eclipse.org/hudson/job/mdt-etrice-nightly/ws/> - hudson.remoting.Channel@2121546c:hudson-slave4
Using strategy: Default
Last Built Revision: Revision 2018ba36a3f6474ec19dd1e779c885b7b53682ee (origin/master)
Checkout:etrice_local_repo / <https://hudson.eclipse.org/hudson/job/mdt-etrice-nightly/ws/etrice_local_repo> - hudson.remoting.LocalChannel@3cc1698c
Cloning the remote Git repository
Cloning repository origin
ERROR: Error cloning remote repo 'origin' : Could not clone http://git.eclipse.org/gitroot/etrice/org.eclipse.etrice.git
ERROR: Cause: Exception caught during execution of fetch command
Trying next repository
ERROR: Could not clone repository
FATAL: Could not clone
hudson.plugins.git.GitException: Could not clone
        at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:913)
        at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:845)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1960)
        at hudson.remoting.UserRequest.perform(UserRequest.java:114)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:283)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Comment 1 Eclipse Webmaster CLA 2014-03-20 09:54:18 EDT
Looks like one of the dev nodes isn't happy.  I've redirected internal DNS queries to another node while we work on it.

-M.
Comment 2 Markus Tiede CLA 2014-03-20 10:06:27 EDT
We're still affected [1] by this issue - building remotely on hudson-slave1.

[1] https://hudson.eclipse.org/hudson/job/jubula-nightly/1615/console
Comment 3 Eclipse Webmaster CLA 2014-03-20 16:07:34 EDT
It looks like the slave was caching the IP.  I tried restarting it, but that didn't help.  I've restarted the master instance and now my test job on slave1 can clone from git.

-M.
Comment 4 Markus Tiede CLA 2014-03-21 04:16:13 EDT
It seems to work again - resolving accordingly.