java.io.IOException: remote file operation failed: /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01 at hudson.remoting.Channel@558965d7:slave_ams01

Jenkins JIRA | Khaled Janania | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Received this exception when I tried to wipe the workspace of a remote slave: {noformat} java.io.IOException: remote file operation failed: /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01 at hudson.remoting.Channel@558965d7:slave_ams01 at hudson.FilePath.act(FilePath.java:916) at hudson.FilePath.act(FilePath.java:893) at hudson.FilePath.deleteRecursive(FilePath.java:1082) at hudson.model.AbstractProject.doDoWipeOutWorkspace(AbstractProject.java:1895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:89) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:74) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315) 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:745) Caused by: java.io.IOException: Unable to delete /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86 - files in dir: [/home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NAnt.Shared.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NAnt.Win32Tasks.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NAnt.ZipTasks.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NUnitCore.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/PackageInstaller.exe] at hudson.Util.deleteFile(Util.java:253) at hudson.Util.deleteRecursive(Util.java:301) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.FilePath$12.invoke(FilePath.java:1085) at hudson.FilePath$12.invoke(FilePath.java:1082) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2474) 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$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) {noformat}

    Jenkins JIRA | 3 years ago | Khaled Janania
    java.io.IOException: remote file operation failed: /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01 at hudson.remoting.Channel@558965d7:slave_ams01
  2. 0

    Received this exception when I tried to wipe the workspace of a remote slave: {noformat} java.io.IOException: remote file operation failed: /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01 at hudson.remoting.Channel@558965d7:slave_ams01 at hudson.FilePath.act(FilePath.java:916) at hudson.FilePath.act(FilePath.java:893) at hudson.FilePath.deleteRecursive(FilePath.java:1082) at hudson.model.AbstractProject.doDoWipeOutWorkspace(AbstractProject.java:1895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:89) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:74) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315) 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:745) Caused by: java.io.IOException: Unable to delete /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86 - files in dir: [/home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NAnt.Shared.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NAnt.Win32Tasks.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NAnt.ZipTasks.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NUnitCore.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/PackageInstaller.exe] at hudson.Util.deleteFile(Util.java:253) at hudson.Util.deleteRecursive(Util.java:301) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.FilePath$12.invoke(FilePath.java:1085) at hudson.FilePath$12.invoke(FilePath.java:1082) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2474) 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$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) {noformat}

    Jenkins JIRA | 3 years ago | Khaled Janania
    java.io.IOException: remote file operation failed: /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01 at hudson.remoting.Channel@558965d7:slave_ams01
  3. 0

    Note: "Clean Build" is NOT checked. But if I check it, the same problem happens. Error log: Started by user The User Building remotely on mybuildslave in workspace /jenkins-slave/workspace/MYPROJ-2.8.3 ERROR: Failed to clean the repository checkout hudson.util.IOException2: remote file operation failed: /jenkins-slave/workspace/MYPROJ-2.8.3 at hudson.remoting.Channel@3d08761:mybuildslave at hudson.FilePath.act(FilePath.java:861) at hudson.FilePath.act(FilePath.java:838) at hudson.FilePath.deleteRecursive(FilePath.java:997) at hudson.plugins.mercurial.MercurialSCM.clone(MercurialSCM.java:547) at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:389) at hudson.model.AbstractProject.checkout(AbstractProject.java:1353) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:689) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:594) at hudson.model.Run.execute(Run.java:1567) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.io.IOException: Unable to delete /jenkins-slave/workspace/MYPROJ-2.8.3/war/WebContent/portais/suprimentos/servicos/catalogacao/img - files in dir: [/jenkins-slave/workspace/MYPROJ-2.8.3/war/WebContent/portais/suprimentos/servicos/catalogacao/img/Grafico_Cataloga??o_r1_c3.gif, /jenkins-slave/workspace/MYPROJ-2.8.3/war/WebContent/portais/suprimentos/servicos/catalogacao/img/Grafico_Cataloga??o_r1_c1_f2.gif,] at hudson.Util.deleteFile(Util.java:242) at hudson.Util.deleteRecursive(Util.java:293) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:284) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:284) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:284) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:284) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:284) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:284) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:284) at hudson.FilePath$11.invoke(FilePath.java:1000) at hudson.FilePath$11.invoke(FilePath.java:997) 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:73) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) ERROR: Failed to clean the repository checkout Archiving artifacts Build step 'Dependency analysis' marked build as failure

    Jenkins JIRA | 4 years ago | Elifarley
    hudson.util.IOException2: remote file operation failed: /jenkins-slave/workspace/MYPROJ-2.8.3 at hudson.remoting.Channel@3d08761:mybuildslave
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    version 1.2 Happens a lot (about 50% of the cases)! [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at BUILD level /home/user/workspace/Sanity_010_App_Landings/label/Automation1/avg-tests-project/log/current to /var/lib/jenkins/jobs/Sanity_010_App_Landings/configurations/axis-label/Automation1/builds/2014-04-07_12-53-56/htmlreports/HTML_Report FATAL: HTML Publisher failure java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: request to write '679' bytes exceeds size in header of '53297404' bytes for entry 'test_1/logcat_4790b1d294e4af34_07-04-2014_15-54-31.txt' at hudson.FilePath.copyRecursiveTo(FilePath.java:2017) at hudson.FilePath.copyRecursiveTo(FilePath.java:1911) at hudson.FilePath.copyRecursiveTo(FilePath.java:1894) at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:212) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:742) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:714) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:663) at hudson.model.Run.execute(Run.java:1713) 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: java.util.concurrent.ExecutionException: java.io.IOException: request to write '679' bytes exceeds size in header of '53297404' bytes for entry 'test_1/logcat_4790b1d294e4af34_07-04-2014_15-54-31.txt' at hudson.remoting.Channel$3.adapt(Channel.java:755) at hudson.remoting.Channel$3.adapt(Channel.java:750) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:2015) ... 12 more Caused by: java.io.IOException: request to write '679' bytes exceeds size in header of '53297404' bytes for entry 'test_1/logcat_4790b1d294e4af34_07-04-2014_15-54-31.txt' at hudson.org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:284) at hudson.util.io.TarArchiver.visit(TarArchiver.java:114) at hudson.util.DirScanner.scanSingle(DirScanner.java:49) at hudson.util.DirScanner$Glob.scan(DirScanner.java:131) at hudson.FilePath.writeToTar(FilePath.java:2053) at hudson.FilePath.access$1000(FilePath.java:172) at hudson.FilePath$41.invoke(FilePath.java:1994) at hudson.FilePath$41.invoke(FilePath.java:1990) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462) 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$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Build step 'Publish HTML reports' changed build result to FAILURE

    Jenkins JIRA | 3 years ago | Guy Tal
    java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: request to write '679' bytes exceeds size in header of '53297404' bytes for entry 'test_1/logcat_4790b1d294e4af34_07-04-2014_15-54-31.txt'
  6. 0

    Using "Archive the artifacts" post-build action, the following kind of issues often occurs: 12:11:29 Archiving artifacts 12:11:29 ERROR: Failed to archive artifacts: testing/logs/** 12:11:29 hudson.util.IOException2: java.io.IOException: request to write '2134' bytes exceeds size in header of '852381' bytes for entry 'testing/error.log' 12:11:29 at hudson.FilePath.copyRecursiveTo(FilePath.java:1863) 12:11:29 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116) 12:11:29 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 12:11:29 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) 12:11:29 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) 12:11:29 at hudson.model.Build$BuildExecution.post2(Build.java:183) 12:11:29 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) 12:11:29 at hudson.model.Run.execute(Run.java:1541) 12:11:29 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 12:11:29 at hudson.model.ResourceController.execute(ResourceController.java:88) 12:11:29 at hudson.model.Executor.run(Executor.java:236) 12:11:29 Caused by: java.util.concurrent.ExecutionException: java.io.IOException: request to write '2134' bytes exceeds size in header of '852381' bytes for entry 'testing/error.log' 12:11:29 at hudson.remoting.Channel$4.adapt(Channel.java:697) 12:11:29 at hudson.remoting.Channel$4.adapt(Channel.java:692) 12:11:29 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 12:11:29 at hudson.FilePath.copyRecursiveTo(FilePath.java:1861) 12:11:29 ... 10 more 12:11:29 Caused by: java.io.IOException: request to write '2134' bytes exceeds size in header of '852381' bytes for entry 'testing/error.log' 12:11:29 at hudson.org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:284) 12:11:29 at hudson.util.io.TarArchiver.visit(TarArchiver.java:115) 12:11:29 at hudson.util.DirScanner$Glob.scan(DirScanner.java:133) 12:11:29 at hudson.FilePath.writeToTar(FilePath.java:1899) 12:11:29 at hudson.FilePath.access$1000(FilePath.java:166) 12:11:29 at hudson.FilePath$36.invoke(FilePath.java:1840) 12:11:29 at hudson.FilePath$36.invoke(FilePath.java:1837) 12:11:29 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2308) 12:11:29 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 12:11:29 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 12:11:29 at hudson.remoting.Request$2.run(Request.java:326) 12:11:29 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 12:11:29 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 12:11:29 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 12:11:29 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 12:11:29 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 12:11:29 at java.lang.Thread.run(Thread.java:662) Please notice that during the same run, other log files are correctly archived. I haven't found any possible reason so far. Could such issue happen if we try to archive a file which is still being written? Is this post-build task the correct one to use to save log files? Thanks for your help, David.

    Jenkins JIRA | 4 years ago | david catalan
    hudson.util.IOException2: java.io.IOException: request to write '2134' bytes exceeds size in header of '852381' bytes for entry 'testing/error.log'

    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.io.IOException

      Unable to delete /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86 - files in dir: [/home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NAnt.Shared.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NAnt.Win32Tasks.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NAnt.ZipTasks.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/NUnitCore.dll, /home/gos-ops/jenkins/workspace/Build-GOS-SyncPackages/build on slaves and master/slave_ams01/packages/common/Framework/2.15.19/bin/x86/PackageInstaller.exe]

      at hudson.Util.deleteFile()
    2. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.Util.deleteFile(Util.java:253)
      2. hudson.Util.deleteRecursive(Util.java:301)
      3. hudson.Util.deleteContentsRecursive(Util.java:203)
      4. hudson.Util.deleteRecursive(Util.java:292)
      5. hudson.Util.deleteContentsRecursive(Util.java:203)
      6. hudson.Util.deleteRecursive(Util.java:292)
      7. hudson.Util.deleteContentsRecursive(Util.java:203)
      8. hudson.Util.deleteRecursive(Util.java:292)
      9. hudson.Util.deleteContentsRecursive(Util.java:203)
      10. hudson.Util.deleteRecursive(Util.java:292)
      11. hudson.Util.deleteContentsRecursive(Util.java:203)
      12. hudson.Util.deleteRecursive(Util.java:292)
      13. hudson.Util.deleteContentsRecursive(Util.java:203)
      14. hudson.Util.deleteRecursive(Util.java:292)
      15. hudson.FilePath$12.invoke(FilePath.java:1085)
      16. hudson.FilePath$12.invoke(FilePath.java:1082)
      17. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2474)
      17 frames
    3. 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:328)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    4. 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:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:619)
      5 frames