The following message is periodically generated (example: 3 out of 26) when 
attempting to do a git fetch.  


1) Are there any configuration options which might be a contributing factor 
or might help?


Setup:


Gitlab run by separate team no access to server.

Jenkins 2.0 (2.6) connecting to Gitlab


------------------------------------------------------------------


Started by timer

 > git rev-parse --is-inside-work-tree # timeout=10

Fetching changes from the remote Git repository

 > git config remote.origin.url g...@gitlab.xxx.com:xxx.git # timeout=10

Cleaning workspace

 > git rev-parse --verify HEAD # timeout=10

Resetting working tree

 > git reset --hard # timeout=10

 > git clean -fdx # timeout=10

Fetching upstream changes from g...@gitlab.xxx.com:xxx.git

 > git --version # timeout=10

using GIT_SSH to set credentials gitlab.xxx.com

 > git fetch --tags --progress g...@gitlab.xxx.com:xxx.git 
+refs/heads/*:refs/remotes/origin/*

ERROR: Error fetching remote repo 'origin'

hudson.plugins.git.GitException 
<http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>:
 
Failed to fetch from g...@gitlab.xxx.com:xxx.git

at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.fetchFrom&entity=method>

at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.retrieveChanges&entity=method>

at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkout&entity=method>

at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109) 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout&entity=method>

at 
org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:108)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create&entity=method>

at 
org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:57)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create&entity=method>

at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:206) 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.workflow.job.WorkflowRun.run&entity=method>

at hudson.model.ResourceController.execute(ResourceController.java:98) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>

at hudson.model.Executor.run(Executor.java:410) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>

Caused by: hudson.plugins.git.GitException 
<http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>:
 
Command "git fetch --tags --progress g...@gitlab.xxx.com:wwrc-xxx.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:

stdout: 

stderr: ssh_exchange_identification: Connection closed by remote host

fatal: The remote end hung up unexpectedly


at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)

at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:808)

... 8 more

ERROR: null

Finished <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE


Any help would be greatly appreciated.


Regards,

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3cb3b76c-3699-40f1-9ce2-24b7cef4575d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to