Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37130

Could not initialize class JavaLibCHelper - ERROR: Error cloning remote repo 'origin'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • git-client-plugin
    • None

      • 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 git@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 git@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
      

            Unassigned Unassigned
            jblaine Jeff Blaine
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: