• Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core
    • None
    • Jenkins

      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-18682] Strange NoClassDefFoundError on slave

          ikedam added a comment -

          I could not reproduce the problem.
          Report followings:

          • Version of Jenkins
          • Version of Flexible Publish
          • Versioj of Java. Both in the master and the slave.
          • What publisher do you use. (Archive the artifacts?)
          • How to create a project to reproduce this problem.
          • How to launch the slave. Using SSH on Linux, using JNLP on Windows, or in the other way.

          ikedam added a comment - I could not reproduce the problem. Report followings: Version of Jenkins Version of Flexible Publish Versioj of Java. Both in the master and the slave. What publisher do you use. (Archive the artifacts?) How to create a project to reproduce this problem. How to launch the slave. Using SSH on Linux, using JNLP on Windows, or in the other way.

          ikedam added a comment -

          No more reports to reproduce for two month.

          ikedam added a comment - No more reports to reproduce for two month.

          Aviv Yam added a comment -

          Jenkins version: 1.571
          Run Condition Plugin: 1.0
          Java:

          Slave:
          java version "1.7.0_45"
          OpenJDK Runtime Environment (rhel-2.4.3.4.el6_5-x86_64 u45-b15)
          OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

          Jenkins:
          java -version
          java version "1.7.0_60"
          Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
          Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

          publisher: Archive the artifacts
          Launch slave via SSH

          2014-10-10 16:22:32 ERROR: Failed to archive artifacts: *.tar.gz
          2014-10-10 16:22:32 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
          2014-10-10 16:22:32 	at hudson.FilePath.copyRecursiveTo(FilePath.java:2047)
          2014-10-10 16:22:32 	at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
          2014-10-10 16:22:32 	at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:183)
          2014-10-10 16:22:32 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          2014-10-10 16:22:32 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
          2014-10-10 16:22:32 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
          2014-10-10 16:22:32 	at hudson.model.Build$BuildExecution.post2(Build.java:183)
          2014-10-10 16:22:32 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
          2014-10-10 16:22:32 	at hudson.model.Run.execute(Run.java:1757)
          2014-10-10 16:22:32 	at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
          2014-10-10 16:22:32 	at hudson.model.ResourceController.execute(ResourceController.java:88)
          2014-10-10 16:22:32 	at hudson.model.Executor.run(Executor.java:234)
          2014-10-10 16:22:32 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
          2014-10-10 16:22:32 	at hudson.remoting.Channel$3.adapt(Channel.java:772)
          2014-10-10 16:22:32 	at hudson.remoting.Channel$3.adapt(Channel.java:767)
          2014-10-10 16:22:32 	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
          2014-10-10 16:22:32 	at hudson.FilePath.copyRecursiveTo(FilePath.java:2045)
          2014-10-10 16:22:32 	... 11 more
          2014-10-10 16:22:32 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
          2014-10-10 16:22:32 	at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31)
          2014-10-10 16:22:32 	at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91)
          2014-10-10 16:22:32 	at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57)
          2014-10-10 16:22:32 	at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33)
          2014-10-10 16:22:32 	at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29)
          2014-10-10 16:22:32 	at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267)
          2014-10-10 16:22:32 	at hudson.util.IOUtils.mode(IOUtils.java:128)
          2014-10-10 16:22:32 	at hudson.util.io.TarArchiver.visit(TarArchiver.java:101)
          2014-10-10 16:22:32 	at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
          2014-10-10 16:22:32 	at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571)
          2014-10-10 16:22:32 	at hudson.FilePath.writeToTar(FilePath.java:2083)
          2014-10-10 16:22:32 	at hudson.FilePath.access$1000(FilePath.java:180)
          2014-10-10 16:22:32 	at hudson.FilePath$41.invoke(FilePath.java:2024)
          2014-10-10 16:22:32 	at hudson.FilePath$41.invoke(FilePath.java:2020)
          2014-10-10 16:22:32 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492)
          2014-10-10 16:22:32 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
          2014-10-10 16:22:32 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          2014-10-10 16:22:32 	at hudson.remoting.Request$2.run(Request.java:328)
          2014-10-10 16:22:32 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          2014-10-10 16:22:32 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
          2014-10-10 16:22:32 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          2014-10-10 16:22:32 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          2014-10-10 16:22:32 	at java.lang.Thread.run(Thread.java:744)
          2014-10-10 16:22:32 Sending e-mails to: haim.ateya@emc.com igor.alterman@emc.com Ayelet.Cohen@emc.com
          2014-10-10 16:22:37 Finished: FAILURE
          

          Aviv Yam added a comment - Jenkins version: 1.571 Run Condition Plugin: 1.0 Java: Slave: java version "1.7.0_45" OpenJDK Runtime Environment (rhel-2.4.3.4.el6_5-x86_64 u45-b15) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) Jenkins: java -version java version "1.7.0_60" Java(TM) SE Runtime Environment (build 1.7.0_60-b19) Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode) publisher: Archive the artifacts Launch slave via SSH 2014-10-10 16:22:32 ERROR: Failed to archive artifacts: *.tar.gz 2014-10-10 16:22:32 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 2014-10-10 16:22:32 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) 2014-10-10 16:22:32 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:183) 2014-10-10 16:22:32 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) 2014-10-10 16:22:32 at hudson.model.Build$BuildExecution.post2(Build.java:183) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) 2014-10-10 16:22:32 at hudson.model.Run.execute(Run.java:1757) 2014-10-10 16:22:32 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 2014-10-10 16:22:32 at hudson.model.ResourceController.execute(ResourceController.java:88) 2014-10-10 16:22:32 at hudson.model.Executor.run(Executor.java:234) 2014-10-10 16:22:32 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:772) 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:767) 2014-10-10 16:22:32 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 2014-10-10 16:22:32 ... 11 more 2014-10-10 16:22:32 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 2014-10-10 16:22:32 at hudson.util.IOUtils.mode(IOUtils.java:128) 2014-10-10 16:22:32 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 2014-10-10 16:22:32 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 2014-10-10 16:22:32 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) 2014-10-10 16:22:32 at hudson.FilePath.writeToTar(FilePath.java:2083) 2014-10-10 16:22:32 at hudson.FilePath.access$1000(FilePath.java:180) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2024) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2020) 2014-10-10 16:22:32 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 2014-10-10 16:22:32 at hudson.remoting.Request$2.run(Request.java:328) 2014-10-10 16:22:32 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 2014-10-10 16:22:32 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 2014-10-10 16:22:32 at java.lang. Thread .run( Thread .java:744) 2014-10-10 16:22:32 Sending e-mails to: haim.ateya@emc.com igor.alterman@emc.com Ayelet.Cohen@emc.com 2014-10-10 16:22:37 Finished: FAILURE

          ikedam added a comment -

          Looks happened without flexible publish.
          Removed flexible-publish from component/s.

          ikedam added a comment - Looks happened without flexible publish. Removed flexible-publish from component/s.

          ikedam added a comment -

          Rather looks same to JENKINS-21985.

          ikedam added a comment - Rather looks same to JENKINS-21985 .

          Daniel Beck added a comment -

          aviv_yam: As the stack trace is different, please just file a new issue. Also, please provide more information, this wiki page lists what to include:
          https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

          In this specific case, the specific OS affected would be essential for any report.

          Daniel Beck added a comment - aviv_yam : As the stack trace is different, please just file a new issue. Also, please provide more information, this wiki page lists what to include: https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue In this specific case, the specific OS affected would be essential for any report.

          Aviv Yam added a comment -

          W.E
          Here the new issue - JENKINS-25120

          Aviv Yam added a comment - W.E Here the new issue - JENKINS-25120

            Unassigned Unassigned
            magnayn magnayn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: