java.io.IOException: remote file operation failed: /srv/jenkins/workspace/SomeProj-v1.x at hudson.remoting.Channel@403729c5:Barney-CentOS-5.x

Jenkins JIRA | Pablo Ruiz | 3 years ago
  1. 0

    We have a few jobs were multiple unit tests reports are created for each job run, and it looks like XUnit is trying to create 'generatedJUnitFiles/$Tool' for each test report, but w/o previouslly checking if directory already exists... and thus it fails on the second pass with the following exception: [xUnit] [ERROR] - Can't create /srv/jenkins/workspace/SomeProj-v1.x/generatedJUnitFiles/Gallio ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception java.io.IOException: remote file operation failed: /srv/jenkins/workspace/SomeProj-v1.x at hudson.remoting.Channel@403729c5:Barney-CentOS-5.x at hudson.FilePath.act(FilePath.java:910) at hudson.FilePath.act(FilePath.java:887) at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:112) at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:55) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:75) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1703) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:153) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:16) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461) 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) Caused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Can't create /srv/jenkins/workspace/SomeProj-v1.x/generatedJUnitFiles/Gallio at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:47) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:121) ... 11 more

    Jenkins JIRA | 3 years ago | Pablo Ruiz
    java.io.IOException: remote file operation failed: /srv/jenkins/workspace/SomeProj-v1.x at hudson.remoting.Channel@403729c5:Barney-CentOS-5.x
  2. 0

    We have a few jobs were multiple unit tests reports are created for each job run, and it looks like XUnit is trying to create 'generatedJUnitFiles/$Tool' for each test report, but w/o previouslly checking if directory already exists... and thus it fails on the second pass with the following exception: [xUnit] [ERROR] - Can't create /srv/jenkins/workspace/SomeProj-v1.x/generatedJUnitFiles/Gallio ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception java.io.IOException: remote file operation failed: /srv/jenkins/workspace/SomeProj-v1.x at hudson.remoting.Channel@403729c5:Barney-CentOS-5.x at hudson.FilePath.act(FilePath.java:910) at hudson.FilePath.act(FilePath.java:887) at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:112) at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:55) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:75) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1703) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:153) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:16) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461) 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) Caused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Can't create /srv/jenkins/workspace/SomeProj-v1.x/generatedJUnitFiles/Gallio at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:47) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:121) ... 11 more

    Jenkins JIRA | 3 years ago | Pablo Ruiz
    java.io.IOException: remote file operation failed: /srv/jenkins/workspace/SomeProj-v1.x at hudson.remoting.Channel@403729c5:Barney-CentOS-5.x
  3. 0

    Outer loop Ubuntu legs pass all tests but then fail with IOException

    GitHub | 9 months ago | stephentoub
    java.io.IOException: remote file operation failed: /mnt/j/workspace/dotnet_corefx/outerloop_ubuntu14.04_debug at hudson.remoting.Channel@79976537:Azure0227030641: hudson.util.IOException2: There are some problems during the conversion into JUnit reports:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [xUnit] [ERROR] - Conversion error Error to convert the input XML document

    GitHub | 2 years ago | xJom
    java.io.IOException: remote file operation failed: C:\Jenkins_slave\workspace\Elvira_UnitTest at hudson.remoting.Channel@12355027:RT_VM_af_b0b4b4j: hudson.util.IOException2: There are some problems during the conversion into JUnit reports:
  6. 0

    Jevon Online: Testing Mocha applications with Grunt using Jenkins

    jevon.org | 1 year ago
    hudson.util.IOException2: There are some problems during the conversion into JUnit reports:

    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. org.jenkinsci.plugins.xunit.exception.XUnitException

      Can't create /srv/jenkins/workspace/SomeProj-v1.x/generatedJUnitFiles/Gallio

      at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert()
    2. org.jenkinsci.plugins
      XUnitTransformer.invoke
      1. org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:47)
      2. org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:121)
      3. org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:16)
      3 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461)
      1 frame
    4. 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
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:679)
      5 frames