Jenkins hudson.util.IOException2:远程文件操作失败 [英] Jenkins hudson.util.IOException2: remote file operation failed

查看:383
本文介绍了Jenkins hudson.util.IOException2:远程文件操作失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用CentOS 5和Jenkins 1.430。当我尝试构建时,出现错误:

I'm using CentOS 5 and Jenkins 1.430. When I try to build, I get an error:

hudson.util.IOException2: remote file operation failed: /home/build/jenkins/workspace/tests at hudson.remoting.Channel@6c89db9a:build-test
at hudson.FilePath.act(FilePath.java:754)
    at hudson.FilePath.act(FilePath.java:740)
    at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:705)
    at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:654)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
    at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566)
    at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454)
    at hudson.model.Run.run(Run.java:1376)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:230)
Caused by: java.io.IOException: Remote call on build-test failed
    at hudson.remoting.Channel.call(Channel.java:690)
    at hudson.FilePath.act(FilePath.java:747)
    ... 10 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.model.Hudson
    at hudson.scm.SubversionWorkspaceSelector.syncWorkspaceFormatFromMaster(SubversionWorkspaceSelector.java:85)
    at hudson.scm.SubversionSCM.createSvnClientManager(SubversionSCM.java:782)
    at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:725)
    at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:712)
    at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1995)
    at hudson.remoting.UserRequest.perform(UserRequest.java:118)
    at hudson.remoting.UserRequest.perform(UserRequest.java:48)
    at hudson.remoting.Request$2.run(Request.java:287)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
Email was triggered for: Failure
Sending email for trigger: Failure
An attempt to send an e-mail to empty list of recipients, ignored.
Finished: FAILURE

这个主题似乎说Master / Slave出了问题:
https://groups.google.com/forum/?fromgroups=# !topic / jenkinsci-issues / MaMqjK3iW8Y

This thread seems to say it's something wrong with Master/Slave: https://groups.google.com/forum/?fromgroups=#!topic/jenkinsci-issues/MaMqjK3iW8Y

但它并没有真正提供解决方案。 Jenkin奴隶说它已连接,它反映在Jenkins项目页面上。

But it doesn't really offer a solution. The Jenkin slave says it's connected and it's reflected on the Jenkins project page.

推荐答案

显然禁用奴隶并重新启动它有效。 bleh

Well apparently disabling the slave and rebooting it worked. bleh

这篇关于Jenkins hudson.util.IOException2:远程文件操作失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆