java.lang.UnsatisfiedLinkError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After upgrading Ubuntu packaged Jenkins to 1.458 (using OpenJDK as installed by apt-get) I receive the following failures: .... Failed to load native POSIX impl; falling back on Java impl. Stacktrace follows. 13:19:30 java.lang.UnsatisfiedLinkError: Unable to load library 'libc.so.6': com.sun.jna.Native.open(Ljava/lang/String;)J 13:19:30 at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) 13:19:30 at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) 13:19:30 at com.sun.jna.Library$Handler.<init>(Library.java:140) 13:19:30 at com.sun.jna.Native.loadLibrary(Native.java:366) 13:19:30 at org.jruby.ext.posix.POSIXFactory.loadLibC(POSIXFactory.java:96) 13:19:30 at org.jruby.ext.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:65) 13:19:30 at org.jruby.ext.posix.POSIXFactory.getPOSIX(POSIXFactory.java:24) 13:19:30 at hudson.os.PosixAPI.<clinit>(PosixAPI.java:40) 13:19:30 at hudson.Util.resolveSymlink(Util.java:1067) 13:19:30 at hudson.Util.resolveSymlink(Util.java:1030) 13:19:30 at hudson.util.DirScanner$Glob.scan(DirScanner.java:107) 13:19:30 at hudson.FilePath.writeToTar(FilePath.java:1781) 13:19:30 at hudson.FilePath.copyRecursiveTo(FilePath.java:1708) 13:19:30 at hudson.FilePath.copyRecursiveTo(FilePath.java:1637) 13:19:30 at hudson.maven.reporters.AbstractMavenJavadocArchiver.postExecute(AbstractMavenJavadocArchiver.java:98) 13:19:30 at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoSucceeded(Maven3Builder.java:478) 13:19:30 at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:459) 13:19:30 at org.jfrog.build.extractor.maven.BuildInfoRecorder.mojoSucceeded(BuildInfoRecorder.java:241) 13:19:30 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87) 13:19:30 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) 13:19:30 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228) 13:19:30 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 13:19:30 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 13:19:30 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) 13:19:30 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) 13:19:30 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) 13:19:30 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) 13:19:30 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 13:19:30 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 13:19:30 at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) 13:19:30 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 13:19:30 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 13:19:30 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 13:19:30 at java.lang.reflect.Method.invoke(Method.java:616) 13:19:30 at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) 13:19:30 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) 13:19:30 at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) 13:19:30 at hudson.maven.Maven3Builder.call(Maven3Builder.java:104) 13:19:30 at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) 13:19:30 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 13:19:30 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:19:30 at hudson.remoting.Request$2.run(Request.java:287) 13:19:30 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 13:19:30 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 13:19:30 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 13:19:30 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 13:19:30 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 13:19:30 at java.lang.Thread.run(Thread.java:636) ..... mavenExecutionResult exceptions not empty 13:19:31 message : Internal error: java.lang.UnsupportedOperationException 13:19:31 cause : null 13:19:31 Stack trace : 13:19:31 org.apache.maven.InternalErrorException: Internal error: java.lang.UnsupportedOperationException 13:19:31 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) 13:19:31 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 13:19:31 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 13:19:31 at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) 13:19:31 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 13:19:31 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 13:19:31 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 13:19:31 at java.lang.reflect.Method.invoke(Method.java:616) 13:19:31 at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) 13:19:31 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) 13:19:31 at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) 13:19:31 at hudson.maven.Maven3Builder.call(Maven3Builder.java:104) 13:19:31 at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) 13:19:31 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 13:19:31 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:19:31 at hudson.remoting.Request$2.run(Request.java:287) 13:19:31 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 13:19:31 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 13:19:31 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 13:19:31 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 13:19:31 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 13:19:31 at java.lang.Thread.run(Thread.java:636) 13:19:31 Caused by: java.lang.UnsupportedOperationException 13:19:31 at hudson.os.PosixAPI$1.getCurrentWorkingDirectory(PosixAPI.java:59) 13:19:31 at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:59) 13:19:31 at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51) 13:19:31 at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196) 13:19:31 at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160) 13:19:31 at hudson.Util.resolveSymlink(Util.java:1067) 13:19:31 at hudson.Util.resolveSymlink(Util.java:1030) 13:19:31 at hudson.util.DirScanner$Glob.scan(DirScanner.java:107) 13:19:31 at hudson.FilePath.writeToTar(FilePath.java:1781) 13:19:31 at hudson.FilePath.copyRecursiveTo(FilePath.java:1708) 13:19:31 at hudson.FilePath.copyRecursiveTo(FilePath.java:1637) 13:19:31 at hudson.maven.reporters.AbstractMavenJavadocArchiver.postExecute(AbstractMavenJavadocArchiver.java:98) 13:19:31 at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoSucceeded(Maven3Builder.java:478) 13:19:31 at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:459) 13:19:31 at org.jfrog.build.extractor.maven.BuildInfoRecorder.mojoSucceeded(BuildInfoRecorder.java:241) 13:19:31 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87) 13:19:31 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) 13:19:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228) 13:19:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 13:19:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) 13:19:31 ... 24 more causing build to fail.
    via by ravn,
  • After upgrading Ubuntu packaged Jenkins to 1.458 (using OpenJDK as installed by apt-get) I receive the following failures: .... Failed to load native POSIX impl; falling back on Java impl. Stacktrace follows. 13:19:30 java.lang.UnsatisfiedLinkError: Unable to load library 'libc.so.6': com.sun.jna.Native.open(Ljava/lang/String;)J 13:19:30 at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) 13:19:30 at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) 13:19:30 at com.sun.jna.Library$Handler.<init>(Library.java:140) 13:19:30 at com.sun.jna.Native.loadLibrary(Native.java:366) 13:19:30 at org.jruby.ext.posix.POSIXFactory.loadLibC(POSIXFactory.java:96) 13:19:30 at org.jruby.ext.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:65) 13:19:30 at org.jruby.ext.posix.POSIXFactory.getPOSIX(POSIXFactory.java:24) 13:19:30 at hudson.os.PosixAPI.<clinit>(PosixAPI.java:40) 13:19:30 at hudson.Util.resolveSymlink(Util.java:1067) 13:19:30 at hudson.Util.resolveSymlink(Util.java:1030) 13:19:30 at hudson.util.DirScanner$Glob.scan(DirScanner.java:107) 13:19:30 at hudson.FilePath.writeToTar(FilePath.java:1781) 13:19:30 at hudson.FilePath.copyRecursiveTo(FilePath.java:1708) 13:19:30 at hudson.FilePath.copyRecursiveTo(FilePath.java:1637) 13:19:30 at hudson.maven.reporters.AbstractMavenJavadocArchiver.postExecute(AbstractMavenJavadocArchiver.java:98) 13:19:30 at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoSucceeded(Maven3Builder.java:478) 13:19:30 at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:459) 13:19:30 at org.jfrog.build.extractor.maven.BuildInfoRecorder.mojoSucceeded(BuildInfoRecorder.java:241) 13:19:30 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87) 13:19:30 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) 13:19:30 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228) 13:19:30 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 13:19:30 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 13:19:30 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) 13:19:30 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) 13:19:30 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) 13:19:30 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) 13:19:30 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 13:19:30 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 13:19:30 at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) 13:19:30 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 13:19:30 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 13:19:30 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 13:19:30 at java.lang.reflect.Method.invoke(Method.java:616) 13:19:30 at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) 13:19:30 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) 13:19:30 at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) 13:19:30 at hudson.maven.Maven3Builder.call(Maven3Builder.java:104) 13:19:30 at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) 13:19:30 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 13:19:30 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:19:30 at hudson.remoting.Request$2.run(Request.java:287) 13:19:30 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 13:19:30 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 13:19:30 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 13:19:30 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 13:19:30 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 13:19:30 at java.lang.Thread.run(Thread.java:636) ..... mavenExecutionResult exceptions not empty 13:19:31 message : Internal error: java.lang.UnsupportedOperationException 13:19:31 cause : null 13:19:31 Stack trace : 13:19:31 org.apache.maven.InternalErrorException: Internal error: java.lang.UnsupportedOperationException 13:19:31 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) 13:19:31 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 13:19:31 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 13:19:31 at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) 13:19:31 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 13:19:31 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 13:19:31 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 13:19:31 at java.lang.reflect.Method.invoke(Method.java:616) 13:19:31 at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) 13:19:31 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) 13:19:31 at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) 13:19:31 at hudson.maven.Maven3Builder.call(Maven3Builder.java:104) 13:19:31 at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) 13:19:31 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 13:19:31 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 13:19:31 at hudson.remoting.Request$2.run(Request.java:287) 13:19:31 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 13:19:31 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 13:19:31 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 13:19:31 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 13:19:31 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 13:19:31 at java.lang.Thread.run(Thread.java:636) 13:19:31 Caused by: java.lang.UnsupportedOperationException 13:19:31 at hudson.os.PosixAPI$1.getCurrentWorkingDirectory(PosixAPI.java:59) 13:19:31 at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:59) 13:19:31 at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51) 13:19:31 at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196) 13:19:31 at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160) 13:19:31 at hudson.Util.resolveSymlink(Util.java:1067) 13:19:31 at hudson.Util.resolveSymlink(Util.java:1030) 13:19:31 at hudson.util.DirScanner$Glob.scan(DirScanner.java:107) 13:19:31 at hudson.FilePath.writeToTar(FilePath.java:1781) 13:19:31 at hudson.FilePath.copyRecursiveTo(FilePath.java:1708) 13:19:31 at hudson.FilePath.copyRecursiveTo(FilePath.java:1637) 13:19:31 at hudson.maven.reporters.AbstractMavenJavadocArchiver.postExecute(AbstractMavenJavadocArchiver.java:98) 13:19:31 at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoSucceeded(Maven3Builder.java:478) 13:19:31 at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:459) 13:19:31 at org.jfrog.build.extractor.maven.BuildInfoRecorder.mojoSucceeded(BuildInfoRecorder.java:241) 13:19:31 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87) 13:19:31 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) 13:19:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228) 13:19:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 13:19:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 13:19:31 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) 13:19:31 ... 24 more causing build to fail.
    via by ravn,
  • GitHub comment 3#71007778
    via GitHub by jvgelder
    ,
  • Executing the archive artifacts step you can find in the slave log following messages: {quote} Failed to load native POSIX impl; falling back on Java impl. Stacktrace follows. java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native at org.jruby.ext.posix.POSIXFactory.loadLibC(POSIXFactory.java:96) at org.jruby.ext.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:65) at org.jruby.ext.posix.POSIXFactory.getPOSIX(POSIXFactory.java:24) at hudson.os.PosixAPI.<clinit>(PosixAPI.java:41) 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:1939) at hudson.FilePath.access$1000(FilePath.java:168) at hudson.FilePath$36.invoke(FilePath.java:1880) at hudson.FilePath$36.invoke(FilePath.java:1876) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {quote} This error only occurs when trying to archive the artifcats. I have a full build process which works without any errors. Installing the package *libjna-posix-java* fix the above shown exception and result into another exception: {quote} Failed to load native POSIX impl; falling back on Java impl. Stacktrace follows. java.lang.UnsatisfiedLinkError: Unable to load library 'libc.so.6': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.<init>(Library.java:140) at com.sun.jna.Native.loadLibrary(Native.java:366) at org.jruby.ext.posix.POSIXFactory.loadLibC(POSIXFactory.java:96) at org.jruby.ext.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:65) at org.jruby.ext.posix.POSIXFactory.getPOSIX(POSIXFactory.java:24) at hudson.os.PosixAPI.<clinit>(PosixAPI.java:41) 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:1939) at hudson.FilePath.access$1000(FilePath.java:168) at hudson.FilePath$36.invoke(FilePath.java:1880) at hudson.FilePath$36.invoke(FilePath.java:1876) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {quote} But in general it seems to work. There is only an information in the log: {quote} log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter). log4j:WARN Please initialize the log4j system properly. {quote} If there is a possibility to get more details from the slave client, please tell me. I couldn't find anything in the wiki.
    via by C. S.,
  • Executing the archive artifacts step you can find in the slave log following messages: {quote} Failed to load native POSIX impl; falling back on Java impl. Stacktrace follows. java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native at org.jruby.ext.posix.POSIXFactory.loadLibC(POSIXFactory.java:96) at org.jruby.ext.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:65) at org.jruby.ext.posix.POSIXFactory.getPOSIX(POSIXFactory.java:24) at hudson.os.PosixAPI.<clinit>(PosixAPI.java:41) 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:1939) at hudson.FilePath.access$1000(FilePath.java:168) at hudson.FilePath$36.invoke(FilePath.java:1880) at hudson.FilePath$36.invoke(FilePath.java:1876) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {quote} This error only occurs when trying to archive the artifcats. I have a full build process which works without any errors. Installing the package *libjna-posix-java* fix the above shown exception and result into another exception: {quote} Failed to load native POSIX impl; falling back on Java impl. Stacktrace follows. java.lang.UnsatisfiedLinkError: Unable to load library 'libc.so.6': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.<init>(Library.java:140) at com.sun.jna.Native.loadLibrary(Native.java:366) at org.jruby.ext.posix.POSIXFactory.loadLibC(POSIXFactory.java:96) at org.jruby.ext.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:65) at org.jruby.ext.posix.POSIXFactory.getPOSIX(POSIXFactory.java:24) at hudson.os.PosixAPI.<clinit>(PosixAPI.java:41) 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:1939) at hudson.FilePath.access$1000(FilePath.java:168) at hudson.FilePath$36.invoke(FilePath.java:1880) at hudson.FilePath$36.invoke(FilePath.java:1876) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 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:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {quote} But in general it seems to work. There is only an information in the log: {quote} log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter). log4j:WARN Please initialize the log4j system properly. {quote} If there is a possibility to get more details from the slave client, please tell me. I couldn't find anything in the wiki.
    via by C. S.,
    • java.lang.UnsatisfiedLinkError: Unable to load library 'libc.so.6': com.sun.jna.Native.open(Ljava/lang/String;)J at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.<init>(Library.java:140) at com.sun.jna.Native.loadLibrary(Native.java:366) at org.jruby.ext.posix.POSIXFactory.loadLibC(POSIXFactory.java:96) at org.jruby.ext.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:65) at org.jruby.ext.posix.POSIXFactory.getPOSIX(POSIXFactory.java:24) at hudson.os.PosixAPI.<clinit>(PosixAPI.java:40) at hudson.Util.resolveSymlink(Util.java:1067) at hudson.Util.resolveSymlink(Util.java:1030) at hudson.util.DirScanner$Glob.scan(DirScanner.java:107) at hudson.FilePath.writeToTar(FilePath.java:1781) at hudson.FilePath.copyRecursiveTo(FilePath.java:1708) at hudson.FilePath.copyRecursiveTo(FilePath.java:1637) at hudson.maven.reporters.AbstractMavenJavadocArchiver.postExecute(AbstractMavenJavadocArchiver.java:98) at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoSucceeded(Maven3Builder.java:478) at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:459) at org.jfrog.build.extractor.maven.BuildInfoRecorder.mojoSucceeded(BuildInfoRecorder.java:241) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:104) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) 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 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    24 more bugmates