rmohr / chroot-plugin

A Jenkins plugin which adds support for disposable chroot environments, which can be very usefull for C and C++ projects.
GNU General Public License v3.0
6 stars 15 forks source link

FATAL: remote file operation failed: . at hudson.remoting.Channel #1

Closed stuckyhm closed 10 years ago

stuckyhm commented 10 years ago

Hi,

i am trying to use the chroot-plugin, but i alway get this error:

Building remotely on ubuntu1404 (ubuntu1404) in workspace /opt/jenkins/workspace/ubuntu_amd64 FATAL: remote file operation failed: . at hudson.remoting.Channel@6e41a173:ubuntu1404 java.io.IOException: remote file operation failed: . at hudson.remoting.Channel@6e41a173:ubuntu1404 at hudson.FilePath.act(FilePath.java:918) at hudson.FilePath.act(FilePath.java:895) at org.jenkinsci.plugins.chroot.builders.ChrootBuilder.perform(ChrootBuilder.java:165) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535) at hudson.model.Run.execute(Run.java:1732) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) Caused by: java.io.IOException: Failed to copy . to /opt/jenkins/workspace/rocrail_ubuntu_amd64/ubuntu_saucy_amd64 at hudson.FilePath.copyTo(FilePath.java:1818) at org.jenkinsci.plugins.chroot.builders.ChrootBuilder$LocalCopyTo.invoke(ChrootBuilder.java:136) at org.jenkinsci.plugins.chroot.builders.ChrootBuilder$LocalCopyTo.invoke(ChrootBuilder.java:125) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 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(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:744) Caused by: java.io.FileNotFoundException: . (Is a directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:146) at hudson.FilePath$37.invoke(FilePath.java:1844) at hudson.FilePath$37.invoke(FilePath.java:1839) at hudson.FilePath.act(FilePath.java:922) at hudson.FilePath.act(FilePath.java:895) at hudson.FilePath.copyTo(FilePath.java:1839) at hudson.FilePath.copyTo(FilePath.java:1813) ... 11 more

Here is my configuration;

bildschirmfoto 2014-07-31 um 22 51 28 bildschirmfoto 2014-07-31 um 22 50 46

Where is the mistake?

Thanks, Sebastian

rmohr commented 10 years ago

Thank you for your feedback.

It seems, like the automatic installer is not added. Coud you click on "Automatisch installieren" and add the "Create the chroot environment on demand" installer? After that the auto install section should look somewhat like this: install_automatically

Optionally you can add a label there, to exclude some remote build nodes which do not have pbuilder installed. So leave the label field blank if you do not use them.

Could you try this and report back?

Best Regards, Roman

rmohr commented 10 years ago

Feel free to reopen the issue if this did not solve your problem.