hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31

Jenkins JIRA | Guy Rozendorn | 4 years ago
  1. 0

    Running: * Jenkins 1.500 * Git plugin 1.1.26 In this example, this issue occurred on a Windows host, connected through SSH (cygwin). It happens on non-windows slaves as well. We didn't find a test case which recreates this in 100%. {noformat} Building remotely on host-ci31 in workspace C:\jenkins\workspace\winver Deleting project workspace... Checkout:winver / C:\jenkins\workspace\winver - hudson.remoting.Channel@144c5230:host-ci31 Using strategy: Default Cloning the remote Git repository Cloning repository git://gitserver/host/winver.git git --version git version 1.8.0.msysgit.0 Fetching upstream changes from git://gitserver/host/winver.git Commencing build of Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) Checking out Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31 at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.write(FilePath.java:1585) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1305) at hudson.plugins.git.GitSCM.access$1300(GitSCM.java:72) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1273) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:395) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:671) ... 15 more Retrying after 10 seconds Checkout:winver / C:\jenkins\workspace\winver - hudson.remoting.Channel@144c5230:host-ci31 Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from git://gitserver/host/winver.git Commencing build of Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) Checking out Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31 at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.write(FilePath.java:1585) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1305) at hudson.plugins.git.GitSCM.access$1300(GitSCM.java:72) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1273) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:395) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:671) ... 15 more Retrying after 10 seconds Checkout:winver / C:\jenkins\workspace\winver - hudson.remoting.Channel@144c5230:host-ci31 Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from git://gitserver/host/winver.git Commencing build of Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) Checking out Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31 at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.write(FilePath.java:1585) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1305) at hudson.plugins.git.GitSCM.access$1300(GitSCM.java:72) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1273) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:395) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:671) ... 15 more Retrying after 10 seconds Checkout:winver / C:\jenkins\workspace\winver - hudson.remoting.Channel@144c5230:host-ci31 Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from git://gitserver/host/winver.git Commencing build of Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) Checking out Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31 at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.write(FilePath.java:1585) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1305) at hudson.plugins.git.GitSCM.access$1300(GitSCM.java:72) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1273) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:395) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:671) ... 15 more An attempt to send an e-mail to empty list of recipients, ignored. Deleting project workspace... done Finished: FAILURE {noformat}

    Jenkins JIRA | 4 years ago | Guy Rozendorn
    hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31
  2. 0

    Running: * Jenkins 1.500 * Git plugin 1.1.26 In this example, this issue occurred on a Windows host, connected through SSH (cygwin). It happens on non-windows slaves as well. We didn't find a test case which recreates this in 100%. {noformat} Building remotely on host-ci31 in workspace C:\jenkins\workspace\winver Deleting project workspace... Checkout:winver / C:\jenkins\workspace\winver - hudson.remoting.Channel@144c5230:host-ci31 Using strategy: Default Cloning the remote Git repository Cloning repository git://gitserver/host/winver.git git --version git version 1.8.0.msysgit.0 Fetching upstream changes from git://gitserver/host/winver.git Commencing build of Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) Checking out Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31 at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.write(FilePath.java:1585) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1305) at hudson.plugins.git.GitSCM.access$1300(GitSCM.java:72) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1273) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:395) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:671) ... 15 more Retrying after 10 seconds Checkout:winver / C:\jenkins\workspace\winver - hudson.remoting.Channel@144c5230:host-ci31 Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from git://gitserver/host/winver.git Commencing build of Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) Checking out Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31 at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.write(FilePath.java:1585) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1305) at hudson.plugins.git.GitSCM.access$1300(GitSCM.java:72) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1273) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:395) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:671) ... 15 more Retrying after 10 seconds Checkout:winver / C:\jenkins\workspace\winver - hudson.remoting.Channel@144c5230:host-ci31 Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from git://gitserver/host/winver.git Commencing build of Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) Checking out Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31 at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.write(FilePath.java:1585) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1305) at hudson.plugins.git.GitSCM.access$1300(GitSCM.java:72) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1273) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:395) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:671) ... 15 more Retrying after 10 seconds Checkout:winver / C:\jenkins\workspace\winver - hudson.remoting.Channel@144c5230:host-ci31 Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from git://gitserver/host/winver.git Commencing build of Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) Checking out Revision da78c0a621cee24b3632a272918492a73b2b4417 (origin/develop) hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31 at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1331) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1557) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.write(FilePath.java:1585) at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1305) at hudson.plugins.git.GitSCM.access$1300(GitSCM.java:72) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1273) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:395) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:671) ... 15 more An attempt to send an e-mail to empty list of recipients, ignored. Deleting project workspace... done Finished: FAILURE {noformat}

    Jenkins JIRA | 4 years ago | Guy Rozendorn
    hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\winver at hudson.remoting.Channel@144c5230:host-ci31
  3. 0

    We recently converted our Windows slaves from using JNLP service to being logged in via ssh. At that time, several of our CTest-running jobs started failing with the stack trace attached. Note the reference to "/var/lib/jenkins/userContent/xunit/CTest" in the output - that path clearly doesn't exist on our Windows slaves. I don't know that that is the cause of the problem, of course, but it seems potentially relevant. Perhaps the xUnit plugin is somehow assuming that the remote side is Unix since it is logged into via ssh? [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing CTest-Version N/A (default) [xUnit] [INFO] - [CTest-Version N/A (default)] - 1 test report file(s) were found with the pattern 'build/memcached/Testing/**/Test.xml' relative to 'C:\Jenkins\workspace\memcached-gerrit-master\label_exp\watson-windows' for the testing framework 'CTest-Version N/A (default)'. [xUnit] [INFO] - Converting 'C:\Jenkins\workspace\memcached-gerrit-master\label_exp\watson-windows\build\memcached\Testing\20160112-0155\Test.xml' . [xUnit] [ERROR] - Conversion error remote file operation failed: /var/lib/jenkins/userContent/xunit/CTest at hudson.remoting.Channel@b07fd3:channel ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception java.io.IOException: remote file operation failed: C:\Jenkins\workspace\memcached-gerrit-master\label_exp\watson-windows at hudson.remoting.Channel@34a40002:watson-windows-01 at hudson.FilePath.act(FilePath.java:910) at hudson.FilePath.act(FilePath.java:887) at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:138) at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:81) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:112) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725) at hudson.model.Run.execute(Run.java:1701) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:181) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:42) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Conversion error remote file operation failed: /var/lib/jenkins/userContent/xunit/CTest at hudson.remoting.Channel@b07fd3:channel at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:91) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:144) ... 10 more Caused by: java.io.IOException: remote file operation failed: /var/lib/jenkins/userContent/xunit/CTest at hudson.remoting.Channel@b07fd3:channel at hudson.FilePath.act(FilePath.java:910) at hudson.FilePath.act(FilePath.java:887) at hudson.FilePath.exists(FilePath.java:1319) at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:106) at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:80) ... 11 more Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:731) at hudson.FilePath.act(FilePath.java:903) ... 15 more Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:656) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:721) ... 16 more

    Jenkins JIRA | 11 months ago | Chris Hillery
    java.io.IOException: remote file operation failed: C:\Jenkins\workspace\memcached-gerrit-master\label_exp\watson-windows at hudson.remoting.Channel@34a40002:watson-windows-01
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We recently converted our Windows slaves from using JNLP service to being logged in via ssh. At that time, several of our CTest-running jobs started failing with the stack trace attached. Note the reference to "/var/lib/jenkins/userContent/xunit/CTest" in the output - that path clearly doesn't exist on our Windows slaves. I don't know that that is the cause of the problem, of course, but it seems potentially relevant. Perhaps the xUnit plugin is somehow assuming that the remote side is Unix since it is logged into via ssh? [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing CTest-Version N/A (default) [xUnit] [INFO] - [CTest-Version N/A (default)] - 1 test report file(s) were found with the pattern 'build/memcached/Testing/**/Test.xml' relative to 'C:\Jenkins\workspace\memcached-gerrit-master\label_exp\watson-windows' for the testing framework 'CTest-Version N/A (default)'. [xUnit] [INFO] - Converting 'C:\Jenkins\workspace\memcached-gerrit-master\label_exp\watson-windows\build\memcached\Testing\20160112-0155\Test.xml' . [xUnit] [ERROR] - Conversion error remote file operation failed: /var/lib/jenkins/userContent/xunit/CTest at hudson.remoting.Channel@b07fd3:channel ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception java.io.IOException: remote file operation failed: C:\Jenkins\workspace\memcached-gerrit-master\label_exp\watson-windows at hudson.remoting.Channel@34a40002:watson-windows-01 at hudson.FilePath.act(FilePath.java:910) at hudson.FilePath.act(FilePath.java:887) at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:138) at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:81) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:112) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725) at hudson.model.Run.execute(Run.java:1701) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:181) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:42) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Conversion error remote file operation failed: /var/lib/jenkins/userContent/xunit/CTest at hudson.remoting.Channel@b07fd3:channel at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:91) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:144) ... 10 more Caused by: java.io.IOException: remote file operation failed: /var/lib/jenkins/userContent/xunit/CTest at hudson.remoting.Channel@b07fd3:channel at hudson.FilePath.act(FilePath.java:910) at hudson.FilePath.act(FilePath.java:887) at hudson.FilePath.exists(FilePath.java:1319) at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:106) at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:80) ... 11 more Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:731) at hudson.FilePath.act(FilePath.java:903) ... 15 more Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:656) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:721) ... 16 more

    Jenkins JIRA | 11 months ago | Chris Hillery
    java.io.IOException: remote file operation failed: C:\Jenkins\workspace\memcached-gerrit-master\label_exp\watson-windows at hudson.remoting.Channel@34a40002:watson-windows-01

    7 unregistered visitors
    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

      hudson/remoting/RemoteClassLoader$RemoteIClassLoader

      at hudson.remoting.RemoteClassLoader.export()
    2. Hudson :: Remoting Layer
      Channel.call
      1. hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:395)
      2. hudson.remoting.UserRequest.<init>(UserRequest.java:69)
      3. hudson.remoting.Channel.call(Channel.java:671)
      3 frames
    3. Hudson
      FilePath.write
      1. hudson.FilePath.write(FilePath.java:1585)
      1 frame
    4. Hudson GIT plugin
      GitSCM$4.invoke
      1. hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1305)
      2. hudson.plugins.git.GitSCM.access$1300(GitSCM.java:72)
      3. hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1273)
      4. hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231)
      4 frames
    5. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
      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(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5. java.lang.Thread.run(Unknown Source)
      5 frames