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

FIle copy error with Build Secret plugin on one slave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • secret-plugin
    • None

      As soon as I turn the Build Secret plugin on I get the following error, but only for one specific (Red Hat) slave. The exact same job works fine on a different (Ubuntu) slave. I'm not doing anything other than an ls on the secret folder

      Here is the error that is generated:

      Started by user cpatrick
      ln failed: -1
      Building remotely on stratos
      FATAL: remote file operation failed
      hudson.util.IOException2: remote file operation failed
      at hudson.FilePath.act(FilePath.java:672)
      at hudson.FilePath.act(FilePath.java:660)
      at hudson.FilePath.chmod(FilePath.java:1006)
      at hudson.plugins.secret.SecretBuildWrapper.setUp(SecretBuildWrapper.java:38)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:127)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      at hudson.model.Run.run(Run.java:1179)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)
      Caused by: java.io.IOException: Remote call failed
      at hudson.remoting.Channel.call(Channel.java:556)
      at hudson.FilePath.act(FilePath.java:667)
      ... 9 more
      Caused by: java.lang.NoClassDefFoundError: hudson.util.jna.GNUCLibrary (initialization failure)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:127)
      at hudson.FilePath$20.invoke(FilePath.java:1008)
      at hudson.FilePath$20.invoke(FilePath.java:1006)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2062)
      at hudson.remoting.UserRequest.perform(UserRequest.java:104)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:270)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:432)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      at hudson.remoting.Engine$1$1.run(Engine.java:58)
      at java.lang.Thread.run(Thread.java:803)
      Caused by: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-ppc64/libjnidispatch.so) not found in resource path
      at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:700)
      at com.sun.jna.Native.loadNativeLibrary(Native.java:680)
      at com.sun.jna.Native.<clinit>(Native.java:108)
      at java.lang.J9VMInternals.initializeImpl(Native Method)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:187)
      at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:102)
      at java.lang.J9VMInternals.initializeImpl(Native Method)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:187)
      ... 13 more

            Unassigned Unassigned
            cpatrick_netflix cpatrick_netflix
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: