Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 08/Mar/13 4:59 PM
Description:

Executing the archive artifacts step you can find in the slave log following messages:
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)

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:
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)

But in general it seems to work. There is only an information in the log:
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.

If there is a possibility to get more details from the slave client, please tell me. I couldn't find anything in the wiki.

Environment: Raspberry with Raspian 7.0
java version "1.7.0_07"
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-1+rpi1)
OpenJDK Zero VM (build 22.0-b10, mixed mode)
Project: Jenkins
Labels: slave artifact archive raspberry
Priority: Major Major
Reporter: C. S.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to