[JIRA] (JENKINS-37130) ERROR: Error cloning remote repo 'origin'

1 view
Skip to first unread message

jblaine@kickflop.net (JIRA)

unread,
Aug 2, 2016, 3:24:02 PM8/2/16
to jenkinsc...@googlegroups.com
Jeff Blaine created an issue
 
Jenkins / Bug JENKINS-37130
ERROR: Error cloning remote repo 'origin'
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-client-plugin
Created: 2016/Aug/02 7:23 PM
Priority: Critical Critical
Reporter: Jeff Blaine
  • Jenkins 2.15 with full path to /usr/bin/git configured under "Global Tool Configuration"
  • git plugin 2.5.2
  • git-client plugin 1.19.7
[EnvInject] - Loading node environment variables.
Building remotely on etc-bld-rh7-1 (python2.7 4gb rh7 ruby2.0 linux rhel7) in workspace <https://jenkins.our.org:8443/job/R701-Data/job/R701-git-push-triggered-test/ws/>
Cloning the remote Git repository
Cloning repository g...@git.our.org:R701-Gitlab-Testing/ci-server-testing.git
 > /usr/bin/git init <https://jenkins.our.org:8443/job/R701-Data/job/R701-git-push-triggered-test/ws/> # timeout=10
Fetching upstream changes from g...@git.our.org:R701-Gitlab-Testing/ci-server-testing.git
 > /usr/bin/git --version # timeout=10
using GIT_SSH to set credentials jblaine for R701-Data folder
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: java.io.IOException: Remote call on etc-bld-rh7-1 failed
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:172)
	at sun.reflect.GeneratedMethodAccessor603.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
	at com.sun.proxy.$Proxy71.execute(Unknown Source)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1046)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086)
	at hudson.scm.SCM.checkout(SCM.java:495)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
	at hudson.model.Run.execute(Run.java:1720)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:404)
Caused by: java.io.IOException: Remote call on etc-bld-rh7-1 failed
	at hudson.remoting.Channel.call(Channel.java:789)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
	... 16 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
	at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31)
	at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91)
	at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57)
	at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33)
	at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29)
	at jnr.posix.LazyPOSIX.chmod(LazyPOSIX.java:55)
	at hudson.FilePath._chmod(FilePath.java:1629)
	at hudson.FilePath.access$1500(FilePath.java:195)
	at hudson.FilePath$29.invoke(FilePath.java:1614)
	at hudson.FilePath$29.invoke(FilePath.java:1610)
	at hudson.FilePath.act(FilePath.java:1018)
	at hudson.FilePath.act(FilePath.java:996)
	at hudson.FilePath.chmod(FilePath.java:1610)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createSshKeyFile(CliGitAPIImpl.java:1508)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1363)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:332)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	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:745)
	at ......remote call to etc-bld-rh7-1(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
	at hudson.remoting.Channel.call(Channel.java:781)
	... 17 more
ERROR: null
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 2, 2016, 3:31:02 PM8/2/16
to jenkinsc...@googlegroups.com
Mark Waite commented on Bug JENKINS-37130
 
Re: ERROR: Error cloning remote repo 'origin'

Are you using a different JVM on the agent than you're using on the master? It has been preferable to keep the same version of JVM executing the master and all agents, then use the Jenkins tools installer to install and use the specific JDK you need for a particular job.

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 2, 2016, 3:31:04 PM8/2/16
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
 
Change By: Mark Waite
Assignee: Mark Waite
Reply all
Reply to author
Forward
0 new messages