hudson.plugins.git.GitException: java.io.IOException: Remote call on etc-bld-rh7-1 failed

Google Groups | jbl...@kickflop.net (JIRA) | 4 months ago
  1. 0

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

    Google Groups | 4 months ago | jbl...@kickflop.net (JIRA)
    hudson.plugins.git.GitException: java.io.IOException: Remote call on etc-bld-rh7-1 failed
  2. 0

    * 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 {code:java} [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 {code}

    Jenkins JIRA | 4 months ago | Jeff Blaine
    hudson.plugins.git.GitException: java.io.IOException: Remote call on etc-bld-rh7-1 failed
  3. 0

    [JIRA] [copyartifact-plugin] (JENKINS-34017) copyartifact dies with hudson.util.IOException2

    Google Groups | 8 months ago | jo...@hoblitt.com (JIRA)
    hudson.util.IOException2: Failed to copy /<span class="code-keyword" style="color: #000091">var</span>/lib/jenkins/jobs/run-rebuild/builds/5/archive/results/manifest.txt to /home/jenkins-slave/workspace/copy-test/results/manifest.txt
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Configurinig any job with the copyartifact-plugin causes a fatal exception when running a build. {code:java} Started by user Joshua Hoblitt [EnvInject] - Loading node environment variables. Building remotely on jenkins-el6-1-febf2de4 (jenkins-el6-1 centos-6 swarm) in workspace /home/jenkins-slave/workspace/copy-test FATAL: Failed to copy /var/lib/jenkins/jobs/run-rebuild/builds/5/archive/results/manifest.txt to /home/jenkins-slave/workspace/copy-test/results/manifest.txt hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/run-rebuild/builds/5/archive/results/manifest.txt to /home/jenkins-slave/workspace/copy-test/results/manifest.txt at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:117) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:67) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:526) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:460) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: remote file operation failed: /home/jenkins-slave/workspace/copy-test/results/manifest.txt at hudson.remoting.Channel@226e623c:jenkins-el6-1-febf2de4: java.io.IOException: Remote call on jenkins-el6-1-febf2de4 failed at hudson.FilePath.act(FilePath.java:986) at hudson.FilePath.act(FilePath.java:968) at hudson.FilePath.chmod(FilePath.java:1582) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:88) ... 13 more Caused by: java.io.IOException: Remote call on jenkins-el6-1-febf2de4 failed at hudson.remoting.Channel.call(Channel.java:789) at hudson.FilePath.act(FilePath.java:979) ... 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:1601) at hudson.FilePath.access$1500(FilePath.java:190) at hudson.FilePath$29.invoke(FilePath.java:1586) at hudson.FilePath$29.invoke(FilePath.java:1582) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) 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 hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:745) at ......remote call to jenkins-el6-1-febf2de4(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:220) at hudson.remoting.Channel.call(Channel.java:781) ... 17 more Finished: FAILURE {code} The file `/var/lib/jenkins/jobs/run-rebuild/builds/5/archive/results/manifest.txt` is in place on the master as-is `/home/jenkins-slave/workspace/copy-test/results/manifest.txt` on the slave, with the correct content. I have tried a few different plugin configuration combinations without success. The job itself is a trivial test: {code} <project><actions/><description/><keepDependencies>false</keepDependencies><properties><com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.25"><autoRebuild>false</autoRebuild><rebuildDisabled>false</rebuildDisabled></com.sonyericsson.rebuild.RebuildSettings></properties><scm class="hudson.scm.NullSCM"/><canRoam>true</canRoam><disabled>false</disabled><blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding><blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding><triggers/><concurrentBuild>false</concurrentBuild><builders><hudson.plugins.copyartifact.CopyArtifact plugin="copyartifact@1.37"><project>run-rebuild</project><filter>results/manifest.txt</filter><target>.</target><excludes/><selector class="hudson.plugins.copyartifact.StatusBuildSelector"/><doNotFingerprintArtifacts>true</doNotFingerprintArtifacts></hudson.plugins.copyartifact.CopyArtifact><hudson.tasks.Shell><command>cat target/manifest.txt</command></hudson.tasks.Shell></builders><publishers/><buildWrappers/></project> {code}

    Jenkins JIRA | 8 months ago | Joshua Hoblitt
    hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/run-rebuild/builds/5/archive/results/manifest.txt to /home/jenkins-slave/workspace/copy-test/results/manifest.txt
  6. 0

    Configurinig any job with the copyartifact-plugin causes a fatal exception when running a build. {code:java} Started by user Joshua Hoblitt [EnvInject] - Loading node environment variables. Building remotely on jenkins-el6-1-febf2de4 (jenkins-el6-1 centos-6 swarm) in workspace /home/jenkins-slave/workspace/copy-test FATAL: Failed to copy /var/lib/jenkins/jobs/run-rebuild/builds/5/archive/results/manifest.txt to /home/jenkins-slave/workspace/copy-test/results/manifest.txt hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/run-rebuild/builds/5/archive/results/manifest.txt to /home/jenkins-slave/workspace/copy-test/results/manifest.txt at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:117) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:67) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:526) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:460) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: remote file operation failed: /home/jenkins-slave/workspace/copy-test/results/manifest.txt at hudson.remoting.Channel@226e623c:jenkins-el6-1-febf2de4: java.io.IOException: Remote call on jenkins-el6-1-febf2de4 failed at hudson.FilePath.act(FilePath.java:986) at hudson.FilePath.act(FilePath.java:968) at hudson.FilePath.chmod(FilePath.java:1582) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:88) ... 13 more Caused by: java.io.IOException: Remote call on jenkins-el6-1-febf2de4 failed at hudson.remoting.Channel.call(Channel.java:789) at hudson.FilePath.act(FilePath.java:979) ... 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:1601) at hudson.FilePath.access$1500(FilePath.java:190) at hudson.FilePath$29.invoke(FilePath.java:1586) at hudson.FilePath$29.invoke(FilePath.java:1582) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) 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 hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:745) at ......remote call to jenkins-el6-1-febf2de4(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:220) at hudson.remoting.Channel.call(Channel.java:781) ... 17 more Finished: FAILURE {code} The file `/var/lib/jenkins/jobs/run-rebuild/builds/5/archive/results/manifest.txt` is in place on the master as-is `/home/jenkins-slave/workspace/copy-test/results/manifest.txt` on the slave, with the correct content. I have tried a few different plugin configuration combinations without success. The job itself is a trivial test: {code} <project><actions/><description/><keepDependencies>false</keepDependencies><properties><com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.25"><autoRebuild>false</autoRebuild><rebuildDisabled>false</rebuildDisabled></com.sonyericsson.rebuild.RebuildSettings></properties><scm class="hudson.scm.NullSCM"/><canRoam>true</canRoam><disabled>false</disabled><blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding><blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding><triggers/><concurrentBuild>false</concurrentBuild><builders><hudson.plugins.copyartifact.CopyArtifact plugin="copyartifact@1.37"><project>run-rebuild</project><filter>results/manifest.txt</filter><target>.</target><excludes/><selector class="hudson.plugins.copyartifact.StatusBuildSelector"/><doNotFingerprintArtifacts>true</doNotFingerprintArtifacts></hudson.plugins.copyartifact.CopyArtifact><hudson.tasks.Shell><command>cat target/manifest.txt</command></hudson.tasks.Shell></builders><publishers/><buildWrappers/></project> {code}

    Jenkins JIRA | 8 months ago | Joshua Hoblitt
    hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/run-rebuild/builds/5/archive/results/manifest.txt to /home/jenkins-slave/workspace/copy-test/results/manifest.txt

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class jnr.posix.JavaLibCHelper at jnr.posix.JavaPOSIX.&lt;init&gt;(JavaPOSIX.java:31)

      at jnr.posix.POSIXFactory.getJavaPOSIX()
    2. JRuby Main Maven Artifact
      LazyPOSIX.chmod
      1. jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91)
      2. jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57)
      3. jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33)
      4. jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29)
      5. jnr.posix.LazyPOSIX.chmod(LazyPOSIX.java:55)
      5 frames
    3. Hudson
      FilePath.chmod
      1. hudson.FilePath._chmod(FilePath.java:1629)
      2. hudson.FilePath.access$1500(FilePath.java:195)
      3. hudson.FilePath$29.invoke(FilePath.java:1614)
      4. hudson.FilePath$29.invoke(FilePath.java:1610)
      5. hudson.FilePath.act(FilePath.java:1018)
      6. hudson.FilePath.act(FilePath.java:996)
      7. hudson.FilePath.chmod(FilePath.java:1610)
      7 frames
    4. org.jenkinsci.plugins
      RemoteGitImpl$CommandInvocationHandler$1.call
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createSshKeyFile(CliGitAPIImpl.java:1508)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1363)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
      5. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506)
      6. org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
      7. org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
      7 frames
    5. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:153)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:50)
      3. hudson.remoting.Request$2.run(Request.java:332)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      4 frames
    6. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3 frames