0

Cloudbees jenkins slave on FreeBSD crashes with unsatisfied link of getSystemCpuLoad()

We have been observing jenkins slave node failure on freeBSD on long process runs.

Server log: 

java.lang.UnsatisfiedLinkError: sun.management.OperatingSystemImpl.getSystemCpuLoad()D
	at sun.management.OperatingSystemImpl.getSystemCpuLoad(Native Method)
	at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at net.bull.javamelody.MemoryInformations.getFromOperatingSystem(MemoryInformations.java:212)
	at net.bull.javamelody.MemoryInformations.getDoubleFromOperatingSystem(MemoryInformations.java:204)
	at net.bull.javamelody.JavaInformations.buildSystemCpuLoad(JavaInformations.java:278)
	at net.bull.javamelody.JavaInformations.<init>(JavaInformations.java:147)
	at net.bull.javamelody.RemoteCallHelper$1.call(RemoteCallHelper.java:46)
	at net.bull.javamelody.RemoteCallHelper$1.call(RemoteCallHelper.java:38)
	at net.bull.javamelody.RemoteCallHelper$DelegatingTask.call(RemoteCallHelper.java:132)
	at hudson.remoting.UserRequest.perform(UserRequest.java:205)
	at hudson.remoting.UserRequest.perform(UserRequest.java:52)
	at hudson.remoting.Request$2.run(Request.java:356)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)


 

We suspect the problem could be due to freeBSD openJDK 8 port not handling certain system calls.
Also a similar bug is open in freebsd: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205229

While on FreeBSD 10.1 openJDK port the Makefile has pointers to cloudbees jdk

From port Makefile

MASTER_SITES=https://adopt-openjdk.ci.cloudbees.com/job/jtreg/${JTREG_JENKINS_BUILD}/artifact/:jtreg 

 

Can anyone let me know if the above bug is fixed in cloudbees openjdk freebsd PORT?

1 comment

Please sign in to leave a comment.