hudson.util.IOException2: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory

Jenkins JIRA | magnayn | 3 years ago
  1. 0

    At the end of the job: Waiting for Jenkins to finish collecting data channel stopped Run condition [Always] enabling perform for step [Archive the artifacts] Archiving artifacts ERROR: Failed to archive artifacts: **/*.log hudson.util.IOException2: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.FilePath.copyRecursiveTo(FilePath.java:1943) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154) at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105) at org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher.perform(ConditionalPublisher.java:88) at org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.perform(FlexiblePublisher.java:96) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:969) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1618) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:491) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:242) Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.remoting.Channel$4.adapt(Channel.java:755) at hudson.remoting.Channel$4.adapt(Channel.java:750) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1941) ... 15 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.os.PosixAPI.jnr(PosixAPI.java:30) at hudson.util.IOUtils.mode(IOUtils.java:125) at hudson.util.io.TarArchiver.visit(TarArchiver.java:102) at hudson.util.DirScanner$Glob.scan(DirScanner.java:133) at hudson.FilePath.writeToTar(FilePath.java:1979) at hudson.FilePath.access$1000(FilePath.java:169) at hudson.FilePath$36.invoke(FilePath.java:1920) at hudson.FilePath$36.invoke(FilePath.java:1916) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) 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: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:662) Build step 'Flexible publish' changed build result to FAILURE Finished: FAILURE

    Jenkins JIRA | 3 years ago | magnayn
    hudson.util.IOException2: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory
  2. 0

    At the end of the job: Waiting for Jenkins to finish collecting data channel stopped Run condition [Always] enabling perform for step [Archive the artifacts] Archiving artifacts ERROR: Failed to archive artifacts: **/*.log hudson.util.IOException2: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.FilePath.copyRecursiveTo(FilePath.java:1943) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154) at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105) at org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher.perform(ConditionalPublisher.java:88) at org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.perform(FlexiblePublisher.java:96) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:969) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1618) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:491) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:242) Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.remoting.Channel$4.adapt(Channel.java:755) at hudson.remoting.Channel$4.adapt(Channel.java:750) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1941) ... 15 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.os.PosixAPI.jnr(PosixAPI.java:30) at hudson.util.IOUtils.mode(IOUtils.java:125) at hudson.util.io.TarArchiver.visit(TarArchiver.java:102) at hudson.util.DirScanner$Glob.scan(DirScanner.java:133) at hudson.FilePath.writeToTar(FilePath.java:1979) at hudson.FilePath.access$1000(FilePath.java:169) at hudson.FilePath$36.invoke(FilePath.java:1920) at hudson.FilePath$36.invoke(FilePath.java:1916) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) 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: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:662) Build step 'Flexible publish' changed build result to FAILURE Finished: FAILURE

    Jenkins JIRA | 3 years ago | magnayn
    hudson.util.IOException2: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory
  3. 0

    how to configure a jenkins slave node

    Google Groups | 3 years ago | ycollet
    hudson.util.IOException2: remote file operation failed: /home/admin/jenkins/workspace/TESTLinux at hudson.remoting.Channel@1cc380ca:Compilation Debian 6 64 bits - 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Nutch-dev] Build failed in Jenkins: Nutch-trunk #2251 - Grokbase

    grokbase.com | 1 year ago
    hudson.util.IOException2: remote file operation failed: < > at hudson.remoting.Channel@36ea4c21:ubuntu2
  6. 0

    [JIRA] [subversion-plugin] (JENKINS-26866) jenkins java.io.ioexception remote file operation failed

    Google Groups | 1 year ago | dmir1988@gmail.com (JIRA)
    java.io.IOException: remote file operation failed: /srv/jenkins-home/workspace/deployment-int-shutdown-instance-abc at hudson.remoting.Channel@205b38e:slave-01: java.io.IOException: Remote call on slave-01 failed

    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.NoClassDefFoundError

      Could not initialize class jnr.posix.POSIXFactory

      at hudson.os.PosixAPI.jnr()
    2. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.os.PosixAPI.jnr(PosixAPI.java:30)
      2. hudson.util.IOUtils.mode(IOUtils.java:125)
      3. hudson.util.io.TarArchiver.visit(TarArchiver.java:102)
      4. hudson.util.DirScanner$Glob.scan(DirScanner.java:133)
      5. hudson.FilePath.writeToTar(FilePath.java:1979)
      6. hudson.FilePath.access$1000(FilePath.java:169)
      7. hudson.FilePath$36.invoke(FilePath.java:1920)
      8. hudson.FilePath$36.invoke(FilePath.java:1916)
      9. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388)
      9 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:326)
      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:662)
      5 frames