-
Bug
-
Resolution: Won't Fix
-
Major
-
None
We get this error in the jenkins nodes logs (migration also meant we are upgrading from java11 to java21, which is causing the issue probably)
WARNING: LinkageError while performing UserRequest:org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy@780e6ffa java.lang.NoSuchFieldError: Class com.sun.jna.Pointer does not have member field 'int SIZE' at PluginClassLoader for artifactdeployer//org.jruby.ext.posix.HeapStruct.<clinit>(HeapStruct.java:52) at PluginClassLoader for artifactdeployer//org.jruby.ext.posix.LinuxPOSIX.allocateStat(LinuxPOSIX.java:44) at PluginClassLoader for artifactdeployer//org.jruby.ext.posix.LinuxPOSIX.stat(LinuxPOSIX.java:87) at PluginClassLoader for artifactdeployer//com.atlassian.ant.tasks.PermissionsUtils.getPermissions(PermissionsUtils.java:21) at PluginClassLoader for artifactdeployer//com.atlassian.ant.tasks.CopyWithPerms.doFileOperations(CopyWithPerms.java:75) at PluginClassLoader for artifactdeployer//org.jenkinsci.plugins.artifactdeployer.service.LocalCopy$1CopyImpl.doFileOperations(LocalCopy.java:60) at Jenkins v2.492.3//org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:567) at PluginClassLoader for artifactdeployer//org.jenkinsci.plugins.artifactdeployer.service.LocalCopy.copyAndGetNumbers(LocalCopy.java:83) at PluginClassLoader for artifactdeployer//org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:71) at PluginClassLoader for artifactdeployer//org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:41) at Jenkins v2.492.3//hudson.FilePath$FileCallableWrapper.call(FilePath.java:3593) at hudson.remoting.UserRequest.perform(UserRequest.java:225) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:391) at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583)
Also the job states some vague message
[ArtifactDeployer] - Starting deployment from the post-action ...[ArtifactDeployer] - [ERROR] - Failed to deploy. java.io.IOException: Remote call on Some_Node failed [ArtifactDeployer] - [ERROR] - Remote call on Some_Node failed
Is there any workaround for this?
I haven't seen any commits on the plugin repo for some time.
All our jobs fail because of this plugin and if possible we would like to fix it, rather than re-write everything.
We are using the official docker image jenkins/jenkins:2.492.3-lts-jdk21
- links to