[JIRA] [core] (JENKINS-20481) Successful builds fails at the end (Could not initialize class hudson.util.jna.GNUCLibrary)

5 views
Skip to first unread message

cathalmb@gmail.com (JIRA)

unread,
Apr 7, 2016, 9:48:04 AM4/7/16
to jenkinsc...@googlegroups.com
Cathal Brennan reopened an issue
 

I'm currently having the issue with Jenkins ver. 1.642.4
After a successful build randomly it would give the same error which would then mark the build as failed. Currently could happen in 1 in 5 builds.

Master is running Centos
Kernel 3.10.0-327.4.4.el7.x86_64 on an x86_64
Java
openjdk version "1.8.0_77"
OpenJDK Runtime Environment (build 1.8.0_77-b03)
OpenJDK 64-Bit Server VM (build 25.77-b03, mixed mode)

Slave is running
Windows Server 2012 R2 (amd64)
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

Jenkins / Bug JENKINS-20481
Successful builds fails at the end (Could not initialize class hudson.util.jna.GNUCLibrary)
Change By: Cathal Brennan
Resolution: Fixed
Status: Resolved Reopened
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

cathalmb@gmail.com (JIRA)

unread,
Apr 7, 2016, 9:50:03 AM4/7/16
to jenkinsc...@googlegroups.com
I'm currently having the issue with Jenkins ver. 1.642.4
After a successful build randomly it would give the same error which would then mark the build as failed. Currently could happen in 1 in 5 builds.

Master is running Centos
Kernel 3.10.0-327.4.4.el7.x86_64 on an x86_64
Java
openjdk version "1.8.0_77"
OpenJDK Runtime Environment (build 1.8.0_77-b03)
OpenJDK 64-Bit Server VM (build 25.77-b03, mixed mode)

Slave is running 
Windows Server 2012 R2 (amd64)
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)


Time Elapsed 00:00:17.94
FATAL: Remote call on SlaveNode failed
java.io.IOException: Remote call on SlaveNode failed
at hudson.remoting.Channel.call(Channel.java:789)
at hudson.Launcher$RemoteLauncher.kill(Launcher.java:953)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:540)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
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:215)
at hudson.util.ProcessTree$Windows$1.killRecursively(ProcessTree.java:426)
at hudson.util.ProcessTree$Windows.killAll(ProcessTree.java:486)
at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:965)
at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:956)
at hudson.remoting.UserRequest.perform(UserRequest.java:120)
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:68)
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:62)
at java.lang.Thread.run(Unknown Source)
at ......remote call to SlaveNode(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
at hudson.remoting.Channel.call(Channel.java:781)
... 6 more
Finished: FAILURE

isaac.aymerich@gmail.com (JIRA)

unread,
Oct 16, 2016, 5:49:02 PM10/16/16
to jenkinsc...@googlegroups.com

Exactly Same Error both:


java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.GNUCLibrary

java.lang.UnsatisfiedLinkError: Unable to load library 'c': The specified module could not be found.
Same stack trace
My company case
Master(Windows 2008 R2 Jdk 8u101) Jenkins 2.19.1

Slave(Windows 2012 jdk8u101 Fully clean image we use java portable version executed via JNLP and swarm plugin, but we tried with the slave.jar and same problem, yes we are sure we are using the correct slave.jar)
any idea?

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

remik@thefarm51.com (JIRA)

unread,
Jul 23, 2019, 5:52:03 AM7/23/19
to jenkinsc...@googlegroups.com
P4 commented on Bug JENKINS-20481

We've got the same issue here.

Master: Windows Server 2012 R2, Jenkins v2.176.2, jdk1.8.0_172

Agent: Windows 10, jre1.8.0_221

 

 

Jul 23, 2019 10:59:14 AM hudson.plugins.signal_killer.SignalKiller kill
SEVERE: Can't kill process!
java.lang.UnsatisfiedLinkError: Unable to load library 'c': Native library (win32-x86/c.dll) not found in resource path ([])
 at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:303)
 at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:427)
 at com.sun.jna.Library$Handler.<init>(Library.java:179)
 at com.sun.jna.Native.loadLibrary(Native.java:569)
 at com.sun.jna.Native.loadLibrary(Native.java:544)
 at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:115)
 at hudson.plugins.signal_killer.SignalKiller.sendSignal(SignalKiller.java:56)
 at hudson.plugins.signal_killer.SignalKiller.kill(SignalKiller.java:35)
 at hudson.util.ProcessTree$OSProcess.killByKiller(ProcessTree.java:248)
 at hudson.util.ProcessTree$WindowsOSProcess.killRecursively(ProcessTree.java:525)
 at hudson.util.ProcessTree.killAll(ProcessTree.java:172)
 at hudson.Proc$LocalProc.destroy(Proc.java:385)
 at hudson.Proc$LocalProc.join(Proc.java:358)
 at hudson.Launcher$RemoteLaunchCallable$1.join(Launcher.java:1324)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
 at hudson.remoting.UserRequest.perform(UserRequest.java:212)
 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
 at hudson.remoting.Request$2.run(Request.java:369)
 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.lambda$newThread$0(Engine.java:93)
 at java.lang.Thread.run(Unknown Source)

 

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages