I have a Jenkins that doesn't work. It runs on Debian 6 using the Sun6
JDK. I have tried several versions of Jenkins and they all have this
same problem, including the latest 1.478:
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.createSymlink(Util.java:1011)
at hudson.model.Run.execute(Run.java:1500)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
This problem occurs only on builds that execute on slaves. Builds that
run on the master locally have no problem. The build on the slave does
run but hangs forever when it starts archiving artifacts.
Anyone have any ideas?
-- Sami