hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits

Jenkins JIRA | yann collette | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Git plugin, problem cloning

    Google Groups | 4 years ago | ycollet
    hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits
  2. 0

    I updated my jenkins installation to the last version (1.533) and all the plugins have been updated. I've got a problem with a project which must be cloned onto a slave (I just created the project, so this is the first time the repo is cloned). When jenkins is trying to clone, an error is displayed: Using strategy: Default Using shallow clone hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits at hudson.FilePath.act(FilePath.java:912) at hudson.FilePath.act(FilePath.java:889) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:657) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.io.IOException: Remote call on Compilation Debian 6 64 bits failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.FilePath.act(FilePath.java:905) ... 11 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer at hudson.FilePath.act(FilePath.java:916) at hudson.FilePath.act(FilePath.java:889) at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:65) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:956) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:948) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2444) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Finished: FAILURE When I looked at the code on github (GitSCM.java:948), the error seems to be located here: public void buildEnvVars(AbstractBuild<?, ?> build, java.util.Map<String, String> env) { super.buildEnvVars(build, env); Revision rev = fixNull(getBuildData(build)).getLastBuiltRevision(); if (rev!=null) { Branch branch = Iterables.getFirst(rev.getBranches(), null); if (branch!=null) { env.put(GIT_BRANCH, branch.getName()); String prevCommit = getLastBuiltCommitOfBranch(build, branch); if (prevCommit != null) { env.put(GIT_PREVIOUS_COMMIT, prevCommit); } } env.put(GIT_COMMIT, fixEmpty(rev.getSha1String())); ###### <---- error located here (line 948) } But because I cloned for the first time, I shouldn't be here as far as I understand ?!? Maybe the problem comes from another place ...

    Jenkins JIRA | 4 years ago | yann collette
    hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits
  3. 0

    I updated my jenkins installation to the last version (1.533) and all the plugins have been updated. I've got a problem with a project which must be cloned onto a slave (I just created the project, so this is the first time the repo is cloned). When jenkins is trying to clone, an error is displayed: Using strategy: Default Using shallow clone hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits at hudson.FilePath.act(FilePath.java:912) at hudson.FilePath.act(FilePath.java:889) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:657) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.io.IOException: Remote call on Compilation Debian 6 64 bits failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.FilePath.act(FilePath.java:905) ... 11 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer at hudson.FilePath.act(FilePath.java:916) at hudson.FilePath.act(FilePath.java:889) at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:65) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:956) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:948) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2444) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Finished: FAILURE When I looked at the code on github (GitSCM.java:948), the error seems to be located here: public void buildEnvVars(AbstractBuild<?, ?> build, java.util.Map<String, String> env) { super.buildEnvVars(build, env); Revision rev = fixNull(getBuildData(build)).getLastBuiltRevision(); if (rev!=null) { Branch branch = Iterables.getFirst(rev.getBranches(), null); if (branch!=null) { env.put(GIT_BRANCH, branch.getName()); String prevCommit = getLastBuiltCommitOfBranch(build, branch); if (prevCommit != null) { env.put(GIT_PREVIOUS_COMMIT, prevCommit); } } env.put(GIT_COMMIT, fixEmpty(rev.getSha1String())); ###### <---- error located here (line 948) } But because I cloned for the first time, I shouldn't be here as far as I understand ?!? Maybe the problem comes from another place ...

    Jenkins JIRA | 4 years ago | yann collette
    hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux3 at hudson.remoting.Channel@69d99bff:Compilation Debian 6 64 bits
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with Tomcat - unable to start webapp [Archive] - Java-Monitor Forum

    java-monitor.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext at org.apache.myfaces.trinidadinternal.webapp.Trinida dListenerImpl.contextDestroyed(TrinidadListenerImp l.java:39) at org.apache.catalina.core.StandardContext.listenerS top(StandardContext.java:3882) at org.apache.catalina.core.StandardContext.stop(Stan dardContext.java:4523) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4387) at org.apache.catalina.manager.ManagerServlet.start(M anagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.sta rt(HTMLManagerServlet.java:604) at org.apache.catalina.manager.HTMLManagerServlet.doG et(HTMLManagerServlet.java:129) at javax.servlet.http.HttpServlet.service(HttpServlet .java:617) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
  6. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.&lt;init&gt;(AbstractAutowireCapableBeanFactory. java:121) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.&lt;init&gt;(AbstractAutowireCapableBeanFactory. java:168) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.DefaultL istableBeanFactory. &lt;init&gt;(DefaultListableBeanFactory.java:163) ~[spring-beans-3.1.4.RELEASE.jar:3.1 .4.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.createBeanFactory(AbstractRefreshableApplicat ionContext.java:194) ~[spring- context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.refreshBeanFactory(AbstractRefreshableApplica tionContext.java:127) ~[spring -context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.obtain FreshBeanFactory(AbstractApplicationContext.java:5 37) ~[spring-context-3.2.2.REL EASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.refres h(AbstractApplicationContext.java:451) ~[spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.web.context.ContextLoader.conf igureAndRefreshWebA pplicationContext(ContextLoader.java:389) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.R ELEASE] at org.springframework.web.context.ContextLoader.init WebApplicationConte xt(ContextLoader.java:294) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextInitiali zed(ContextLoaderListener.java:112) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS tart(StandardContex t.java:4791) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.startInte rnal(StandardContex t.java:5285) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]

    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 jenkins.model.Jenkins$MasterComputer

      at hudson.FilePath.act()
    2. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:916)
      2. hudson.FilePath.act(FilePath.java:889)
      2 frames
    3. org.jenkinsci.plugins
      Git.getClient
      1. org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:65)
      1 frame
    4. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:956)
      2. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:948)
      2 frames
    5. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2444)
      1 frame
    6. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      5. java.lang.Thread.run(Thread.java:662)
      5 frames