Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20481

Successful builds fails at the end (Could not initialize class hudson.util.jna.GNUCLibrary)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • core, remoting
    • None
    • master on Ubuntu 12.04, slave on win 7 sp1, java 1.7.0_25-b17

      Jenkins ver. 1.538

      After successful build job can't be stopped normally, all error messages are with GNUCLibrary. Maybe problem is with java version on slave?

      FATAL: Remote call on build failed
      java.io.IOException: Remote call on build failed
      	at hudson.remoting.Channel.call(Channel.java:723)
      	at hudson.Launcher$RemoteLauncher.kill(Launcher.java:887)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:585)
      	at hudson.model.Run.execute(Run.java:1679)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:230)
      Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'c': The specified module could not be found.
      
      	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 com.sun.jna.Native.loadLibrary(Native.java:351)
      	at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:111)
      	at hudson.plugins.signal_killer.SignalKiller.sendSignal(SignalKiller.java:45)
      	at hudson.plugins.signal_killer.SignalKiller.kill(SignalKiller.java:29)
      	at hudson.util.ProcessTree$OSProcess.killByKiller(ProcessTree.java:222)
      	at hudson.util.ProcessTree$Windows$1.killRecursively(ProcessTree.java:412)
      	at hudson.util.ProcessTree$Windows.killAll(ProcessTree.java:469)
      	at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:899)
      	at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:890)
      	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.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at hudson.remoting.Engine$1$1.run(Engine.java:63)
      	at java.lang.Thread.run(Unknown Source)
      

      I think its the same error:

      FATAL: Remote call on build failed
      java.io.IOException: Remote call on build failed
      	at hudson.remoting.Channel.call(Channel.java:723)
      	at hudson.Launcher$RemoteLauncher.kill(Launcher.java:887)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:585)
      	at hudson.model.Run.execute(Run.java:1665)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:230)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.GNUCLibrary
      	at hudson.plugins.signal_killer.SignalKiller.sendSignal(SignalKiller.java:45)
      	at hudson.plugins.signal_killer.SignalKiller.kill(SignalKiller.java:29)
      	at hudson.util.ProcessTree$OSProcess.killByKiller(ProcessTree.java:222)
      	at hudson.util.ProcessTree$Windows$1.killRecursively(ProcessTree.java:412)
      	at hudson.util.ProcessTree$Windows.killAll(ProcessTree.java:469)
      	at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:899)
      	at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:890)
      	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(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      

            Unassigned Unassigned
            movavi movavi team
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: