[JIRA] (JENKINS-57515) AIX slave start error due to can not found /com/sun/jna/aix-ppc64/libjnidispatch.so

8 views
Skip to first unread message

lhc_8424@163.com (JIRA)

unread,
May 17, 2019, 3:05:02 AM5/17/19
to jenkinsc...@googlegroups.com
li li created an issue
 
Jenkins / Bug JENKINS-57515
AIX slave start error due to can not found /com/sun/jna/aix-ppc64/libjnidispatch.so
Issue Type: Bug Bug
Assignee: Jeff Thompson
Components: remoting
Created: 2019-05-17 07:04
Labels: remoting slave
Priority: Major Major
Reporter: li li

this issue happend only on starting AIX slave, which will try to find /com/sun/jna/aix-ppc64/libjnidispatch.so

However, in jna jar file, i don't found such file actually. the correct file should be com/sun/jna/aix-ppc64/libjnidispatch.a instead of *.so(which are for other unix/linux)

this issue will also cause the jobs always run fail on AIX slaves.

node start log:

Remoting version: 3.29
This is a Unix agent
May 16, 2019 11:00:14 PM hudson.remoting.UserRequest perform
WARNING: LinkageError while performing UserRequest:jenkins.slaves.StandardOutputSwapper$ChannelSwapper@759450a7
java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.so) not found in resource path
at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:723)
at com.sun.jna.Native.loadNativeLibrary(Native.java:697)
at com.sun.jna.Native.<clinit>(Native.java:127)
at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:115)
at jenkins.slaves.StandardOutputSwapper$ChannelSwapper.swap(StandardOutputSwapper.java:60)
at jenkins.slaves.StandardOutputSwapper$ChannelSwapper.call(StandardOutputSwapper.java:45)
at jenkins.slaves.StandardOutputSwapper$ChannelSwapper.call(StandardOutputSwapper.java:39)
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(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:808)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jthompson@cloudbees.com (JIRA)

unread,
May 17, 2019, 12:54:02 PM5/17/19
to jenkinsc...@googlegroups.com
Jeff Thompson assigned an issue to Unassigned
Change By: Jeff Thompson
Component/s: core
Component/s: remoting
Labels: remoting slave
Assignee: Jeff Thompson

jthompson@cloudbees.com (JIRA)

unread,
May 17, 2019, 12:55:02 PM5/17/19
to jenkinsc...@googlegroups.com
Jeff Thompson commented on Bug JENKINS-57515
 
Re: AIX slave start error due to can not found /com/sun/jna/aix-ppc64/libjnidispatch.so

Similar to JENKINS-54196 and various others. May require an update to the JNA library to get the correct library to load on AIX.

scentoni@hotmail.com (JIRA)

unread,
May 22, 2019, 7:35:02 PM5/22/19
to jenkinsc...@googlegroups.com

lhc_8424@163.com (JIRA)

unread,
May 27, 2019, 2:17:03 AM5/27/19
to jenkinsc...@googlegroups.com
li li commented on Bug JENKINS-57515

Scott Centoni thanks for your demonstration . So is it able to manually replace jna 4.5.2 with 5.3.1 manually? Does it work?

m.winter@sap.com (JIRA)

unread,
Jun 6, 2019, 11:12:02 AM6/6/19
to jenkinsc...@googlegroups.com

I have the same issue.

So I opened a pull request https://github.com/jenkinsci/jenkins/pull/4060 that will update the JNA library to 5.3.1

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 18, 2019, 8:26:02 AM6/18/19
to jenkinsc...@googlegroups.com
Change By: Oleg Nenashev
Status: Open Fixed but Unreleased
Resolution: Fixed
Released As: Jenkins 2.181

m.winter@sap.com (JIRA)

unread,
Jun 24, 2019, 4:47:01 AM6/24/19
to jenkinsc...@googlegroups.com

ogondza@gmail.com (JIRA)

unread,
Jul 1, 2019, 3:19:02 AM7/1/19
to jenkinsc...@googlegroups.com

ogondza@gmail.com (JIRA)

unread,
Jul 1, 2019, 3:20:02 AM7/1/19
to jenkinsc...@googlegroups.com

ogondza@gmail.com (JIRA)

unread,
Jul 11, 2019, 9:42:02 AM7/11/19
to jenkinsc...@googlegroups.com

ogondza@gmail.com (JIRA)

unread,
Aug 1, 2019, 7:11:03 AM8/1/19
to jenkinsc...@googlegroups.com
Oliver Gondža updated an issue
Change By: Oliver Gondža
Labels: 2.176.2-rejected lts 2.176.3 - candidate rejected
Reply all
Reply to author
Forward
0 new messages