[JIRA] (JENKINS-34108) Remote File Operation Failed when publishing JUnit Test Result Report

2016-09-21 Thread boris.bondaren...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 boris bondarenko commented on  JENKINS-34108  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Remote File Operation Failed when publishing JUnit Test Result Report   
 

  
 
 
 
 

 
 We had the same issue. The problem was in the incorrect format of XML fed to JUnit plugin (version 1.13 in our case). The XML was valid, however the JUnit apparently didn't like it and threw exception when processing it. It seems that xUnit handles this more gracefully. After switching from JUnit to xUnit it gave the message: [xUnit] [ERROR] - The result file '' for the metric 'JUnit' is not valid. The result file has been skipped.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-34108) Remote File Operation Failed when publishing JUnit Test Result Report

2016-09-15 Thread brandonhel...@forwardnetworks.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Brandon Heller commented on  JENKINS-34108  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Remote File Operation Failed when publishing JUnit Test Result Report   
 

  
 
 
 
 

 
 I'm seeing the same occasional error too, when many jobs go to publish their junit reports, and only since July 2016.  Using Junit 1.13 and Jenkins 1.656. ERROR: Step ?Publish JUnit test result report? aborted due to exception:  java.io.IOException: remote file operation failed: /home/jenkins/workspace/jobdsl/job-fwd-search-accept at hudson.remoting.Channel@68e8e7e9:jenkins-slave-4-34fc6e9c: java.io.IOException: Remote call on jenkins-slave-4-34fc6e9c failed at hudson.FilePath.act(FilePath.java:986) at hudson.FilePath.act(FilePath.java:968) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:103) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:126) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:148) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: Remote call on jenkins-slave-4-34fc6e9c failed at hudson.remoting.Channel.call(Channel.java:789) at hudson.FilePath.act(FilePath.java:979) ... 14 more Caused by: java.lang.Error: Failed to deserialize the Callable object. at hudson.remoting.UserRequest.perform(UserRequest.java:104) 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:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at hudson.remoting.Engine$1$1.run(Engine.java:62) at java.lang.Thread.run(Thread.java:745) at ..remote call to jenkins-slave-4-34fc6e9c(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:220) at hudson.remoting.Channel.call(Channel.java:781) ... 15 more Caused by: hudson.remoting.RemotingSystemException: java.lang.InterruptedException at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:266) at com.sun.proxy.$Proxy5.fetch3(Unknown Source) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:171) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.lang.ClassLoader.defineClass(ClassLoader.java:642) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:338) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:251) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at 

[JIRA] (JENKINS-34108) Remote File Operation Failed when publishing JUnit Test Result Report

2016-09-15 Thread brandonhel...@forwardnetworks.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Brandon Heller edited a comment on  JENKINS-34108  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Remote File Operation Failed when publishing JUnit Test Result Report   
 

  
 
 
 
 

 
 I'm seeing the same occasional error too, when many jobs go to publish their junit reports, and only since July 2016.  Using Junit 1.13 and Jenkins 1.656  on Ubuntu 14 . 04 machines. ERROR: Step ?Publish JUnit test result report? aborted due to exception: java.io.IOException: remote file operation failed: /home/jenkins/workspace/jobdsl/job-fwd-search-accept at hudson.remoting.Channel@68e8e7e9:jenkins-slave-4-34fc6e9c: java.io.IOException: Remote call on jenkins-slave-4-34fc6e9c failed at hudson.FilePath.act(FilePath.java:986) at hudson.FilePath.act(FilePath.java:968) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:103) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:126) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:148) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)Caused by: java.io.IOException: Remote call on jenkins-slave-4-34fc6e9c failed at hudson.remoting.Channel.call(Channel.java:789) at hudson.FilePath.act(FilePath.java:979) ... 14 moreCaused by: java.lang.Error: Failed to deserialize the Callable object. at hudson.remoting.UserRequest.perform(UserRequest.java:104) 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:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at hudson.remoting.Engine$1$1.run(Engine.java:62) at java.lang.Thread.run(Thread.java:745) at ..remote call to jenkins-slave-4-34fc6e9c(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:220) at hudson.remoting.Channel.call(Channel.java:781) ... 15 moreCaused by: hudson.remoting.RemotingSystemException: java.lang.InterruptedException at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:266) at com.sun.proxy.$Proxy5.fetch3(Unknown Source) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:171) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.lang.ClassLoader.defineClass(ClassLoader.java:642) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:338) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:251) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.getDeclaredMethods0(Native Method) at 

[JIRA] (JENKINS-34108) Remote File Operation Failed when publishing JUnit Test Result Report

2016-08-09 Thread mohitta...@bluejeansnet.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 mohit tater commented on  JENKINS-34108  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Remote File Operation Failed when publishing JUnit Test Result Report   
 

  
 
 
 
 

 
 Facing similar issue on Jenkins 2.17 and JUnit 1.15 for some of our jobs it is failing. Following is the exception which was thrown: 

 

ERROR: Step ‘Publish JUnit test result report’ aborted due to exception: 
java.io.IOException: remote file operation failed: /var/lib/jenkins/workspace/some-job at hudson.remoting.Channel@407caef6:some_slave: java.io.IOException: Remote call on some_slave failed
	at hudson.FilePath.act(FilePath.java:1014)
	at hudson.FilePath.act(FilePath.java:996)
	at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:103)
	at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:127)
	at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:149)
	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
	at hudson.model.Build$BuildExecution.post2(Build.java:185)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
	at hudson.model.Run.execute(Run.java:1745)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:404)
Caused by: java.io.IOException: Remote call on Qoe_Ubuntu failed
	at hudson.remoting.Channel.call(Channel.java:789)
	at hudson.FilePath.act(FilePath.java:1007)
	... 14 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins
	at hudson.util.io.ParserConfigurator.applyConfiguration(ParserConfigurator.java:78)
	at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:124)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:301)
	at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:244)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:175)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:154)
	at hudson.tasks.junit.TestResult.(TestResult.java:126)
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:132)
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:107)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772)
	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:332)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
	at ..remote call to Qoe_Ubuntu(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
	at hudson.remoting.Channel.call(Channel.java:781)
	... 15 more
 

 We are seeing this issue with windows and linux(Ubuntu) slaves