hudson.util.IOException2: remote file operation failed: C:\Jenkins\workspace\Anton-test at hudson.remoting.Channel@1510a2d:telco-builder

Jenkins JIRA | Anton Nikitin | 5 years ago
  1. 0

    Looks like that xUnit plugin v1.29 doesn't work correctly when working on slave. I get the error (see below). Looks like he tries to access a file "C:\Jenkins\userContent\xunit/BoostTest/1.x" which doesn't exist. Version 1.27 of plugin works correctly. [xUnit] [ERROR] - Conversion error remote file operation failed: C:\Jenkins\userContent\xunit/BoostTest/1.x at hudson.remoting.Channel@1ac04e8:channel ERROR: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: C:\Jenkins\workspace\Anton-test at hudson.remoting.Channel@1510a2d:telco-builder at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:164) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:112) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:89) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:616) at hudson.model.Run.run(Run.java:1429) 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: hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:164) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) 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:441) 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:662) Caused by: com.thalesgroup.hudson.plugins.xunit.exception.XUnitException: Conversion error remote file operation failed: C:\Jenkins\userContent\xunit/BoostTest/1.x at hudson.remoting.Channel@1ac04e8:channel at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:93) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:135) ... 11 more Caused by: hudson.util.IOException2: remote file operation failed: C:\Jenkins\userContent\xunit/BoostTest/1.x at hudson.remoting.Channel@1ac04e8:channel at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.FilePath.exists(FilePath.java:1035) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:112) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:82) ... 12 more Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 16 more Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:353) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:680) ... 17 more Caused by: java.lang.ClassNotFoundException: hudson.remoting.RemoteClassLoader$RemoteIClassLoader at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 20 more Finished: FAILURE

    Jenkins JIRA | 5 years ago | Anton Nikitin
    hudson.util.IOException2: remote file operation failed: C:\Jenkins\workspace\Anton-test at hudson.remoting.Channel@1510a2d:telco-builder
  2. 0

    Looks like that xUnit plugin v1.29 doesn't work correctly when working on slave. I get the error (see below). Looks like he tries to access a file "C:\Jenkins\userContent\xunit/BoostTest/1.x" which doesn't exist. Version 1.27 of plugin works correctly. [xUnit] [ERROR] - Conversion error remote file operation failed: C:\Jenkins\userContent\xunit/BoostTest/1.x at hudson.remoting.Channel@1ac04e8:channel ERROR: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: C:\Jenkins\workspace\Anton-test at hudson.remoting.Channel@1510a2d:telco-builder at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:164) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:112) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:89) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:616) at hudson.model.Run.run(Run.java:1429) 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: hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:164) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) 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:441) 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:662) Caused by: com.thalesgroup.hudson.plugins.xunit.exception.XUnitException: Conversion error remote file operation failed: C:\Jenkins\userContent\xunit/BoostTest/1.x at hudson.remoting.Channel@1ac04e8:channel at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:93) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:135) ... 11 more Caused by: hudson.util.IOException2: remote file operation failed: C:\Jenkins\userContent\xunit/BoostTest/1.x at hudson.remoting.Channel@1ac04e8:channel at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.FilePath.exists(FilePath.java:1035) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:112) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:82) ... 12 more Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 16 more Caused by: java.lang.NoClassDefFoundError: hudson/remoting/RemoteClassLoader$RemoteIClassLoader at hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:353) at hudson.remoting.UserRequest.<init>(UserRequest.java:69) at hudson.remoting.Channel.call(Channel.java:680) ... 17 more Caused by: java.lang.ClassNotFoundException: hudson.remoting.RemoteClassLoader$RemoteIClassLoader at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 20 more Finished: FAILURE

    Jenkins JIRA | 5 years ago | Anton Nikitin
    hudson.util.IOException2: remote file operation failed: C:\Jenkins\workspace\Anton-test at hudson.remoting.Channel@1510a2d:telco-builder
  3. 0

    nexus-repository-conversion-tool fails when run with java -jar as per the documentation on https://docs.sonatype.com/display/SPRTNXOSS/Nexus+Command+Line+Tools. The error and stack trace can be seen below. java -jar ~/nexus-repository-conversion-tool-2.0.4-1-cli.jar Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList at com.google.inject.internal.Errors.<clinit>(Errors.java:648) at com.google.inject.internal.InternalInjectorCreator.<init>(InternalInjectorCreator.java:62) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:73) at com.google.inject.Guice.createInjector(Guice.java:62) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:470) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:196) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:160) at org.codehaus.plexus.tools.cli.AbstractCli.execute(AbstractCli.java:159) at org.codehaus.plexus.tools.cli.AbstractCli.execute(AbstractCli.java:67) at org.sonatype.nexus.tools.repository.RepositoryConvertorCli.main(RepositoryConvertorCli.java:53) Caused by: java.lang.ClassNotFoundException: com.google.common.collect.ImmutableList at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 11 more I think it's a missing Guava dependency. When I downloaded Guava 12.0 and ran "java -cp $HOME/guava-12.0.jar:$HOME/nexus-repository-conversion-tool-2.0.4-1-cli.jar org.sonatype.nexus.tools.repository.RepositoryConvertorCli -r foo -o bar" it worked.

    Sonatype JIRA | 5 years ago | Brandon Richins
    java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassNotFoundException and NoClassDefException

    w3facility.org | 1 year ago
    java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList
  6. 0

    NoClassDefFoundError error in crawljax

    Stack Overflow | 3 years ago | user2079958
    java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList at com.crawljax.core.configuration.CrawljaxConfiguration$CrawljaxConfigurationBuilder.&lt;init&gt;(CrawljaxConfiguration.java:28) at com.crawljax.core.configuration.CrawljaxConfiguration$CrawljaxConfigurationBuilder.&lt;init&gt;(CrawljaxConfiguration.java:26)

  1. archenroot 1 times, last 1 week ago
  2. tyson925 5 times, last 2 weeks ago
  3. tzrlk 1 times, last 2 weeks ago
  4. musketyr 1 times, last 2 weeks ago
  5. kjhdofjosvs 3 times, last 3 weeks ago
63 more registered users
32 unregistered visitors
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.lang.ClassNotFoundException

    hudson.remoting.RemoteClassLoader$RemoteIClassLoader

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    6 frames
  3. Hudson :: Remoting Layer
    Channel.call
    1. hudson.remoting.RemoteClassLoader.export(RemoteClassLoader.java:353)
    2. hudson.remoting.UserRequest.<init>(UserRequest.java:69)
    3. hudson.remoting.Channel.call(Channel.java:680)
    3 frames
  4. Hudson
    FilePath.exists
    1. hudson.FilePath.act(FilePath.java:774)
    2. hudson.FilePath.act(FilePath.java:767)
    3. hudson.FilePath.exists(FilePath.java:1035)
    3 frames
  5. com.thalesgroup.hudson
    XUnitTransformer.invoke
    1. com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:112)
    2. com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:82)
    3. com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:135)
    4. com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37)
    4 frames
  6. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022)
    1 frame
  7. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:287)
    3 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    6. java.lang.Thread.run(Thread.java:662)
    6 frames