Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since upgrading to Jenkins 1.502, any jobs using git on remote UNIX slaves launched by SSH fail with

hudson.util.IOException2: remote file operation failed: /var/ciworkspaces/web/workspace/DFT.BA Live at hudson.remoting.Channel@14930f2a:web-pampas
    at hudson.FilePath.act(
    at hudson.FilePath.act(
    at hudson.plugins.git.GitSCM.determineRevisionToBuild(
    at hudson.plugins.git.GitSCM.checkout(
    at hudson.model.AbstractProject.checkout(
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(
    at jenkins.scm.SCMCheckoutStrategy.checkout(
    at hudson.model.AbstractBuild$
    at hudson.model.Run.execute(
    at hudson.model.ResourceController.execute(
Caused by: Unable to serialize hudson.FilePath$FileCallableWrapper@3e2c693b
    at hudson.remoting.UserRequest.serialize(
    at hudson.remoting.UserRequest.<init>(
    at hudson.FilePath.act(
    ... 11 more
Caused by: hudson.model.FreeStyleBuild
    at hudson.remoting.UserRequest._serialize(
    at hudson.remoting.UserRequest.serialize(
    ... 14 more
Finished: FAILURE

I've found a few pages about this error (one, two) but nothing conclusive about what it is or how to fix it.

This is happening on all slaves launched with SSH or Launch slave via execution of command on the Master when using git (possibly other SCMs, not tested because we only use git). Jobs that don't have git repos attached work fine.

I have verified the file permissions, and as the user slave.jar is running as I can CD to the workspace directory, create the job directory and clone the git repo. I've tried deleting all the *.jar files copied over and re-launching the slaves but they still don't work.

This is only happening since upgrading from 1.454 to 1.502, the slaves worked correctly before with no issues.

Other maybe useful information;

[sr@pampas ~]$ cat /etc/redhat-release 
CentOS release 6.3 (Final)
[sr@pampas ~]$ java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (rhel-
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

This is the same on the master and slaves

share|improve this question
Can you paste the xml job definition if possible? – Tom O'Connor Feb 24 '13 at 18:43
@TomO'Connor is an example but it happens for any remote job with a GIT repo. Running the build on 'master' works fine – Smudge Feb 25 '13 at 17:03
Hi Sam - Did you have any luck in solving this? It's driving me insane! – TJ Biddle Apr 13 '13 at 22:31
@TJBiddle Nope, just downgraded Jenkins back to 1.454 =/ – Smudge Apr 16 '13 at 8:56

With jenkins being release almost every week, bugs may be released too.

You should simply rollback to an old version or just wait for the next one.

Checking their bug tracker may help finding workaround, and to help for problems being fix as early as possibile.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.